/* ══════════════════════════════════════════════════════
   CUROVA AI — World-Class SaaS Landing Page
══════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────── */
:root {
  --blue-900: #0A2540;
  --blue-800: #0d3060;
  --blue-600: #1a56db;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --green-600: #059669;
  --green-500: #10b981;
  --green-50:  #ecfdf5;
  --ink:    #0f172a;
  --body:   #334155;
  --muted:  #64748b;
  --subtle: #94a3b8;
  --line:   #e2e8f0;
  --soft:   #f8fafc;
  --white:  #ffffff;
  --radius: 16px;
  --s1: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --s2: 0 4px 16px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.04);
  --s3: 0 20px 48px rgba(10,37,64,.10), 0 8px 20px rgba(10,37,64,.06);
  --s4: 0 32px 80px rgba(10,37,64,.16), 0 12px 32px rgba(10,37,64,.08);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input { font: inherit; cursor: pointer; border: none; outline: none; }
img { max-width: 100%; }

/* ── Utilities ─────────────────────────────────────── */
.container { width: min(1378px, calc(100% - 48px)); margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center;
  background: var(--blue-50); color: var(--blue-600);
  border: 1px solid var(--blue-100); border-radius: 999px;
  padding: 5px 14px; font-size: 13px; font-weight: 700;
  margin-bottom: 16px; letter-spacing: .02em;
}
.section-h2 {
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 900;
  letter-spacing: -1.5px; line-height: 1.08;
  color: var(--ink); margin-bottom: 18px;
}
.section-desc {
  font-size: 18px; color: var(--body); line-height: 1.7;
  max-width: 600px; margin-bottom: 56px;
}
.section-desc a { color: var(--blue-600); font-weight: 600; }
.text-gradient {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--green-500) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-600); color: var(--white);
  border-radius: 10px; padding: 0 20px; height: 42px;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 2px 12px rgba(26,86,219,.3);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-primary:hover { background: var(--blue-900); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(26,86,219,.35); }

/* ── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .25s, box-shadow .25s;
}
.nav-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: min(1378px, calc(100% - 48px)); margin: 0 auto;
  display: flex; align-items: center; gap: 24px; height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; color: var(--ink); }
.logo strong { color: var(--blue-600); }
.logo-icon-crop {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
  background: transparent;
}
.logo-image {
  width: 260px;
  max-width: none;
  display: block;
  transform: translate(-42px, -58px);
}
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 24px; }
.nav-link-cta { font-size: 14px; font-weight: 600; color: var(--blue-600); }
.nav-hamburger { display: none; background: none; font-size: 22px; color: var(--ink); }

/* Login button */
.btn-login {
  display: inline-flex; align-items: center;
  border: 1.5px solid; border-radius: 10px;
  padding: 0 16px; height: 38px;
  font-size: 14px; font-weight: 600;
  transition: background .15s, color .15s, border-color .15s;
}

/* Dark hero: make nav text readable on dark bg */
.nav:not(.nav-scrolled) .logo { color: #ffffff; }
.nav:not(.nav-scrolled) .logo strong { color: #93c5fd; }
.nav:not(.nav-scrolled) .nav-links a { color: rgba(255,255,255,.7); }
.nav:not(.nav-scrolled) .nav-links a:hover { color: #ffffff; }
.nav:not(.nav-scrolled) .nav-link-cta { color: rgba(255,255,255,.9); }
.nav:not(.nav-scrolled) .nav-hamburger { color: #ffffff; }
.nav:not(.nav-scrolled) .btn-login { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.35); }
.nav:not(.nav-scrolled) .btn-login:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }
.nav-scrolled .btn-login { color: var(--ink); border-color: var(--line); }
.nav-scrolled .btn-login:hover { background: var(--soft); }

/* ── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh; padding-top: 68px;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #020d1f 0%, #0a2540 55%, #0d3b5e 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  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;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.hero-glow.g1 {
  width: 700px; height: 500px;
  background: radial-gradient(circle, rgba(26,86,219,.35), transparent 70%);
  top: -80px; left: -100px;
}
.hero-glow.g2 {
  width: 500px; height: 400px;
  background: radial-gradient(circle, rgba(5,150,105,.25), transparent 70%);
  bottom: 0; right: -50px;
}
.hero-inner {
  position: relative; z-index: 1;
  width: min(1378px, calc(100% - 48px)); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding: 80px 0 60px;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.15); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; font-weight: 600;
  margin-bottom: 28px; backdrop-filter: blur(8px);
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green-500);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.hero h1 {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 900; line-height: 1.04; letter-spacing: -2px;
  color: white; margin-bottom: 24px;
}
.hero h1 .text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.72);
  max-width: 500px; margin-bottom: 36px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-500); color: white; border-radius: 12px;
  padding: 0 28px; height: 52px; font-size: 16px; font-weight: 700;
  box-shadow: 0 4px 20px rgba(16,185,129,.4);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-hero-primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(16,185,129,.5); }
.btn-hero-ghost {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.1); color: white; border-radius: 12px;
  padding: 0 28px; height: 52px; font-size: 16px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px);
  transition: background .15s, transform .15s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
  padding: 6px 12px; font-size: 13px; font-weight: 600;
}
.trust-chip span { color: var(--green-500); }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.phone-frame {
  width: 300px; background: #0a0a0f;
  border-radius: 42px; padding: 14px;
  box-shadow: var(--s4), 0 0 0 1px rgba(255,255,255,.07) inset;
  animation: floatPhone 5s ease-in-out infinite;
}
@keyframes floatPhone {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.phone-top-bar {
  height: 28px; display: flex; justify-content: center; align-items: center;
  margin-bottom: 8px;
}
.phone-camera {
  width: 10px; height: 10px; border-radius: 50%; background: #1a1a2a;
  border: 1px solid #333;
}
.phone-content { background: #ECE5DD; border-radius: 28px; overflow: hidden; }
.wa-topbar {
  background: #075E54; display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; color: white;
}
.wa-back { font-size: 22px; opacity: .8; }
.wa-pic {
  width: 34px; height: 34px; border-radius: 50%; background: #25D366;
  font-weight: 900; font-size: 15px; display: grid; place-items: center; flex-shrink: 0;
}
.wa-cname { font-size: 13px; font-weight: 700; }
.wa-online { font-size: 11px; color: rgba(255,255,255,.7); }
.wa-icons { margin-left: auto; font-size: 13px; letter-spacing: 6px; opacity: .8; }
.wa-chat { padding: 10px; display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow: hidden; }
.wa-date-chip {
  align-self: center; background: rgba(0,0,0,.12); color: #666;
  padding: 3px 10px; border-radius: 8px; font-size: 11px; font-weight: 600; margin-bottom: 4px;
}
.wa-bubble {
  max-width: 88%; padding: 8px 10px; border-radius: 8px;
  font-size: 12px; line-height: 1.45;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
}
.wa-bubble.bot { background: white; align-self: flex-start; border-radius: 0 8px 8px 8px; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.wa-bubble.user { background: #DCF8C6; align-self: flex-end; border-radius: 8px 0 8px 8px; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.wa-bubble.anim { animation: bubbleIn .5s ease forwards; animation-delay: var(--d, 0s); }
@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }
.wa-input-bar {
  background: white; display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-top: 1px solid #e5e5e5;
}
.wa-input-field { flex: 1; font-size: 12px; color: #999; }
.wa-send { color: #075E54; font-size: 16px; }

/* Floating cards */
.floating-card {
  position: absolute; background: white; border-radius: 14px;
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--s3); min-width: 200px;
  animation: floatCard 4s ease-in-out infinite;
}
.floating-card:nth-child(2) { animation-delay: -2s; }
.fc1 { right: -30px; top: 10%; }
.fc2 { left: -50px; bottom: 15%; }
.fc-icon { font-size: 24px; }
.fc-label { font-size: 11px; color: var(--muted); font-weight: 600; }
.fc-val { font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 2px; }
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.phone-shadow {
  position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 24px;
  background: radial-gradient(ellipse, rgba(0,0,0,.2), transparent 70%);
  filter: blur(8px);
}

/* Metrics bar */
.metrics-bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0; padding: 28px 24px;
  background: rgba(255,255,255,.05); border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.metric { text-align: center; padding: 0 40px; }
.metric strong { display: block; font-size: 36px; font-weight: 900; color: white; }
.metric span { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 2px; display: block; }
.metric-div { width: 1px; height: 48px; background: rgba(255,255,255,.1); }

/* ── PROBLEM ──────────────────────────────────────── */
.problem-section { padding: 100px 0; background: var(--soft); }
.problems-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.problem-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--s3); }
.prob-icon { font-size: 32px; margin-bottom: 14px; }
.problem-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.problem-card p { font-size: 14px; color: var(--body); line-height: 1.65; }

/* ── SOLUTION ─────────────────────────────────────── */
.solution-section { padding: 100px 0; background: white; border-top: 1px solid var(--line); }
.flow-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  background: var(--soft); border: 1px solid var(--line);
  border-radius: 20px; padding: 40px 32px;
}
.flow-step {
  text-align: center; padding: 0 24px; flex: 1; min-width: 160px;
}
.flow-icon { font-size: 36px; margin-bottom: 10px; }
.flow-label { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.flow-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }
.flow-arrow { color: var(--blue-500); padding: 0 4px; flex-shrink: 0; }

/* Comparison section */
.story-section {
  position: relative;
  padding: 84px 0 88px;
  background:
    radial-gradient(circle at 12% 18%, rgba(59,130,246,.14), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(34,211,238,.14), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  border-top: 1px solid rgba(148,163,184,.18);
  overflow: hidden;
}
.story-bg { position: absolute; inset: 0; pointer-events: none; }
.story-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: .85;
  animation: floatOrb 10s ease-in-out infinite;
}
.story-orb.orb-a {
  width: 220px; height: 220px; left: -40px; top: 28px;
  background: rgba(59,130,246,.12);
}
.story-orb.orb-b {
  width: 160px; height: 160px; right: 8%; top: 16px;
  background: rgba(34,211,238,.14);
  animation-delay: -3s;
}
.story-orb.orb-c {
  width: 180px; height: 180px; right: 12%; bottom: -50px;
  background: rgba(16,185,129,.10);
  animation-delay: -6s;
}
@keyframes floatOrb {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-14px,0) scale(1.06); }
}
.story-container { position: relative; z-index: 1; max-width: 1280px; }
.story-intro { max-width: 860px; margin-bottom: 26px; }
.story-badge { margin-bottom: 14px; padding: 5px 12px; font-size: 12px; }
.story-intro .section-h2 { margin-bottom: 14px; }
.story-intro .section-desc { max-width: 760px; margin-bottom: 0; }
.comparison-shell {
  display: grid;
  grid-template-columns: minmax(0,1fr) 170px minmax(0,1fr);
  gap: 18px;
  align-items: stretch;
}
.comparison-card {
  position: relative;
  border-radius: 28px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.22);
  box-shadow: 0 18px 44px rgba(15,23,42,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  animation: cardRise .7s ease both;
}
.comparison-before { animation-delay: .05s; }
.comparison-after { animation-delay: .2s; }
.comparison-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(15,23,42,.14); }
.comparison-before { background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,248,248,.92) 100%); }
.comparison-after {
  background: linear-gradient(135deg, rgba(8,31,60,.96) 0%, rgba(11,83,140,.94) 55%, rgba(11,148,169,.9) 100%);
  border-color: rgba(147,197,253,.18);
  box-shadow: 0 24px 54px rgba(8,47,73,.24), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.comparison-glow {
  position: absolute; inset: auto -20px -20px auto;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(34,211,238,.28), transparent 66%);
  pointer-events: none;
  filter: blur(4px);
}
.comparison-head { display: grid; gap: 14px; margin-bottom: 22px; }
.comparison-kicker { display: grid; gap: 10px; }
.comparison-kicker h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.comparison-before .comparison-kicker h3 { color: var(--ink); }
.comparison-after .comparison-kicker h3 { color: #fff; }
.comparison-note { font-size: 14px; line-height: 1.6; }
.comparison-before .comparison-note { color: var(--muted); }
.comparison-after .comparison-note { color: rgba(226,232,240,.82); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.status-risk { background: rgba(248,113,113,.12); color: #b91c1c; }
.status-success { background: rgba(16,185,129,.16); color: #bbf7d0; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
.comparison-list { display: grid; gap: 12px; }
.comparison-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.45;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.comparison-list li:hover { transform: translateX(3px); }
.comparison-before .comparison-list li {
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(248,113,113,.12);
  color: var(--ink);
}
.comparison-after .comparison-list li {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.09);
  color: #fff;
}
.comparison-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.comparison-icon svg { transition: transform .2s ease, stroke .2s ease; }
.comparison-list li:hover .comparison-icon svg { transform: scale(1.08); }
.icon-risk { background: rgba(248,113,113,.12); color: #ef4444; }
.icon-success { background: rgba(16,185,129,.14); color: #34d399; }
.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: center;
  padding: 18px 14px;
  border-radius: 24px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 14px 32px rgba(15,23,42,.08);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  backdrop-filter: blur(18px);
  animation: dividerRise .7s ease both .14s;
}
@keyframes cardRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dividerRise { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.divider-arrow {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: white;
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(37,99,235,.28);
  animation: dividerPulse 2.8s ease-in-out infinite;
}
@keyframes dividerPulse {
  0%,100% { transform: translateX(0); box-shadow: 0 10px 24px rgba(37,99,235,.28); }
  50% { transform: translateX(4px); box-shadow: 0 14px 28px rgba(34,211,238,.34); }
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  animation: kpiRise .7s ease both .28s;
}
.kpi-card {
  position: relative;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 14px 28px rgba(15,23,42,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.kpi-card:hover { transform: translateY(-4px); box-shadow: 0 22px 38px rgba(15,23,42,.12); border-color: rgba(37,99,235,.22); }
.kpi-card strong {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 8px;
}
.kpi-card span { display: block; font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--muted); }
@keyframes kpiRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ── DEMO ─────────────────────────────────────────── */
.dashboard-section {
  padding: 100px 0;
  background: white;
  border-top: 1px solid var(--line);
}
.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.dashboard-copy .section-desc { margin-bottom: 32px; }
.dashboard-points {
  display: grid;
  gap: 16px;
}
.dashboard-point {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}
.dashboard-point strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--ink);
}
.dashboard-point p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
}
.laptop-shell {
  position: relative;
}
.laptop-screen {
  background: linear-gradient(180deg, #153357 0%, #0d1f38 100%);
  border-radius: 28px 28px 18px 18px;
  padding: 14px;
  height: clamp(560px, 58vw, 760px);
  overflow: hidden;
  box-shadow: var(--s4);
}
.dashboard-preview-image {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0f172a;
  border-radius: 20px;
  object-fit: cover;
  object-position: top center;
}
.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  color: #e2e8f0;
}
.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 6px rgba(16,185,129,.12);
}
.dashboard-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(226,232,240,.75);
}
.top-chip {
  background: rgba(52,211,153,.16);
  color: #bbf7d0;
  border: 1px solid rgba(52,211,153,.28);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
}
.dashboard-body {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  margin-top: 14px;
}
.dashboard-sidebar {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  gap: 10px;
}
.sidebar-item {
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(226,232,240,.78);
  font-size: 13px;
  font-weight: 600;
}
.sidebar-item.active {
  background: rgba(59,130,246,.24);
  color: #ffffff;
}
.dashboard-main {
  background: #f8fafc;
  border-radius: 20px;
  padding: 18px;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.dash-stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.dash-stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.dash-stat strong {
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
}
.dashboard-panels {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
}
.dashboard-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.panel-head h4 {
  font-size: 15px;
  font-weight: 800;
}
.panel-head span {
  font-size: 12px;
  color: var(--muted);
}
.workflow-list,
.action-feed {
  display: grid;
  gap: 12px;
}
.workflow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.workflow-row strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.workflow-row span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.workflow-row b {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.status-booked {
  background: #dbeafe;
  color: #1d4ed8;
}
.status-waiting {
  background: #fef3c7;
  color: #b45309;
}
.status-confirmed {
  background: #dcfce7;
  color: #15803d;
}
.feed-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--soft);
  border-radius: 14px;
  padding: 12px;
}
.feed-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--body);
}
.feed-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}
.feed-icon.reply {
  background: #dbeafe;
  color: #1d4ed8;
}
.feed-icon.remind {
  background: #dcfce7;
  color: #15803d;
}
.feed-icon.alert {
  background: #ede9fe;
  color: #6d28d9;
}
.laptop-base {
  width: 82%;
  height: 16px;
  margin: 0 auto;
  background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 16px 30px rgba(15,23,42,.12);
}

.demo-section { padding: 100px 0; background: var(--soft); border-top: 1px solid var(--line); }
.demo-layout { display: grid; grid-template-columns: 420px 1fr; gap: 28px; align-items: start; }
.demo-phone-wrap {
  background: white; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; box-shadow: var(--s3);
}
.demo-wa-bar {
  background: #075E54; color: white;
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
}
.dp-pic {
  width: 44px; height: 44px; border-radius: 50%; background: #25D366;
  font-weight: 900; font-size: 18px; display: grid; place-items: center; flex-shrink: 0;
}
.dp-name { font-size: 16px; font-weight: 700; }
.dp-status { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 2px; }
.dp-chat {
  height: 420px; overflow-y: auto; padding: 16px;
  background: #ECE5DD; display: flex; flex-direction: column; gap: 10px;
}
.dp-chat .message {
  max-width: 88%; padding: 10px 13px; border-radius: 8px;
  font-size: 14px; line-height: 1.5; white-space: pre-line;
}
.dp-chat .message.agent { background: white; align-self: flex-start; border-radius: 0 8px 8px 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.dp-chat .message.user { background: #DCF8C6; align-self: flex-end; border-radius: 8px 0 8px 8px; }
.dp-chat .message.warning { background: #FEF2F2; border-left: 3px solid #ef4444; align-self: flex-start; }
.dp-chat .message.typing { background: white; align-self: flex-start; color: var(--muted); font-style: italic; }
.dp-form {
  display: grid; grid-template-columns: 44px 1fr 52px;
  gap: 8px; padding: 12px; background: white; border-top: 1px solid var(--line);
}
.dp-form button[type="button"] {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--soft); border: 1px solid var(--line);
  font-size: 18px; color: var(--muted); display: grid; place-items: center;
  transition: color .15s;
}
.dp-form button[type="button"]:hover { color: var(--blue-600); border-color: var(--blue-600); }
.dp-form input {
  height: 44px; border: 1px solid var(--line); border-radius: 10px;
  padding: 0 14px; font-size: 14px; transition: border-color .15s;
}
.dp-form input:focus { border-color: var(--blue-600); }
.dp-send {
  width: 52px; height: 44px; border-radius: 10px;
  background: var(--blue-600); color: white; font-size: 16px;
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(26,86,219,.3);
  transition: background .15s;
}
.dp-send:hover { background: var(--blue-900); }
.demo-side { display: flex; flex-direction: column; gap: 16px; }
.ds-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.ds-card h4 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.quick-list { display: flex; flex-direction: column; gap: 8px; }
.quick-list button {
  text-align: left; padding: 11px 14px;
  background: var(--soft); border: 1px solid var(--line);
  border-radius: 10px; font-size: 13.5px; color: var(--ink); font-weight: 500;
  transition: all .15s;
}
.quick-list button:hover { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-600); }
.ds-clinic { border-color: var(--blue-100); background: var(--blue-50); }
.ds-live { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--blue-600); margin-bottom: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); animation: pulse-dot 2s infinite; }
.ds-clinic h4 { font-size: 18px; margin-bottom: 4px; }
.ds-clinic p { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.ds-clinic ul li { font-size: 13px; color: var(--muted); padding: 2px 0; }
.ds-clinic ul li::before { content: "• "; color: var(--green-500); font-weight: 700; }
.ds-safety { display: flex; gap: 12px; align-items: flex-start; background: #FFFBEB; border-color: #FDE68A; }
.ds-safety span { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.ds-safety p { font-size: 13px; color: #92400E; line-height: 1.55; }

/* ── FEATURES ─────────────────────────────────────── */
.features-section { padding: 100px 0; background: white; border-top: 1px solid var(--line); }
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  grid-template-rows: auto auto;
}
.feat-card {
  background: var(--soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--s3); border-color: var(--blue-100); }
.feat-big {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--blue-50), white);
  border-color: var(--blue-100);
}
.feat-icon-lg { font-size: 40px; margin-bottom: 16px; }
.feat-icon { font-size: 30px; margin-bottom: 12px; }
.feat-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--body); line-height: 1.65; }
.feat-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.feat-chip-row span {
  background: var(--blue-100); color: var(--blue-600);
  border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700;
}

/* ── HOW IT WORKS ─────────────────────────────────── */
.how-section { padding: 100px 0; background: var(--soft); border-top: 1px solid var(--line); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--s3); }
.step-num {
  font-size: 13px; font-weight: 900; color: var(--blue-600);
  background: var(--blue-50); border-radius: 6px;
  padding: 3px 8px; display: inline-block; margin-bottom: 16px; letter-spacing: .06em;
}
.step-icon { font-size: 32px; margin-bottom: 12px; }
.step-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--body); line-height: 1.6; }

/* ── IMPACT ───────────────────────────────────────── */
.impact-section { padding: 100px 0; background: var(--blue-900); }
.impact-section .section-tag { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.15); }
.impact-section .section-h2 { color: white; }
.impact-section .section-h2 .text-gradient {
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.impact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.impact-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.impact-num { font-size: 48px; font-weight: 900; color: white; margin-bottom: 8px; letter-spacing: -1px; }
.impact-label { font-size: 16px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 8px; }
.impact-sub { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ── TESTIMONIALS ─────────────────────────────────── */
.testi-section { padding: 100px 0; background: white; border-top: 1px solid var(--line); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--s3); }
.testi-featured {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  border-color: transparent; color: white;
}
.testi-featured p { color: rgba(255,255,255,.85); }
.testi-featured .testi-author strong { color: white; }
.testi-featured .testi-author span { color: rgba(255,255,255,.6); }
.testi-stars { color: #FBBF24; font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card p { font-size: 15px; color: var(--body); line-height: 1.7; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-600), var(--green-500));
  color: white; font-weight: 900; font-size: 18px;
  display: grid; place-items: center;
}
.testi-author strong { display: block; font-size: 15px; font-weight: 700; }
.testi-author span { font-size: 13px; color: var(--muted); }

/* ── PRICING ──────────────────────────────────────── */
.pricing-section { padding: 100px 0; background: var(--soft); border-top: 1px solid var(--line); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan-card {
  background: white; border: 1.5px solid var(--line);
  border-radius: 20px; padding: 32px; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--s3); }
.plan-pop {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(26,86,219,.08), var(--s3);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue-600); color: white;
  border-radius: 999px; padding: 5px 18px;
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.plan-name { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.plan-price { font-size: 44px; font-weight: 900; color: var(--ink); letter-spacing: -1.5px; margin-bottom: 8px; }
.plan-price span { font-size: 20px; font-weight: 500; color: var(--muted); }
.plan-desc { font-size: 14px; color: var(--body); line-height: 1.6; margin-bottom: 24px; }
.plan-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-list li { font-size: 14px; color: var(--body); display: flex; align-items: center; gap: 10px; }
.plan-list li span { font-size: 15px; color: var(--green-500); font-weight: 700; flex-shrink: 0; }
.plan-list li.muted { color: var(--subtle); }
.plan-list li.muted span { color: var(--subtle); }
.btn-plan-primary {
  width: 100%; height: 48px; border-radius: 10px;
  background: var(--blue-600); color: white; font-size: 15px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(26,86,219,.3);
  transition: background .15s, transform .15s;
}
.btn-plan-primary:hover { background: var(--blue-900); transform: translateY(-1px); }
.btn-plan-outline {
  width: 100%; height: 48px; border-radius: 10px;
  border: 1.5px solid var(--line); background: white;
  color: var(--ink); font-size: 15px; font-weight: 700;
  transition: border-color .15s, color .15s;
}
.btn-plan-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }

/* ── FAQ ──────────────────────────────────────────── */
.faq-section { padding: 100px 0; background: white; border-top: 1px solid var(--line); }
.faq-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; background: none;
  font-size: 16px; font-weight: 700; color: var(--ink); text-align: left;
  transition: color .15s;
}
.faq-q:hover { color: var(--blue-600); }
.faq-q span { font-size: 24px; color: var(--muted); transition: transform .25s, color .15s; font-weight: 300; flex-shrink: 0; }
.faq-item.open .faq-q { color: var(--blue-600); }
.faq-item.open .faq-q span { transform: rotate(45deg); color: var(--blue-600); }
.faq-a {
  font-size: 15px; color: var(--body); line-height: 1.7;
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }

/* ── FINAL CTA ────────────────────────────────────── */
.cta-section {
  padding: 100px 24px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0a1628, #0a2540, #0d3b5e);
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-glow {
  position: absolute; width: 800px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,.3), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  filter: blur(80px);
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 900;
  color: white; letter-spacing: -2px; line-height: 1.05; margin-bottom: 20px;
}
.cta-inner p { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 36px; line-height: 1.6; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.btn-cta-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--ink); border-radius: 12px;
  padding: 0 32px; height: 54px; font-size: 16px; font-weight: 800;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: transform .15s, box-shadow .15s;
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,0,0,.3); }
.btn-cta-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: white; border-radius: 12px;
  padding: 0 32px; height: 54px; font-size: 16px; font-weight: 700;
  border: 1.5px solid rgba(255,255,255,.3);
  transition: background .15s, transform .15s;
}
.btn-cta-outline:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.cta-note { font-size: 13px; color: rgba(255,255,255,.45); }

/* ── FOOTER ───────────────────────────────────────── */
.footer { background: var(--ink); padding: 64px 0 0; }
.footer-inner {
  width: min(1378px, calc(100% - 48px)); margin: 0 auto;
  display: grid; grid-template-columns: 280px 1fr;
  gap: 64px; padding-bottom: 64px;
}
.footer-brand .logo { color: white; margin-bottom: 14px; }
.footer-brand .logo strong { color: var(--blue-500); }
.footer-brand .logo-icon-crop {
  width: 52px;
  height: 52px;
}
.footer-brand .logo-image {
  width: 292px;
  transform: translate(-48px, -64px);
}
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.65; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
  transition: background .15s;
}
.footer-social a:hover { background: rgba(255,255,255,.16); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  width: min(1378px, calc(100% - 48px)); margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: rgba(255,255,255,.35);
}

/* ── Scroll reveal ────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.revealed { opacity: 1; transform: translateY(0); }
.problem-card:nth-child(1).revealed { transition-delay: .05s; }
.problem-card:nth-child(2).revealed { transition-delay: .10s; }
.problem-card:nth-child(3).revealed { transition-delay: .15s; }
.problem-card:nth-child(4).revealed { transition-delay: .20s; }
.problem-card:nth-child(5).revealed { transition-delay: .25s; }
.problem-card:nth-child(6).revealed { transition-delay: .30s; }
.feat-card:nth-child(1).revealed { transition-delay: .05s; }
.feat-card:nth-child(2).revealed { transition-delay: .10s; }
.feat-card:nth-child(3).revealed { transition-delay: .15s; }
.feat-card:nth-child(4).revealed { transition-delay: .20s; }
.feat-card:nth-child(5).revealed { transition-delay: .25s; }
.feat-card:nth-child(6).revealed { transition-delay: .30s; }
.feat-card:nth-child(7).revealed { transition-delay: .35s; }
.feat-card:nth-child(8).revealed { transition-delay: .40s; }
.dashboard-point:nth-child(1).revealed { transition-delay: .05s; }
.dashboard-point:nth-child(2).revealed { transition-delay: .10s; }
.dashboard-point:nth-child(3).revealed { transition-delay: .15s; }
.laptop-shell.revealed { transition-delay: .20s; }

/* ── Mobile nav drawer ────────────────────────────── */
.mobile-menu {
  display: none; position: fixed;
  top: 68px; left: 0; right: 0; z-index: 199;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 8px 24px 20px;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 14px 0;
  font-size: 15px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .mm-login {
  margin-top: 14px; display: block; width: 100%;
  background: var(--blue-600); color: white;
  border-radius: 12px; padding: 14px;
  font-size: 15px; font-weight: 700; text-align: center;
  border: none; cursor: pointer;
}
.mobile-menu .mm-book {
  margin-top: 8px; display: block; width: 100%;
  background: var(--soft); color: var(--ink);
  border-radius: 12px; padding: 14px;
  font-size: 15px; font-weight: 600; text-align: center;
  border: 1.5px solid var(--line); cursor: pointer;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 60px 0 40px; }
  .hero-content { max-width: 600px; margin: 0 auto; }
  .hero-desc { max-width: 100%; }
  .trust-row { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-copy { max-width: 760px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-shell { grid-template-columns: 1fr; }
  .comparison-divider {
    order: 2;
    width: 100%;
    justify-content: center;
  }
  .comparison-after { order: 3; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-link-cta { display: none; }
  .nav-actions { display: none; }   /* hide desktop buttons — they're in mobile menu */
  .nav-hamburger { display: flex; }
  .problems-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-big { grid-column: span 1; }
  .testi-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .dashboard-body { grid-template-columns: 1fr; }
  .dashboard-sidebar { grid-template-columns: repeat(3, 1fr); }
  .dashboard-panels { grid-template-columns: 1fr; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .laptop-screen { height: clamp(520px, 110vw, 680px); }
  .demo-layout { grid-template-columns: 1fr; }
  .section-h2 { font-size: 28px; letter-spacing: -1px; }
  .metrics-bar { gap: 16px; }
  .metric { padding: 0 20px; }
  .metric strong { font-size: 28px; }
  .flow-wrap { flex-direction: column; gap: 16px; }
  .flow-arrow { transform: rotate(90deg); }
  .story-section { padding: 72px 0 76px; }
  .comparison-card { padding: 22px; border-radius: 24px; }
  .comparison-list li { font-size: 14px; padding: 12px 13px; }
  .kpi-grid { gap: 12px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .section-desc { font-size: 16px; }
  .dashboard-point { padding: 16px; }
  .dashboard-sidebar { grid-template-columns: 1fr 1fr; }
  .workflow-row { flex-direction: column; align-items: flex-start; }
  .laptop-screen { padding: 10px; border-radius: 22px 22px 16px 16px; height: clamp(500px, 135vw, 640px); }
  .dashboard-preview-image { border-radius: 14px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .comparison-divider { flex-direction: column; gap: 8px; padding: 16px 12px; }
  .divider-arrow { width: 38px; height: 38px; font-size: 20px; }
  .metrics-bar { flex-direction: column; gap: 0; }
  .metric-div { width: 60px; height: 1px; background: rgba(255,255,255,.1); margin: 0 auto; }
  .metric { padding: 16px 0; }
  .quick-list button { font-size: 13px; padding: 10px 12px; }
  /* Larger tap targets on mobile */
  .faq-q { padding: 18px 0; min-height: 48px; }
  .dp-form input { font-size: 16px; } /* prevent iOS zoom on focus */
  .footer-links { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}
