/* =========================================================
   KYROSPACE — STATIC LANDING PAGE
   Stack: pure HTML + CSS + vanilla JS (no framework)
   Author: Kyrospace
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --primary: #2563EB;
  --primary-700: #1D4ED8;
  --secondary: #38BDF8;
  --accent: #06B6D4;
  --bg: #F8FAFC;
  --soft-bg: #EEF4FF;
  --text: #0F172A;
  --muted: #64748B;
  --card: #FFFFFF;
  --border: rgba(15, 23, 42, 0.08);

  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 8px 24px -8px rgba(15,23,42,.12), 0 4px 12px -4px rgba(37,99,235,.06);
  --shadow-lg: 0 24px 48px -16px rgba(15,23,42,.18), 0 12px 24px -8px rgba(37,99,235,.08);

  --radius-sm: .75rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-pill: 9999px;

--font-display: 'poppins', sans-serif;
--font-body: 'Plus Jakarta Sans', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
::selection { background: rgba(37,99,235,.18); color: var(--text); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 640px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

.section { padding: 96px 0; position: relative; }
@media (min-width: 640px) { .section { padding: 112px 0; } }
.section-white { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-bg    { background: var(--bg); }
.section-soft  { background: var(--soft-bg); }
.section-dark  { background: var(--text); color: #fff; }

.section-head { max-width: 720px; margin: 0 auto; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 600;
  margin: 12px 0 0;
  text-wrap: balance;
}
.section-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
  max-width: 56ch;
}
.text-white { color: #fff; }
.text-white-soft { color: rgba(255,255,255,.72); }
.mt-xl { margin-top: 56px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(37,99,235,.18);
  color: var(--primary-700);
  font-size: .75rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.eyebrow-soft {
  background: transparent;
  border: 0;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0;
  box-shadow: none;
  font-size: .72rem;
}
.eyebrow-light {
  background: transparent;
  border: 0;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0;
  box-shadow: none;
  font-size: .72rem;
}

.head-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}
.head-row > *:first-child { max-width: 620px; }
@media (min-width: 768px) {
  .head-row { flex-direction: row; align-items: flex-end; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--primary);
  transition: color .2s;
}
.link-arrow:hover { color: var(--primary-700); }

/* Two-col layout */
.two-col {
  display: grid;
  gap: 56px;
  align-items: start;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 5fr 7fr; gap: 80px; }
}
.two-col-reverse > *:first-child { order: 2; }
@media (min-width: 1024px) {
  .two-col-reverse > *:first-child { order: 0; }
}

/* Grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn.full { width: 100%; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(37,99,235,.6);
}
.btn-primary:hover { background: var(--primary-700); transform: translateY(-2px); }
.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: rgba(15,23,42,.1);
}
.btn-ghost:hover { background: var(--soft-bg); border-color: rgba(37,99,235,.3); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.kyro-nav-wrap {
  position: fixed;
  top: 16px;
  left: 0; right: 0;
  z-index: 50;
  padding: 0 16px;
}
.kyro-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px 12px 14px;
  border-radius: 18px;
  transition: background-color .4s, box-shadow .4s, border-color .4s;
}
.glass-nav {
  background: rgba(255,255,255,.6);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(15,23,42,.06);
}
.glass-nav-scrolled {
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 8px 24px -12px rgba(15,23,42,.12);
}

.nav-logo { display: inline-flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: var(--soft-bg);
  border: 1px solid rgba(15,23,42,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}
.nav-logo:hover .nav-logo-mark { transform: rotate(-6deg); }
.nav-logo-mark img { width: 28px; height: 28px; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

.nav-links { display: none; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 500;
  color: #475569;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--soft-bg); color: var(--text); }
@media (min-width: 768px) { .nav-links { display: inline-flex; } }

.nav-actions { display: inline-flex; align-items: center; gap: 8px; }
.nav-cta { display: none; padding: 10px 20px; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.nav-toggle:hover { background: var(--soft-bg); }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-open { display: none; }
.nav-toggle.is-open .icon-close { display: inline-block; }
@media (min-width: 768px) { .nav-toggle { display: none; } }

.nav-mobile {
  margin: 8px auto 0;
  max-width: 1100px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile a {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  transition: background .2s;
}
.nav-mobile a:hover { background: var(--soft-bg); }
.nav-mobile-cta { margin-top: 6px; justify-content: center; }
.nav-mobile[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: 144px; padding-bottom: 96px; overflow-x: clip; }
@media (min-width: 640px) { .hero { padding-top: 160px; } }
.hero-blob { position: absolute; border-radius: 9999px; filter: blur(64px); opacity: .55; pointer-events: none; }
.hero-blob-a { width: 480px; height: 480px; left: -160px; top: -80px; background: radial-gradient(circle, rgba(37,99,235,.22) 0%, rgba(37,99,235,0) 65%); }
.hero-blob-b { width: 520px; height: 520px; right: -180px; top: 80px; background: radial-gradient(circle, rgba(56,189,248,.28) 0%, rgba(56,189,248,0) 65%); }

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
  position: relative;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; } }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 24px 0 0;
  text-wrap: balance;
}
.hl-word { position: relative; white-space: nowrap; }
.hl-word > i {
  position: absolute;
  inset: auto 0 4px 0;
  height: 14px;
  background: rgba(56,189,248,.35);
  border-radius: 9999px;
  z-index: -1;
}

.hero-sub { color: #475569; max-width: 36rem; margin-top: 24px; font-size: 1.05rem; line-height: 1.65; }

.hero-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; align-items: flex-start; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; align-items: center; } }

.hero-trust {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: .75rem;
  color: var(--muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 9999px; display: inline-block; }
.dot-green { background: #10B981; }

/* Mascot stage */
.hero-visual { position: relative; }
.mascot-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.mascot-halo {
  position: absolute;
  inset: 24px;
  border-radius: 40%;
  background: linear-gradient(to bottom right, var(--soft-bg), #fff);
  box-shadow: 0 30px 60px -30px rgba(37,99,235,.45);
}
.mascot-img {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(37,99,235,.25));
}
.dot-accent { position: absolute; border-radius: 9999px; }
.dot-cyan { width: 12px; height: 12px; background: var(--accent); left: -8px; top: 48px; }
.dot-blue { width:  8px; height:  8px; background: var(--primary); right: 24px; top: 16px; }
.dot-sky  { width: 10px; height: 10px; background: var(--secondary); bottom: 40px; left: 40px; }

.float-card {
  position: absolute;
  z-index: 20;
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: 0 18px 40px -18px rgba(15,23,42,.25);
}
@media (min-width: 640px) { .float-card { display: block; } }
.float-card-chat { left: -16px; bottom: 16px; }
.float-card-stat { right: -16px; top: 24px; }
.fc-title { margin: 0; font-family: var(--font-display); font-size: .875rem; font-weight: 600; }
.fc-sub   { margin: 2px 0 0; font-size: .75rem; color: var(--muted); }
.fc-eyebrow { margin: 0; font-size: .625rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fc-value { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }

/* Mascot float animation */
@keyframes kyro-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-14px) rotate(1deg); }
}
.kyro-float { animation: kyro-float 6s ease-in-out infinite; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,.18);
}
.card h3 {
  margin: 18px 0 6px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
}
.card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--soft-bg);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg { width: 20px; height: 20px; }
.icon-rose { background: #FFF1F2; color: #F43F5E; }

/* ---------- Service cards ---------- */
.service-card { padding: 28px; position: relative; overflow: hidden; }
.service-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -10px rgba(37,99,235,.6);
  transition: transform .5s;
}
.service-icon svg { width: 20px; height: 20px; }
.service-card:hover .service-icon { transform: rotate(-6deg); }

.badge-pop {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--soft-bg);
  color: var(--primary);
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 9999px;
}

/* ---------- Marquee ---------- */
.marquee {
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  animation: marquee 32s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Solution ---------- */
.solution-visual .mascot-stage {
  max-width: 360px;
}
.mascot-stage-sm .mascot-halo {
  inset: 0;
  border-radius: 36%;
  background: linear-gradient(to bottom right, var(--soft-bg), #fff 60%, #E0F2FE);
}
.solution-tag {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 18px 40px -18px rgba(15,23,42,.25);
  z-index: 12;
  white-space: nowrap;
}

.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--text);
}
.check-list.small li { font-size: .875rem; }
.check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 6px 16px -6px rgba(37,99,235,.6);
}
.check svg { width: 14px; height: 14px; }
.check-soft { background: var(--soft-bg); color: var(--primary); box-shadow: none; }

/* ---------- Portfolio ---------- */
.portfolio-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px -24px rgba(15,23,42,.18);
  transition: transform .5s, box-shadow .5s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -24px rgba(37,99,235,.25);
}
.portfolio-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.thumb-1 { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.thumb-2 { background: linear-gradient(135deg, var(--accent), var(--secondary)); }
.thumb-3 { background: linear-gradient(135deg, var(--primary-700), var(--accent)); }
.thumb-4 { background: linear-gradient(135deg, #0EA5E9, var(--primary)); }
.portfolio-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.4), transparent 45%);
}
.browser-mock {
  position: absolute;
  left: 24px; right: 24px; top: 32px;
  background: rgba(255,255,255,.95);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
}
.browser-mock > span { display: inline-block; width: 10px; height: 10px; border-radius: 9999px; margin-right: 6px; vertical-align: middle; }
.browser-mock > span:nth-child(1) { background: #FCA5A5; }
.browser-mock > span:nth-child(2) { background: #FCD34D; }
.browser-mock > span:nth-child(3) { background: #6EE7B7; }
.bar { height: 8px; background: #E2E8F0; border-radius: 9999px; margin-top: 12px; width: 66%; }
.bar-half { width: 50%; }
.grid-3-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.grid-3-mini i { display: block; height: 48px; background: #F1F5F9; border-radius: 8px; }

.portfolio-meta { padding: 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.portfolio-meta .cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0; font-weight: 500; }
.portfolio-meta h3 { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.portfolio-meta .metric { margin: 4px 0 0; font-size: .875rem; color: var(--primary); }

/* ---------- Process (dark) ---------- */
.process { overflow: hidden; }
.process::before {
  content: "";
  position: absolute; inset: 0;
  opacity: .4;
  background:
    radial-gradient(800px 320px at 20% 0%, rgba(37,99,235,.35), transparent 60%),
    radial-gradient(600px 320px at 90% 100%, rgba(56,189,248,.25), transparent 60%);
  pointer-events: none;
}
.process .container { position: relative; }
.step {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(4px);
  transition: transform .5s, background .5s, border-color .5s;
}
.step:hover { transform: translateY(-4px); background: rgba(255,255,255,.06); border-color: rgba(56,189,248,.4); }
.step h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin: 16px 0 6px; color: #fff; }
.step p { color: rgba(255,255,255,.7); font-size: .875rem; margin: 0; line-height: 1.6; }
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(56,189,248,.55);
}

/* ---------- Why ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stat-tile { background: var(--soft-bg); border-radius: var(--radius-md); padding: 18px 12px; text-align: center; }
.stat-k { margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.stat-v { margin: 4px 0 0; font-size: .75rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonial-card { padding: 28px; position: relative; }
.quote-mark { position: absolute; right: 24px; top: 16px; font-family: var(--font-display); font-size: 4rem; color: rgba(37,99,235,.15); line-height: 1; }
.stars { color: #FBBF24; font-size: .9rem; letter-spacing: 1px; }
.testimonial-card blockquote {
  margin: 18px 0 0;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--text);
  font-style: normal;
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
}
.testimonial-card .name { margin: 0; font-family: var(--font-display); font-size: .875rem; font-weight: 600; }
.testimonial-card .role { margin: 2px 0 0; font-size: .75rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 18px 40px -24px rgba(15,23,42,.12);
  transition: transform .5s, box-shadow .5s;
}
.pricing-card:not(.pricing-highlight):hover { transform: translateY(-4px); }
.pricing-highlight {
  border: 2px solid var(--primary);
  background: linear-gradient(to bottom right, #fff, var(--soft-bg));
  box-shadow: 0 30px 60px -24px rgba(37,99,235,.4);
}
.pricing-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
}
.pricing-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin: 0; }
.pricing-desc { margin: 6px 0 0; font-size: .875rem; color: var(--muted); }
.pricing-price { margin: 24px 0 0; font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; }
.pricing-card .check-list { flex: 1; margin-top: 24px; }
.pricing-card .btn { margin-top: 32px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { padding: 0 20px; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.caret {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform .3s;
}
.caret::before, .caret::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: transform .3s;
}
.caret::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .caret::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body {
  padding: 0 0 20px;
  color: #475569;
  font-size: .95rem;
  line-height: 1.65;
}

/* ---------- Final CTA ---------- */
.cta-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--text), var(--primary-700) 50%, var(--primary));
  padding: 40px;
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .cta-card { padding: 56px; } }
@media (min-width: 1024px) { .cta-card { padding: 64px; } }

.cta-blob { position: absolute; border-radius: 9999px; filter: blur(48px); pointer-events: none; }
.cta-blob-a { width: 288px; height: 288px; right: -80px; top: -80px; background: rgba(56,189,248,.3); }
.cta-blob-b { width: 288px; height: 288px; left: 40px; bottom: -80px; background: rgba(6,182,212,.25); }

.cta-grid {
  position: relative;
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) { .cta-grid { grid-template-columns: 7fr 5fr; align-items: center; } }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  margin: 12px 0 0;
  text-wrap: balance;
}
.cta-sub { color: rgba(255,255,255,.8); margin-top: 18px; max-width: 36rem; }

.cta-mascot-row {
  display: none;
  margin-top: 32px;
  align-items: center;
  gap: 20px;
}
@media (min-width: 640px) { .cta-mascot-row { display: flex; } }
.cta-mascot-wrap { position: relative; }
.cta-mascot-wrap img {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 9999px;
  background: rgba(255,255,255,.95);
  padding: 8px;
  object-fit: contain;
  animation: kyro-float 6s ease-in-out infinite;
}
.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: rgba(255,255,255,.3);
  animation: pulse-ring 2.4s cubic-bezier(.2,.8,.2,1) infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(.95); opacity: .6; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
.cta-mascot-title { margin: 0; color: #fff; font-family: var(--font-display); font-size: .95rem; font-weight: 600; }
.cta-mascot-sub { margin: 4px 0 0; color: rgba(255,255,255,.72); font-size: .85rem; }

.cta-form {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
}
.cta-form h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin: 0; }
.form-hint { margin: 4px 0 0; font-size: .85rem; color: var(--muted); }
.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(15,23,42,.1);
  background: var(--bg);
  border-radius: 12px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  margin-top: 12px;
  outline: none;
  transition: border-color .2s, background .2s;
  resize: none;
}
.cta-form input:focus,
.cta-form textarea:focus { border-color: var(--primary); background: #fff; }
.cta-form .btn { margin-top: 20px; }
.form-foot { margin: 12px 0 0; text-align: center; font-size: .7rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); padding-top: 80px; }
.footer-grid {
  display: grid;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 5fr 7fr; } }
.footer-desc { margin: 18px 0 0; font-size: .9rem; color: var(--muted); max-width: 24rem; line-height: 1.65; }
.socials { margin-top: 24px; display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.socials a:hover { transform: translateY(-2px); background: var(--soft-bg); color: var(--primary); border-color: rgba(37,99,235,.3); }

.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (min-width: 1024px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-title { font-family: var(--font-display); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0; color: var(--text); }
.footer-cols ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer-cols a:hover { color: var(--primary); }
.muted-list li { color: var(--muted); font-size: .9rem; }

.footer-bottom {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: .75rem;
  color: var(--muted);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom div a { margin-left: 20px; transition: color .2s; }
.footer-bottom div a:first-child { margin-left: 0; }
.footer-bottom div a:hover { color: var(--primary); }

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 32px -8px rgba(37,211,102,.55), 0 4px 8px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 24px 48px -8px rgba(37,211,102,.7); }
.whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px solid rgba(37,211,102,.45);
  animation: pulse-ring 2.4s cubic-bezier(.2,.8,.2,1) infinite;
  pointer-events: none;
}

/* ---------- Toast (vanilla) ---------- */
.toast-stack {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  min-width: 260px;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: .875rem;
  color: var(--text);
  box-shadow: 0 18px 40px -12px rgba(15,23,42,.2);
  animation: toast-in .35s cubic-bezier(.2,.8,.2,1);
}
.toast.is-error   { border-left-color: #F43F5E; }
.toast.is-success { border-left-color: #10B981; }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .kyro-float, .marquee-track, .pulse-ring, .whatsapp-fab::after { animation: none; }
  html { scroll-behavior: auto; }
}
