/* ═══════════════════════════════════════════════════════
   CarePilot — Dark SaaS Design System
   Background: #020617  |  Card: #0E1223
   Cyan: #0891B2        |  Emerald: #059669
   Font: Inter (UI)     |  JetBrains Mono (data/stats)
═══════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────── */
:root {
  --bg:              #020617;
  --bg-card:         #0E1223;
  --bg-glass:        rgba(14, 18, 35, 0.60);
  --bg-glass-strong: rgba(14, 18, 35, 0.80);

  --cyan:            #0891B2;
  --cyan-light:      #22D3EE;
  --cyan-dim:        #0E7490;
  --cyan-glow:       rgba(8, 145, 178, 0.18);
  --cyan-border:     rgba(8, 145, 178, 0.28);

  --emerald:         #059669;
  --emerald-light:   #34D399;
  --emerald-dim:     #047857;
  --emerald-glow:    rgba(5, 150, 105, 0.14);
  --emerald-border:  rgba(5, 150, 105, 0.28);

  --amber:           #F59E0B;
  --amber-light:     #FCD34D;

  --text-head:  #F1F5F9;
  --text-body:  rgba(241, 245, 249, 0.72);
  --text-muted: rgba(241, 245, 249, 0.45);

  --border:       rgba(255, 255, 255, 0.08);
  --border-mid:   rgba(255, 255, 255, 0.12);
  --border-hover: rgba(8, 145, 178, 0.30);

  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset,
                 0 24px 48px rgba(0, 0, 0, 0.40);
  --shadow-glow: 0 0 40px rgba(8, 145, 178, 0.20);

  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-pill: 999px;
}

/* ── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 5%,  rgba(8, 145, 178, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 15%, rgba(5, 150, 105, 0.07) 0%, transparent 55%);
  background-attachment: fixed;
  color: var(--text-head);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan-light);
  outline-offset: 3px;
  border-radius: 3px;
}

button, input { font: inherit; }
main { overflow: clip; }

/* ── Progress Bar ──────────────────────────────────── */
.progress-bar {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan), var(--emerald-light));
  z-index: 100;
}

/* ── Layout Helpers ────────────────────────────────── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ── Section Header ────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.85rem;
}

.section-header h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-head);
}

.section-sub {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 280ms ease, border-color 280ms ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.nav.is-scrolled {
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

/* Logo */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-light) 0%, var(--emerald-light) 100%);
  box-shadow: 0 0 16px rgba(8, 145, 178, 0.55);
  flex-shrink: 0;
}

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-head);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(241, 245, 249, 0.68);
}

.nav-links a {
  position: relative;
  transition: color 150ms ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 1px;
  background: var(--cyan-light);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 180ms ease;
}
.nav-links a:hover             { color: var(--text-head); }
.nav-links a:hover::after      { transform: scaleX(1); }

/* Nav CTA */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.575rem 1.1rem;
  background: var(--cyan);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  flex-shrink: 0;
}
.btn-nav-cta:hover {
  background: var(--cyan-dim);
  box-shadow: 0 0 24px var(--cyan-glow);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

/* Grid background overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem clamp(1.25rem, 4vw, 3rem) 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

/* Hero copy */
.hero-content {
  max-width: 560px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  background: rgba(5, 150, 105, 0.10);
  border: 1px solid var(--emerald-border);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald-light);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.80);
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* Headline */
.hero-headline {
  margin: 0 0 1.35rem;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--text-head);
}

.text-gradient {
  background: linear-gradient(135deg, var(--cyan-light) 0%, var(--cyan) 45%, var(--emerald-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subheadline */
.hero-sub {
  margin: 0 0 2rem;
  font-size: 1.025rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 500px;
}

/* CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--cyan);
  color: #fff;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.btn-primary:hover {
  background: var(--cyan-dim);
  box-shadow: 0 0 32px var(--cyan-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-mid);
  color: rgba(241, 245, 249, 0.88);
  font-size: 0.925rem;
  font-weight: 500;
  border-radius: var(--r-pill);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* Trust chips */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.trust-chip svg { color: var(--emerald-light); flex-shrink: 0; }

/* ── Hero Visual (dashboard card) ────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.dash-card {
  width: 100%;
  max-width: 340px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  box-shadow:
    0 0 0 1px rgba(8, 145, 178, 0.06),
    0 32px 64px rgba(0, 0, 0, 0.50);
  animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-8px);  }
}

.dash-topbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.dash-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.75);
  animation: pulse-dot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

.dash-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  flex: 1;
}

.dash-chip {
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.55);
  letter-spacing: 0.07em;
}
.dash-chip--dap {
  background: rgba(8, 145, 178, 0.12);
  border-color: var(--cyan-border);
  color: var(--cyan-light);
}

.dash-metric { margin-bottom: 0.75rem; }

.dash-big {
  font-size: 2.65rem;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.045em;
  line-height: 1;
}

.dash-unit {
  font-size: 1.5rem;
  color: var(--cyan-light);
  margin-left: 1px;
}

.dash-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.dash-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.dash-track-fill {
  height: 100%;
  width: 98.7%;
  background: linear-gradient(90deg, var(--cyan), var(--emerald-light));
  border-radius: 2px;
  transform-origin: 0 50%;
  animation: track-grow 1.8s cubic-bezier(0.16,1,0.3,1) 0.5s both;
}
@keyframes track-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.dash-rows { display: grid; gap: 0; }
.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 0.83rem;
}
.dash-row:last-child { border-bottom: none; padding-bottom: 0; }
.dash-row span  { color: var(--text-muted); }
.dash-row strong { font-weight: 600; color: var(--text-head); }

.text-amber   { color: var(--amber-light) !important; }
.text-emerald { color: var(--emerald-light) !important; }

/* Floating tags */
.float-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  background: rgba(14, 18, 35, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(241, 245, 249, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.float-tag--a {
  bottom: -1.5rem;
  right: -1rem;
  animation: float-a 5s ease-in-out 1s infinite;
}
.float-tag--b {
  top: 1.5rem;
  left: -3rem;
  animation: float-b 5.5s ease-in-out 0.5s infinite;
}
.float-tag--c {
  top: 48%;
  right: -3.5rem;
  animation: float-a 5.8s ease-in-out 1.8s infinite;
}
@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}
.icon-cyan    { color: var(--cyan-light);    flex-shrink: 0; }
.icon-emerald { color: var(--emerald-light); flex-shrink: 0; }
.icon-amber   { color: var(--amber-light);   flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════ */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(14, 18, 35, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stats-inner {
  display: flex;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.stat {
  flex: 1;
  padding: 2.5rem 2rem;
  text-align: center;
}

.stat-sep {
  width: 1px;
  background: var(--border);
  margin: 1.5rem 0;
  flex-shrink: 0;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
}
.stat-value--icon  { align-items: center;  }
.stat-value--badge { align-items: center;  }

.stat-num {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--cyan-light);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-pct {
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cyan);
}
.stat-word {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--cyan-light);
  letter-spacing: -0.02em;
}
.stat-value--icon svg {
  color: var(--cyan-light);
  margin-right: 0.15rem;
}

.stat-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background: rgba(5, 150, 105, 0.14);
  border: 1px solid var(--emerald-border);
  border-radius: 50%;
  color: var(--emerald-light);
  margin-right: 0.4rem;
}

.stat-label {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   FEATURES GRID
═══════════════════════════════════════════════════ */
.features-section {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.fc {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
  display: flex;
  flex-direction: column;
}

/* Subtle inner gradient on hover */
.fc::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(8,145,178,0.05) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}
.fc:hover {
  border-color: rgba(8, 145, 178, 0.28);
  box-shadow: 0 0 0 1px rgba(8,145,178,0.08), 0 20px 48px rgba(0,0,0,0.32);
  transform: translateY(-3px);
}
.fc:hover::after { opacity: 1; }

/* Icon */
.fc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: var(--r-md);
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}
.fc-icon--cyan {
  background: rgba(8, 145, 178, 0.12);
  border: 1px solid var(--cyan-border);
  color: var(--cyan-light);
}
.fc-icon--emerald {
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-light);
}
.fc-icon--amber {
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.22);
  color: var(--amber-light);
}
.fc-icon--violet {
  background: rgba(139, 92, 246, 0.10);
  border: 1px solid rgba(139, 92, 246, 0.22);
  color: #a78bfa;
}

.fc h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.02em;
}
.fc p {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.68;
  color: var(--text-body);
  flex: 1;
}
.fc-tag {
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  align-self: flex-start;
  margin-top: auto;
}

/* ═══════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════ */
.how-section {
  padding: 6rem 0;
  background:
    linear-gradient(180deg,
      transparent 0%,
      rgba(14, 18, 35, 0.30) 30%,
      rgba(14, 18, 35, 0.30) 70%,
      transparent 100%
    );
}

.steps-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Connecting line */
.steps-line {
  position: absolute;
  top: 3.55rem;
  left:  calc(16.66% + 2rem);
  right: calc(16.66% + 2rem);
  height: 1px;
  background: rgba(8, 145, 178, 0.18);
  overflow: hidden;
  border-radius: 1px;
}
.steps-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: line-scan 3s ease-in-out infinite;
}
@keyframes line-scan {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Step */
.step { text-align: center; padding: 0 0.75rem; }

.step-icon-wrap {
  position: relative;
  display: inline-flex;
  margin-bottom: 1.5rem;
}
.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--cyan-border);
  border-radius: var(--r-lg);
  color: var(--cyan-light);
  box-shadow: 0 0 20px rgba(8, 145, 178, 0.12);
}
.step-num {
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  width: 1.45rem;
  height: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 50%;
  border: 2px solid var(--bg);
}
.step h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.025em;
}
.step p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* ═══════════════════════════════════════════════════
   TRUST / SOCIAL PROOF
═══════════════════════════════════════════════════ */
.trust-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.trust-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw; height: 70vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(5,150,105,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.trust-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4.5rem;
  align-items: center;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  position: relative;
}

.trust-badge-col { display: flex; justify-content: center; }

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 9.5rem;
  height: 9.5rem;
  background: linear-gradient(135deg, rgba(5,150,105,0.14), rgba(5,150,105,0.05));
  border: 1px solid var(--emerald-border);
  border-radius: 50%;
  color: var(--emerald-light);
  gap: 0.5rem;
  box-shadow:
    0 0 40px rgba(5,150,105,0.10),
    inset 0 1px 0 rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.trust-badge span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: center;
  line-height: 1.5;
}

.trust-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-head);
  line-height: 1.15;
}
.trust-copy > p {
  margin: 0 0 2rem;
  font-size: 0.925rem;
  line-height: 1.72;
  color: var(--text-body);
  max-width: 560px;
}

.trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: rgba(241, 245, 249, 0.80);
}
.trust-item svg { color: var(--emerald-light); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════ */
.pricing-section { padding: 6rem 0 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto 5rem;
}

/* Pricing card */
.pc {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pc--pro {
  border-color: var(--cyan-border);
  box-shadow: 0 0 0 1px rgba(8,145,178,0.06), 0 32px 64px rgba(0,0,0,0.38);
}

.pc-popular-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.9rem;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: #fff;
  font-size: 0.70rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(8,145,178,0.30);
}

.pc-head {
  margin-bottom: 1.5rem;
}
.pc-head h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-head);
}
.pc-head p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}

.pc-price {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  margin-bottom: 0.5rem;
}
.pc-cur {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  align-self: flex-start;
  margin-top: 0.5rem;
}
.pc-amt {
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.05em;
  line-height: 1;
}

.pc-timing {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.pc-timing svg { flex-shrink: 0; }

.pc-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  flex: 1;
}
.pc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: rgba(241,245,249,0.82);
  line-height: 1.5;
}
.pc-list li svg { color: var(--emerald-light); flex-shrink: 0; margin-top: 2px; }

.btn-outline-full {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border-mid);
  color: rgba(241,245,249,0.85);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  margin-top: auto;
}
.btn-outline-full:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

.btn-primary-full {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--cyan);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  margin-top: auto;
}
.btn-primary-full:hover {
  background: var(--cyan-dim);
  box-shadow: 0 0 28px var(--cyan-glow);
  transform: translateY(-1px);
}

/* ── Waitlist block ────────────────────────────── */
.waitlist-block {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: start;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-top-color: rgba(8, 145, 178, 0.22);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 3.5rem;
}

.waitlist-copy h3 {
  margin: 0.75rem 0 0.85rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-head);
  line-height: 1.18;
}
.waitlist-copy > p {
  margin: 0 0 1.25rem;
  font-size: 0.925rem;
  line-height: 1.72;
  color: var(--text-body);
}

.waitlist-proof {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.waitlist-proof svg { color: var(--cyan-light); flex-shrink: 0; }

/* Form */
.waitlist-form {
  display: grid;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.waitlist-form label {
  display: grid;
  gap: 0.45rem;
}
.waitlist-form label span {
  font-size: 0.80rem;
  font-weight: 600;
  color: rgba(241,245,249,0.72);
}
.waitlist-form label em {
  color: var(--cyan-light);
  font-style: normal;
}
.waitlist-form input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  color: var(--text-head);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.waitlist-form input::placeholder { color: rgba(241,245,249,0.28); }
.waitlist-form input:focus {
  border-color: rgba(8,145,178,0.42);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.10);
  background: rgba(255,255,255,0.06);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: var(--cyan);
  color: #fff;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: fit-content;
}
.btn-submit:hover {
  background: var(--cyan-dim);
  box-shadow: 0 0 32px var(--cyan-glow);
  transform: translateY(-1px);
}
.btn-submit:disabled {
  opacity: 0.60;
  pointer-events: none;
}

.form-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.form-status {
  margin: 0;
  font-size: 0.875rem;
  min-height: 1.25em;
}
.form-status[data-state="success"] { color: var(--emerald-light); }
.form-status[data-state="error"]   { color: #fca5a5; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.88);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.footer-nav a { transition: color 150ms ease; }
.footer-nav a:hover { color: rgba(241,245,249,0.80); }
.footer-copy {
  margin: 0;
  font-size: 0.80rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   HAMBURGER + MOBILE MENU
═══════════════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 180ms ease;
}
.nav-hamburger:hover { border-color: var(--border-mid); }

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-head);
  border-radius: 1px;
  transition: transform 220ms ease, opacity 180ms ease;
  transform-origin: center;
}
/* X state */
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown panel (inside <header> so top:100% works) */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(2, 6, 23, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1.25rem, 4vw, 2rem) 1.5rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 200ms ease;
  /* hidden by default without JS — aria-hidden handles accessibility */
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding-top: 0.25rem;
}
.mobile-menu nav a {
  display: flex;
  align-items: center;
  padding: 0.9rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(241, 245, 249, 0.78);
  border-bottom: 1px solid var(--border);
  transition: color 150ms ease;
}
.mobile-menu nav a:last-child { border-bottom: none; }
.mobile-menu nav a:hover { color: var(--text-head); }

.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */

/* ── Tablet (≤1024px) ─────────────────────────────── */
@media (max-width: 1024px) {

  /* Hero: single column */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
    padding-bottom: 4rem;
    gap: 3rem;
  }
  .hero-content  { max-width: 620px; margin: 0 auto; }
  .hero-sub      { margin-inline: auto; max-width: 540px; }
  .hero-ctas,
  .hero-trust,
  .hero-badge    { justify-content: center; }
  .hero-visual   { justify-content: center; margin: 0 auto; }
  .float-tag--b  { left: -1rem; }
  .float-tag--c  { right: -1rem; top: auto; bottom: -1.5rem; }

  /* Features: 2 col */
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Trust: single column */
  .trust-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .trust-badge-col { justify-content: center; }
  .trust-list      {
    grid-template-columns: 1fr 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .trust-item      { justify-content: flex-start; }
  .trust-copy > p  { margin-inline: auto; }

  /* Waitlist: single column */
  .waitlist-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .waitlist-copy  { text-align: center; }
  .waitlist-proof { justify-content: center; }
}

/* ── Mobile (≤768px) ──────────────────────────────── */
@media (max-width: 768px) {

  /* Nav: show hamburger, hide desktop links & demo CTA */
  .nav-links  { display: none; }
  .btn-nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero: hide the dashboard visual to keep it clean */
  .hero-visual { display: none; }
  .hero-container {
    min-height: calc(100svh - 68px);
    padding-top: 6rem;
    padding-bottom: 3rem;
    align-items: flex-start;
    padding-top: 5.5rem;
  }

  /* Stats: stack vertically */
  .stats-inner { flex-direction: column; }
  .stat-sep    { width: 100%; height: 1px; margin: 0; }
  .stat        { padding: 1.5rem clamp(1.25rem, 4vw, 2rem); }
  .stat-num    { font-size: 2.25rem; }
  .stat-word   { font-size: 1.35rem; }

  /* Features: single column */
  .features-grid { grid-template-columns: 1fr; }

  /* How it works: stack + center-align */
  .steps-wrap        { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps-line        { display: none; }
  .step              { text-align: center; }
  .step-icon-wrap    { display: flex; justify-content: center; }

  /* Trust */
  .trust-card  { padding: 2rem 1.5rem; gap: 2rem; }
  .trust-list  { grid-template-columns: 1fr; max-width: 320px; }
  .trust-item  { justify-content: center; }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
    margin-bottom: 3rem;
  }
  .pc--pro { margin-top: 0.75rem; } /* extra gap for the popular badge */

  /* Waitlist form */
  .form-row          { grid-template-columns: 1fr; }
  .btn-submit        { width: 100%; justify-content: center; }
  .waitlist-block    { padding: 2.5rem 1.5rem; border-radius: var(--r-xl); }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  /* Section headers */
  .section-header { margin-bottom: 2.75rem; }
  .waitlist-copy h3 { font-size: clamp(1.35rem, 5vw, 1.75rem); }
}

/* ── Mobile small (≤480px) ────────────────────────── */
@media (max-width: 480px) {

  .hero-headline { font-size: clamp(2rem, 9.5vw, 2.5rem); }
  .hero-sub      { font-size: 0.95rem; }

  .hero-badge    { font-size: 0.72rem; }
  .trust-chip    { font-size: 0.72rem; }

  .section-header h2 { font-size: clamp(1.55rem, 7vw, 2rem); }

  /* Stats */
  .stat      { padding: 1.25rem 1rem; }
  .stat-num  { font-size: 2rem; }

  /* Feature cards */
  .fc        { padding: 1.4rem; }

  /* Step icons */
  .step-icon { width: 3.25rem; height: 3.25rem; }

  /* Pricing */
  .pc                 { padding: 1.75rem 1.25rem; }
  .pc-popular-badge   { font-size: 0.65rem; }
  .pc-amt             { font-size: 2.5rem; }

  /* Waitlist block */
  .waitlist-block { padding: 2rem 1.25rem; }
  .btn-submit     { font-size: 0.875rem; }

  /* Trust badge */
  .trust-badge { width: 8rem; height: 8rem; }

  /* Footer */
  .footer-nav { gap: 1rem; font-size: 0.82rem; }
  .logo-text  { font-size: 0.9rem; }
}

/* ── Reduced motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration:  0.01ms !important;
    animation-delay:     0ms    !important;
    transition-duration: 0.01ms !important;
    transition-delay:    0ms    !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
