/* ====================================================
   BABYCARE · Landing Page — Global Stylesheet
   © 2026 Alesson Danilo
   ==================================================== */

/* ── Tokens Light ─────────────────────────────────── */
:root {
  --primary:        #7C4DFF;
  --primary-l:      #A080FF;
  --primary-d:      #5E35B1;
  --primary-bg:     #EDE7FF;
  --secondary:      #06D6A0;
  --accent:         #FF6B9D;
  --warning:        #FFB800;
  --danger:         #EF4444;

  --bg:             #F5F3FF;
  --bg2:            #FDFBFF;
  --surface:        #FFFFFF;
  --surface2:       #EEE8FF;
  --surface3:       #F9F7FF;
  --border:         rgba(124,77,255,.12);
  --border2:        rgba(124,77,255,.06);

  --text1:          #0D0920;
  --text2:          #374151;
  --text3:          #6B7280;
  --text4:          #9CA3AF;

  --grad-hero:      linear-gradient(135deg,#1A0B40 0%,#3D1FA3 50%,#1DBBA8 100%);
  --grad-card:      linear-gradient(135deg,rgba(124,77,255,.07) 0%,rgba(6,214,160,.04) 100%);
  --grad-feature:   linear-gradient(135deg,#7C4DFF 0%,#06D6A0 100%);
  --grad-pink:      linear-gradient(135deg,#FF6B9D 0%,#FF9A5C 100%);

  --shadow-xs:      0 1px 4px rgba(124,77,255,.06);
  --shadow-sm:      0 2px 12px rgba(124,77,255,.09);
  --shadow-md:      0 8px 32px rgba(124,77,255,.13);
  --shadow-lg:      0 20px 60px rgba(124,77,255,.16);
  --shadow-glow:    0 0 40px rgba(124,77,255,.35);

  --r-xs:  6px;
  --r-sm:  10px;
  --r-md:  18px;
  --r-lg:  26px;
  --r-xl:  36px;
  --r-f:   100px;

  --ease:    cubic-bezier(.4,0,.2,1);
  --ease-o:  cubic-bezier(.34,1.56,.64,1);
  --t:       .3s;
  --t-fast:  .15s;
  --t-slow:  .6s;

  --nav-h: 68px;
}

/* ── Tokens Dark ──────────────────────────────────── */
[data-theme="dark"] {
  --bg:         #080613;
  --bg2:        #0D0A1C;
  --surface:    #120F22;
  --surface2:   #1A1730;
  --surface3:   #211D38;
  --border:     rgba(160,128,255,.1);
  --border2:    rgba(160,128,255,.05);

  --text1:      #F0EBFF;
  --text2:      #C0B4E0;
  --text3:      #7E72A8;
  --text4:      #4E4575;

  --primary:    #A080FF;
  --primary-l:  #C0A8FF;
  --primary-d:  #7C4DFF;
  --primary-bg: #1C1835;
  --secondary:  #00F0C0;
  --accent:     #FF80B0;

  --shadow-sm:  0 2px 12px rgba(0,0,0,.4);
  --shadow-md:  0 8px 32px rgba(0,0,0,.5);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.6);
  --shadow-glow:0 0 50px rgba(160,128,255,.25);
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text1);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Navigation ───────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 24px;
  background: transparent;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease),
              backdrop-filter var(--t) var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .nav.scrolled {
  background: rgba(12,9,26,.88);
}
.nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; letter-spacing: -.03em;
  color: #fff;
  flex-shrink: 0;
}
.nav.scrolled .nav-logo { color: var(--primary); }
.nav-logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad-hero);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(124,77,255,.4);
}
.nav-links {
  display: flex; align-items: center; gap: 6px;
  flex: 1;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: var(--r-f);
  color: rgba(255,255,255,.8);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav.scrolled .nav-links a { color: var(--text2); }
.nav-links a:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.nav.scrolled .nav-links a:hover {
  background: var(--primary-bg);
  color: var(--primary);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-theme {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: rgba(255,255,255,.15);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.nav.scrolled .btn-theme { background: var(--surface2); }
.btn-theme:hover { transform: rotate(20deg); background: rgba(255,255,255,.25); }
.btn-download-nav {
  display: flex; align-items: center; gap: 7px;
  background: #fff;
  color: var(--primary-d) !important;
  font-size: 13px; font-weight: 700;
  padding: 9px 18px; border-radius: var(--r-f);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
[data-theme="dark"] .btn-download-nav { background: var(--primary); color: #fff !important; }
.btn-download-nav:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--t); }
.nav.scrolled .nav-hamburger span { background: var(--text1); }

/* ── Container ────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; border-radius: var(--r-f);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), opacity var(--t-fast);
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn-primary {
  background: #fff; color: var(--primary-d);
  padding: 16px 32px; font-size: 16px;
  box-shadow: 0 8px 30px rgba(255,255,255,.3);
}
[data-theme="dark"] .btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 30px rgba(160,128,255,.4); }
.btn-primary:hover { box-shadow: 0 12px 40px rgba(255,255,255,.4); }
.btn-outline {
  background: transparent; color: rgba(255,255,255,.85);
  padding: 16px 32px; font-size: 16px;
  border: 2px solid rgba(255,255,255,.3);
}
.btn-outline:hover { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ── Section Layout ───────────────────────────────── */
section { padding: 100px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-f);
  padding: 5px 14px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; letter-spacing: -.04em;
  line-height: 1.15;
  color: var(--text1);
  margin-bottom: 16px;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  font-size: 17px; color: var(--text3); line-height: 1.7;
  max-width: 560px;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
}
.hero-bg-orbs {
  position: absolute; inset: 0; pointer-events: none;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .35;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: #7C4DFF; top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: #06D6A0; bottom: -80px; right: -80px; animation-delay: -4s; }
.orb-3 { width: 300px; height: 300px; background: #FF6B9D; top: 40%; left: 40%; animation-delay: -2s; opacity: .2; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(.95); }
}
.hero-particles {
  position: absolute; inset: 0; pointer-events: none;
}
.particle {
  position: absolute; font-size: 24px;
  animation: particleFloat var(--duration, 6s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: .6;
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: .6; }
  50%       { transform: translateY(-30px) rotate(10deg); opacity: .9; }
}
.hero-inner {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 80px 24px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-f); padding: 6px 16px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.9);
  margin-bottom: 20px;
}
.hero-badge .dot { width: 7px; height: 7px; background: #06D6A0; border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{box-shadow:0 0 0 0 rgba(6,214,160,.7)} 50%{box-shadow:0 0 0 6px rgba(6,214,160,0)} }
.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900; letter-spacing: -.045em; line-height: 1.08;
  color: #fff; margin-bottom: 20px;
}
.hero-title .highlight {
  background: linear-gradient(90deg, #A0FF80, #06D6A0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,.72); line-height: 1.7; margin-bottom: 36px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 40px; display: flex; align-items: center; gap: 16px;
}
.hero-trust-text { font-size: 13px; color: rgba(255,255,255,.5); }
.hero-trust-avatars { display: flex; }
.hero-trust-avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  border: 2px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  margin-left: -8px;
}
.hero-trust-avatars span:first-child { margin-left: 0; }

/* Phone mockup */
.hero-mockup { display: flex; justify-content: center; align-items: center; }
.phone-wrap {
  position: relative;
  animation: phoneFloat 5s ease-in-out infinite;
  width: fit-content;
  margin: 0 auto;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-18px) rotate(2deg); }
}
.phone-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(124,77,255,.5), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.phone-svg { width: 260px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }

/* ── Stats Bar ────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-value {
  font-size: 32px; font-weight: 900; letter-spacing: -.04em;
  color: var(--primary); margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--text3); font-weight: 500; }

/* ── Features Grid ────────────────────────────────── */
.features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t) var(--ease-o), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 14px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--text1); margin-bottom: 6px; }
.feature-card p { font-size: 13.5px; color: var(--text3); line-height: 1.65; }

/* Feature icon colors */
.ic-purple { background: #EDE7FF; }
.ic-teal   { background: #D1FAF2; }
.ic-pink   { background: #FFE4EF; }
.ic-amber  { background: #FFF4D1; }
.ic-blue   { background: #DBF0FF; }
.ic-green  { background: #D5F7E8; }
[data-theme="dark"] .ic-purple { background: #231A40; }
[data-theme="dark"] .ic-teal   { background: #132E28; }
[data-theme="dark"] .ic-pink   { background: #2E1424; }
[data-theme="dark"] .ic-amber  { background: #2A1F08; }
[data-theme="dark"] .ic-blue   { background: #0E1E30; }
[data-theme="dark"] .ic-green  { background: #0F2A1E; }

/* ── How it Works ─────────────────────────────────── */
.how { background: var(--bg2); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  text-align: center; padding: 40px 28px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  position: relative;
  transition: transform var(--t) var(--ease-o);
}
.step:hover { transform: translateY(-8px); }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-feature);
  color: #fff; font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(124,77,255,.35);
}
.step-icon { font-size: 40px; margin-bottom: 16px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text1); }
.step p { font-size: 14px; color: var(--text3); line-height: 1.65; }
.step-connector {
  position: absolute; top: 50%; right: -13%; transform: translateY(-50%);
  color: var(--primary); font-size: 24px; opacity: .4;
}

/* ── Showcase ─────────────────────────────────────── */
.showcase { background: var(--bg); }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase-grid.reverse { direction: rtl; }
.showcase-grid.reverse > * { direction: ltr; }
.showcase-visual {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.showcase-text .section-label { display: inline-flex; }
.showcase-text .section-title { font-size: clamp(24px, 3vw, 36px); }
.showcase-text ul { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.showcase-text ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--text2); line-height: 1.6;
}
.showcase-text ul li::before {
  content: '✦'; color: var(--primary); font-size: 12px;
  margin-top: 4px; flex-shrink: 0;
}

/* ── Chart: Growth ────────────────────────────────── */
.chart-title { font-size: 13px; font-weight: 700; color: var(--text3); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; }
.growth-chart { position: relative; height: 200px; }
.growth-chart svg { width: 100%; height: 100%; }

/* ── Chart: Sleep bars ────────────────────────────── */
.sleep-bars { display: flex; flex-direction: column; gap: 8px; }
.sleep-bar-row { display: flex; align-items: center; gap: 10px; }
.sleep-bar-label { font-size: 11.5px; color: var(--text3); width: 28px; flex-shrink: 0; }
.sleep-bar-track { flex: 1; height: 14px; background: var(--surface3); border-radius: 7px; overflow: hidden; }
.sleep-bar-fill { height: 100%; border-radius: 7px; transition: width 1s var(--ease); }
.sleep-bar-val { font-size: 11.5px; color: var(--text2); font-weight: 600; width: 36px; text-align: right; }

/* ── Vaccine chart ────────────────────────────────── */
.vaccine-ring { position: relative; width: 160px; margin: 0 auto 20px; }
.vaccine-ring svg { width: 160px; height: 160px; transform: rotate(-90deg); }
.vaccine-ring-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.ring-pct { font-size: 28px; font-weight: 900; color: var(--primary); }
.ring-sub { font-size: 11px; color: var(--text3); margin-top: 2px; }
.vaccine-list { display: flex; flex-direction: column; gap: 8px; }
.vaccine-item { display: flex; align-items: center; gap: 10px; }
.vaccine-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); flex-shrink: 0; }
.vaccine-dot.done { background: var(--secondary); }
.vaccine-dot.late { background: var(--danger); }
.vaccine-dot.soon { background: var(--warning); }
.vaccine-item span { font-size: 13px; color: var(--text2); }

/* ── PDF Section ──────────────────────────────────── */
.pdf-section {
  background: var(--grad-hero);
  color: #fff;
  position: relative; overflow: hidden;
}
.pdf-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255,255,255,.07), transparent 70%),
              radial-gradient(ellipse 40% 60% at 10% 80%, rgba(6,214,160,.15), transparent 70%);
}
.pdf-section > * { position: relative; z-index: 1; }
.pdf-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pdf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.pdf-title { font-size: clamp(28px, 4vw, 46px); font-weight: 900; letter-spacing: -.04em; margin-bottom: 18px; line-height: 1.15; }
.pdf-sub { font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 28px; }
.pdf-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.pdf-feat { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,.85); }
.pdf-feat-icon { width: 36px; height: 36px; background: rgba(255,255,255,.12); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.pdf-preview {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-xl);
  padding: 24px;
  backdrop-filter: blur(20px);
}
.pdf-page-mock {
  background: #fff; border-radius: var(--r-md);
  padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.pdf-page-header { height: 50px; background: linear-gradient(135deg,#160B36,#4B2BBE); border-radius: 8px; margin-bottom: 12px; display: flex; align-items: center; padding: 0 12px; gap: 10px; }
.pdf-page-avatar { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.3); font-size: 16px; display: flex; align-items: center; justify-content: center; }
.pdf-page-line { height: 8px; background: rgba(255,255,255,.5); border-radius: 4px; flex: 1; }
.pdf-page-line-sm { height: 6px; background: rgba(255,255,255,.3); border-radius: 3px; width: 60%; margin-top: 4px; }
.pdf-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.pdf-metric-box { background: #F5F3FF; border-radius: 8px; padding: 10px; }
.pdf-metric-val { font-size: 16px; font-weight: 800; color: #7C4DFF; }
.pdf-metric-lbl { font-size: 9px; color: #6B7280; }
.pdf-row { display: flex; gap: 6px; margin-bottom: 6px; align-items: center; }
.pdf-row-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.pdf-row-line { height: 7px; background: #EDE7FF; border-radius: 4px; flex: 1; }
.pdf-row-val { width: 30px; height: 7px; background: #DCFCE7; border-radius: 4px; }

/* ── Testimonials ─────────────────────────────────── */
.testimonials { background: var(--bg2); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t) var(--ease-o), box-shadow var(--t) var(--ease);
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-stars { font-size: 16px; color: #FFB800; margin-bottom: 14px; }
.testimonial-text { font-size: 14.5px; color: var(--text2); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-bg); display: flex; align-items: center; justify-content: center; font-size: 22px; border: 2px solid var(--border); }
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--text1); }
.testimonial-role { font-size: 12px; color: var(--text4); }

/* ── Download CTA ─────────────────────────────────── */
.cta {
  background: var(--bg);
  text-align: center;
}
.cta-box {
  background: var(--grad-hero);
  border-radius: var(--r-xl);
  padding: 80px 40px;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,255,255,.1), transparent 60%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box .section-title { color: #fff; }
.cta-box .section-subtitle { color: rgba(255,255,255,.72); margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-gplay {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #0D0920;
  padding: 14px 28px; border-radius: var(--r-f);
  font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast);
}
.btn-gplay:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.btn-gplay-icon { font-size: 28px; }
.btn-gplay-sub { font-size: 10px; font-weight: 500; color: #555; display: block; }
.btn-gplay-name { font-size: 15px; font-weight: 800; color: #000; }
.cta-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ── Footer ───────────────────────────────────────── */
.footer { background: var(--surface); border-top: 1px solid var(--border2); padding: 60px 0 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--text3); line-height: 1.7; margin-top: 12px; max-width: 260px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--text1); }
.footer-logo-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-hero); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.footer-col h4 { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--text2); transition: color var(--t-fast); }
.footer-col ul a:hover { color: var(--primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--border2); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: var(--text4); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text3); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--primary); }
.footer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-bg); border: 1px solid var(--border);
  border-radius: var(--r-f); padding: 5px 12px;
  font-size: 12px; font-weight: 600; color: var(--primary);
}

/* ── Animations ───────────────────────────────────── */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.animate.delay-1 { transition-delay: .1s; }
.animate.delay-2 { transition-delay: .2s; }
.animate.delay-3 { transition-delay: .3s; }
.animate.delay-4 { transition-delay: .4s; }
.animate.delay-5 { transition-delay: .5s; }
.animate.visible { opacity: 1; transform: translateY(0); }

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-text {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 33%, var(--accent) 66%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
@keyframes spin-slow { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ── Page inner (termos/privacidade) ──────────────── */
.page-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,255,255,.1), transparent 60%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-f); padding: 6px 16px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(28px,4vw,48px); font-weight: 900; color: #fff; letter-spacing: -.04em; margin-bottom: 14px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 10px; line-height: 1.7; }
.page-hero-meta { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 16px; }
.page-content { max-width: 820px; margin: 0 auto; padding: 60px 24px 100px; }
.doc-section { margin-bottom: 40px; }
.doc-section-title { font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.doc-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.doc-card { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--r-lg); padding: 20px; margin-bottom: 12px; box-shadow: var(--shadow-xs); display: flex; gap: 14px; align-items: flex-start; }
.doc-card-icon { width: 44px; height: 44px; min-width: 44px; background: var(--primary-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; border: 1px solid var(--border); }
.doc-card-body h3 { font-size: 14.5px; font-weight: 700; color: var(--text1); margin-bottom: 6px; }
.doc-card-body p, .doc-card-body ul { font-size: 13.5px; color: var(--text2); line-height: 1.75; }
.doc-card-body ul { padding-left: 16px; list-style: disc; margin-top: 6px; }
.doc-card-body ul li { margin-bottom: 3px; }
.doc-alert { display: flex; gap: 12px; background: var(--surface); border: 1.5px solid var(--primary); border-left: 4px solid var(--primary); border-radius: var(--r-md); padding: 16px; margin-bottom: 12px; }
.doc-alert.amber { border-color: var(--warning); border-left-color: var(--warning); }
.doc-alert-icon { font-size: 20px; flex-shrink: 0; }
.doc-alert p { font-size: 13.5px; color: var(--text2); line-height: 1.7; }
.doc-alert strong { display: block; font-size: 14px; color: var(--text1); margin-bottom: 4px; }
.doc-num-list { counter-reset: item; }
.doc-num-list li { counter-increment: item; display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border2); border-radius: var(--r-md); padding: 14px; margin-bottom: 8px; font-size: 13.5px; color: var(--text2); line-height: 1.7; }
.doc-num-list li::before { content: counter(item); min-width: 26px; height: 26px; background: linear-gradient(135deg,#2D1080,#8B6BFF); color: #fff; font-size: 11.5px; font-weight: 800; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.doc-do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.doc-do, .doc-dont { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--r-md); padding: 16px; }
.doc-do { border-top: 3px solid var(--secondary); }
.doc-dont { border-top: 3px solid var(--danger); }
.doc-do h4, .doc-dont h4 { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 10px; }
.doc-do h4 { color: var(--secondary); }
.doc-dont h4 { color: var(--danger); }
.doc-do ul, .doc-dont ul { list-style: none; padding: 0; }
.doc-do li, .doc-dont li { font-size: 12.5px; color: var(--text2); padding: 3px 0 3px 18px; position: relative; line-height: 1.6; }
.doc-do li::before { content: '✓'; color: var(--secondary); position: absolute; left: 0; font-weight: 700; }
.doc-dont li::before { content: '✕'; color: var(--danger); position: absolute; left: 0; font-weight: 700; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0; }
.doc-table th { background: var(--primary-bg); color: var(--primary-d); font-weight: 700; text-align: left; padding: 9px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.doc-table td { padding: 9px 12px; border-bottom: 1px solid var(--border2); color: var(--text2); }
.doc-table tr:last-child td { border-bottom: none; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-connector { display: none; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  section { padding: 70px 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-mockup { order: -1; }
  .phone-svg { width: 200px; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .showcase-grid, .pdf-grid { grid-template-columns: 1fr; }
  .showcase-grid.reverse { direction: ltr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .doc-do-dont { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 480px) {
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pdf-metrics { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════════
   SUPPLEMENTAL — component classes used in PHP pages
   ════════════════════════════════════════════════════ */

/* ── Navbar (alias for .nav) ──────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease),
              backdrop-filter var(--t) var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .navbar.scrolled { background: rgba(12,9,26,.9); }
.navbar .nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
}
.navbar .nav-logo {
  display: flex; align-items: center; gap: 9px;
  flex-shrink: 0;
  color: #fff;
}
.navbar.scrolled .nav-logo { color: var(--primary); }
.logo-text { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.navbar .nav-menu {
  display: flex; align-items: center; gap: 2px; flex: 1;
}
.navbar .nav-menu .nav-link {
  font-size: 14px; font-weight: 500;
  padding: 7px 13px; border-radius: var(--r-f);
  color: rgba(255,255,255,.82);
  transition: background var(--t-fast), color var(--t-fast);
}
.navbar.scrolled .nav-menu .nav-link { color: var(--text2); }
.navbar .nav-menu .nav-link:hover,
.navbar .nav-menu .nav-link.active {
  background: rgba(255,255,255,.12); color: #fff;
}
.navbar.scrolled .nav-menu .nav-link:hover,
.navbar.scrolled .nav-menu .nav-link.active {
  background: var(--primary-bg); color: var(--primary);
}
.navbar .nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.theme-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.15); color: #fff;
  transition: background var(--t-fast), transform var(--t-fast);
}
.navbar.scrolled .theme-btn { background: var(--surface2); color: var(--text1); }
.theme-btn:hover { background: rgba(255,255,255,.25); transform: rotate(18deg); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 6px;
  background: none; border: none; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform var(--t), opacity var(--t), background var(--t);
}
.navbar.scrolled .hamburger span { background: var(--text1); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons extra ────────────────────────────────── */
.btn-ghost {
  background: transparent; color: rgba(255,255,255,.85);
  padding: 16px 32px; font-size: 16px;
  border: 2px solid rgba(255,255,255,.3);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }
/* On white bg, .btn-primary should be purple */
.navbar .btn-primary,
.stats-bar .btn-primary,
.features .btn-primary,
.pdf-section .btn-primary,
.doc-page .btn-primary,
.download-section .btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 6px 24px rgba(124,77,255,.35);
}
[data-theme="dark"] .navbar .btn-primary,
[data-theme="dark"] .stats-bar .btn-primary,
[data-theme="dark"] .pdf-section .btn-primary {
  box-shadow: 0 6px 24px rgba(160,128,255,.4);
}

/* ── Hero extras ──────────────────────────────────── */
.hero-container {
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-text { display: flex; flex-direction: column; }
.hero-sub { font-size: 17.5px; color: rgba(255,255,255,.72); line-height: 1.7; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.gradient-text {
  background: linear-gradient(90deg, #A0FF80 0%, #06D6A0 40%, #7CF5FF 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-social-proof {
  margin-top: 36px; display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: rgba(255,255,255,.55);
}
.avatars { display: flex; }
.av {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; border: 2px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); margin-left: -8px;
}
.av:first-child { margin-left: 0; }
.pulse-dot {
  width: 7px; height: 7px; background: #06D6A0; border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: .5; animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-dot {
  width: 6px; height: 20px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 3px;
  position: relative;
}
.scroll-dot::after {
  content: ''; position: absolute;
  top: 3px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 5px; background: rgba(255,255,255,.7);
  border-radius: 1px; animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }
@keyframes scrollDot { 0%,100%{top:3px;opacity:1} 80%{top:10px;opacity:0} }

/* Phone frame + screen */
.hero-phone { display: flex; justify-content: center; align-items: center; }
.phone-frame {
  width: 240px;
  background: #1A0B40;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 24px;
  background: #0D0920; border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  background: #F5F3FF; border-radius: 30px; overflow: hidden;
  display: flex; flex-direction: column;
}
[data-theme="dark"] .phone-screen { background: #0D0920; }
.ps-statusbar {
  display: flex; justify-content: space-between;
  padding: 26px 16px 4px;
  font-size: 9px; font-weight: 700; color: var(--text3);
}
.ps-header {
  padding: 8px 12px 10px;
  background: var(--grad-hero);
}
.ps-greeting { display: flex; align-items: center; gap: 8px; }
.ps-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.ps-name { font-size: 11px; font-weight: 700; color: #fff; }
.ps-sub  { font-size: 9px; color: rgba(255,255,255,.65); }
.ps-cards { padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.ps-card {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 12px; padding: 8px 10px;
  box-shadow: 0 2px 8px rgba(124,77,255,.08);
}
[data-theme="dark"] .ps-card { background: #1A1730; }
.ps-card-feed  { border-left: 3px solid #7C4DFF; }
.ps-card-sleep { border-left: 3px solid #06D6A0; }
.ps-card-diaper{ border-left: 3px solid #FF6B9D; }
.ps-icon { font-size: 16px; }
.ps-val  { font-size: 11px; font-weight: 700; color: var(--text1); }
.ps-lbl  { font-size: 8.5px; color: var(--text3); }
.ps-ago  { margin-left: auto; font-size: 8.5px; color: var(--text4); }
.ps-nav {
  display: flex; justify-content: space-around;
  padding: 8px 0 12px;
  border-top: 1px solid rgba(0,0,0,.06);
  background: #fff;
}
[data-theme="dark"] .ps-nav { background: #120F22; border-top-color: rgba(255,255,255,.05); }
.ps-nav-item { font-size: 16px; opacity: .4; cursor: default; }
.ps-active { opacity: 1; }

/* ── Stats grid alias ─────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}

/* ── Section header ───────────────────────────────── */
.section-header { margin-bottom: 48px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-f);
  padding: 5px 14px;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px; color: var(--text3); line-height: 1.7;
  max-width: 560px;
  margin-bottom: 0;
}

/* ── Feature card extras ──────────────────────────── */
.fc-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 14px;
}
.fc-icon-feed    { background: #EDE7FF; }
.fc-icon-bottle  { background: #D1FAF2; }
.fc-icon-sleep   { background: #E0F2FE; }
.fc-icon-diaper  { background: #FFE4EF; }
.fc-icon-vaccine { background: #FFF4D1; }
.fc-icon-growth  { background: #D5F7E8; }
.fc-icon-meds    { background: #FEE2E2; }
.fc-icon-solid   { background: #FEF9C3; }
.fc-icon-report  { background: #EDE7FF; }
[data-theme="dark"] .fc-icon-feed    { background: #231A40; }
[data-theme="dark"] .fc-icon-bottle  { background: #132E28; }
[data-theme="dark"] .fc-icon-sleep   { background: #0E1E30; }
[data-theme="dark"] .fc-icon-diaper  { background: #2E1424; }
[data-theme="dark"] .fc-icon-vaccine { background: #2A1F08; }
[data-theme="dark"] .fc-icon-growth  { background: #0F2A1E; }
[data-theme="dark"] .fc-icon-meds    { background: #2D0F0F; }
[data-theme="dark"] .fc-icon-solid   { background: #252010; }
[data-theme="dark"] .fc-icon-report  { background: #231A40; }
.fc-tag {
  display: inline-block; margin-top: 12px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  background: var(--primary-bg); color: var(--primary);
  border-radius: var(--r-f); padding: 3px 10px;
}
.fc-tag-primary { background: var(--primary); color: #fff; }
.feature-card-highlight {
  background: linear-gradient(135deg, #EDE7FF 0%, #D1FAF2 100%);
  border-color: var(--border);
}
[data-theme="dark"] .feature-card-highlight { background: linear-gradient(135deg, #231A40 0%, #132E28 100%); }

/* ── How it works (new structure) ────────────────── */
.how-it-works { background: var(--bg2); }
.steps {
  display: flex; align-items: flex-start; gap: 8px;
  justify-content: center; flex-wrap: wrap;
}
.steps .step {
  flex: 1; min-width: 200px; max-width: 260px;
  position: relative; text-align: center;
}
.step-arrow {
  font-size: 24px; color: var(--primary); opacity: .4;
  align-self: center; flex-shrink: 0;
  padding-bottom: 40px;
}

/* ── Showcase new layout ──────────────────────────── */
.showcase { background: var(--bg); }
.showcase-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease-o), box-shadow var(--t) var(--ease);
}
.showcase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.showcase-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text3);
  margin-bottom: 18px;
}
.showcase-icon { font-size: 18px; }
.growth-chart { padding: 8px 0; }
.growth-chart svg { width: 100%; height: auto; }
.chart-legend {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--text4); margin-top: 8px;
}
.legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.legend-band {
  display: inline-block; width: 20px; height: 8px;
  background: var(--primary); opacity: .2; border-radius: 3px;
}
.chart-dot { transition: transform .3s var(--ease-o); }
.chart-dot.visible { transform: scale(1.3); }
.sleep-bars { display: flex; flex-direction: column; gap: 7px; }
.bar-row { display: flex; align-items: center; gap: 8px; }
.bar-day { font-size: 11px; color: var(--text3); width: 26px; flex-shrink: 0; }
.bar-track { flex: 1; height: 12px; background: var(--surface2); border-radius: 6px; overflow: hidden; }
.bar-fill  { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: width 1s var(--ease); }
.bar-val   { font-size: 10.5px; color: var(--text2); font-weight: 600; width: 32px; text-align: right; }
.sleep-meta { font-size: 10.5px; color: var(--text4); margin-top: 10px; }
.vaccine-ring-wrap { display: flex; flex-direction: column; align-items: center; }
.vaccine-ring { display: block; position: relative; }
.ring-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  text-align: center; pointer-events: none;
}
.ring-pct { font-size: 24px; font-weight: 900; color: var(--primary); }
.ring-lbl { font-size: 10px; color: var(--text3); }
.vaccine-list { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; width: 100%; }
.vax-item {
  font-size: 12.5px; color: var(--text2); padding: 5px 10px;
  background: var(--surface2); border-radius: 8px;
}
.vax-item.done { color: var(--secondary); background: rgba(6,214,160,.08); }
.vax-item.pending { color: var(--text3); }

/* ── PDF section new inner layout ────────────────── */
.pdf-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; padding: 100px 0;
}
.pdf-text { color: #fff; }
.pdf-text .section-eyebrow { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.9); }
.pdf-text .section-title { color: #fff; margin-bottom: 16px; }
.pdf-text p { font-size: 16px; color: rgba(255,255,255,.72); line-height: 1.7; margin-bottom: 24px; }
.pdf-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.pdf-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.82); line-height: 1.6; }
.pf-icon { font-size: 16px; flex-shrink: 0; }
.pdf-text .btn-primary { background: #fff; color: var(--primary-d); }
/* PDF card preview */
.pdf-preview {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--r-xl); padding: 24px;
  backdrop-filter: blur(16px);
}
.pdf-card {
  background: #fff; border-radius: 16px;
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.3);
  font-family: inherit;
}
[data-theme="dark"] .pdf-card { background: #1A1730; }
.pdf-card-header {
  background: linear-gradient(135deg,#160B36,#4B2BBE);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
}
.pdf-logo { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.6); }
.pdf-title-block { flex: 1; }
.pdf-main-title { font-size: 13px; font-weight: 800; color: #fff; }
.pdf-sub-title { font-size: 10px; color: rgba(255,255,255,.6); margin-top: 2px; }
.pdf-card-metrics {
  display: flex; gap: 0; padding: 16px 16px 0;
}
.pdf-metric {
  flex: 1; text-align: center; padding: 8px 4px;
}
.pm-icon { font-size: 18px; margin-bottom: 4px; }
.pm-val  { font-size: 15px; font-weight: 800; color: var(--primary); }
.pm-lbl  { font-size: 9px; color: var(--text3); }
.pdf-card-alert {
  display: flex; align-items: center; gap: 8px;
  margin: 12px 16px; background: var(--primary-bg);
  border-radius: 10px; padding: 8px 12px;
  font-size: 11.5px; color: var(--text2);
}
.alert-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--secondary); flex-shrink: 0;
}
.pdf-card-footer {
  padding: 10px 16px 14px;
  font-size: 9px; color: var(--text4);
  border-top: 1px solid var(--border2); margin-top: 8px;
}

/* ── Testimonials new ─────────────────────────────── */
.testimonials { background: var(--bg2); }
.testimonials-track {
  display: flex; gap: 18px;
  overflow-x: auto; padding: 8px 4px 20px;
  scrollbar-width: none; cursor: grab;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border2); border-radius: var(--r-lg);
  padding: 26px; flex-shrink: 0; width: 320px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t) var(--ease-o), box-shadow var(--t) var(--ease);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tcard-stars { font-size: 16px; color: #FFB800; margin-bottom: 14px; }
.testimonial-card p { font-size: 14px; color: var(--text2); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.tcard-author { display: flex; align-items: center; gap: 12px; }
.tcard-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-bg); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  flex-shrink: 0;
}
.tcard-name { font-size: 13.5px; font-weight: 700; color: var(--text1); }
.tcard-role { font-size: 11.5px; color: var(--text4); margin-top: 1px; }

/* ── Download section ─────────────────────────────── */
.download-section {
  position: relative; overflow: hidden;
  background: var(--grad-hero); text-align: center;
  padding: 100px 0;
}
.download-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb-dl-1 { width: 500px; height: 500px; background: #7C4DFF; filter: blur(100px); opacity: .25; position: absolute; top: -150px; left: -150px; border-radius: 50%; }
.orb-dl-2 { width: 400px; height: 400px; background: #06D6A0; filter: blur(100px); opacity: .2;  position: absolute; bottom: -120px; right: -120px; border-radius: 50%; }
.download-section > * { position: relative; z-index: 1; }
.download-inner { position: relative; }
.dl-emoji { font-size: 60px; margin-bottom: 20px; display: block; animation: phoneFloat 4s ease-in-out infinite; }
.dl-app-icon {
  margin: 0 auto 24px; width: fit-content;
  animation: phoneFloat 4s ease-in-out infinite;
}
.dl-app-icon img {
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.15);
}
.dl-title {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900;
  letter-spacing: -.045em; line-height: 1.1;
  color: #fff; margin-bottom: 18px;
}
.dl-sub {
  font-size: 17px; color: rgba(255,255,255,.68);
  max-width: 520px; margin: 0 auto 36px; line-height: 1.7;
}
.dl-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #0D0920;
  padding: 14px 28px; border-radius: var(--r-f);
  font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.store-btn:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.store-btn-text small { display: block; font-size: 10px; font-weight: 500; color: #555; }
.store-btn-text strong { display: block; font-size: 16px; font-weight: 800; color: #000; }
.dl-footnote { font-size: 12.5px; color: rgba(255,255,255,.4); }

/* ── FAQ section ──────────────────────────────────── */
.faq-section { background: var(--bg); }
.faq-container { max-width: 720px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow var(--t) var(--ease);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--border); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 20px;
  font-size: 15px; font-weight: 600; color: var(--text1);
  text-align: left; cursor: pointer;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--primary); }
.faq-chevron {
  font-size: 11px; color: var(--text3); flex-shrink: 0;
  transition: transform var(--t) var(--ease-o);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
}
.faq-answer p {
  padding: 0 20px 18px;
  font-size: 14px; color: var(--text2); line-height: 1.75;
}
.faq-answer a { color: var(--primary); text-decoration: underline; }

/* ── Footer new layout ────────────────────────────── */
.footer { background: var(--surface); border-top: 1px solid var(--border2); padding: 60px 0 28px; }
.footer .container { max-width: 1200px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 9px; color: var(--text1); margin-bottom: 10px; }
.footer-tagline { font-size: 13.5px; color: var(--text3); line-height: 1.7; max-width: 250px; margin-bottom: 16px; }
.footer-badges { display: flex; flex-direction: column; gap: 8px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary-bg); border: 1px solid var(--border);
  border-radius: var(--r-f); padding: 5px 14px;
  font-size: 12px; font-weight: 600; color: var(--primary);
  width: fit-content;
  transition: background var(--t-fast);
}
.store-badge:hover { background: var(--primary); color: #fff; }
.footer-col h4, .footer-heading {
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text3); margin-bottom: 14px; display: block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 13.5px; color: var(--text2); transition: color var(--t-fast); }
.footer-col ul a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border2);
  flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--text4);
}
.footer-legal-links a { color: var(--text3); margin: 0 4px; transition: color var(--t-fast); }
.footer-legal-links a:hover { color: var(--primary); }

/* ── Doc page new rules ───────────────────────────── */
.doc-page { background: var(--bg); padding: 60px 0 100px; }
.doc-container { max-width: 820px; }
/* Override .doc-card to a richer block layout */
.doc-page .doc-card {
  display: block; padding: 28px 32px;
  margin-bottom: 16px;
}
.doc-page .doc-card h2 {
  font-size: 20px; font-weight: 800; color: var(--text1);
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.doc-page .doc-card h3 {
  font-size: 15px; font-weight: 700; color: var(--text1);
  margin: 20px 0 10px;
}
.doc-num {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--grad-hero); color: #fff;
  font-size: 13px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.doc-page .doc-card p {
  font-size: 14.5px; color: var(--text2); line-height: 1.8;
  margin-bottom: 12px;
}
.doc-page .doc-card p:last-child { margin-bottom: 0; }
.doc-list { padding-left: 0; list-style: none; margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.doc-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text2); line-height: 1.7;
  padding: 6px 12px; background: var(--surface2); border-radius: 8px;
}
.doc-list li::before { content: '✦'; color: var(--primary); font-size: 10px; margin-top: 4px; flex-shrink: 0; }
.doc-alert { display: block; padding: 14px 18px; margin: 16px 0; border-radius: var(--r-md); font-size: 14px; line-height: 1.75; }
.doc-alert-info    { background: rgba(124,77,255,.08); border-left: 4px solid var(--primary);  color: var(--text2); }
.doc-alert-warning { background: rgba(255,184,0,.08);  border-left: 4px solid var(--warning);  color: var(--text2); }
.doc-alert-success { background: rgba(6,214,160,.08);  border-left: 4px solid var(--secondary); color: var(--text2); }
.doc-alert strong { color: var(--text1); }
.doc-table-wrap { overflow-x: auto; margin: 16px 0; border-radius: var(--r-md); border: 1px solid var(--border2); }
.doc-contact { margin: 16px 0; }
.rights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0;
}
.right-item {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--surface2); border-radius: 12px; padding: 14px;
  font-size: 13px; color: var(--text2); line-height: 1.6;
}
.right-icon { font-size: 22px; }

/* ── Logo icon (imagem real) ──────────────────────── */
.logo-icon {
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* ── Phone screenshot real ────────────────────────── */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}
.phone-frame-real {
  width: 210px;
  background: #0D0920;
  border-radius: 34px;
  padding: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.65),
              0 0 0 1px rgba(255,255,255,.08),
              inset 0 0 0 2px rgba(255,255,255,.04);
  position: relative;
  flex-shrink: 0;
}
/* Notch */
.phone-frame-real::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 70px; height: 18px;
  background: #0D0920; border-radius: 0 0 12px 12px;
  z-index: 2;
}
.phone-screenshot {
  width: 100%; height: auto;
  border-radius: 26px;
  display: block;
  object-fit: cover;
}

/* ── Responsive supplemental ─────────────────────── */
@media (max-width: 1024px) {
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .pdf-inner     { grid-template-columns: 1fr; }
  .rights-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; padding: 60px 24px 40px; }
  .hero-text .hero-cta { justify-content: center; }
  .hero-text .hero-social-proof { justify-content: center; }
  .hero-phone { order: -1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }
  .showcase-grid { grid-template-columns: 1fr; }
  .navbar .nav-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; background: var(--surface); padding: 16px;
    box-shadow: var(--shadow-md); border-top: 1px solid var(--border2); z-index: 999; }
  .navbar .nav-menu.open { display: flex; }
  .navbar .nav-menu .nav-link { color: var(--text2); padding: 12px 16px; border-radius: var(--r-sm); font-size: 15px; }
  .navbar .nav-menu .nav-link:hover { background: var(--primary-bg); color: var(--primary); }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .phone-frame { width: 200px; }
  .phone-frame-real { width: 180px; }
}
@media (max-width: 480px) {
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .rights-grid   { grid-template-columns: 1fr; }
  .doc-do-dont   { grid-template-columns: 1fr; }
  .hero-cta .btn-lg { padding: 14px 24px; font-size: 14.5px; }
  .testimonial-card { width: 280px; }
}
