/* CirculaFlow Landing — tokens + base */
:root {
  --bg: #0a0b0f;
  --surface: #1a1b2e;
  --surface-2: #2d2e45;
  --surface-3: #3a3b58;
  --primary: #6366f1;
  --primary-soft: #6366f133;
  --primary-glow: #6366f155;
  --green: #4ade80;
  --red: #ff6b6b;
  --text: #ffffff;
  --text-2: #9898b8;
  --text-3: #6b6b85;
  --border: #ffffff14;
  --border-2: #ffffff22;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1200px;
  --density: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'DM Sans', 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 600; font-feature-settings: 'tnum' 1; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--primary), #8b5cf6);
  z-index: 200; transition: width 0.05s linear;
  box-shadow: 0 0 8px var(--primary-glow);
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: #0a0b0fcc;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 17px;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  /* logo já tem fundo + glow embutidos — sem gradient extra */
  display: grid; place-items: center;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35);
  position: relative; overflow: hidden;
  background: #000;
}
.logo-mark img {
  width: 100%; height: 100%;
  /* scale + clip pro cifrão dominar o frame, removendo o padding escuro
     ao redor da imagem original. object-fit cover preenche o quadrado;
     scale 1.5 corta as bordas escuras e deixa o $ predominante. */
  object-fit: cover;
  transform: scale(1.5);
  display: block;
}
.logo-mark svg { width: 16px; height: 16px; position: relative; z-index: 1; }
.nav-links { display: none; gap: 28px; font-size: 14px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 13px; font-weight: 600;
  padding: 9px 14px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--surface-2); border-color: var(--border-2); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px; font-weight: 600;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  position: relative; overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 24px -8px var(--primary-glow), inset 0 1px 0 #ffffff33;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px var(--primary), inset 0 1px 0 #ffffff44;
  background: #7c7ff5;
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-secondary:hover {
  background: var(--surface-2);
  transform: translateY(-1px);
}
.btn-ripple {
  position: absolute; border-radius: 50%;
  background: #ffffff44;
  transform: scale(0); animation: ripple 0.6s ease-out;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Sections */
section { padding: calc(80px * var(--density)) 20px; position: relative; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary); padding: 6px 12px;
  background: var(--primary-soft); border: 1px solid var(--primary-soft);
  border-radius: 999px;
}
.section-title {
  font-size: clamp(28px, 5vw, 44px); line-height: 1.1; margin-top: 16px;
  max-width: 620px;
}
.section-sub {
  color: var(--text-2); font-size: 17px; margin-top: 14px; max-width: 560px;
  line-height: 1.5;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Ambient glows */
.glow {
  position: absolute; pointer-events: none;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  z-index: 0;
}
.glow-purple { background: radial-gradient(circle, #6366f1aa, transparent 60%); }
.glow-violet { background: radial-gradient(circle, #8b5cf688, transparent 60%); }

/* Hero */
.hero {
  padding-top: calc(120px * var(--density));
  padding-bottom: calc(60px * var(--density));
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative; z-index: 1;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}
.hero-headline {
  font-size: clamp(34px, 6.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.hero-headline .accent {
  background: linear-gradient(135deg, #a5a7ff 0%, #6366f1 50%, #8b5cf6 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 20px; font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-2); max-width: 520px; line-height: 1.55;
}
.hero-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.trust-strip {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 12px 18px;
  font-size: 13px; color: var(--text-2);
  padding-top: 20px; border-top: 1px solid var(--border);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip .dot-green { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* iPhone mockup */
.phone-wrap {
  display: flex; justify-content: center; position: relative;
  perspective: 1500px;
}
.phone-wrap::before {
  content: ''; position: absolute;
  inset: 10% -5% 0 -5%;
  background: radial-gradient(ellipse at center, var(--primary-glow), transparent 60%);
  filter: blur(60px); z-index: -1;
}
.phone {
  width: 300px; height: 620px;
  background: #0d0e15;
  border-radius: 44px;
  border: 1px solid #2a2b3d;
  box-shadow:
    0 0 0 2px #1a1b28,
    0 30px 80px -20px #6366f155,
    0 50px 100px -30px #00000099,
    inset 0 0 0 8px #050609;
  position: relative;
  padding: 12px;
  animation: float 4.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, #0f1020 0%, #0a0b15 100%);
  overflow: hidden;
  position: relative;
}
.dynamic-island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; background: #000;
  border-radius: 999px; z-index: 5;
}
.status-bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 48px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 26px 0;
  font-size: 13px; font-weight: 600;
  z-index: 4;
}
.status-icons { display: flex; gap: 5px; align-items: center; }
.status-icons svg { width: 14px; height: 14px; }

/* Phone screen content — Dashboard */
.dash {
  padding: 56px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
  height: 100%;
}
.dash-header { display: flex; justify-content: space-between; align-items: center; }
.dash-greet { font-size: 11px; color: var(--text-2); }
.dash-name { font-size: 15px; font-weight: 700; }
.dash-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.balance-card {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
  border-radius: 16px; padding: 14px;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 24px -8px var(--primary-glow);
}
.balance-card::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 0%, #ffffff22, transparent 50%),
    radial-gradient(circle at 0% 100%, #00000033, transparent 50%);
}
.balance-label { font-size: 10px; color: #ffffffcc; text-transform: uppercase; letter-spacing: 0.05em; position: relative; }
.balance-value { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 700; margin-top: 4px; position: relative; }
.balance-meta { display: flex; justify-content: space-between; margin-top: 12px; font-size: 10px; color: #ffffffdd; position: relative; }
.balance-meta strong { color: #fff; font-family: 'JetBrains Mono', monospace; }

.kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpi {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px;
}
.kpi-label { font-size: 9px; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.05em; }
.kpi-val { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 700; margin-top: 2px; }
.kpi-val.green { color: var(--green); }
.kpi-val.red { color: var(--red); }

.dash-section-label {
  font-size: 10px; color: var(--text-2); text-transform: uppercase;
  letter-spacing: 0.06em; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px;
}
.dash-section-label a { color: var(--primary); font-size: 10px; }

.giro-list { display: flex; flex-direction: column; gap: 6px; }
.giro {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 11px;
  display: flex; align-items: center; gap: 10px;
}
.giro-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}
.giro-avatar.a { background: linear-gradient(135deg, #f59e0b, #d97706); }
.giro-avatar.b { background: linear-gradient(135deg, #4ade80, #16a34a); }
.giro-avatar.c { background: linear-gradient(135deg, #6366f1, #4338ca); }
.giro-info { flex: 1; min-width: 0; }
.giro-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.giro-meta { font-size: 9px; color: var(--text-2); }
.giro-amt { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; }
.giro-amt.green { color: var(--green); }
.giro-amt.red { color: var(--red); }
.giro-status {
  font-size: 8px; padding: 2px 6px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-top: 2px; display: inline-block; font-weight: 700;
}
.giro-status.late { background: #ff6b6b22; color: #ff6b6b; }
.giro-status.due { background: #f59e0b22; color: #f59e0b; }
.giro-status.ok { background: #4ade8022; color: #4ade80; }

/* Pain section — 4 cards */
.pain-grid {
  display: grid; gap: 14px; margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .pain-grid { grid-template-columns: repeat(4, 1fr); } }
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative; overflow: hidden;
}
.pain-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--primary-soft), transparent 70%);
  opacity: 0; transition: opacity 0.3s ease;
}
.pain-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-soft);
  box-shadow: 0 16px 40px -16px var(--primary-glow);
}
.pain-card:hover::before { opacity: 1; }
.pain-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-2);
  display: grid; place-items: center;
  font-size: 22px; margin-bottom: 16px;
  position: relative;
}
.pain-title { font-size: 17px; font-weight: 700; line-height: 1.25; position: relative; }
.pain-text { color: var(--text-2); font-size: 14px; margin-top: 8px; line-height: 1.5; position: relative; }

/* Three features */
.three-features {
  display: grid; gap: 28px; margin-top: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) { .three-features { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.feature-row {
  background: linear-gradient(180deg, var(--surface) 0%, #14152333 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-row:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: 0 20px 50px -20px var(--primary-glow); }
.feature-mini {
  background: #0d0e1a;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 26% 16px 26%;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.feature-mini .mini-phone { width: 100%; }
.feature-mini-label {
  position: absolute; top: 10px; right: 10px;
  font-size: 9px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em;
  font-family: 'JetBrains Mono', monospace;
}
.feature-num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--primary); font-weight: 700;
}
.feature-title { font-size: 19px; font-weight: 700; line-height: 1.25; margin-top: 4px; }
.feature-text { color: var(--text-2); font-size: 14px; line-height: 1.5; }

/* Mini-mockups inside feature row */
.wpp-mock { display: flex; flex-direction: column; gap: 6px; }
.wpp-bubble {
  background: #25d36622; border: 1px solid #25d36644;
  color: #d6ffe6; font-size: 10px; padding: 8px 10px;
  border-radius: 10px 10px 10px 2px; max-width: 80%;
  line-height: 1.35;
}
.wpp-bubble.out {
  background: var(--primary-soft); border-color: var(--primary-soft);
  color: #e0e0ff; align-self: flex-end;
  border-radius: 10px 10px 2px 10px;
}
.wpp-tap {
  margin-top: auto; background: #25d366; color: #002d10;
  font-size: 10px; font-weight: 700; padding: 8px 10px; border-radius: 8px;
  text-align: center;
}
.salary-mock { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.salary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 8px; background: var(--surface); border-radius: 8px;
  font-size: 10px;
}
.salary-row .v { font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.salary-bar { background: var(--surface-2); height: 6px; border-radius: 3px; overflow: hidden; margin-top: 4px; }
.salary-bar > div { background: linear-gradient(90deg, var(--primary), #8b5cf6); height: 100%; border-radius: 3px; }
.offline-mock { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 12px; }
.airplane-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary-soft); border: 1px dashed var(--primary);
  display: grid; place-items: center; font-size: 24px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); } 50% { box-shadow: 0 0 0 14px transparent; } }
.offline-text { font-size: 11px; color: var(--text-2); text-align: center; }
.offline-text strong { color: var(--green); }

/* Demo video section */
.demo-video {
  margin-top: 48px;
  background: linear-gradient(180deg, var(--surface) 0%, #0d0e1a 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 640px;
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  cursor: pointer;
  padding: 56px 32px 64px;
}
.demo-video::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, var(--primary-soft), transparent 60%),
    radial-gradient(circle at 70% 50%, #8b5cf633, transparent 60%);
  pointer-events: none;
}
.demo-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 14px, #ffffff04 14px 28px);
  pointer-events: none;
}
.demo-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  width: 100%;
  max-width: 980px;
  position: relative;
  z-index: 1;
}
.demo-phone-frame {
  position: relative;
  width: 280px;
  flex-shrink: 0;
  aspect-ratio: 720 / 1568;
  background: #000;
  border-radius: 38px;
  border: 8px solid #0f1018;
  box-shadow:
    0 0 0 2px #1f2030,
    0 30px 80px -10px rgba(0,0,0,0.7),
    0 0 60px -10px var(--primary-glow);
  overflow: hidden;
  cursor: default;
}
.demo-video-el {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.demo-phone-notch {
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 2;
  pointer-events: none;
}
.demo-caption-panel {
  flex: 1;
  max-width: 420px;
  height: 480px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.demo-caption-panel::before,
.demo-caption-panel::after {
  content: '';
  position: absolute;
  left: 0;
  width: 1px;
  top: 50%; transform: translateY(-50%);
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 12px var(--primary-glow);
  z-index: 1;
}
.demo-caption-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.demo-caption-item {
  position: relative;
  cursor: pointer;
  opacity: 0.28;
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
  padding-left: 4px;
}
.demo-caption-item.is-past {
  opacity: 0.18;
  filter: saturate(0.5);
}
.demo-caption-item.is-active {
  opacity: 1;
  transform: translateX(4px);
}
.demo-caption-item:hover {
  opacity: 0.7;
}
.demo-caption-item.is-active:hover { opacity: 1; }
.demo-caption-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-2);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.demo-caption-item.is-active .demo-caption-time {
  color: var(--primary-glow);
}
.demo-caption-text {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-1);
  line-height: 1.2;
  margin-bottom: 4px;
}
.demo-caption-sub {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.4;
}
.demo-play-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.35);
  z-index: 4;
  cursor: pointer;
}
.play-btn {
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--primary);
  display: grid; place-items: center;
  box-shadow: 0 16px 40px -8px var(--primary-glow);
  transition: transform 0.2s ease;
  position: relative;
}
.play-btn::after {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%; border: 1px solid var(--primary-glow);
  animation: ringPulse 2s ease-out infinite;
}
@keyframes ringPulse { 0% { transform: scale(0.95); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.play-btn:hover { transform: scale(1.08); }
.demo-controls {
  position: absolute;
  bottom: 18px; right: 22px;
  display: flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--text-2);
  z-index: 2;
}
.demo-ctrl-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-1);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.demo-ctrl-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}
.demo-time {
  letter-spacing: 0.05em;
  padding: 0 6px;
}
.demo-label {
  position: absolute; bottom: 22px; left: 22px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--text-2); letter-spacing: 0.05em;
  z-index: 2;
}
.demo-label .live { color: var(--green); }

@media (max-width: 880px) {
  .demo-stage { flex-direction: column; gap: 32px; }
  .demo-caption-panel {
    max-width: 100%;
    height: 280px;
  }
  .demo-caption-panel::before, .demo-caption-panel::after {
    height: 40px;
  }
  .demo-caption-track { padding: 20px; gap: 18px; }
  .demo-caption-text { font-size: 18px; }
  .demo-caption-sub { font-size: 13px; }
}
@media (max-width: 600px) {
  .demo-phone-frame { width: 230px; }
  .demo-video { min-height: 760px; padding: 28px 16px 72px; }
  .demo-controls { bottom: 14px; right: 14px; }
  .demo-label { bottom: 18px; left: 14px; }
}

/* Carousel */
.carousel {
  margin-top: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-track {
  display: flex; gap: 16px;
  padding: 4px 4px 20px;
}
.carousel-card {
  flex: 0 0 220px;
  background: linear-gradient(180deg, var(--surface) 0%, #14152366 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  scroll-snap-align: start;
  position: relative; overflow: hidden;
  padding: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.carousel-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-soft);
}
.carousel-card::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 8px, #ffffff04 8px 16px);
}
.carousel-card-label {
  position: relative;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--text-3); padding: 6px 8px;
}
.carousel-card-screen {
  margin-top: 8px;
  border-radius: 18px;
  background: transparent;
  position: relative;
  padding: 8px 14% 14px;
}

/* Features 2x3 */
.features-grid {
  display: grid; gap: 14px; margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-soft);
  box-shadow: 0 16px 40px -16px var(--primary-glow);
}
.feat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-soft), transparent);
  border: 1px solid var(--primary-soft);
  display: grid; place-items: center;
  color: var(--primary);
}
.feat-icon svg {
  width: 22px; height: 22px;
  /* descer 1px pra centralização óptica dentro do quadradinho — alguns
     viewBox 0 0 24 24 dos paths ficam levemente puxados pra cima. */
  transform: translateY(1px);
}
.feat-title { font-size: 16px; font-weight: 700; }
.feat-text { color: var(--text-2); font-size: 13.5px; margin-top: 6px; line-height: 1.5; }

/* Por que offline — 3 cols */
.why-offline {
  display: grid; gap: 20px; margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .why-offline { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  background: linear-gradient(180deg, var(--surface) 0%, #0d0e1a 100%);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--primary-soft), transparent 60%);
  opacity: 0.6;
}
.why-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--primary);
  font-weight: 700;
  position: relative;
}
.why-title { font-size: 22px; font-weight: 700; margin-top: 12px; position: relative; }
.why-text { color: var(--text-2); font-size: 14px; margin-top: 10px; line-height: 1.55; position: relative; }
.why-illu {
  height: 80px; margin-top: 20px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(45deg, transparent 0 6px, #ffffff05 6px 12px),
    var(--surface);
  border: 1px dashed var(--border-2);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-3);
  position: relative;
}

/* Timeline — Como funciona */
.timeline {
  margin-top: 48px;
  position: relative;
  display: flex; flex-direction: column; gap: 32px;
  padding-left: 36px;
}
.timeline::before {
  content: ''; position: absolute;
  top: 12px; bottom: 12px; left: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), #8b5cf6, var(--primary));
  border-radius: 2px;
  opacity: 0.5;
}
.tl-step { position: relative; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .tl-step { grid-template-columns: 1fr 1fr; align-items: center; } }
.tl-step::before {
  content: ''; position: absolute;
  left: -36px; top: 8px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--border-2), 0 0 24px var(--primary-glow);
}
.tl-step::after {
  content: counter(step);
  position: absolute;
  left: -36px; top: 8px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700; color: white;
}
.timeline { counter-reset: step; }
.tl-step { counter-increment: step; }
.tl-text-block h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.tl-text-block p { color: var(--text-2); margin-top: 8px; font-size: 15px; line-height: 1.5; }
.tl-mini {
  background: linear-gradient(180deg, var(--surface) 0%, #0d0e1a 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  padding: 18px 28% 36px 28%;
  display: flex; align-items: center; justify-content: center;
}
.tl-mini .mini-phone { width: 100%; }
.tl-mini-label {
  position: absolute; bottom: 10px; right: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-3);
}

/* Pricing */
.pricing-trial {
  text-align: center; margin: 28px auto 0;
  font-size: 14px; color: var(--text-2);
  max-width: 600px;
}
.pricing-trial strong { color: var(--green); }
.price-grid {
  display: grid; gap: 16px; margin-top: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .price-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.price-card.featured {
  background: linear-gradient(180deg, #1a1b3a 0%, #14152e 100%);
  border-color: var(--primary);
  box-shadow: 0 24px 60px -20px var(--primary-glow), inset 0 1px 0 #ffffff14;
}
.price-card.featured::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), #8b5cf6, var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: white; font-size: 11px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 20px -6px var(--primary-glow);
}
.price-tier {
  font-size: 12px; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600;
}
.price-amt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 38px; font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-amt .currency { font-size: 18px; color: var(--text-2); margin-right: 4px; vertical-align: top; line-height: 1; }
.price-amt .cents { font-size: 22px; color: var(--text-2); }
.price-period { font-size: 13px; color: var(--text-2); margin-top: -8px; }
.price-features {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13.5px; color: var(--text-2);
  flex: 1;
}
.price-features li { display: flex; gap: 9px; align-items: flex-start; }
.price-features li::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0;
  background: var(--primary-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8l3 3 7-7' stroke='%236366f1' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
  margin-top: 1px;
}
.price-cta {
  margin-top: 6px;
  padding: 12px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border-2);
  text-align: center;
  transition: all 0.2s ease;
}
.price-cta:hover { background: var(--surface-3); }
.price-card.featured .price-cta {
  background: var(--primary); color: white; border-color: transparent;
  box-shadow: 0 8px 20px -6px var(--primary-glow);
}
.price-card.featured .price-cta:hover { background: #7c7ff5; }
.price-foot {
  margin-top: 24px; text-align: center;
  font-size: 13px; color: var(--text-2);
}
.price-foot .pix { color: var(--green); font-weight: 600; }

/* Score Interno */
#score {
  background: linear-gradient(180deg, transparent 0%, #0a0b14 30%, #0a0b14 70%, transparent 100%);
}
.score-layout {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.score-rules {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
}
.score-rules-title {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-1);
  margin: 0 0 14px;
}
.score-rules ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.score-rules li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}
.score-rules li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-glow);
  box-shadow: 0 0 8px var(--primary-glow);
}
.score-ranks-list {
  display: flex; flex-direction: column;
  gap: 8px;
}
.score-rank-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--rank-color);
  border-radius: var(--radius-md);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.score-rank-row:hover {
  transform: translateX(4px);
  border-color: var(--rank-color);
}
.score-rank-icon {
  font-size: 22px;
  width: 32px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.score-rank-dot {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
}
.score-rank-info {
  flex: 1; min-width: 0;
}
.score-rank-line {
  display: flex; align-items: baseline;
  gap: 10px;
  margin-bottom: 2px;
}
.score-rank-name {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--rank-color);
  letter-spacing: -0.01em;
}
.score-rank-pts {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--text-2);
}
.score-rank-desc {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.4;
}

.score-print {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 14px;
}
.score-print-frame {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 720 / 1568;
  background: #000;
  border-radius: 32px;
  border: 7px solid #0f1018;
  box-shadow:
    0 0 0 2px #1f2030,
    0 24px 60px -10px rgba(0,0,0,0.6),
    0 0 50px -10px var(--primary-glow);
  overflow: hidden;
}
.score-print-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.score-print-caption {
  font-size: 12.5px;
  color: var(--text-2);
  text-align: center;
  max-width: 200px;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .score-layout {
    grid-template-columns: 1fr 1fr;
  }
  .score-print {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }
  .score-print-caption {
    text-align: left; max-width: 240px;
  }
}
@media (max-width: 640px) {
  .score-layout { grid-template-columns: 1fr; }
  .score-print { flex-direction: column; }
  .score-print-caption { text-align: center; }
}

/* FAQ */
.faq {
  max-width: 760px; margin: 40px auto 0;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: var(--primary-soft); }
.faq-q {
  width: 100%; text-align: left;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 600;
  gap: 16px;
}
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform 0.3s ease, background 0.2s ease;
  font-size: 16px; color: var(--text-2);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary-soft); color: var(--primary); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--text-2); font-size: 14.5px; line-height: 1.6;
}

/* Final CTA */
.final-cta {
  margin: 40px 20px;
  border-radius: 24px;
  padding: 60px 32px;
  background:
    radial-gradient(circle at 20% 30%, #6366f1aa, transparent 50%),
    radial-gradient(circle at 80% 70%, #8b5cf6aa, transparent 50%),
    linear-gradient(135deg, #1e1b4b, #2d1b69);
  position: relative; overflow: hidden;
  text-align: center;
  border: 1px solid var(--primary-soft);
  box-shadow: 0 30px 80px -20px var(--primary-glow);
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 20px, #ffffff04 20px 40px);
}
.final-cta-inner { position: relative; max-width: 820px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(28px, 5.5vw, 48px); line-height: 1.1; }
.final-cta p { color: #d6d6ff; margin-top: 14px; font-size: 16px; }
.final-cta-actions {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center;
}
.qr {
  width: 100px; height: 100px;
  background: white; border-radius: 12px;
  display: grid; place-items: center;
  padding: 8px;
  flex-shrink: 0;
}
.qr svg { width: 100%; height: 100%; }
.qr-label { font-size: 11px; color: #d6d6ff; margin-top: 6px; text-align: center; }
.qr-block { display: flex; flex-direction: column; align-items: center; gap: 4px; }

/* Footer */
.footer {
  padding: 60px 20px 30px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-col h4 {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-2);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 14px; color: var(--text-2); }
.footer-col li a:hover { color: var(--text); }
.footer-brand-text { color: var(--text-2); font-size: 14px; line-height: 1.6; max-width: 280px; margin-top: 14px; }
.footer-bottom {
  max-width: var(--maxw); margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 13px; color: var(--text-3);
}
.lgpd-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 11px; color: var(--text-2);
  font-family: 'JetBrains Mono', monospace; font-weight: 700;
  letter-spacing: 0.05em;
}

/* Section header centered variant */
.section-head { text-align: left; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-title, .section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* Bold variant overrides */
.variant-bold .hero-headline {
  font-size: clamp(40px, 9vw, 88px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-weight: 700;
}
.variant-bold .hero-headline .accent {
  background: linear-gradient(180deg, #ffffff 0%, #6366f1 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.variant-bold .hero {
  background:
    radial-gradient(ellipse at 50% 0%, #6366f133, transparent 60%),
    radial-gradient(ellipse at 50% 100%, #8b5cf622, transparent 60%);
}
.variant-bold .hero-grid { grid-template-columns: 1fr; gap: 60px; text-align: center; }
.variant-bold .hero-sub, .variant-bold .hero-headline { margin-left: auto; margin-right: auto; }
.variant-bold .hero-ctas { justify-content: center; }
.variant-bold .trust-strip { justify-content: center; border-top: none; padding-top: 0; }
.variant-bold .phone-wrap { transform: scale(1.05); }

/* ============ PREMIUM 3D VARIANT ============ */
.variant-premium {
  --mx: 50%; --my: 50%;
  position: relative;
  overflow: hidden;
  background: #06070b;
}
.variant-premium .hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(#ffffff08 1px, transparent 1px),
    linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 70%);
  pointer-events: none;
}
.variant-premium .hero-cursor-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx) var(--my), #6366f155, transparent 50%);
  pointer-events: none;
  transition: background 0.1s ease;
}
.variant-premium .aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  pointer-events: none;
  animation: auroraFloat 18s ease-in-out infinite;
}
.aurora-1 { width: 500px; height: 500px; background: #6366f1; top: -100px; left: -100px; }
.aurora-2 { width: 600px; height: 600px; background: #8b5cf6; bottom: -200px; right: -150px; animation-delay: -6s; }
.aurora-3 { width: 400px; height: 400px; background: #4ade8055; top: 50%; left: 40%; animation-delay: -12s; }
@keyframes auroraFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-headline-premium {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}
.accent-shine {
  background: linear-gradient(110deg, #ffffff 0%, #6366f1 30%, #8b5cf6 50%, #6366f1 70%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 6s ease-in-out infinite;
}
@keyframes shine {
  0%, 100% { background-position: 200% 50%; }
  50% { background-position: 0% 50%; }
}

.eyebrow-glass {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #c5c7ff !important;
}

.btn-shine {
  position: relative;
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
}
.btn-shine::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine {
  0% { left: -100%; }
  60%, 100% { left: 200%; }
}
.btn-glass {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Phone 3D */
.phone-3d-wrap {
  perspective: 1800px;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
  padding: 20px 0 0;
}
.phone-3d-aura {
  position: absolute;
  width: 360px; height: 700px;
  background: radial-gradient(ellipse at center, #6366f188, transparent 60%);
  filter: blur(80px);
  z-index: -1;
  animation: floatAura 5s ease-in-out infinite;
}
@keyframes floatAura {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-12px); opacity: 1; }
}
.phone-3d {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  animation: floatPhone 5s ease-in-out infinite;
}
@keyframes floatPhone {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.phone-screen-anim {
  height: 100%;
  animation: screenFade 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes screenFade {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes popIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.phone-tabs {
  display: flex; gap: 6px;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px;
  border-radius: 999px;
  flex-wrap: wrap;
  justify-content: center;
}
.phone-tab {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--text-2);
  transition: all 0.25s ease;
  background: transparent;
}
.phone-tab:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.phone-tab.active {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: white;
  box-shadow: 0 6px 16px -6px var(--primary-glow);
}
.phone-hint {
  margin-top: 12px;
  font-size: 11px; color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  display: flex; align-items: center; gap: 6px;
  letter-spacing: 0.05em;
}
.phone-hint-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Premium variant: glass cards effect on cards (only when premium variant active on body) */
body.premium-mode .pain-card,
body.premium-mode .feat-card,
body.premium-mode .feature-row,
body.premium-mode .why-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,0.08);
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), border-color 0.3s ease, box-shadow 0.3s ease;
}
body.premium-mode .pain-card:hover,
body.premium-mode .feat-card:hover,
body.premium-mode .feature-row:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--primary);
  box-shadow: 0 30px 60px -20px var(--primary-glow), 0 0 0 1px var(--primary-soft);
}
body.premium-mode {
  background: #06070b;
}
body.premium-mode::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, #6366f111, transparent 50%),
    radial-gradient(circle at 80% 20%, #8b5cf611, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* ============ SCROLL STORY ============ */
.story-section { padding: calc(100px * var(--density)) 20px; position: relative; }
.story-grid {
  margin-top: 48px;
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .story-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
}
.story-text-col { display: flex; flex-direction: column; gap: 8px; }
.story-block {
  padding: 80px 0;
  border-left: 2px solid var(--border);
  padding-left: 24px;
  margin-left: 4px;
  transition: border-color 0.4s ease, opacity 0.4s ease;
  opacity: 0.35;
  position: relative;
}
.story-block.active { opacity: 1; border-left-color: var(--primary); }
.story-block.active::before {
  content: ''; position: absolute;
  left: -7px; top: 88px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--bg), 0 0 16px var(--primary-glow);
}
.story-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--primary); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.story-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(22px, 3.5vw, 32px); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em;
  margin-top: 12px;
}
.story-text {
  color: var(--text-2); margin-top: 12px; font-size: 15px; line-height: 1.6;
}
.story-bullets {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.story-bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-2);
}
.story-bullets svg { flex-shrink: 0; }
.story-phone-col { position: relative; }
.story-phone-sticky {
  position: sticky;
  top: 80px;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
}
@media (max-width: 979px) {
  .story-phone-sticky { position: relative; top: auto; }
  .story-block { padding: 30px 0; }
  .story-block.active::before { top: 38px; }
}
.story-progress {
  display: flex; gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.story-progress-dot {
  width: 32px; height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.story-progress-dot.reached .story-progress-fill {
  background: var(--primary);
  width: 100%;
}
.story-progress-dot.current .story-progress-fill {
  background: linear-gradient(90deg, var(--primary), #8b5cf6);
  box-shadow: 0 0 8px var(--primary-glow);
}
.story-progress-fill {
  height: 100%; width: 0%;
  background: var(--surface-2);
  transition: width 0.5s ease, background 0.3s ease;
}
.story-progress-dot.reached:not(.current) .story-progress-fill { width: 100%; }
.story-progress-dot.current .story-progress-fill { width: 100%; }
.story-step-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em;
}
.story-phone-3d-wrap { perspective: 1800px; }
.story-phone {
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: storyPhoneFloat 6s ease-in-out infinite;
}
@keyframes storyPhoneFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.story-screen-anim {
  height: 100%;
  animation: storyScreenIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes storyScreenIn {
  from { opacity: 0; transform: translateY(12px) rotateX(-15deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}
@keyframes caret { 50% { opacity: 0; } }

/* ============ TRAVELING PHONE ============ */
.travel-phone-flow {
  position: relative;
  padding-top: 0;
}
.travel-phone-pinned {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  z-index: 5;
  perspective: 1800px;
}
.travel-phone-aura {
  position: absolute;
  width: 380px; height: 700px;
  background: radial-gradient(ellipse at center, var(--primary-glow), transparent 60%);
  filter: blur(80px);
  z-index: -1;
  animation: floatAura 5s ease-in-out infinite;
}
.travel-phone {
  pointer-events: auto;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: floatPhone 5s ease-in-out infinite;
  box-shadow:
    0 0 0 2px #1a1b28,
    0 40px 100px -20px var(--primary-glow),
    0 60px 120px -30px #00000099,
    inset 0 0 0 8px #050609;
}
.travel-screen-anim {
  height: 100%;
  animation: storyScreenIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.travel-progress {
  position: absolute;
  bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  pointer-events: auto;
}
.travel-progress-dot {
  width: 24px; height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  transition: background 0.3s ease, width 0.3s ease;
}
.travel-progress-dot.reached { background: var(--primary); }
.travel-progress-dot.current { width: 36px; background: linear-gradient(90deg, var(--primary), #8b5cf6); box-shadow: 0 0 8px var(--primary-glow); }

.travel-stage {
  min-height: 100vh;
  margin-top: -100vh;
  display: flex; align-items: center;
  padding: 80px 20px;
  position: relative;
  z-index: 6;
  pointer-events: none;
}
.travel-stage:first-child { margin-top: -100vh; }
.travel-stage-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  pointer-events: auto;
}
@media (min-width: 980px) {
  .travel-stage.side-left .travel-stage-inner {
    grid-template-columns: 1fr 1fr;
  }
  .travel-stage.side-left .travel-stage-inner > * { grid-column: 1; }
  .travel-stage.side-right .travel-stage-inner {
    grid-template-columns: 1fr 1fr;
  }
  .travel-stage.side-right .travel-stage-inner > * { grid-column: 2; }
}
.travel-feat-content, .travel-hero-content {
  max-width: 520px;
  opacity: 0.4;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.travel-stage.active .travel-feat-content,
.travel-stage.active .travel-hero-content {
  opacity: 1;
  transform: translateY(0);
}
.travel-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 64px; font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--primary) 0%, #8b5cf600 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

/* ============ PREMIUM TRAVELING PHONE ============ */
.hero-premium-flow {
  min-height: auto;
  padding: 0;
  display: block;
}
.premium-flow-container {
  position: relative;
  z-index: 2;
}
.premium-phone-pinned {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  height: 0;
  z-index: 5;
  pointer-events: none;
  perspective: 1800px;
  display: flex;
  justify-content: flex-end;
  padding-right: max(40px, calc((100vw - var(--maxw)) / 2 + 40px));
}
.premium-traveling-phone {
  pointer-events: auto;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  animation: floatPhone 5s ease-in-out infinite;
}
.premium-phone-progress {
  position: absolute;
  top: calc(50% + 340px);
  right: max(40px, calc((100vw - var(--maxw)) / 2 + 40px));
  transform: translateX(50%);
  display: flex; gap: 6px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  pointer-events: auto;
}
.pp-dot {
  width: 18px; height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  transition: background 0.3s, width 0.3s;
}
.pp-dot.reached { background: var(--primary); }
.pp-dot.current { width: 28px; background: linear-gradient(90deg, var(--primary), #8b5cf6); box-shadow: 0 0 8px var(--primary-glow); }

.premium-stage {
  min-height: 100vh;
  padding: 80px 20px;
  display: flex; align-items: center;
  position: relative;
}
.premium-stage-text {
  max-width: 520px;
  width: 50%;
  opacity: 0.35;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding-left: max(20px, calc((100vw - var(--maxw)) / 2 + 20px));
}
.premium-stage.active .premium-stage-text {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 979px) {
  .premium-phone-pinned { display: none; }
  .premium-stage-text { width: 100%; padding-left: 20px; padding-right: 20px; max-width: 100%; }
  .premium-stage { min-height: auto; padding: 60px 0; }
}
.premium-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 56px; font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

/* Variant switcher (in tweaks) */
.variant-pill-row { display: flex; gap: 6px; }
.variant-pill {
  flex: 1; padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12px; font-weight: 600;
  cursor: pointer;
}
.variant-pill.active {
  background: var(--primary-soft); border-color: var(--primary); color: var(--text);
}

/* ============ Real screenshot inside phone frame ============ */
.phone-shot {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 32px;
}
.phone-glare {
  position: absolute; inset: 0;
  border-radius: 44px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.04) 100%);
  z-index: 6;
}
.phone-tilt .phone {
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.phone-tilt:hover .phone {
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg) translateY(-4px);
}

/* Mini phone (used in feature cards / timeline / carousel) */
.mini-phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #0d0e15;
  border-radius: 22px;
  border: 1px solid #2a2b3d;
  padding: 5px;
  box-shadow: 0 20px 50px -20px #00000088, inset 0 0 0 3px #050609;
  overflow: hidden;
}
.mini-phone-screen {
  width: 100%; height: 100%;
  border-radius: 17px;
  overflow: hidden;
  background: #0a0b15;
  position: relative;
}
.mini-phone-screen::before {
  content: ''; position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 14px; background: #000;
  border-radius: 999px; z-index: 2;
}
.mini-phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}

/* Feat-card with real screenshot on top */
.feat-card-shot {
  display: flex; flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
}
.feat-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #0a0b15 0%, #0d0e1a 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: center;
}
.feat-shot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 11, 21, 0.9) 100%);
  pointer-events: none;
}
.feat-shot img {
  width: 70%;
  margin-top: 18px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 20px 50px -20px var(--primary-glow), 0 8px 20px -8px #00000088;
  border: 1px solid var(--border-2);
  border-bottom: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feat-card-shot:hover .feat-shot img {
  transform: translateY(-6px) scale(1.03);
}
.feat-card-body {
  padding: 22px;
}
.feat-card-shot .feat-icon {
  margin-bottom: 8px;
}
.feat-card-shot .feat-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}
.feat-card-shot .feat-text {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

