/* ---------- CREA CONTROL Analytics — design tokens ---------- */
:root {
  /* Brand */
  --navy-900: #0a0d2a;
  --navy-800: #11163a;
  --navy-700: #1a2050;
  --navy-600: #232a66;
  --navy-300: #6b7299;
  --navy-200: #aeb3cf;

  --ink: #0a0d2a;
  --ink-2: #2c3157;
  --muted: #6b7299;
  --line: #e7e9f3;
  --line-2: #eef0f7;

  --bg: #f6f7fb;
  --bg-soft: #fbfbfd;
  --surface: #ffffff;

  /* Accents */
  --teal: #14b8a6;       /* primary action */
  --teal-2: #0fa394;
  --teal-soft: #e6faf6;
  --aqua: #6ee7d6;
  --coral: #ff4d5e;      /* brand pop, used sparingly */
  --coral-soft: #ffe7e9;
  --indigo: #6366f1;     /* data viz */
  --amber: #f59e0b;
  --emerald: #10b981;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15,22,60,.04), 0 1px 3px rgba(15,22,60,.04);
  --shadow-md: 0 4px 12px rgba(15,22,60,.05), 0 12px 32px -8px rgba(15,22,60,.07);
  --shadow-lg: 0 8px 24px rgba(15,22,60,.06), 0 32px 60px -20px rgba(15,22,60,.18);
  --shadow-pop: 0 18px 60px -18px rgba(20,184,166,.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(10,13,42,.6);
}
.btn-primary:hover { background: #14193f; box-shadow: 0 12px 28px -8px rgba(10,13,42,.7); }
.btn-teal {
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-2) 100%);
  color: #04201d;
  box-shadow: var(--shadow-pop);
}
.btn-teal:hover { filter: brightness(1.04); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: #fff; border-color: #d6dae8; }
.btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-light:hover { border-color: #c9cee0; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }

/* ---------- Section base ---------- */
section { padding: 96px 0; position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--teal); box-shadow: 0 0 0 4px rgba(20,184,166,.18); }

h1, h2, h3, h4 { letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.lede { font-size: 18px; color: var(--ink-2); line-height: 1.55; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head .lede { margin-top: 14px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(246, 247, 251, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(246, 247, 251, 0.92); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy-900);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.brand-mark img { width: 26px; height: 26px; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.brand-name .accent { color: var(--coral); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--ink-2); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  padding: 56px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -200px 0 0 0;
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(20,184,166,.14), transparent 60%),
    radial-gradient(800px 500px at 10% 0%, rgba(99,102,241,.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 .grad {
  background: linear-gradient(110deg, var(--ink) 0%, var(--teal-2) 50%, var(--ink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 22px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 540px;
  line-height: 1.55;
}
.hero-ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-micro {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 8px 10px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.chip svg { color: var(--teal); }

.hero-trust {
  margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
  color: var(--muted);
  font-size: 13.5px;
}
.avatars { display: flex; }
.avatar {
  width: 30px; height: 30px; border-radius: 999px;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #c7d2fe, #fecaca);
  margin-left: -8px;
  font-size: 11px; font-weight: 700; color: #fff;
  display: grid; place-items: center;
}
.avatar:first-child { margin-left: 0; }
.avatar.a2 { background: linear-gradient(135deg, #99f6e4, #67e8f9); color: #0a0d2a; }
.avatar.a3 { background: linear-gradient(135deg, #fde68a, #fca5a5); color: #0a0d2a; }
.avatar.a4 { background: linear-gradient(135deg, #c4b5fd, #f0abfc); color: #0a0d2a; }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }

/* Hero visual — dashboard card stack */
.hero-visual {
  position: relative;
  isolation: isolate;
}
.dash-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dash-window {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-2);
  background: linear-gradient(180deg, #fcfcff, #fff);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 999px; background: #e7e9f3; }
.dash-url {
  flex: 1;
  background: var(--bg);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  text-align: center;
}
.dash-body { padding: 22px; }
.report-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.report-title { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; }
.report-meta { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.report-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--teal-soft); color: #035e54;
  font-size: 11px; font-weight: 600;
}
.report-status .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--teal); }

.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}
.kpi .label { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.kpi .value { font-size: 20px; font-weight: 700; margin-top: 4px; letter-spacing: -0.02em; }
.kpi .delta { font-size: 11px; font-weight: 600; margin-top: 2px; display: inline-flex; align-items: center; gap: 3px;}
.kpi .delta.up { color: var(--emerald); }
.kpi .delta.down { color: var(--coral); }

.chart-card {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #fcfdff, #fff);
}
.chart-card .ch-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted); margin-bottom: 8px;
}
.chart-card .ch-title { color: var(--ink); font-weight: 600; font-size: 13px; }

.findings { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.finding {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  font-size: 12.5px;
  color: var(--ink-2);
}
.finding .ico {
  width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center;
  flex: 0 0 22px;
  font-size: 12px;
}
.finding.green .ico { background: #d1fae5; color: #065f46; }
.finding.yellow .ico { background: #fef3c7; color: #92400e; }
.finding.red .ico { background: var(--coral-soft); color: #b21f2d; }

/* Floating side widget */
.hero-side {
  position: absolute;
  right: -20px;
  bottom: -32px;
  width: 230px;
  background: var(--navy-900);
  color: #fff;
  padding: 18px;
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(10,13,42,.5);
  z-index: 2;
}
.hero-side .label { font-size: 11px; color: #aeb3cf; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;}
.hero-side .big { font-size: 28px; font-weight: 700; margin-top: 6px; letter-spacing: -0.02em; }
.hero-side .row { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: #aeb3cf; }
.hero-side .bar { flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; position: relative;}
.hero-side .bar::after { content: ""; position: absolute; inset: 0 30% 0 0; background: linear-gradient(90deg, var(--teal), var(--aqua)); border-radius: 999px;}

.hero-float-tag {
  position: absolute;
  left: -16px; top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  z-index: 2;
}
.hero-float-tag .ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--coral-soft); color: var(--coral);
  display: grid; place-items: center;
}

@media (max-width: 980px) {
  .hero-side { right: 8px; bottom: -24px; width: 200px; }
  .hero-float-tag { left: 8px; }
}

/* Logo strip */
.logo-strip {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}
.logo-strip-label {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.logo-strip-row {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
  opacity: .65;
}
.lstrip-item {
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--navy-600);
  display: inline-flex; align-items: center; gap: 8px;
}

/* ---------- PROBLEM / SOLUTION ---------- */
.problem {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 50px;
}
@media (max-width: 880px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--line);
}
.problem-card.before { background: #fbfbfd; }
.problem-card.after {
  background: var(--navy-900);
  color: #fff;
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.problem-card.after::before {
  content: "";
  position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(20,184,166,.35), transparent 70%);
  pointer-events: none;
}
.problem-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  padding: 5px 10px; border-radius: 999px;
}
.problem-tag.bad { background: var(--coral-soft); color: #b21f2d; }
.problem-tag.good { background: rgba(20,184,166,.18); color: var(--aqua); }
.problem-card h3 { font-size: 24px; margin-top: 14px; }
.problem-card p { color: var(--ink-2); margin-top: 10px; font-size: 15.5px; line-height: 1.55; }
.problem-card.after p { color: #d6d9ee; }
.problem-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.problem-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.problem-list li .x { color: var(--coral); flex: 0 0 18px; }
.problem-list li .v { color: var(--teal); flex: 0 0 18px; }
.problem-card.after .problem-list li { color: #eaecf6; }

/* ---------- HOW IT WORKS ---------- */
.how { background: var(--bg); }
.how-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 12px;
}
@media (max-width: 980px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .how-grid { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--muted); font-weight: 600;
  letter-spacing: 0.04em;
}
.step .ic {
  margin-top: 14px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-2);
  display: grid; place-items: center;
}
.step h3 { margin-top: 16px; font-size: 17px; }
.step p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }

.file-types {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap;
}
.file-types .lbl { font-size: 13.5px; color: var(--muted); margin-right: 6px; }
.ftype {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600;
}
.ftype .badge {
  font-size: 9.5px; font-weight: 800; padding: 2px 5px; border-radius: 4px;
  color: #fff;
}
.ftype.xls .badge { background: #1d6f42; }
.ftype.csv .badge { background: #475569; }
.ftype.pdf .badge { background: #b91c1c; }
.ftype.doc .badge { background: #1e40af; }
.ftype.img .badge { background: #7c3aed; }

/* ---------- INCLUDES (report contents) ---------- */
.includes { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.includes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 880px) { .includes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .includes-grid { grid-template-columns: 1fr; } }
.inc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  background: #fbfbfd;
  display: flex; gap: 14px; align-items: flex-start;
  transition: background .2s ease, border-color .2s ease;
}
.inc:hover { background: #fff; border-color: #d6dae8; }
.inc .ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink);
  flex: 0 0 36px;
}
.inc .t { font-weight: 700; font-size: 15px; }
.inc .d { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* ---------- BENEFITS ---------- */
.benefits {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 880px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative; overflow: hidden;
}
.benefit .ic {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--navy-900); color: #fff;
  display: grid; place-items: center;
}
.benefit h3 { margin-top: 20px; font-size: 19px; }
.benefit p { color: var(--ink-2); margin-top: 8px; font-size: 14.5px; line-height: 1.55; }
.benefit.feature {
  background: var(--navy-900);
  color: #fff;
  border-color: transparent;
  grid-column: span 2;
  display: grid; grid-template-columns: 1fr 0.9fr; gap: 24px; align-items: center;
}
@media (max-width: 880px) { .benefit.feature { grid-column: span 1; grid-template-columns: 1fr; } }
.benefit.feature .ic { background: var(--teal); color: #04201d;}
.benefit.feature p { color: #c8cce4; }
.benefit-visual {
  background: linear-gradient(180deg, #1a2050, #11163a);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.06);
}
.brand-swatch-row { display: flex; gap: 8px; margin-bottom: 12px;}
.bs { width: 22px; height: 22px; border-radius: 7px;}
.brand-pseudo {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 10px; background: rgba(255,255,255,0.06);
  font-size: 12px; color: #d6d9ee;
}
.brand-pseudo .logo {
  width: 28px; height: 28px; border-radius: 8px; background: #fff;
  display: grid; place-items: center; font-weight: 800; color: var(--navy-900); font-size: 13px;
}

/* ---------- PRICING ---------- */
.pricing { background: var(--surface); border-top: 1px solid var(--line); }
.toggle-row { display: flex; justify-content: center; margin-top: 30px; margin-bottom: 12px; }
.toggle {
  display: inline-flex; padding: 5px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line);
}
.toggle button {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s ease;
}
.toggle button.active { background: var(--ink); color: #fff; }
.toggle button .save {
  font-size: 10.5px; font-weight: 700; padding: 1px 6px;
  background: var(--teal); color: #04201d; border-radius: 999px;
  margin-left: 6px;
}

.plans-grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 1080px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans-grid { grid-template-columns: 1fr; } }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-md);}
.plan .ribbon {
  position: absolute; top: 16px; right: 16px;
  font-size: 10.5px; font-weight: 700;
  background: var(--teal); color: #04201d;
  padding: 4px 9px; border-radius: 999px;
  letter-spacing: 0.04em;
}
.plan .name { font-size: 13.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.plan .price-row { margin-top: 14px; display: flex; align-items: baseline; gap: 4px; }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan .per { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan .currency { font-size: 18px; font-weight: 700; color: var(--ink-2); align-self: flex-start; margin-top: 6px;}
.plan .tag-line { margin-top: 12px; font-size: 14px; color: var(--ink-2); min-height: 42px;}
.plan ul { list-style: none; padding: 0; margin: 20px 0 22px; display: flex; flex-direction: column; gap: 10px;}
.plan ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.plan ul li .check { flex: 0 0 18px; color: var(--teal-2); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan.featured {
  background: linear-gradient(180deg, #0f1437 0%, #0a0d2a 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 30px 60px -25px rgba(10,13,42,.5);
}
.plan.featured .name { color: var(--aqua); }
.plan.featured .per, .plan.featured .tag-line { color: #aeb3cf; }
.plan.featured ul li { color: #eaecf6; }
.plan.featured .currency { color: #aeb3cf; }

/* ---------- DEMO ---------- */
.demo-section {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}
.demo-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 880px) { .demo-card { grid-template-columns: 1fr; padding: 36px; } }
.demo-card::before {
  content: "";
  position: absolute; right: -100px; bottom: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(20,184,166,.35), transparent 70%);
  pointer-events: none;
}
.demo-card h2 { color: #fff; }
.demo-card p { color: #c8cce4; margin-top: 14px; font-size: 17px; line-height: 1.55; }
.demo-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Video player */
.demo-video-wrap {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.6);
  aspect-ratio: 16 / 9;
  background: #0a0d2a;
}
.demo-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 880px) {
  .demo-video-wrap { width: 100%; }
}

/* Legacy play-btn kept in case it's referenced elsewhere */
.play-btn {
  width: 76px; height: 76px; border-radius: 999px;
  background: var(--teal); color: #04201d;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(20,184,166,.6);
  transition: transform .2s ease;
}
.play-btn:hover { transform: scale(1.06); }

/* ---------- TESTIMONIALS ---------- */
.test { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .test-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: #fbfbfd;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.testimonial .stars { color: var(--amber); }
.testimonial blockquote {
  margin: 0;
  font-size: 16px; line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.testimonial .author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .author .av {
  width: 40px; height: 40px; border-radius: 999px;
  font-weight: 700; color: #fff; display: grid; place-items: center; font-size: 14px;
}
.testimonial .author .name { font-weight: 700; font-size: 14.5px; }
.testimonial .author .role { font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq-list { max-width: 820px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 10px;}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px;
  font-size: 16px; font-weight: 600;
  text-align: left;
  letter-spacing: -0.01em;
}
.faq-q .plus { width: 26px; height: 26px; border-radius: 999px; background: var(--bg); display: grid; place-items: center; transition: transform .25s ease, background .25s ease; flex: 0 0 26px;}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--teal); color: #04201d; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  padding: 0 24px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 22px; }

/* ---------- CTA FINAL ---------- */
.cta-final { background: var(--bg); }
.cta-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-card::before, .cta-card::after {
  content: ""; position: absolute; pointer-events: none;
}
.cta-card::before {
  width: 500px; height: 500px; border-radius: 999px;
  left: -200px; top: -200px;
  background: radial-gradient(circle, rgba(20,184,166,.3), transparent 70%);
}
.cta-card::after {
  width: 500px; height: 500px; border-radius: 999px;
  right: -200px; bottom: -250px;
  background: radial-gradient(circle, rgba(255,77,94,.2), transparent 70%);
}
.cta-card h2 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); position: relative; z-index: 1; max-width: 820px; margin: 0 auto;}
.cta-card p { color: #c8cce4; margin-top: 18px; font-size: 18px; position: relative; z-index: 1; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-card .actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1;}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg);
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 14px; max-width: 320px; }
.footer h4 { font-size: 13px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;}
.footer ul a { font-size: 14px; color: var(--ink-2); transition: color .15s; }
.footer ul a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink-2); transition: all .15s;
}
.footer-bottom .socials a:hover { color: var(--ink); border-color: #c9cee0; }

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-side, .hero-float-tag { animation: float 6s ease-in-out infinite; }
.hero-float-tag { animation-delay: -3s; }

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20,184,166,.5); }
  50% { box-shadow: 0 0 0 6px rgba(20,184,166,0); }
}
.eyebrow .dot { animation: pulse-dot 2.4s ease-out infinite; }

@keyframes draw-bar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  padding: 8px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
@media (max-width: 880px) {
  .hamburger { display: flex; }
  .nav-login { display: none !important; }
  .nav-cta { gap: 8px; }
}
@media (max-width: 560px) {
  /* On very small screens hide desktop CTA too — menu covers it */
  .nav-cta .btn-primary { display: none !important; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 0 24px 32px;
  animation: slideDown .22s ease;
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.mobile-close {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 18px;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--ink);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mobile-nav-links a {
  display: block;
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  letter-spacing: -0.01em;
  transition: color .15s;
}
.mobile-nav-links a:hover { color: var(--teal-2); }
.mobile-menu-footer {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 13, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fadeIn .18s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-box {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: popIn .22s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popIn {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.modal-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: var(--teal-soft);
  color: var(--teal-2);
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.modal-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.modal-box p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 16px;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--muted);
  transition: color .15s, background .15s;
}
.modal-close:hover { color: var(--ink); background: #fff; }

/* ---------- WhatsApp button ---------- */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px -6px rgba(37,211,102,.55);
  transition: transform .2s ease, box-shadow .2s ease, opacity .25s ease, visibility .25s;
  opacity: 0;
  visibility: hidden;
}
.wa-float--visible { opacity: 1; visibility: visible; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(37,211,102,.65); }
@media (max-width: 560px) {
  .wa-float { width: 50px; padding: 0; justify-content: center; border-radius: 999px; }
  .wa-label { display: none; }
}

/* ---------- Testimonial tag ---------- */
.testimonial-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: #035e54;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 430px) {
  .hero { padding: 40px 0 80px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .cta-card { padding: 48px 24px; }
  .cta-card .actions { flex-direction: column; align-items: stretch; }
  .cta-card .actions .btn { justify-content: center; }
  .demo-card { padding: 28px 20px; }
  .plan .price { font-size: 34px; }
  section { padding: 72px 0; }
  .container { padding: 0 20px; }
}
@media (max-width: 360px) {
  h2 { font-size: clamp(26px, 8vw, 34px); }
  .plans-grid { grid-template-columns: 1fr; }
}

/* ---------- Overflow guard ---------- */
html { overflow-x: hidden; }
body { overflow-x: hidden; }
