/* ============================================================
   HealthHelp AI — Landing Page
   Design: white-first, dark-blue brand gradient
   Font: Inter (Google Fonts)
   EHR: works with all major home-health EHRs
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-a: #081A3A;
  --blue-b: #0B2F6A;
  --blue-c: #124AA3;
  --grad: linear-gradient(135deg, #081A3A, #0B2F6A, #124AA3);
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --teal: #0d9488;
  --amber: #d97706;
  --danger: #dc2626;
  --text: #0b1b34;
  --muted: #5b6b83;
  --border: #e6e8ee;
  --base: #fff;
  --subtle: #f9fafb;
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-2xl: 22px;
  --sh-sm: 0 1px 3px rgba(0,0,0,.06);
  --sh-md: 0 4px 14px rgba(0,0,0,.08);
  --sh-lg: 0 12px 36px rgba(0,0,0,.10);
  --sh-xl: 0 20px 56px rgba(0,0,0,.12);
  --t: all .17s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--base);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.bg-subtle { background: var(--subtle); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; font-size: 14px; font-weight: 600;
  border-radius: var(--r-lg); border: 2px solid transparent;
  transition: var(--t); cursor: pointer; white-space: nowrap;
}
.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: var(--r-xl); }
.btn-block { display: flex; justify-content: center; width: 100%; }

.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 16px rgba(8,26,58,.30); }
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(8,26,58,.40); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: #b0bac9; background: var(--subtle); }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.65); }

.btn-white { background: #fff; color: var(--blue-a); box-shadow: var(--sh-md); }
.btn-white:hover { background: #f5f8ff; transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn-ghost:hover { color: var(--text); background: var(--subtle); }

/* ── Section shared ── */
.section { padding: 96px 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }

.chip {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--blue-600); background: rgba(37,99,235,.08);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}

.sh2 {
  font-size: clamp(26px, 4vw, 40px); font-weight: 800;
  color: var(--text); line-height: 1.18; letter-spacing: -.022em;
  margin-bottom: 14px;
}
.sh2.left { text-align: left; }

.sp {
  font-size: 17px; color: var(--muted); line-height: 1.72;
  max-width: 620px; margin: 0 auto;
}
.sp.left { text-align: left; margin-left: 0; }

/* gradient text */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}


/* ══════════════════════════════
   NAV
══════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230,232,238,.55);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 2px 18px rgba(0,0,0,.07); }

.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; position: relative; }

.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; color: var(--text); flex-shrink: 0; }
.nav-logo:hover { opacity: .8; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 6px; flex: 1; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--muted); padding: 6px 11px; border-radius: var(--r-md); transition: var(--t); }
.nav-link:hover { color: var(--text); background: var(--subtle); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }

.nav-login-hidden { display: none !important; }

.nav-mobile-actions { display: none; list-style: none; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; margin-left: auto; flex-shrink: 0; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--t); }


/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 72px; overflow: visible;
}
.hero-bg { position: absolute; inset: 0; background: linear-gradient(158deg, #f0f4ff 0%, #fff 42%, #f8faff 100%); }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(37,99,235,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.5) 18%, rgba(0,0,0,.5) 82%, transparent);
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

/* badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--blue-600);
  background: rgba(37,99,235,.07); border: 1px solid rgba(37,99,235,.16);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }

.hero-heading {
  font-size: clamp(38px, 5.5vw, 66px); font-weight: 800;
  line-height: 1.08; letter-spacing: -.03em; color: var(--text); margin-bottom: 20px;
}
.hero-sub { font-size: 17px; line-height: 1.72; color: var(--muted); max-width: 510px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }

.hero-trust { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: rgba(255,255,255,.7); border: 1px solid var(--border);
  padding: 5px 11px; border-radius: 999px;
}

/* Hero benefit list (pamphlet-aligned) */
.hero-benefits {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px;
  margin: 0; padding: 0; list-style: none;
}
.hero-benefits li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.hero-benefit-icon {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(13,148,136,.12); color: var(--teal); flex-shrink: 0;
}

/* Pamphlet tagline bar */
.tagline-bar {
  background: var(--grad);
  padding: 18px 0;
  text-align: center;
}
.tagline-bar p {
  font-size: clamp(13px, 2.5vw, 15px);
  font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #fff;
  margin: 0;
}

.mockup-wrap {
  width: 100%; max-width: 640px;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(230,232,238,.8);
  background: #f1f5fb;
}

.browser-bar {
  background: #e8edf3; padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.b-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.b-red { background: #ff5f56; } .b-yellow { background: #ffbd2e; } .b-green { background: #27c93f; }
.b-url {
  flex: 1; background: #fff; border-radius: 5px; padding: 4px 10px;
  font-size: 11px; color: #6b7280; font-family: monospace;
  border: 1px solid #dde2ea; opacity: .8;
}

/* ── Hero Animated Demo ── */
.hero-demo-wrap {
  position: relative; width: 100%;
}
.hero-demo-stage {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(0,0,0,.07);
  background: #fff;
}

/* Compliance Check overlay (pamphlet pattern) */
.compliance-check-card {
  position: absolute; top: 48px; left: 12px; z-index: 15;
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px;
  box-shadow: var(--sh-md);
  max-width: 168px;
  pointer-events: none;
}
.cc-title {
  font-size: 10px; font-weight: 700; color: var(--text);
  margin-bottom: 8px; letter-spacing: .02em;
}
.cc-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.cc-list li {
  display: flex; align-items: center; gap: 6px;
  font-size: 9.5px; font-weight: 600; color: #374151;
}
.cc-check {
  display: flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: #dcfce7; color: #16a34a; flex-shrink: 0;
}
.hero-demo-bar {
  background: #e8edf3; border-bottom: 1px solid #d8dde8;
  padding: 9px 14px; display: flex; align-items: center; gap: 8px;
}
/* Fixed height so opening the extension panel never resizes the mockup */
.hero-demo-body {
  display: flex; position: relative;
  height: 420px; min-height: 420px; max-height: 420px;
  overflow: hidden;
}

/* Hero EHR chart — full width; extension overlays without resizing the page */
.hero-ehr {
  display: flex; width: 100%; flex-shrink: 0;
  position: absolute; inset: 0;
}
/* Subtle dim when panel is open — no layout shift */
.hero-demo-body::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(8, 26, 58, 0);
  transition: background .35s ease; pointer-events: none; z-index: 5;
}
.hero-demo-body.ext-open::after { background: rgba(8, 26, 58, .05); }
.hero-ehr-side {
  width: 88px; background: #f1f5fb; border-right: 1px solid #e2e8f0;
  padding: 12px 0; display: flex; flex-direction: column; gap: 2px; flex-shrink: 0;
}
.hehr-item { padding: 7px 12px; font-size: 10.5px; color: #6b7280; cursor: default; border-radius: 4px; margin: 0 4px; }
.hehr-active { background: #dbeafe; color: #1d4ed8; font-weight: 600; }
.hero-ehr-main { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 11px; }
.hehr-section { font-size: 11px; font-weight: 700; color: #374151; padding-bottom: 8px; border-bottom: 1px solid #e5e7eb; margin-bottom: 4px; }
.hehr-row { display: flex; flex-direction: column; gap: 2px; transition: background .4s, border-color .4s, padding .4s; }
.hehr-key { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #9ca3af; }
.hehr-val { font-size: 11.5px; color: #1f2937; }
.hehr-missing { color: #ef4444; font-style: italic; }
.hehr-row.flagged { background: #fef2f2; border-radius: 6px; padding: 4px 6px; margin: -4px -6px; border-left: 3px solid #ef4444; }

/* Hero launcher — relative to hero-demo-body */
.hero-launcher {
  position: absolute; bottom: 14px; right: 14px;
  display: flex; align-items: center; gap: 7px;
  background: var(--grad); color: #fff; border: none;
  border-radius: 20px; padding: 8px 14px 8px 10px;
  font-size: 11.5px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(8,26,58,.35);
  cursor: pointer; z-index: 10;
  transition: transform .3s ease, opacity .3s ease;
}
.hero-launcher.hidden { opacity: 0; transform: scale(.82) translateY(6px); pointer-events: none; }

/* Hero extension panel — pure overlay; slide in from right, no scale */
.hero-ext-panel {
  position: absolute; top: 12px; bottom: 12px; right: 12px; width: 250px;
  height: calc(100% - 24px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(0,0,0,.04);
  display: flex; flex-direction: column;
  transform: translateX(calc(100% + 16px));
  opacity: 0;
  transition: transform .42s cubic-bezier(.18,.86,.32,1.02), opacity .32s ease;
  z-index: 20; overflow: hidden;
  pointer-events: none;
}
.hero-ext-panel.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.hero-ext-head {
  background: var(--grad); padding: 8px 12px;
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.hero-ext-brand { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #fff; }
.hero-ext-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.hero-ext-dot.thinking { background: #f59e0b; animation: blink .7s ease-in-out infinite; }
.hero-ext-minbtn {
  width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.hero-ext-ctx {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: #eff6ff; border-bottom: 1px solid #bfdbfe;
  padding: 5px 10px; font-size: 9.5px; font-weight: 600; color: #1d4ed8;
}
.hero-ext-chat {
  flex: 1; overflow-y: auto; padding: 10px; background: #f9fafb;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-ext-empty { font-size: 11px; color: var(--muted); text-align: center; margin: auto; line-height: 1.6; transition: opacity .3s; }
.hero-ext-empty.hidden { opacity: 0; pointer-events: none; }

.hero-ext-msg {
  max-width: 92%; padding: 7px 9px; border-radius: 9px; font-size: 10.5px; line-height: 1.55;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.hero-ext-msg.show { opacity: 1; transform: translateY(0); }
.hero-ext-user { align-self: flex-end; background: var(--blue-600); color: #fff; border-bottom-right-radius: 3px; }
.hero-ext-ai {
  align-self: flex-start; background: #fff; border: 1px solid var(--border);
  border-bottom-left-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.05);
  display: flex; flex-direction: column; gap: 2px;
}
.hero-ai-label { font-size: 8.5px; font-weight: 700; color: var(--blue-a); display: block; margin-bottom: 3px; }
.hero-risk-row { font-size: 10px; display: flex; gap: 4px; margin-top: 2px; }
.hero-action-row { font-size: 10px; color: var(--blue-600); font-weight: 600; display: flex; gap: 4px; margin-top: 2px; }
.hero-divider { height: 1px; background: var(--border); margin: 4px 0; }
.hero-dots { display: flex; gap: 4px; padding: 2px 0; }
.hero-dots span { width: 5px; height: 5px; border-radius: 50%; background: #9ca3af; animation: edemo-bounce 1.2s ease-in-out infinite; }
.hero-dots span:nth-child(2) { animation-delay: .2s; }
.hero-dots span:nth-child(3) { animation-delay: .4s; }

.hero-ext-composer {
  padding: 7px 10px; border-top: 1px solid var(--border);
  background: #fff; display: flex; gap: 6px; align-items: center; flex-shrink: 0;
}
.hero-ext-input {
  flex: 1; font-size: 10px; padding: 5px 8px;
  border: 1px solid var(--border); border-radius: 6px;
  background: #f9fafb; font-family: inherit; outline: none; color: #374151;
}
.hero-ext-input.typing { border-color: #93c5fd; background: #fff; box-shadow: 0 0 0 2px rgba(37,99,235,.1); }
.hero-ext-send {
  width: 26px; height: 26px; border-radius: 6px; border: none; flex-shrink: 0;
  background: var(--grad); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 7px rgba(8,26,58,.25); transition: transform .15s, filter .15s;
}
.hero-ext-send.flash { transform: scale(1.12); filter: brightness(1.2); }
.hero-ext-footer {
  padding: 4px 10px; font-size: 8px; text-align: center;
  color: #9ca3af; border-top: 1px solid var(--border); background: #fff; flex-shrink: 0;
}
.hero-ext-footer a { color: var(--blue-600); }

.browser-body { position: relative; display: flex; min-height: 320px; }

.ehr-mock { display: flex; flex: 1; background: #fff; }
.ehr-sidebar { width: 120px; background: #f8fafd; border-right: 1px solid #e8edf3; padding: 12px 0; flex-shrink: 0; }
.ehr-item { padding: 7px 13px; font-size: 11px; color: #6b7280; }
.ehr-active { background: rgba(37,99,235,.08); color: var(--blue-600); font-weight: 600; border-left: 2px solid var(--blue-600); }
.ehr-main { flex: 1; padding: 14px; }
.ehr-label { font-size: 10px; font-weight: 700; color: #374151; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.ehr-field { margin-bottom: 9px; }
.ehr-key { display: block; font-size: 9px; color: #9ca3af; font-weight: 600; margin-bottom: 2px; }
.ehr-val { font-size: 11px; color: #374151; line-height: 1.4; }
.ehr-missing { color: var(--danger); font-style: italic; }

/* Extension panel in hero */
.ext-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: 190px;
  background: #fff; border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  box-shadow: -4px 0 16px rgba(0,0,0,.05);
}
.ext-head {
  background: var(--grad); padding: 9px 10px;
  display: flex; align-items: center; justify-content: space-between; color: #fff;
}
.ext-brand-row { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; }
.ext-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; margin-left: 2px; }
.ext-btns { display: flex; gap: 3px; }
.ext-btn {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 17px; height: 17px; border-radius: 3px; font-size: 9px;
  display: flex; align-items: center; justify-content: center;
}
.ext-ctx {
  display: flex; align-items: center; gap: 5px; padding: 5px 8px;
  background: #eff6ff; border-bottom: 1px solid #dbeafe;
  font-size: 9px; color: var(--blue-600); font-weight: 600;
}
.ext-chat { flex: 1; padding: 8px; background: #f9fafb; overflow: hidden; }
.ext-bubble { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 8px; }
.ext-bubble-head { display: flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.ext-bubble p { font-size: 9px; color: #374151; line-height: 1.55; margin-bottom: 2px; }
.ext-compose { padding: 7px 8px; border-top: 1px solid var(--border); background: #fff; display: flex; gap: 5px; align-items: center; }
.ext-input { flex: 1; font-size: 9px; padding: 5px 7px; border: 1px solid var(--border); border-radius: 5px; background: #f9fafb; color: #9ca3af; outline: none; font-family: inherit; }
.ext-send { background: var(--grad); border: none; color: #fff; width: 22px; height: 22px; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ext-foot { padding: 4px 8px; font-size: 7.5px; text-align: center; color: #9ca3af; border-top: 1px solid var(--border); }
.ext-foot a { color: var(--blue-600); }

/* Feature highlight strip below demo (replaces overlapping float badges) */
.demo-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.demo-highlight {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--sh-sm);
}
.dh-icon {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.dh-icon svg { width: 16px; height: 16px; }
.dh-teal { background: rgba(13, 148, 136, .12); }
.dh-blue { background: rgba(37, 99, 235, .12); }
.dh-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.dh-text strong { font-size: 12.5px; font-weight: 700; color: var(--text); }
.dh-text small { font-size: 11px; font-weight: 500; color: var(--muted); }

/* Legacy float badges — kept for any remaining refs, hidden by default */
.float-badge, .edemo-float-badge { display: none; }


/* ══════════════════════════════
   TRUST BAR
══════════════════════════════ */
.trust-bar { padding: 34px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--subtle); }
.trust-bar-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.tb-label { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #9ca3af; }
.tb-items { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: center; }
.tb-item { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); opacity: .8; transition: var(--t); }
.tb-item:hover { opacity: 1; color: var(--text); }


/* ══════════════════════════════
   THE CHALLENGE
══════════════════════════════ */
.challenge-grid { gap: 20px; }
.challenge-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px 24px;
  transition: var(--t);
}
.challenge-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.challenge-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(220,38,38,.08); color: #dc2626;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.challenge-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.challenge-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }


/* ══════════════════════════════
   THE SOLUTION
══════════════════════════════ */
.solution-row { align-items: center; }
.solution-checklist { margin-top: 24px; }
.solution-mock { display: flex; justify-content: center; }
.sol-dash {
  width: 100%; max-width: 420px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg);
}
.sol-dash-head {
  background: var(--grad); padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.sol-dash-logo { font-size: 13px; font-weight: 700; color: #fff; }
.sol-dash-nav { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.75); }
.sol-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding: 18px;
}
.sol-stat {
  background: var(--subtle); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.sol-stat-label { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.sol-stat-val { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1.1; }
.sol-stat-delta { font-size: 11px; font-weight: 600; }
.sol-stat-delta.positive { color: var(--teal); }
.sol-success-banner {
  display: flex; align-items: center; gap: 8px;
  margin: 0 18px 18px; padding: 12px 14px;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  border-radius: var(--r-lg);
  font-size: 13px; font-weight: 700; color: #047857;
}
.sol-success-banner svg { flex-shrink: 0; stroke: #10b981; }


/* ══════════════════════════════
   WHY AGENCIES CHOOSE US
══════════════════════════════ */
.agency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.agency-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px 24px;
  transition: var(--t);
}
.agency-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.agency-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(37,99,235,.08); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.agency-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.agency-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.agency-callout {
  background: var(--grad); border-radius: var(--r-xl);
  padding: 28px 32px; text-align: center;
}
.agency-callout p {
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 600; color: #fff; line-height: 1.55; margin: 0;
}
.tb-item svg { color: var(--blue-600); }


/* ══════════════════════════════
   GRIDS / CARDS
══════════════════════════════ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  padding: 28px; border: 1px solid var(--border); border-radius: var(--r-xl);
  background: #fff; transition: var(--t); box-shadow: var(--sh-sm);
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); border-color: rgba(37,99,235,.14); }

.card-icon {
  width: 48px; height: 48px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.ci-blue { background: rgba(37,99,235,.09); color: var(--blue-600); }
.ci-teal { background: rgba(13,148,136,.09); color: var(--teal); }
.ci-purple { background: rgba(124,58,237,.09); color: #7c3aed; }
.ci-amber { background: rgba(217,119,6,.09); color: var(--amber); }

.card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.65; }


/* ══════════════════════════════
   TWO-COL LAYOUT
══════════════════════════════ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col-rev { }

.steps { display: flex; flex-direction: column; gap: 30px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  width: 38px; height: 38px; border-radius: var(--r-lg); background: var(--grad);
  color: #fff; font-size: 15px; font-weight: 800; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(8,26,58,.28);
}
.step h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.65; }

.screenshot-wrap { position: relative; }
.screenshot { width: 100%; border-radius: var(--r-xl); box-shadow: var(--sh-xl), 0 0 0 1px var(--border); }
.ss-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 6px; box-shadow: var(--sh-md);
}

/* Extension showcase */
.ext-showcase-wrap { position: relative; display: flex; justify-content: center; }
.ext-showcase-img { width: 270px; border-radius: var(--r-xl); box-shadow: var(--sh-xl), 0 0 0 1px var(--border); }
.float-a { top: 12%; right: 0; }
.float-b { bottom: 18%; right: -8px; }

.check-list { margin: 22px 0 30px; display: flex; flex-direction: column; gap: 11px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--text); }
.chk { width: 22px; height: 22px; border-radius: 50%; background: rgba(13,148,136,.1); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.action-row { display: flex; gap: 12px; flex-wrap: wrap; }


/* ══════════════════════════════
   COMPLIANCE
══════════════════════════════ */
.comp-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 28px; box-shadow: var(--sh-sm); transition: var(--t);
  display: flex; flex-direction: column; gap: 10px;
}
.comp-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.comp-icon {
  width: 50px; height: 50px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(8,26,58,.05), rgba(18,74,163,.08));
  display: flex; align-items: center; justify-content: center; color: var(--blue-c);
}
.comp-card h3 { font-size: 14px; font-weight: 700; color: var(--text); }
.comp-card p { font-size: 13px; color: var(--muted); line-height: 1.65; flex: 1; }
.comp-badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700;
  color: var(--teal); background: rgba(13,148,136,.08); padding: 4px 10px; border-radius: 999px;
}


/* ══════════════════════════════
   PRICING
══════════════════════════════ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; align-items: stretch; }

.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 32px; position: relative; display: flex; flex-direction: column;
  box-shadow: var(--sh-sm); transition: var(--t);
}
.price-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }

.price-featured {
  background: var(--grad); border-color: transparent; color: #fff;
  box-shadow: 0 10px 42px rgba(8,26,58,.28);
}
.price-featured:hover { transform: translateY(-4px); box-shadow: 0 18px 52px rgba(8,26,58,.38); }

/* 2-plan layout */
.price-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin: 0 auto 56px; }

/* 2-col compare table */
.compare-table-2 { border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: #fff; }
.ct-head-2 { display: grid; grid-template-columns: 2fr 1fr 1.5fr; background: #f8fafd; border-bottom: 1px solid var(--border); padding: 12px 20px; gap: 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.ct-row-2 { display: grid; grid-template-columns: 2fr 1fr 1.5fr; padding: 13px 20px; gap: 16px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); align-items: center; transition: var(--t); }
.ct-row-2:last-child { border-bottom: none; }
.ct-row-2:hover { background: var(--subtle); }

/* ══════════════════════════════
   DASHBOARD SCREENSHOTS SECTION
══════════════════════════════ */
.dash-screenshots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.dash-ss-item { display: flex; flex-direction: column; gap: 16px; }

.dash-ss-wrap {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg), 0 0 0 1px var(--border);
  background: #f1f5fb; flex: 1;
  transition: var(--t);
}
.dash-ss-wrap:hover { box-shadow: var(--sh-xl), 0 0 0 1px rgba(37,99,235,.15); transform: translateY(-4px); }

.dash-ss-img { width: 100%; display: block; }

.dash-ss-label {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 4px 0;
}

.dash-ss-icon {
  width: 36px; height: 36px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.dash-ss-label strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.dash-ss-label span { font-size: 13px; color: var(--muted); line-height: 1.6; }

.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #f59e0b, #f97316);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}

.plan-name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.plan-tag { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.plan-tag-light { color: rgba(255,255,255,.72); }

.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 22px; }
.pa { font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.pp { font-size: 14px; font-weight: 500; color: var(--muted); }
.pp-light { color: rgba(255,255,255,.7); }
.price-featured .pa { color: #fff; }
.price-featured .plan-name { color: #fff; }

.plan-feats { flex: 1; display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.plan-feats li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text); }
.plan-feats li svg { color: var(--teal); flex-shrink: 0; }
.plan-feats-light li { color: rgba(255,255,255,.9); }
.plan-feats-light li svg { color: rgba(255,255,255,.8); }

.compare { margin-top: 8px; }
.compare-title { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 22px; text-align: center; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
.compare-table { border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: #fff; min-width: 520px; }

.ct-head {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  background: #f8fafd; border-bottom: 1px solid var(--border);
  padding: 12px 20px; gap: 16px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted);
}
.ct-row {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  padding: 13px 20px; gap: 16px; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text); align-items: center; transition: var(--t);
}
.ct-row:last-child { border-bottom: none; }
.ct-row:hover { background: var(--subtle); }
.ct-hi { font-weight: 700; color: var(--blue-600); }


/* ══════════════════════════════
   CONTACT SECTION
══════════════════════════════ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.contact-points { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.contact-point { display: flex; gap: 14px; align-items: flex-start; }
.cp-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--r-md);
  background: rgba(37,99,235,.08); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
}
.contact-point strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.contact-point span { font-size: 13px; color: var(--muted); line-height: 1.6; }
.contact-point a { color: var(--blue-600); }
.contact-point a:hover { text-decoration: underline; }

/* Form card */
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-2xl);
  padding: 36px; box-shadow: var(--sh-lg);
}

.form-title {
  font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }

.form-group label {
  font-size: 13px; font-weight: 600; color: var(--text);
}
.req { color: var(--danger); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  font-size: 14px; font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6b83' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px;
}
.form-group input:hover, .form-group select:hover, .form-group textarea:hover {
  border-color: #b0bac9;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-group input.invalid, .form-group select.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220,38,38,.09);
}
.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #b0bac9; }

.field-error { font-size: 12px; color: var(--danger); min-height: 16px; }

.form-footer { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.btn-submit { width: 100%; justify-content: center; padding: 13px; font-size: 15px; }
.btn-submit:disabled { opacity: .65; cursor: not-allowed; filter: none; transform: none; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }

@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin .8s linear infinite; }

/* Success state */
.form-success {
  text-align: center; padding: 24px 0; display: flex;
  flex-direction: column; align-items: center; gap: 14px;
}
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(13,148,136,.1); display: flex;
  align-items: center; justify-content: center;
}
.form-success h3 { font-size: 20px; font-weight: 700; color: var(--text); }
.form-success p { font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 320px; }


/* ══════════════════════════════
   CTA BANNER
══════════════════════════════ */
.cta-section { padding: 72px 0 96px; }
.cta-card {
  background: var(--grad); border-radius: 24px; padding: 72px 60px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 20px 64px rgba(8,26,58,.32);
}
.cta-glow {
  position: absolute; width: 400px; height: 400px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.cta-card h2 {
  position: relative; font-size: clamp(26px, 4vw, 40px); font-weight: 800;
  color: #fff; margin-bottom: 13px; letter-spacing: -.02em;
}
.cta-card > p {
  position: relative; font-size: 17px; color: rgba(255,255,255,.76);
  max-width: 520px; margin: 0 auto 34px; line-height: 1.7;
}
.cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.cta-note { position: relative; font-size: 12px; color: rgba(255,255,255,.52); }


/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer { background: var(--subtle); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: start; }
.footer-brand .nav-logo { margin-bottom: 11px; }
.f-tag { font-size: 14px; color: var(--muted); max-width: 240px; line-height: 1.65; margin-bottom: 4px; }
.f-copy { font-size: 12px; color: #9ca3af; margin-top: 14px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.f-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.f-col ul { display: flex; flex-direction: column; gap: 9px; }
.f-col a { font-size: 13px; color: var(--muted); transition: var(--t); }
.f-col a:hover { color: var(--text); }


/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
.anim { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: .12s; }
.anim-delay-2 { transition-delay: .22s; }


/* ══════════════════════════════
   ANIMATED EXTENSION DEMO
══════════════════════════════ */
.ext-demo-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  /* extra right padding so float badges are never clipped */
  padding-right: 90px;
  padding-top: 20px;
}

/* Inner stage — this is what gets clipped/rounded/shadowed */
.ext-demo-stage {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-xl), 0 0 0 1px var(--border);
  background: #f8fafd;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

/* EHR background */
.edemo-ehr { flex: 1; display: flex; flex-direction: column; }
.edemo-ehr-header {
  background: #e8edf3; padding: 10px 16px;
  border-bottom: 1px solid #d8dde8;
  display: flex; align-items: center; justify-content: space-between;
}
.edemo-ehr-left { display: flex; align-items: center; gap: 10px; }
.edemo-ehr-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.edemo-ehr-dot.rd { background: #ff5f56; }
.edemo-ehr-dot.yw { background: #ffbd2e; }
.edemo-ehr-dot.gn { background: #27c93f; }
.edemo-ehr-title { font-size: 11px; font-weight: 600; color: #374151; }
.edemo-ehr-tabs { display: flex; gap: 4px; }
.edemo-tab { font-size: 10px; padding: 3px 10px; border-radius: 5px; color: #6b7280; cursor: default; }
.active-tab { background: #fff; color: #1d4ed8; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

.edemo-ehr-body { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.edemo-field { display: flex; flex-direction: column; gap: 3px; }
.edemo-key { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #9ca3af; }
.edemo-val { font-size: 12px; color: #374151; line-height: 1.4; }
.edemo-missing { color: #ef4444; font-style: italic; font-size: 11px; }

/* Launcher button */
.edemo-launcher {
  position: absolute; bottom: 18px; right: 18px;
  display: flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff;
  border: none; border-radius: 24px;
  padding: 10px 18px 10px 13px;
  font-size: 12.5px; font-weight: 700;
  box-shadow: 0 4px 20px rgba(8,26,58,.38);
  cursor: pointer;
  transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease;
  z-index: 10; letter-spacing: .01em;
}
.edemo-launcher:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(8,26,58,.48); }
.edemo-launcher.hidden { opacity: 0; transform: scale(.82) translateY(6px); pointer-events: none; }

/* Extension panel — static open state for showcase section */
.edemo-panel {
  position: absolute; bottom: 0; right: 0;
  width: 260px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-top-left-radius: var(--r-xl);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,.10);
  transform: translateY(102%);
  opacity: 0;
  transition: transform .5s cubic-bezier(.18,.86,.32,1.02), opacity .38s ease;
  z-index: 20;
  overflow: hidden;
  max-height: 500px;
}
/* Always open for the static showcase */
.edemo-panel.static-open,
.edemo-panel.open {
  transform: translateY(0);
  opacity: 1;
}

/* Panel header */
.edemo-header {
  background: var(--grad); padding: 9px 12px;
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.edemo-brand { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #fff; }
.edemo-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; margin-left: 2px; }
.edemo-status-dot.thinking { background: #f59e0b; animation: blink .7s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }

.edemo-hcontrols { display: flex; gap: 4px; }
.edemo-hbtn {
  width: 20px; height: 20px; border-radius: 4px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.edemo-hbtn:hover { background: rgba(255,255,255,.22); }

/* Context banner */
.edemo-ctx {
  display: flex; align-items: center; gap: 6px;
  background: #eff6ff; border-bottom: 1px solid #bfdbfe;
  padding: 5px 10px; font-size: 9.5px; font-weight: 600; color: #1d4ed8; flex-shrink: 0;
  transform-origin: top;
  animation-fill-mode: forwards;
}

/* Chat area */
.edemo-chat {
  flex: 1; overflow-y: auto; padding: 10px; background: #f9fafb;
  display: flex; flex-direction: column; gap: 8px;
  scroll-behavior: smooth;
}
.edemo-chat::-webkit-scrollbar { width: 3px; }
.edemo-chat::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }

/* Empty state */
.edemo-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; text-align: center;
  color: var(--muted); font-size: 11px; line-height: 1.6;
  padding: 20px 10px;
  transition: opacity .3s ease;
}
.edemo-empty.hidden { opacity: 0; pointer-events: none; }
.edemo-empty-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }

/* Messages */
.edemo-msg {
  max-width: 90%; padding: 8px 10px; border-radius: 10px;
  font-size: 11px; line-height: 1.55; color: #374151;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.edemo-msg.show { opacity: 1; transform: translateY(0); }

.edemo-user {
  align-self: flex-end; background: var(--blue-600); color: #fff;
  border-bottom-right-radius: 3px;
}
.edemo-assistant {
  align-self: flex-start; background: #fff; border: 1px solid var(--border);
  border-bottom-left-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  display: flex; flex-direction: column; gap: 3px;
}

.edemo-ai-tag {
  display: flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 700; color: var(--blue-a); margin-bottom: 3px;
}

/* Typing dots */
.edemo-typing-wrap { }
.edemo-dots { display: flex; gap: 4px; align-items: center; padding: 2px 0; }
.edemo-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: #9ca3af;
  animation: edemo-bounce 1.2s ease-in-out infinite;
}
.edemo-dots span:nth-child(2) { animation-delay: .2s; }
.edemo-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes edemo-bounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-5px)} }

/* AI response lines */
.edemo-risk-line, .edemo-action-line {
  display: flex; align-items: flex-start; gap: 4px;
  font-size: 10px; margin-top: 2px;
}
.edemo-action-line { color: var(--blue-600); font-weight: 600; }
.edemo-action-icon { flex-shrink: 0; }

/* Composer */
.edemo-composer {
  padding: 7px 10px; border-top: 1px solid var(--border);
  background: #fff; display: flex; gap: 6px; align-items: center; flex-shrink: 0;
}
.edemo-input-wrap { flex: 1; }
.edemo-input {
  width: 100%; font-size: 10px; padding: 5px 8px;
  border: 1px solid var(--border); border-radius: 6px;
  background: #f9fafb; color: #374151; font-family: inherit; outline: none;
}
.edemo-input.typing-anim { caret-color: var(--blue-600); border-color: #93c5fd; background: #fff; box-shadow: 0 0 0 2px rgba(37,99,235,.1); }

.edemo-send {
  width: 28px; height: 28px; border-radius: 7px; border: none; flex-shrink: 0;
  background: var(--grad); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: filter .15s; box-shadow: 0 2px 8px rgba(8,26,58,.25);
}
.edemo-send.active { filter: brightness(1.2); transform: scale(1.1); }
.edemo-send:hover { filter: brightness(1.1); }

/* Footer */
.edemo-footer {
  padding: 5px 12px; font-size: 8.5px; text-align: center;
  color: #9ca3af; border-top: 1px solid var(--border); background: #fff; flex-shrink: 0;
}
.edemo-footer a { color: var(--blue-600); }

/* divider inside AI response */
.edemo-divider { height: 1px; background: var(--border); margin: 5px 0; }

/* Float badges share .float-badge styling (see Floating badges above) */

/* ══════════════════════════════
   STATIC EXTENSION SHOWCASE
══════════════════════════════ */
.ext-static-wrap {
  position: relative; width: 100%; max-width: 760px;
}
.ext-static-stage {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-xl), 0 0 0 1px var(--border);
  background: #f8fafd;
  display: flex; min-height: 420px;
}

/* EHR side */
.est-ehr { flex: 1; display: flex; flex-direction: column; }
.est-ehr-bar {
  background: #e8edf3; border-bottom: 1px solid #d8dde8;
  padding: 9px 14px; display: flex; align-items: center; gap: 8px;
}
.est-ehr-title { font-size: 11px; font-weight: 600; color: #374151; }
.est-ehr-body { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.est-row { display: flex; flex-direction: column; gap: 2px; }
.est-key { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #9ca3af; }
.est-val { font-size: 11.5px; color: #1f2937; }
.est-missing { color: #ef4444; font-style: italic; }
.est-flagged { background: #fef2f2; border-radius: 6px; padding: 5px 7px; margin: -5px -7px; border-left: 3px solid #ef4444; }

/* Panel */
.est-panel {
  width: 240px; flex-shrink: 0; background: #fff;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.est-panel-head {
  background: var(--grad); padding: 8px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.est-brand { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #fff; }
.est-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; display: inline-block; }
.est-min-btn { color: rgba(255,255,255,.5); font-size: 14px; cursor: default; }
.est-ctx {
  display: flex; align-items: center; gap: 6px;
  background: #eff6ff; border-bottom: 1px solid #bfdbfe;
  padding: 5px 10px; font-size: 9.5px; font-weight: 600; color: #1d4ed8;
}
.est-chat { flex: 1; padding: 10px; background: #f9fafb; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.est-msg { max-width: 94%; padding: 7px 9px; border-radius: 9px; font-size: 10.5px; line-height: 1.55; }
.est-user { align-self: flex-end; background: var(--blue-600); color: #fff; border-bottom-right-radius: 3px; }
.est-ai {
  align-self: flex-start; background: #fff; border: 1px solid var(--border);
  border-bottom-left-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.05);
  display: flex; flex-direction: column; gap: 2px; color: #374151;
}
.est-ai-label { font-size: 8.5px; font-weight: 700; color: var(--blue-a); margin-bottom: 3px; }
.est-risk { font-size: 10px; display: flex; gap: 4px; margin-top: 2px; }
.est-action { font-size: 10px; color: var(--blue-600); font-weight: 600; display: flex; gap: 4px; margin-top: 2px; }
.est-divider { height: 1px; background: var(--border); margin: 4px 0; }
.est-composer {
  padding: 7px 10px; border-top: 1px solid var(--border);
  background: #fff; display: flex; gap: 6px; align-items: center;
}
.est-input {
  flex: 1; font-size: 10px; padding: 5px 8px;
  border: 1px solid var(--border); border-radius: 6px;
  background: #f9fafb; font-family: inherit; outline: none; color: #374151;
}
.est-send {
  width: 26px; height: 26px; border-radius: 6px; border: none;
  background: var(--grad); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 7px rgba(8,26,58,.25);
}
.est-footer {
  padding: 4px 10px; font-size: 8px; text-align: center;
  color: #9ca3af; border-top: 1px solid var(--border); background: #fff;
}
.est-footer a { color: var(--blue-600); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 960px) {
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 12px 20px 16px; gap: 2px; box-shadow: var(--sh-md);
    z-index: 210;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-actions { display: none; }
  .nav-mobile-actions {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 12px; padding-top: 14px;
    border-top: 1px solid var(--border);
  }
  .nav-mobile-actions .btn { justify-content: center; white-space: normal; }
  .nav-link { padding: 10px 11px; font-size: 15px; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-content: center; }
  .mockup-wrap { max-width: 100%; }
  .hero-demo-body { height: 380px; min-height: 380px; max-height: 380px; }
  .hero-ext-panel { width: 220px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .agency-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col-rev .ext-showcase-wrap { order: -1; }
  .price-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 56px; }
  .price-grid-2 { grid-template-columns: 1fr; max-width: 100%; }
  .two-col-rev .ext-static-wrap { order: -1; }
  .two-col-rev .anim-delay-1 { order: 1; }
  .solution-row .solution-mock { order: -1; }
  .hero-sub { max-width: 100%; }
  .tagline-bar p { letter-spacing: .08em; font-size: 12px; }
  .agency-callout { padding: 22px 20px; }
  .sh2 { word-wrap: break-word; overflow-wrap: break-word; }
  .dash-screenshots { grid-template-columns: 1fr; gap: 36px; }
  .ext-static-wrap { max-width: 100%; }
  .ext-static-stage { flex-direction: column; }
  .est-panel { width: 100%; border-left: none; border-top: 1px solid var(--border); }
  .contact-wrap { grid-template-columns: 1fr; }
  .ct-head, .ct-row { grid-template-columns: 2fr 1fr 1.5fr 1.5fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .agency-grid { grid-template-columns: 1fr; }
  .hero-benefits { grid-template-columns: 1fr; }
  .sol-stats { grid-template-columns: 1fr; }
  .compliance-check-card { max-width: 140px; padding: 8px 10px; top: 44px; left: 8px; }
  .cc-list li { font-size: 8.5px; }
  .hero { padding: 100px 0 56px; min-height: auto; }
  .hero-heading { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .hero-demo-body { height: 340px; min-height: 340px; max-height: 340px; }
  .hero-ehr-side { width: 64px; }
  .hehr-item { font-size: 9px; padding: 5px 8px; }
  .hero-ext-panel { width: 58%; max-width: 200px; right: 8px; top: 8px; bottom: 8px; height: calc(100% - 16px); }
  .hero-launcher { bottom: 10px; right: 10px; font-size: 10px; padding: 6px 11px; }
  .demo-highlights { grid-template-columns: 1fr; gap: 8px; }
  .cta-card { padding: 48px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .ct-head { display: none; }
  .ct-row { grid-template-columns: 1fr 1fr; }
  .ct-row > *:nth-child(3), .ct-row > *:nth-child(4) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .trust-bar-inner { gap: 12px; }
  .tb-items { gap: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions, .cta-actions, .action-row { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
  .hero-demo-body { height: 300px; min-height: 300px; max-height: 300px; }
  .compliance-check-card { display: none; }
  .hero-ehr-side { display: none; }
  .hero-ext-panel { width: 62%; max-width: 180px; }
  .hehr-val { font-size: 10px; }
  .tb-items { gap: 12px; flex-direction: column; align-items: center; }
  .footer-nav { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .demo-highlight { padding: 8px 12px; }
  .dh-text strong { font-size: 11.5px; }
}

/* ══════════════════════════════
   INTERACTIVE SETUP MOCKUPS (How It Works)
══════════════════════════════ */
button.step {
  width: 100%;
  outline: none;
  background: none !important;
  border: 1px solid transparent !important;
  padding: 16px 20px !important;
  border-radius: var(--r-xl) !important;
  cursor: pointer;
  display: flex !important;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
button.step:hover {
  background: rgba(37,99,235,.03) !important;
  border-color: rgba(37,99,235,.06) !important;
}
button.step.active {
  background: #fff !important;
  border-color: rgba(37,99,235,.15) !important;
  box-shadow: 0 10px 25px rgba(8,26,58,.05) !important;
}
button.step.active .step-num {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(8,26,58,.36);
}

.how-visual-wrap {
  position: relative;
  width: 100%;
  min-height: 400px;
  border-radius: var(--r-xl);
  perspective: 1000px;
}

.how-mockup {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.how-mockup.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 5;
}

/* Browser Frame */
.hm-browser {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl), 0 0 0 1px var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
  border: 1px solid #dbeafe;
}

.hm-browser-bar {
  background: #e8edf3;
  border-bottom: 1px solid #d8dde8;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hm-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.hm-dot.red { background: #ff5f56; }
.hm-dot.yellow { background: #ffbd2e; }
.hm-dot.green { background: #27c93f; }

.hm-browser-address {
  flex: 1;
  background: #fff;
  border-radius: 5px;
  padding: 4px 12px;
  font-size: 10px;
  color: #6b7280;
  font-family: monospace;
  border: 1px solid #dde2ea;
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-browser-body {
  flex: 1;
  display: flex;
  background: #fff;
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

/* Step 1: Chrome Web Store */
.cws-body {
  flex-direction: column;
  padding: 20px;
  background: #f8fafc;
}

.cws-header {
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.cws-logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  border-radius: var(--r-md);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(8,26,58,0.15);
}

.cws-store-title {
  font-size: 8.5px;
  text-transform: uppercase;
  color: var(--blue-600);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cws-ext-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--blue-a);
  margin-top: 1px;
}

.cws-badges {
  display: flex;
  gap: 5px;
  margin-top: 3px;
}

.cws-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 1.5px 5px;
  border-radius: 4px;
}
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-gray { background: #f1f5f9; color: #475569; }
.badge-green { background: #d1fae5; color: #065f46; }

.cws-action-area {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.cws-btn-add {
  background: var(--blue-600);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--r-md);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(37,99,235,0.22);
  cursor: pointer;
  transition: all 0.22s;
}

.cws-btn-add:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37,99,235,0.28);
}

.cws-btn-add.installed {
  background: #10b981 !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(16,185,129,0.22) !important;
  cursor: default !important;
  transform: none !important;
}

.cws-users {
  font-size: 11px;
  color: var(--muted);
}

.cws-preview .cws-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
}

.cws-card-title {
  font-size: 10px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cws-preview p {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Step 2 & 3: Generic EHR simulation */
.ehr-body {
  flex: 1;
  display: flex;
  background: #f8fafc;
  font-family: inherit;
  position: relative;
}

.ehr-sidebar {
  width: 76px;
  background: #cbd5e1;
  border-right: 1px solid #94a3b8;
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  flex-shrink: 0;
}

.ehr-side-logo {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: #334155;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.ehr-side-item {
  font-size: 9px;
  padding: 6px 10px;
  text-align: center;
  color: #475569;
  font-weight: 600;
  cursor: default;
  margin-bottom: 2px;
}

.ehr-side-item.active {
  background: #94a3b8;
  color: #0f172a;
}

.ehr-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ehr-main.mini-ehr {
  padding-right: 4px;
}

.ehr-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
}

.ehr-pname {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
}

.ehr-status-pill {
  font-size: 8px;
  background: #fef3c7;
  color: #d97706;
  padding: 1.5px 5px;
  border-radius: 4px;
  font-weight: 700;
}

.ehr-field-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ehr-field-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ehr-field-group label {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.ehr-field-val {
  font-size: 10.5px;
  color: #334155;
  background: #f1f5f9;
  padding: 5px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.ehr-field-val.empty {
  color: #ef4444;
  font-style: italic;
  background: #fef2f2;
  border-left: 2px solid #ef4444;
}

.ehr-alert .ehr-field-val {
  background: #fef2f2;
  border-left: 2px solid #ef4444;
  color: #ef4444;
  font-style: italic;
}

/* Glowing launcher highlight (Step 2) */
.how-launcher-highlight {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 10;
}

.how-lh-badge {
  background: #0f172a;
  color: #38bdf8;
  font-size: 8px;
  font-weight: 700;
  padding: 3.5px 7px;
  border-radius: 5px;
  margin-bottom: 6px;
  border: 1px solid #0284c7;
  box-shadow: 0 0 14px rgba(56,189,248,0.35);
  animation: pulse-light 2s infinite;
  white-space: nowrap;
}

.how-lh-button {
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(8,26,58,0.35);
  opacity: 0.95;
  cursor: default;
}

.how-lh-pointer {
  position: absolute;
  width: 14px;
  height: 14px;
  background: rgba(56,189,248,0.4);
  border: 2px solid #38bdf8;
  border-radius: 50%;
  bottom: -4px;
  right: -4px;
  animation: pointer-ping 1.5s infinite;
}

@keyframes pointer-ping {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes pulse-light {
  0%, 100% { box-shadow: 0 0 10px rgba(56,189,248,0.35); }
  50% { box-shadow: 0 0 18px rgba(56,189,248,0.7); }
}

/* Extension panel overlay (Step 3) */
.ext-open {
  display: flex;
}

.hm-panel {
  width: 135px;
  background: #fff;
  border-left: 1px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  box-shadow: -2px 0 8px rgba(0,0,0,0.03);
}

.hm-panel-head {
  background: var(--grad);
  color: #fff;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.hm-panel-brand {
  font-size: 8.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hm-panel-dot {
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: #10b981;
}

.hm-panel-body {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f8fafc;
  flex: 1;
}

.hm-panel-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.hm-panel-risk {
  font-size: 8.5px;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.hm-panel-bullet {
  font-size: 8px;
  display: flex;
  gap: 3px;
  color: #475569;
  margin-top: 1px;
}

.hm-panel-bullet span {
  flex-shrink: 0;
}

.hm-panel-card.action-card {
  border-color: #dbeafe;
  background: #f3f7ff;
}

.hm-panel-action-title {
  font-size: 8.5px;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.hm-panel-action {
  font-size: 8px;
  font-weight: 600;
  color: #2563eb;
  display: flex;
  gap: 3px;
  margin-top: 1.5px;
}

@media (max-width: 768px) {
  .how-visual-wrap {
    min-height: 380px;
    margin-top: 24px;
  }
}

/* ── Step 3 Panel Slide-In ("it expanding") ── */
#how-mockup-3 .hm-panel {
  transform: translateX(100%);
  opacity: 0;
  transition: transform .52s cubic-bezier(.18,.86,.32,1.02), opacity .38s ease;
}
#how-mockup-3.active .hm-panel {
  transform: translateX(0);
  opacity: 1;
}

/* ── Tour Complete Overlay ── */
.tour-complete-overlay {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 30;
}
.tour-complete-overlay.show {
  opacity: 1; pointer-events: auto;
}

.tc-content {
  text-align: center; background: #fff;
  border-radius: var(--r-xl); border: 1px solid var(--border);
  padding: 24px; max-width: 280px;
  box-shadow: var(--sh-xl);
  transform: translateY(12px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tour-complete-overlay.show .tc-content {
  transform: translateY(0) scale(1);
}

.tc-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #e6fbf4; display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 12px;
}

.tc-content h3 {
  font-size: 14px; font-weight: 800;
  color: var(--blue-a); margin-bottom: 4px;
}

.tc-content p {
  font-size: 11px; color: var(--muted);
  line-height: 1.5; margin-bottom: 16px;
}

.tc-btn-replay {
  background: var(--grad); color: #fff;
  border: none; border-radius: 6px;
  padding: 7px 14px; font-size: 11px;
  font-weight: 700; display: inline-flex;
  align-items: center; gap: 4px;
  box-shadow: 0 4px 12px rgba(8,26,58,0.22);
  cursor: pointer; transition: all 0.2s;
}
.tc-btn-replay:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(8,26,58,0.28);
}

