/* ───────────────────────────────────────────
   TOKENS & THEMES
─────────────────────────────────────────── */
:root {
  /* Verde "Flow" */
  --brand:        #28a520;
  --brand-dark:   #1f8019;
  --brand-light:  #4cc844;
  --brand-alpha:  rgba(40, 165, 32, 0.12);

  /* Navy "Anexo" */
  --navy:         #1a3a6b;
  --navy-light:   #2a5298;
  --navy-alpha:   rgba(26, 58, 107, 0.12);

  /* Gold moeda */
  --gold:         #f5c518;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.14);
  --shadow-xl:  0 24px 80px rgba(0,0,0,.20);

  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

[data-theme="light"], html:not([data-theme]) {
  --bg:           #f8fafc;
  --bg-secondary: #eef2f8;
  --bg-card:      #ffffff;
  --border:       #d6e0ef;
  --text:         #0d1f3c;
  --text-muted:   #4a5f7a;
  --text-subtle:  #8fa3be;
  --nav-bg:       rgba(248,250,252,0.88);
}
[data-theme="dark"] {
  --bg:           #080e1a;
  --bg-secondary: #0d1525;
  --bg-card:      #111e32;
  --border:       #1e3050;
  --text:         #e8eef8;
  --text-muted:   #7a9abf;
  --text-subtle:  #3d5878;
  --nav-bg:       rgba(8,14,26,0.88);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    --bg:           #080e1a;
    --bg-secondary: #0d1525;
    --bg-card:      #111e32;
    --border:       #1e3050;
    --text:         #e8eef8;
    --text-muted:   #7a9abf;
    --text-subtle:  #3d5878;
    --nav-bg:       rgba(8,14,26,0.88);
  }
}
@media (prefers-color-scheme: light) {
  html[data-theme="system"] {
    --bg:           #f8fafc;
    --bg-secondary: #eef2f8;
    --bg-card:      #ffffff;
    --border:       #d6e0ef;
    --text:         #0d1f3c;
    --text-muted:   #4a5f7a;
    --text-subtle:  #8fa3be;
    --nav-bg:       rgba(248,250,252,0.88);
  }
}

/* ───────────────────────────────────────────
   RESET & BASE
─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ───────────────────────────────────────────
   UTILITIES
─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1400px; }

.section { padding: 100px 0; }
.section--sm { padding: 64px 0; }
.section--bg { background: var(--bg-secondary); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.heading-xl {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.heading-lg {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.heading-md {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.text-muted  { color: var(--text-muted); }
.text-brand  { color: var(--brand); }
.text-center { text-align: center; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--brand-alpha);
  color: var(--brand);
  border: 1px solid rgba(40,165,32,.25);
}

/* ───────────────────────────────────────────
   BUTTONS
─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,.08); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(40,165,32,.35);
}
.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 28px rgba(40,165,32,.45);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-1px);
}

.btn-lg { padding: 18px 36px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: var(--radius-sm); }

/* ───────────────────────────────────────────
   NAVIGATION
─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
}
.nav__logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.nav__brand-text   { display: none; }
.nav__brand-accent { display: none; }

/* Logo por tema */
.logo--dark  { display: none; }
.logo--light { display: block; }

[data-theme="dark"] .logo--light  { display: none; }
[data-theme="dark"] .logo--dark   { display: block; }
[data-theme="light"] .logo--light { display: block; }
[data-theme="light"] .logo--dark  { display: none; }

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] .logo--light { display: none; }
  html[data-theme="system"] .logo--dark  { display: block; }
}
@media (prefers-color-scheme: light) {
  html[data-theme="system"] .logo--light { display: block; }
  html[data-theme="system"] .logo--dark  { display: none; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--text); background: var(--bg-secondary); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
}
.theme-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.theme-btn.active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.theme-btn:hover:not(.active) { color: var(--text); }

.nav__hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  font-size: 18px;
}

@media (max-width: 768px) {
  .nav__links    { display: none; }
  .nav__hamburger { display: flex; }
  .nav__access   { display: none; }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav__link { padding: 12px 14px; font-size: 15px; display: block; }
.mobile-menu .btn { width: 100%; margin-top: 8px; justify-content: center; }

/* ───────────────────────────────────────────
   HERO
─────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    170deg,
    rgba(26,58,107,.07) 0%,
    rgba(40,165,32,.04) 40%,
    var(--bg) 75%
  );
}
[data-theme="dark"] .hero,
html[data-theme="system"] .hero {
  background: linear-gradient(
    170deg,
    rgba(26,58,107,.45) 0%,
    rgba(40,165,32,.08) 45%,
    var(--bg) 80%
  );
}
@media (prefers-color-scheme: dark) {
  html[data-theme="system"] .hero {
    background: linear-gradient(
      170deg,
      rgba(26,58,107,.45) 0%,
      rgba(40,165,32,.08) 45%,
      var(--bg) 80%
    );
  }
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero__orb--navy  { width: 600px; height: 500px; top: -160px; left: -100px; background: rgba(26,58,107,.18); }
.hero__orb--green { width: 420px; height: 420px; top: -80px; right: -60px; background: rgba(40,165,32,.12); }
.hero__orb--gold  { width: 260px; height: 260px; bottom: 60px; right: 15%; background: rgba(245,197,24,.07); }

[data-theme="dark"] .hero__orb--navy  { background: rgba(26,58,107,.5); }
[data-theme="dark"] .hero__orb--green { background: rgba(40,165,32,.2); }
@media (prefers-color-scheme: dark) {
  html[data-theme="system"] .hero__orb--navy  { background: rgba(26,58,107,.5); }
  html[data-theme="system"] .hero__orb--green { background: rgba(40,165,32,.2); }
}

.hero__lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,58,107,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,58,107,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.4) 25%, rgba(0,0,0,.4) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.4) 25%, rgba(0,0,0,.4) 60%, transparent 100%);
}
[data-theme="dark"] .hero__lines,
html[data-theme="system"] .hero__lines {
  background-image:
    linear-gradient(rgba(40,165,32,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40,165,32,.07) 1px, transparent 1px);
}
@media (prefers-color-scheme: dark) {
  html[data-theme="system"] .hero__lines {
    background-image:
      linear-gradient(rgba(40,165,32,.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(40,165,32,.07) 1px, transparent 1px);
  }
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.hero__tag { margin-bottom: 24px; }
.hero__title { margin-bottom: 24px; }
.hero__title mark {
  background: none;
  color: var(--brand);
  position: relative;
}
.hero__title mark::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  opacity: .6;
}

.hero__desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__avatars { display: flex; }
.hero__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  background: linear-gradient(135deg, var(--brand) 0%, #ff8a65 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.hero__avatar:first-child { margin-left: 0; }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__stat { display: flex; flex-direction: column; align-items: center; }
.hero__stat-value { font-size: 22px; font-weight: 800; color: var(--text); }
.hero__stat-label { font-size: 12px; color: var(--text-muted); }
.hero__stat-divider { width: 1px; height: 32px; background: var(--border); }

.hero__mockup {
  position: relative;
  margin-top: 80px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.hero__mockup-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--border);
}
.hero__mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.hero__mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.hero__mockup-dot:nth-child(1) { background: #ff5f57; }
.hero__mockup-dot:nth-child(2) { background: #fbbf24; }
.hero__mockup-dot:nth-child(3) { background: #34d399; }
.hero__mockup-url {
  flex: 1;
  height: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
}

.hero__dashboard {
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 768px) {
  .hero__dashboard { grid-template-columns: repeat(2, 1fr); padding: 16px; }
}
.hero__metric {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform .2s;
}
.hero__metric:hover { transform: translateY(-2px); }
.hero__metric-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.hero__metric-value { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.hero__metric-trend { font-size: 11px; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.trend-up   { color: #10b981; }
.trend-down { color: var(--brand); }

/* chart */
.hero__chart-row {
  grid-column: 1 / -1;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 20px 12px;
}
.hero__chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.hero__chart-title { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.hero__chart-legend { display: flex; gap: 14px; }
.hero__legend-item { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-muted); }
.hero__legend-dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.hero__chart-wrap { position: relative; }
.hero__chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 90px; }
.hero__bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  cursor: pointer;
}
.hero__bars-pair { display: flex; align-items: flex-end; gap: 2px; width: 100%; height: 90px; }
.hero__bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  min-height: 3px;
  height: 0;
  transition: height .7s cubic-bezier(.34,1.3,.64,1);
}
.hero__bar.animated { height: var(--h); }
.hero__bar--income  { background: #10b981; --h: 0; }
.hero__bar--expense { background: var(--brand); --h: 0; }
.hero__bar-month {
  font-size: 9px;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 5px;
  white-space: nowrap;
  font-weight: 500;
}
.hero__bar-group:hover .hero__bar-tooltip { display: block; }
.hero__bar-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 10px;
  line-height: 1.6;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  z-index: 10;
  pointer-events: none;
}
.hero__bar-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--border);
}
.hero__tooltip-month  { font-weight: 700; color: var(--text); margin-bottom: 2px; }
.hero__tooltip-income  { color: #10b981; }
.hero__tooltip-expense { color: var(--brand); }
.hero__chart-baseline { height: 1px; background: var(--border); }

/* ───────────────────────────────────────────
   FEATURES
─────────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 64px;
}
@media (max-width: 640px) {
  .features__grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: rgba(26,58,107,.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-alpha);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: transform var(--transition);
}
.feature-card:hover .feature-card__icon { transform: scale(1.1) rotate(-3deg); }
.feature-card__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.feature-card__desc  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.feature-card--wide  { grid-column: span 2; }
@media (max-width: 900px) {
  .feature-card--wide { grid-column: span 1; }
}

/* ───────────────────────────────────────────
   HOW IT WORKS
─────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px; left: calc(16.66% + 20px); right: calc(16.66% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--brand), var(--border), var(--brand));
}
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}
.step { text-align: center; }
.step__number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px var(--brand-alpha);
}
.step__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step__desc  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ───────────────────────────────────────────
   ASSISTENTE MOCKUP
─────────────────────────────────────────── */
.assistant-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 64px;
}
@media (max-width: 860px) {
  .assistant-showcase { grid-template-columns: 1fr; gap: 40px; }
}
.assistant-showcase__text .eyebrow    { margin-bottom: 12px; }
.assistant-showcase__text .heading-lg { margin-bottom: 20px; }
.assistant-showcase__text p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }

.assistant-bullets { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.assistant-bullet  { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); }
.assistant-bullet__icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--brand-alpha); display: grid;
  place-items: center; font-size: 12px; flex-shrink: 0; margin-top: 1px;
}

/* chat window */
.chat-window {
  background: #16202e;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
  max-width: 420px;
  margin: 0 auto;
  font-family: inherit;
}
.chat-header {
  background: #1c2b3a;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.chat-header__avatar {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--brand) 100%);
  display: grid; place-items: center; font-size: 20px; flex-shrink: 0;
}
.chat-header__info { flex: 1; }
.chat-header__badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: #10b981; margin-bottom: 2px;
}
.chat-header__badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 6px #10b981;
}
.chat-header__name { font-size: 15px; font-weight: 700; color: #fff; }
.chat-header__sub  { font-size: 11px; color: rgba(255,255,255,.45); }
.chat-header__actions { display: flex; gap: 8px; }
.chat-header__btn {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,.08); display: grid;
  place-items: center; font-size: 13px; color: rgba(255,255,255,.5);
  cursor: pointer; border: none; font-family: inherit;
}

.chat-recents {
  margin: 14px 14px 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 10px 12px;
}
.chat-recents__label {
  font-size: 10px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
}
.chat-recent-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(26,58,107,.5); border: 1px solid rgba(42,82,152,.5);
  border-radius: 999px; padding: 3px 10px;
  font-size: 11px; color: #7ab4e8; font-weight: 500;
}

.chat-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg  { display: flex; align-items: flex-start; gap: 8px; }
.chat-msg--user { flex-direction: row-reverse; }
.chat-msg__ava {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--brand) 100%);
}
.chat-msg__ava--user { background: linear-gradient(135deg, #2a5298 0%, #1a3a6b 100%); }
.chat-bubble {
  max-width: 78%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.06);
}
.chat-bubble--user {
  background: linear-gradient(135deg, #1a3a6b 0%, #2a5298 100%);
  border-color: rgba(42,82,152,.4);
  color: #fff;
}
.chat-result-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 12px 14px;
  margin-top: 2px;
}
.chat-result-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #28a520; margin-bottom: 6px;
}
.chat-result-title  { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.chat-result-text   { font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.6; }
.chat-result-text strong { color: rgba(255,255,255,.75); }

.chat-suggestions {
  margin: 0 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(255,255,255,.45);
  cursor: pointer;
}
.chat-suggestions__icon { color: #f5c518; font-size: 13px; }

.chat-input {
  margin: 12px 14px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
}
.chat-input__field {
  flex: 1; font-size: 12px; color: rgba(255,255,255,.4);
  background: none; border: none; outline: none; font-family: inherit;
}
.chat-input__send {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--brand));
  display: grid; place-items: center; font-size: 14px;
  border: none; cursor: pointer; color: #fff; flex-shrink: 0;
}
.chat-disclaimer {
  text-align: center; font-size: 10px;
  color: rgba(255,255,255,.25); padding: 0 14px 12px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}

.chat-typing {
  display: flex; gap: 4px; align-items: center;
  padding: 10px 13px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px; width: fit-content;
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  animation: typing-dot 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

/* ───────────────────────────────────────────
   PRICING
─────────────────────────────────────────── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 64px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 680px) {
  .pricing__grid { grid-template-columns: 1fr; }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card--featured {
  border-color: var(--brand);
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(26,58,107,.06) 100%);
}
.pricing-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card__name   { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-card__desc   { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
.pricing-card__price  { margin-bottom: 28px; }
.pricing-card__amount {
  font-size: 42px; font-weight: 900;
  letter-spacing: -.04em; color: var(--text); line-height: 1;
}
.pricing-card__currency { font-size: 20px; font-weight: 600; vertical-align: super; line-height: 1; margin-right: 2px; }
.pricing-card__period   { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.pricing-card__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-feature        { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.pricing-feature__check {
  width: 18px; height: 18px; border-radius: 50%;
  background: #10b981; display: grid; place-items: center;
  flex-shrink: 0; font-size: 10px; color: #fff;
}
.pricing-feature__cross {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--border); display: grid; place-items: center;
  flex-shrink: 0; font-size: 10px; color: var(--text-subtle);
}

.pricing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-top: 32px;
}
.pricing-toggle__label { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.pricing-toggle__label.active { color: var(--text); font-weight: 600; }
.toggle-switch {
  width: 44px; height: 24px;
  background: var(--border); border-radius: 12px;
  position: relative; cursor: pointer;
  transition: background var(--transition);
}
.toggle-switch.on { background: var(--brand); }
.toggle-switch__knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.toggle-switch.on .toggle-switch__knob { transform: translateX(20px); }
.pricing-badge-save {
  font-size: 11px; background: #10b981; color: #fff;
  padding: 2px 8px; border-radius: 999px; font-weight: 700;
}

/* ───────────────────────────────────────────
   TESTIMONIALS
─────────────────────────────────────────── */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 64px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(26,58,107,.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.testimonial-card__stars  { display: flex; gap: 3px; margin-bottom: 14px; color: #fbbf24; font-size: 14px; }
.testimonial-card__text   { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.testimonial-card__author { display: flex; align-items: center; gap: 10px; }
.testimonial-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.testimonial-card__name { font-size: 14px; font-weight: 600; }
.testimonial-card__role { font-size: 12px; color: var(--text-muted); }

/* ───────────────────────────────────────────
   FAQ
─────────────────────────────────────────── */
.faq__list { max-width: 760px; margin: 64px auto 0; }
.faq-item  { border-bottom: 1px solid var(--border); }
.faq-item__header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 24px 0; cursor: pointer;
  transition: color var(--transition);
}
.faq-item__header:hover { color: var(--brand); }
.faq-item__question { font-size: 16px; font-weight: 600; }
.faq-item__icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--border); display: grid;
  place-items: center; font-size: 18px; color: var(--text-muted);
  flex-shrink: 0; transition: transform var(--transition), border-color var(--transition);
}
.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  border-color: var(--brand);
  color: var(--brand);
}
.faq-item__body { display: none; padding-bottom: 20px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-item__body { display: block; }

/* ───────────────────────────────────────────
   CTA FINAL
─────────────────────────────────────────── */
.cta-final {
  background: linear-gradient(135deg, #071020 0%, #0d1f3c 40%, #0a2a12 100%);
  position: relative;
  overflow: hidden;
}
.cta-final__orb1 {
  position: absolute; width: 500px; height: 500px;
  top: -150px; left: -80px; border-radius: 50%;
  background: rgba(26,58,107,.55); filter: blur(100px); pointer-events: none;
}
.cta-final__orb2 {
  position: absolute; width: 380px; height: 380px;
  bottom: -100px; right: -60px; border-radius: 50%;
  background: rgba(40,165,32,.35); filter: blur(90px); pointer-events: none;
}
.cta-final__orb3 {
  position: absolute; width: 220px; height: 220px;
  top: 50%; left: 55%; transform: translate(-50%,-50%);
  border-radius: 50%; background: rgba(245,197,24,.08);
  filter: blur(60px); pointer-events: none;
}
.cta-final__content { position: relative; text-align: center; max-width: 680px; margin: 0 auto; }
.cta-final__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-light);
  margin-bottom: 20px;
  background: rgba(40,165,32,.15); border: 1px solid rgba(40,165,32,.3);
  padding: 5px 14px; border-radius: 999px;
}
.cta-final__title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900; color: #fff;
  letter-spacing: -.035em; line-height: 1.1; margin-bottom: 16px;
}
.cta-final__title span { color: var(--brand-light); }
.cta-final__sub { font-size: 16px; color: rgba(255,255,255,.55); margin-bottom: 40px; line-height: 1.6; }
.cta-final__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-final__checks {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap; margin-top: 28px;
}
.cta-final__check { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,.5); }
.cta-final__check-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(40,165,32,.4); border: 1px solid rgba(40,165,32,.6);
  display: grid; place-items: center; font-size: 9px; color: #fff; flex-shrink: 0;
}
.cta-final__note { margin-top: 20px; font-size: 12px; color: rgba(255,255,255,.3); }

/* ───────────────────────────────────────────
   FOOTER
─────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

.footer__brand-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-top: 12px; max-width: 260px; }
.footer__col-title  { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 16px; }
.footer__links      { display: flex; flex-direction: column; gap: 10px; }
.footer__link       { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.footer__link:hover { color: var(--brand); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-subtle);
}
.footer__socials { display: flex; gap: 8px; }
.footer__social {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 14px; color: var(--text-muted);
  transition: all var(--transition);
}
.footer__social:hover { border-color: var(--brand); color: var(--brand); }

/* ───────────────────────────────────────────
   MOBILE SHOWCASE
─────────────────────────────────────────── */
.mobile-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 64px;
}
@media (max-width: 768px) {
  .mobile-showcase { grid-template-columns: 1fr; }
  .mobile-showcase__visual { order: -1; }
}
.mobile-showcase__text .eyebrow    { margin-bottom: 12px; }
.mobile-showcase__text .heading-lg { margin-bottom: 20px; }
.mobile-showcase__text p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }

.app-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.app-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition); color: var(--text);
}
.app-badge:hover { border-color: var(--brand); transform: translateY(-2px); }
.app-badge__icon { font-size: 24px; }
.app-badge__text { line-height: 1.2; }
.app-badge__sub  { font-size: 10px; color: var(--text-muted); }
.app-badge__name { font-size: 14px; font-weight: 700; }

.phone-mockup { width: 280px; margin: 0 auto; position: relative; }
.phone-mockup__frame {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 40px;
  padding: 20px 12px;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.phone-mockup__notch {
  width: 80px; height: 24px;
  background: var(--bg);
  border-radius: 0 0 16px 16px;
  margin: -20px auto 12px;
}
.phone-mockup__screen {
  background: var(--bg-secondary);
  border-radius: 24px;
  overflow: hidden;
  padding: 16px 12px;
}
.phone-metric { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 8px; }
.phone-metric__label { font-size: 10px; color: var(--text-muted); margin-bottom: 4px; }
.phone-metric__value { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.phone-mini-bars { display: flex; align-items: flex-end; gap: 3px; height: 40px; margin-top: 8px; }
.phone-bar { flex: 1; border-radius: 3px 3px 0 0; min-height: 4px; }

/* ───────────────────────────────────────────
   SCROLL ANIMATIONS
─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ───────────────────────────────────────────
   COUNTER & STICKY CTA
─────────────────────────────────────────── */
.counter { transition: all .4s; }

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  z-index: 50;
}
@media (max-width: 640px) { .sticky-cta { display: block; } }

/* ───────────────────────────────────────────
   SECTION HEADER
─────────────────────────────────────────── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto; }
.section-header p { margin-top: 16px; font-size: 16px; color: var(--text-muted); line-height: 1.65; }
