/* AchieveX — index.css (standalone, works when linked from index.html) */

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Sora', 'Google Sans Display', sans-serif;
  --blue-50: #EFF6FF; --blue-100: #DBEAFE; --blue-200: #BFDBFE;
  --blue-400: #60A5FA; --blue-500: #3B82F6; --blue-600: #2563EB;
  --blue-700: #1D4ED8; --blue-900: #1E3A8A;
  --green-500: #22C55E; --amber-500: #F59E0B;
  --red-500: #EF4444; --purple-500: #A855F7; --cyan-500: #06B6D4;
  --bg: #F7F9FF; --bg2: #EEF2FB; --bg3: #E2E8F8;
  --surface: #FFFFFF; --surface2: #F5F8FE; --surface3: #EBF0FA;
  --surface4: rgba(255,255,255,.94);
  --border: rgba(30,58,138,.07); --border-m: rgba(30,58,138,.13);
  --border-s: rgba(59,130,246,.25);
  --glass: rgba(255,255,255,.80); --glass-border: rgba(255,255,255,.70);
  --txt: #18203A; --txt2: #334272; --txt3: #64748B; --txt4: #94A3B8;
  --shadow-xs: 0 1px 2px rgba(14,28,80,.05), 0 1px 3px rgba(14,28,80,.04);
  --shadow-sm: 0 2px 6px rgba(14,28,80,.07), 0 1px 3px rgba(14,28,80,.04);
  --shadow: 0 4px 12px rgba(14,28,80,.09), 0 2px 5px rgba(14,28,80,.05);
  --shadow-md: 0 8px 24px rgba(14,28,80,.11), 0 3px 8px rgba(14,28,80,.06);
  --shadow-lg: 0 16px 48px rgba(14,28,80,.13), 0 6px 18px rgba(14,28,80,.07);
  --shadow-xl: 0 24px 72px rgba(14,28,80,.15), 0 10px 28px rgba(14,28,80,.08);
  --shadow-blue: 0 4px 18px rgba(59,130,246,.36), 0 2px 6px rgba(59,130,246,.2);
  --shadow-blue-lg: 0 8px 32px rgba(59,130,246,.44), 0 4px 12px rgba(59,130,246,.26);
  --r-xs: 5px; --r-sm: 8px; --r: 12px; --r-lg: 16px;
  --r-xl: 20px; --r-2xl: 24px; --r-3xl: 32px; --r-full: 9999px;
  --nav-h: 60px; --page-w: 1140px;
  --page-px: clamp(16px, 5vw, 40px);
  --ease: cubic-bezier(.25,.46,.45,.94);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-google: cubic-bezier(.4,0,.2,1);
}

/* Dark mode tokens */
.dark {
  --bg: #0C0F1A; --bg2: #111420; --bg3: #191D2C;
  --surface: #161926; --surface2: #1C2030; --surface3: #242836;
  --surface4: rgba(22,25,38,.96);
  --border: rgba(255,255,255,.065); --border-m: rgba(255,255,255,.11);
  --border-s: rgba(96,165,250,.22);
  --glass: rgba(16,19,32,.92); --glass-border: rgba(255,255,255,.09);
  --txt: #E2E8F4; --txt2: #B8C2DA; --txt3: #7C8BAA; --txt4: #4A5572;
  --shadow-xs: 0 1px 4px rgba(0,0,0,.5);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.58), 0 1px 3px rgba(0,0,0,.35);
  --shadow: 0 4px 14px rgba(0,0,0,.62), 0 2px 6px rgba(0,0,0,.38);
  --shadow-md: 0 8px 28px rgba(0,0,0,.68), 0 4px 12px rgba(0,0,0,.44);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.74), 0 8px 22px rgba(0,0,0,.50);
  --shadow-xl: 0 24px 72px rgba(0,0,0,.80), 0 12px 32px rgba(0,0,0,.55);
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  line-height: 1.6;
  transition: background .35s var(--ease-google), color .35s var(--ease-google);
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  min-height: 100svh;
}
.page-wrap { overflow-x: hidden; position: relative; width: 100%; display: block; }
::selection { background: rgba(59,130,246,.15); color: var(--txt); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--txt4); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.93); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(20px,-14px) scale(1.03); } 66% { transform: translate(-14px,16px) scale(.97); } }
@keyframes splashLoad { 0% { width: 0%; } 60% { width: 72%; } 88% { width: 91%; } 100% { width: 100%; } }
@keyframes splashPulse { 0% { box-shadow: 0 0 0 0 rgba(59,130,246,.55); } 70% { box-shadow: 0 0 0 22px rgba(59,130,246,0); } 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); } }
@keyframes navIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes chipPop { from { opacity: 0; transform: scale(.88) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes tabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes faqSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ═══════════════════════════════════════════
   REVEAL SYSTEM
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .09s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .27s; }
.reveal-d4 { transition-delay: .36s; }

/* ═══════════════════════════════════════════
   SPLASH SCREEN
═══════════════════════════════════════════ */
#splash {
  position: fixed; inset: 0; z-index: 9999;
  background: #080D1C;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  cursor: pointer;
}
#splash::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 65% 55% at 50% 38%, rgba(37,99,235,.18), transparent);
}
#splash.hide { opacity: 0; transform: scale(1.016); pointer-events: none; }
.splash-logo {
  width: 76px; height: 76px; border-radius: 22px;
  background: linear-gradient(145deg, #4F93F8 0%, #1D4ED8 100%);
  display: flex; align-items: center; justify-content: center;
  animation: splashPulse 2.6s ease-out infinite, fadeUp .5s var(--ease) both;
  position: relative; z-index: 1;
  box-shadow: 0 8px 32px rgba(37,99,235,.45);
}
.splash-name {
  font-family: var(--font-display); font-size: 32px; font-weight: 700;
  letter-spacing: -.055em; color: #fff;
  position: relative; z-index: 1;
  animation: fadeUp .55s .12s var(--ease) both;
}
.splash-tagline {
  font-size: 10px; color: rgba(255,255,255,.28);
  letter-spacing: .22em; text-transform: uppercase;
  position: relative; z-index: 1;
  animation: fadeUp .55s .24s var(--ease) both;
}
.splash-bar-wrap {
  width: 160px; height: 2px; background: rgba(255,255,255,.07);
  border-radius: 20px; overflow: hidden;
  position: relative; z-index: 1;
  animation: fadeUp .55s .36s var(--ease) both;
}
.splash-bar {
  height: 100%; width: 0%; border-radius: 20px;
  background: linear-gradient(90deg, #3B82F6, #93C5FD, #3B82F6);
  background-size: 200% 100%;
  animation: splashLoad 2.6s var(--ease) forwards, shimmer 2s linear infinite;
}

/* ═══════════════════════════════════════════
   MOBILE DRAWER
═══════════════════════════════════════════ */
#drawer-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
#drawer-overlay.open { opacity: 1; visibility: visible; }
html.drawer-open body { overflow: hidden; }
#drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(300px, 88vw); z-index: 210;
  background: var(--surface); border-right: 1px solid var(--border);
  transform: translateX(-100%);
  transition: transform .34s var(--ease-out);
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
#drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.drawer-logo { display: flex; align-items: center; gap: 10px; }
.drawer-logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(145deg, #4F93F8 0%, #1D4ED8 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(59,130,246,.38); flex-shrink: 0;
}
.drawer-logo-name {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  letter-spacing: -.045em; color: var(--txt);
}
.drawer-close {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--txt3); transition: all .18s; flex-shrink: 0;
}
.drawer-close:hover { background: var(--surface3); color: var(--txt); }
.drawer-nav {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 8px 10px; display: flex; flex-direction: column; gap: 1px;
}
.drawer-section-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .9px; color: var(--txt4); padding: 10px 10px 4px;
}
.drawer-link {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  border-radius: var(--r); font-size: 13.5px; font-weight: 500; color: var(--txt2);
  transition: background .15s, color .15s; position: relative;
}
.drawer-link:hover { background: var(--surface2); color: var(--txt); }
.drawer-link.active { background: rgba(59,130,246,.09); color: var(--blue-600); }
.drawer-link-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--txt3); transition: color .15s;
}
.drawer-link.active .drawer-link-icon { color: var(--blue-600); }
.drawer-link:hover .drawer-link-icon { color: var(--txt2); }
.drawer-badge {
  margin-left: auto; font-size: 10px; font-weight: 700;
  background: var(--blue-500); color: #fff;
  padding: 1px 7px; border-radius: var(--r-full);
}
.drawer-footer {
  padding: 12px 14px;
  padding-bottom: max(18px, env(safe-area-inset-bottom, 18px));
  border-top: 1px solid var(--border); flex-shrink: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.drawer-user {
  display: flex; align-items: center; gap: 10px; padding: 10px;
  border-radius: var(--r); background: var(--surface2); border: 1px solid var(--border);
}
.drawer-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.drawer-cta {
  width: 100%; height: 44px; border-radius: var(--r);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-blue);
  transition: all .2s var(--ease-spring);
  display: flex; align-items: center; justify-content: center; gap: 7px; border: none;
}
.drawer-cta:hover { transform: scale(1.02) translateY(-1px); box-shadow: var(--shadow-blue-lg); }
.drawer-cta:active { transform: scale(.97); }

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); background: transparent;
  transition: background .3s var(--ease-google), border-color .3s, box-shadow .3s;
  animation: navIn .5s .05s var(--ease) both;
}
#navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border), var(--shadow-xs);
}
.nav-inner {
  max-width: var(--page-w); margin: 0 auto;
  padding: 0 var(--page-px); height: 100%;
  display: flex; align-items: center; gap: 4px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  flex-shrink: 0; margin-right: 8px; text-decoration: none;
}
.nav-logo-mark {
  width: 31px; height: 31px; border-radius: 9px;
  background: linear-gradient(145deg, #4F93F8, #1D4ED8);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(59,130,246,.32); flex-shrink: 0;
  transition: transform .24s var(--ease-spring), box-shadow .24s;
}
.nav-logo-mark:hover { transform: scale(1.08) rotate(-4deg); box-shadow: 0 4px 16px rgba(59,130,246,.48); }
.nav-logo-name {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  letter-spacing: -.055em; color: var(--txt); white-space: nowrap;
}
.nav-links { display: none; align-items: center; gap: 1px; flex: 1; margin: 0 8px; }
@media(min-width: 768px) { .nav-links { display: flex; } }
.nav-link {
  font-size: 13.5px; font-weight: 500; color: var(--txt3);
  padding: 6px 12px; border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap; border: none; background: transparent; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -1px; left: 12px; right: 12px;
  height: 2px; border-radius: 2px; background: var(--blue-500);
  opacity: 0; transform: scaleX(0); transform-origin: center;
  transition: opacity .15s, transform .22s;
}
.nav-link:hover { color: var(--txt); background: var(--surface2); }
.nav-link.active { color: var(--blue-600); }
.nav-link.active::after { opacity: 1; transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 7px; margin-left: auto; flex-shrink: 0; }
.icon-btn {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--txt3); transition: all .18s; flex-shrink: 0;
}
.icon-btn:hover { background: var(--surface3); color: var(--txt); transform: scale(1.05); }
.icon-btn:active { transform: scale(.95); }
.md-hide { display: flex; }
@media(min-width: 768px) { .md-hide { display: none !important; } }
.md-show { display: none; }
@media(min-width: 768px) { .md-show { display: flex; } }
.btn-secondary {
  height: 34px; padding: 0 14px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500; color: var(--txt);
  background: var(--surface); border: 1px solid var(--border-m);
  display: inline-flex; align-items: center; gap: 7px;
  transition: all .18s; box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { background: var(--surface2); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-secondary:active { transform: scale(.97); }

/* ═══════════════════════════════════════════
   PAGE CONTAINER
═══════════════════════════════════════════ */
.page-container { max-width: var(--page-w); margin: 0 auto; padding: 0 var(--page-px); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero-section {
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(28px, 6vh, 60px));
  padding-bottom: clamp(56px, 8vw, 96px);
  position: relative; display: flex; align-items: center; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(59,130,246,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 85% 80% at 50% 40%, black 15%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 40%, black 15%, transparent 100%);
}
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  animation: orbFloat 14s ease-in-out infinite; will-change: transform;
}
.orb-a { animation-delay: 0s; }
.orb-b { animation-delay: -5s; }
.orb-c { animation-delay: -9s; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px); align-items: center; width: 100%;
}
@media(max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-right { order: -1; }
}
.hero-left { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; color: var(--blue-500);
  background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.16);
  padding: 5px 14px 5px 8px; border-radius: var(--r-full);
  margin-bottom: 22px; letter-spacing: .01em;
  animation: chipPop .6s .32s var(--ease) both;
}
.hero-eyebrow-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 66px); font-weight: 800;
  letter-spacing: -.056em; color: var(--txt); line-height: 1.04;
  margin-bottom: 18px; animation: fadeUp .7s .38s var(--ease) both;
}
.gradient-text {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 45%, #60A5FA 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradShift 6s ease infinite;
}
.hero-sub {
  font-size: clamp(14.5px, 1.8vw, 17px); color: var(--txt3); line-height: 1.82;
  max-width: 490px; margin-bottom: 30px; font-weight: 400;
  animation: fadeUp .7s .48s var(--ease) both;
}
@media(max-width: 900px) { .hero-sub { margin: 0 auto 28px; } }
.hero-actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  animation: fadeUp .7s .58s var(--ease) both;
}
@media(max-width: 900px) { .hero-actions { justify-content: center; } }
.btn-primary {
  height: 48px; padding: 0 24px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff; font-size: 14.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-blue); transition: all .24s var(--ease-spring); border: none; white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-blue-lg); }
.btn-primary:active { transform: scale(.97); }
.btn-primary-outline {
  height: 48px; padding: 0 24px; border-radius: var(--r-lg);
  background: transparent; color: var(--blue-600); font-size: 14.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border-s); transition: all .22s; white-space: nowrap;
}
.btn-primary-outline:hover { background: rgba(59,130,246,.07); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary-outline:active { transform: scale(.97); }
.hero-trust {
  display: flex; align-items: center; gap: 10px; margin-top: 26px;
  font-size: 12px; color: var(--txt4); animation: fadeUp .7s .66s var(--ease) both;
}
@media(max-width: 900px) { .hero-trust { justify-content: center; } }
.hero-avatars { display: flex; }
.hero-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid var(--surface); margin-right: -7px;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.hero-stats {
  display: flex; gap: clamp(16px, 4vw, 32px); flex-wrap: wrap;
  margin-top: 28px; animation: fadeUp .7s .74s var(--ease) both;
}
@media(max-width: 900px) { .hero-stats { justify-content: center; } }
.hero-stat-item { display: flex; flex-direction: column; }
.hero-stat-val {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px); font-weight: 700;
  letter-spacing: -.048em; color: var(--txt); line-height: 1;
}
.hero-stat-lbl { font-size: 11px; color: var(--txt4); margin-top: 3px; }
.hero-stat-sep { width: 1px; background: var(--border-m); align-self: stretch; margin: 4px 0; }
.hero-right {
  position: relative; animation: scaleIn .85s .34s var(--ease-out) both; z-index: 1;
}
.hero-mockup {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-2xl); box-shadow: var(--shadow-lg);
  overflow: hidden; padding: 16px; position: relative; z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.mockup-titlebar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mockup-dot { width: 9px; height: 9px; border-radius: 50%; }
.mockup-title { font-size: 11px; font-weight: 600; color: var(--txt4); margin: 0 auto; }
.float-card {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border); border-radius: var(--r-lg);
  padding: 12px 15px; box-shadow: var(--shadow-md); min-width: 130px; z-index: 3;
}
.prog-track { height: 5px; border-radius: 5px; background: var(--surface3); overflow: hidden; margin-top: 7px; }
.prog-fill { height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }

/* ═══════════════════════════════════════════
   STATS BAND
═══════════════════════════════════════════ */
.stats-band {
  background: linear-gradient(135deg, #0F2057 0%, #1D4ED8 52%, #2060EE 100%);
  padding: clamp(36px, 5.5vw, 56px) 0; position: relative; overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 70% at 18% 55%, rgba(255,255,255,.07), transparent),
    radial-gradient(ellipse 45% 55% at 82% 45%, rgba(255,255,255,.04), transparent);
}
.stats-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.stats-inner {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 4vw, 40px); position: relative; z-index: 1;
}
@media(min-width: 640px) { .stats-inner { grid-template-columns: repeat(4, 1fr); } }
.stat-val {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  color: #fff; letter-spacing: -.056em; line-height: 1;
}
.stat-lbl { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 6px; line-height: 1.4; }

/* ═══════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .9px; color: var(--blue-500); margin-bottom: 12px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 42px); font-weight: 700;
  letter-spacing: -.045em; color: var(--txt); line-height: 1.1;
}
.section-sub {
  font-size: clamp(14px, 1.8vw, 15.5px); color: var(--txt3); line-height: 1.82;
  max-width: 500px; margin: 12px auto 0; font-weight: 400;
}
.section { padding: clamp(60px, 7.5vw, 92px) 0; }
.section-alt { background: var(--bg2); }
.section-head { text-align: center; margin-bottom: clamp(36px, 5.5vw, 56px); }
.text-center { text-align: center; }

/* ═══════════════════════════════════════════
   FEATURE CARDS
═══════════════════════════════════════════ */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media(min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 26px 22px;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 50%), rgba(59,130,246,.06), transparent);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-s); }
.feature-card:hover::after { opacity: 1; }
.feature-card:hover .fcard-icon { transform: scale(1.1) rotate(-4deg); }
.feature-card-strip {
  height: 3px; border-radius: 3px; position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover .feature-card-strip { opacity: 1; }
.fcard-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: transform .3s var(--ease-spring); flex-shrink: 0;
}
.fcard-title { font-size: 15px; font-weight: 700; color: var(--txt); margin-bottom: 8px; letter-spacing: -.025em; }
.fcard-desc { font-size: 13px; color: var(--txt3); line-height: 1.78; margin-bottom: 14px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600; padding: 3px 9px;
  border-radius: var(--r-full); letter-spacing: .01em;
}
.badge-row { display: flex; gap: 5px; flex-wrap: wrap; }
.feature-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
@media(min-width: 640px) { .feature-strip { grid-template-columns: repeat(4, 1fr); } }
.strip-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 13px 14px;
  display: flex; align-items: center; gap: 11px;
  box-shadow: var(--shadow-xs); transition: all .24s var(--ease-spring); overflow: hidden;
}
.strip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-s); }
.strip-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.strip-label { font-size: 11.5px; font-weight: 600; color: var(--txt); letter-spacing: -.01em; }
.strip-sub { font-size: 10px; color: var(--txt4); margin-top: 1.5px; }

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.steps-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start;
}
@media(min-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0; align-items: start;
  }
}
.step-wrap { text-align: center; padding: 0 clamp(6px, 1.5vw, 14px); }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(59,130,246,.22);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--blue-600); background: rgba(59,130,246,.07);
  margin: 0 auto 18px; transition: all .26s var(--ease-spring);
  position: relative; z-index: 1;
}
.step-wrap:hover .step-num {
  background: var(--blue-500); color: #fff; border-color: var(--blue-500);
  box-shadow: 0 0 0 9px rgba(59,130,246,.09); transform: scale(1.08);
}
.step-connector { display: none; align-items: center; justify-content: center; padding-top: 26px; }
@media(min-width: 768px) { .step-connector { display: flex; } }
.step-line {
  width: 100%; max-width: 64px; height: 1.5px;
  background: linear-gradient(90deg, rgba(59,130,246,.38), rgba(59,130,246,.07)); position: relative;
}
.step-line::after {
  content: ''; position: absolute; right: -4px; top: -3.5px;
  width: 8px; height: 8px; background: var(--blue-400); border-radius: 50%; opacity: .5;
}
.step-connector-v { display: flex; align-items: center; justify-content: center; height: 24px; }
@media(min-width: 768px) { .step-connector-v { display: none; } }
.step-line-v { width: 1.5px; height: 24px; background: linear-gradient(to bottom, rgba(59,130,246,.38), rgba(59,130,246,.07)); }

/* ═══════════════════════════════════════════
   DASHBOARD PREVIEW / TABS
═══════════════════════════════════════════ */
.product-tabs-bar {
  display: flex; align-items: center; gap: 4px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 5px;
  width: fit-content; max-width: 100%;
  margin: 0 auto 28px; flex-wrap: wrap; justify-content: center;
}
.product-tab {
  padding: 7px 16px; border-radius: var(--r-lg);
  font-size: 13px; font-weight: 500; color: var(--txt3);
  transition: all .18s; cursor: pointer; border: none; background: none; white-space: nowrap;
}
.product-tab:hover { color: var(--txt); background: var(--surface3); }
.product-tab.active { background: var(--surface); color: var(--blue-600); font-weight: 600; box-shadow: var(--shadow-sm); }
.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: tabIn .28s var(--ease) both; }
.dash-panel {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-lg); position: relative;
}
.dash-panel-toolbar {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.dash-panel-dots { display: flex; gap: 5px; }
.dash-panel-dot { width: 9px; height: 9px; border-radius: 50%; }
.dash-panel-title { font-size: 12px; font-weight: 500; color: var(--txt4); margin-left: 4px; flex: 1; }
.dash-inner {
  display: grid; padding: 14px; gap: 12px; grid-template-columns: 1fr;
}
@media(min-width: 640px) { .dash-inner { grid-template-columns: 1fr 1fr; } }
@media(min-width: 1024px) { .dash-inner { grid-template-columns: 1fr 1fr 1fr; } }
.dash-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 16px; box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease-spring), box-shadow .25s, border-color .25s;
}
.dash-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--border-s); }
.dash-card-label {
  font-size: 11px; font-weight: 600; color: var(--txt4);
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.dash-card-val {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px); font-weight: 700;
  letter-spacing: -.04em; color: var(--txt); line-height: 1;
}
.dash-card-sub { font-size: 11.5px; color: var(--txt4); margin-top: 5px; }
.dash-card-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: var(--r-full);
}
.prog-track-mini { height: 4px; border-radius: 4px; background: var(--surface3); overflow: hidden; margin-top: 12px; }
.prog-fill-mini { height: 100%; border-radius: 4px; width: 0%; transition: width 1.3s var(--ease-out); background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }
.chart-bars { display: flex; align-items: flex-end; gap: 3px; height: 40px; margin-top: 12px; }
.chart-bar { flex: 1; border-radius: 3px 3px 0 0; background: rgba(59,130,246,.18); transition: background .2s; }
.chart-bar:hover { background: var(--blue-500); }
.chart-bar.active { background: var(--blue-500); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; }
.cal-day {
  width: 100%; aspect-ratio: 1; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 600; color: var(--txt4); background: var(--surface2);
}
.cal-day.active { background: var(--blue-500); color: #fff; }
.cal-day.done { background: rgba(59,130,246,.15); color: var(--blue-600); }

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media(min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 24px 20px; box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-s); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-text { font-size: 13.5px; color: var(--txt2); line-height: 1.82; margin-bottom: 16px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 9px; max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; transition: border-color .18s, box-shadow .18s;
}
.faq-item:hover { border-color: var(--border-s); }
.faq-item.open { border-color: var(--border-s); box-shadow: var(--shadow-xs); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; text-align: left; gap: 12px; background: none; border: none; cursor: pointer;
}
.faq-q-text { font-size: 14px; font-weight: 600; color: var(--txt); transition: color .15s; }
.faq-item:hover .faq-q-text, .faq-item.open .faq-q-text { color: var(--blue-600); }
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface2); display: flex; align-items: center; justify-content: center;
  color: var(--txt4); flex-shrink: 0;
  transition: transform .26s var(--ease-spring), background .15s, color .15s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(59,130,246,.1); color: var(--blue-500); }
.faq-a { display: none; padding: 0 20px 16px; font-size: 13.5px; color: var(--txt3); line-height: 1.82; }
.faq-item.open .faq-a { display: block; animation: faqSlide .22s var(--ease) both; }

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-box {
  background: linear-gradient(140deg, #0F2057 0%, #1D4ED8 52%, #2563EB 100%);
  border-radius: var(--r-3xl); padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 64px);
  position: relative; overflow: hidden; text-align: center;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 65% 65% at 50% 0%, rgba(255,255,255,.07), transparent);
}
.cta-box::after {
  content: ''; position: absolute;
  width: 520px; height: 520px; border-radius: 50%;
  background: rgba(255,255,255,.03); right: -120px; bottom: -160px; pointer-events: none;
}
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-cta-primary {
  height: 50px; padding: 0 26px; border-radius: var(--r-xl);
  background: #fff; color: var(--blue-700); font-size: 15px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 22px rgba(0,0,0,.2); transition: all .24s var(--ease-spring); border: none;
}
.btn-cta-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 36px rgba(0,0,0,.28); }
.btn-cta-primary:active { transform: scale(.97); }
.btn-ghost-white {
  height: 50px; padding: 0 26px; border-radius: var(--r-xl);
  background: rgba(255,255,255,.1); color: #fff; font-size: 15px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.22);
  display: inline-flex; align-items: center; gap: 8px; transition: all .22s;
}
.btn-ghost-white:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); }
.btn-ghost-white:active { transform: scale(.97); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: clamp(40px, 5.5vw, 68px) 0 0; }
.footer-inner { max-width: var(--page-w); margin: 0 auto; padding: 0 var(--page-px); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 52px); margin-bottom: 44px;
}
@media(max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media(max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-link { font-size: 13px; color: var(--txt3); transition: color .15s; display: block; }
.footer-link:hover { color: var(--blue-500); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding: 18px 0; flex-wrap: wrap; gap: 10px;
}

/* ═══════════════════════════════════════════
   TOAST & BACK TO TOP
═══════════════════════════════════════════ */
#toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 11px 18px; box-shadow: var(--shadow-lg);
  font-size: 13.5px; color: var(--txt); font-weight: 500;
  display: none; align-items: center; gap: 10px;
  z-index: 9999; white-space: nowrap; opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease-out);
  max-width: calc(100vw - 40px);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-dot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
#back-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 42px; height: 42px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); color: var(--txt3);
  display: none; align-items: center; justify-content: center; transition: all .18s;
}
#back-top:hover { background: var(--blue-500); color: #fff; border-color: var(--blue-500); transform: translateY(-2px); box-shadow: var(--shadow-blue); }

/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE
═══════════════════════════════════════════ */
@media(max-width: 640px) {
  .hero-section { min-height: 100svh; padding-top: calc(var(--nav-h) + 20px); padding-bottom: 44px; }
  .hero-h1 { font-size: clamp(28px, 9vw, 38px); }
  .hero-sub { font-size: 14.5px; }
  .float-card { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-val { font-size: clamp(24px, 7.5vw, 32px); }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .product-tabs-bar { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; max-width: 100%; }
  .product-tabs-bar::-webkit-scrollbar { display: none; }
  .product-tab { padding: 6px 12px; font-size: 12px; }
  .cta-box { border-radius: var(--r-2xl); }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .btn-cta-primary, .btn-ghost-white { justify-content: center; width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-primary-outline { justify-content: center; width: 100%; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section { padding: clamp(44px, 9vw, 64px) 0; }
  .section-head { margin-bottom: 28px; }
  .steps-grid { gap: 20px; }
}
@media(min-width: 641px) and (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; max-width: 580px; margin: 0 auto; }
  .hero-right { order: -1; max-width: 460px; margin: 0 auto; }
  .hero-sub { margin: 0 auto 28px; }
  .hero-actions, .hero-trust, .hero-stats { justify-content: center; }
}
@media(max-width: 400px) {
  :root { --page-px: 14px; }
  .hero-h1 { font-size: 27px; }
  .feature-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
