/* ══════════════════════════════════════════════════
   FIRSTREPLY — Midnight SaaS (Linear/Vercel/Stripe)
   60% midnight navy #0B0F19 · 30% white + slate #94A3B8
   10% electric indigo #6366F1 — CTAs, forms, key highlights ONLY
   Plus Jakarta Sans headlines · Inter body
   ══════════════════════════════════════════════════ */

:root {
  --bg: #0B0F19;
  --bg-2: #0D1321;
  --panel: #101828;
  --panel-2: #141D31;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text: #FFFFFF;
  --body: #94A3B8;
  --muted: #64748B;
  --dim: #475569;
  --indigo: #6366F1;
  --indigo-bright: #818CF8;
  --indigo-soft: rgba(99, 102, 241, 0.12);
  --indigo-ring: rgba(99, 102, 241, 0.35);
  --grad-primary: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  --glow-indigo: 0 8px 32px rgba(99, 102, 241, 0.35);
  --glow-indigo-lg: 0 12px 48px rgba(99, 102, 241, 0.45);
  --shadow-card: 0 24px 64px -16px rgba(0, 0, 0, 0.6);
  --radius: 18px;
  --radius-lg: 26px;
  --font-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* anchor targets land below the fixed navbar instead of underneath it */
[id] { scroll-margin-top: 84px; }
p, li { text-wrap: pretty; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--indigo); color: #fff; }

:focus-visible {
  outline: 3px solid var(--indigo-ring);
  outline-offset: 2px;
  border-radius: 6px;
}
html { scrollbar-width: thin; scrollbar-color: #1E293B transparent; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1E293B; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #334155; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; width: 100%; }
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ─────────── Global effects ─────────── */
.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 300;
  background: var(--indigo);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: top 0.3s;
}
.skip-link:focus { top: 14px; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--grad-primary);
  z-index: 200;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.09) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.6s;
}
.cursor-glow.on { opacity: 1; }
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* Spotlight cards */
.spot { position: relative; }
.spot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(99, 102, 241, 0.10), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.spot:hover::after { opacity: 1; }

.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease-out), background 0.25s, border-color 0.25s;
  z-index: 150;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--indigo); border-color: var(--indigo); box-shadow: var(--glow-indigo); }

/* ─────────── Type ─────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-bright);
  background: var(--indigo-soft);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 999px;
  padding: 7px 15px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--indigo-bright);
  box-shadow: 0 0 8px var(--indigo-bright);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 48px;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(95deg, #C7D2FE 0%, #818CF8 50%, #6366F1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

/* ─────────── NAV ─────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s, background 0.35s;
}
.navbar.scrolled { border-bottom-color: var(--border); background: rgba(11, 15, 25, 0.88); }
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.25s;
}
.logo:hover { opacity: 0.8; }
.logo-bolt {
  display: inline-flex;
  align-items: center;
  color: var(--indigo-bright);
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.7));
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: var(--indigo-bright); background: var(--indigo-soft); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ─────────── BUTTONS ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, filter 0.3s;
  will-change: transform;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--glow-indigo), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow: var(--glow-indigo-lg), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-ico { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn-ico { transform: translateX(4px); }
.btn-line {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-line:hover {
  border-color: var(--indigo);
  background: var(--indigo-soft);
  color: var(--indigo-bright);
  transform: translateY(-2px);
}

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 180px 0 130px;
  border-bottom: 1px solid var(--border);
}
.aurora { position: absolute; inset: 0; pointer-events: none; }
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
}
.aurora i:nth-child(1) {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
  top: -220px; left: 8%;
  animation: drift1 24s ease-in-out infinite alternate;
}
.aurora i:nth-child(2) {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
  top: 15%; right: -160px;
  animation: drift2 28s ease-in-out infinite alternate;
}
.aurora i:nth-child(3) {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.13) 0%, transparent 70%);
  bottom: -200px; left: 34%;
  animation: drift3 26s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(80px, 60px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-70px, -40px) scale(1.08); } }
@keyframes drift3 { to { transform: translate(60px, -70px) scale(1.15); } }
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(129, 140, 248, 0); }
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 32px;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-checks {
  list-style: none;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 50px;
}
.hero-checks li {
  position: relative;
  padding-left: 26px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #E2E8F0;
}
.hero-checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--indigo-bright);
  font-weight: 800;
}

/* Live automation ticker */
.hero-ticker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 11px 20px;
  max-width: 100%;
}
.ticker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--indigo-bright);
  box-shadow: 0 0 10px var(--indigo-bright);
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
.ticker-label {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--indigo-bright);
  flex-shrink: 0;
}
.ticker-text {
  font-size: 0.8rem;
  color: var(--body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.35s;
  font-variant-numeric: tabular-nums;
}

/* ─────────── SECTIONS ─────────── */
.section { padding: 130px 0; }
.section.alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ─────────── THE PAIN ─────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
  max-width: 1020px;
}
.pain-card {
  background: linear-gradient(160deg, rgba(148, 163, 184, 0.05) 0%, transparent 55%), var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  text-align: left;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.pain-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.pain-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 25%, rgba(148, 163, 184, 0.14), rgba(148, 163, 184, 0.05));
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #CBD5E1;
  margin-bottom: 22px;
  box-shadow: 0 0 28px -6px rgba(148, 163, 184, 0.2), inset 0 0 16px rgba(148, 163, 184, 0.04);
}
.pain-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.pain-card p { font-size: 0.93rem; }

/* ─────────── ROI CALCULATOR ─────────── */
.roi-intro {
  max-width: 660px;
  font-size: 1rem;
  margin: -18px auto 44px;
}
.roi-intro strong { color: var(--text); }
.roi-card {
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(150deg, rgba(99, 102, 241, 0.4), rgba(255, 255, 255, 0.06) 55%) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: left;
}
.roi-controls {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.roi-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.roi-label label { font-size: 0.86rem; font-weight: 600; color: var(--text); }
.roi-val {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--indigo-bright);
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--indigo) var(--fill, 30%), rgba(148, 163, 184, 0.18) var(--fill, 30%));
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--indigo);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.6);
  cursor: grab;
  transition: transform 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--indigo);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.6);
  cursor: grab;
}
.roi-rate label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.roi-rate input {
  width: 130px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  font-variant-numeric: tabular-nums;
}
.roi-rate input:focus { border-color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-soft); }
/* strip the native number spinner arrows */
.roi-rate input::-webkit-outer-spin-button,
.roi-rate input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.roi-rate input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.roi-result {
  background:
    radial-gradient(ellipse 90% 70% at 80% 0%, rgba(99, 102, 241, 0.14) 0%, transparent 60%),
    var(--panel-2);
  border-left: 1px solid var(--border);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.roi-result > small { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.roi-big {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.roi-money {
  background: linear-gradient(95deg, #A5B4FC, #6366F1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.roi-year { font-family: var(--font-head); font-weight: 700; color: var(--text) !important; font-size: 0.92rem !important; letter-spacing: 0 !important; text-transform: none !important; }
.roi-note { color: var(--dim) !important; font-weight: 400 !important; font-size: 0.74rem !important; letter-spacing: 0 !important; text-transform: none !important; margin-top: 8px; }

/* ─────────── SERVICES ─────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}
.svc-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  text-align: left;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 50px -12px rgba(99, 102, 241, 0.35), var(--shadow-card);
}
.svc-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
/* single-accent discipline: every service icon carries the indigo trigger */
.svc-indigo, .svc-emerald, .svc-violet { background: rgba(99, 102, 241, 0.12); color: var(--indigo-bright); border: 1px solid rgba(99, 102, 241, 0.3); }
.svc-card h3 {
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 12px;
}
.svc-card p { font-size: 0.93rem; margin-bottom: 22px; }
.svc-metric {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--indigo-bright);
  background: var(--indigo-soft);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 999px;
  padding: 6px 13px;
}

/* ─────────── TIMELINE ─────────── */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 1020px;
  text-align: left;
}
.timeline-bar {
  position: absolute;
  top: 24px;
  left: 6%; right: 6%;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.timeline-pulse {
  position: absolute;
  top: 0;
  left: -15%;
  width: 130px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--indigo-bright), transparent);
  box-shadow: 0 0 12px var(--indigo);
  animation: tlPulse 4s cubic-bezier(0.4, 0, 0.4, 1) infinite;
}
@keyframes tlPulse { to { left: 108%; } }
.t-step {
  position: relative;
  padding: 72px 22px 22px;
  border-radius: var(--radius);
  transition: background 0.35s, transform 0.35s var(--ease-out);
}
.t-step:hover { background: rgba(255, 255, 255, 0.025); transform: translateY(-3px); }
.t-num {
  position: absolute;
  top: 0; left: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--indigo);
  color: var(--indigo-bright);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--bg-2), 0 0 24px rgba(99, 102, 241, 0.35);
}
.section:not(.alt) .t-num { box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(99, 102, 241, 0.35); }
.t-time {
  position: absolute;
  top: 12px;
  left: 84px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo-bright);
}
.t-step h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.t-step p { font-size: 0.94rem; }

/* ─────────── AGENT KNOWLEDGE BASE ─────────── */
.agent-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.agent-left { text-align: left; }
.agent-left .section-title { margin-bottom: 18px; }
.agent-sub { max-width: 480px; margin-bottom: 36px; }
.k-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 34px;
}
.k-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.k-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 0 36px -12px rgba(99, 102, 241, 0.3);
}
.k-icon {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
/* single-accent discipline: knowledge icons unified on indigo */
.k-indigo, .k-emerald, .k-violet, .k-amber { background: rgba(99, 102, 241, 0.12); color: var(--indigo-bright); border: 1px solid rgba(99, 102, 241, 0.3); }
.k-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 7px;
}
.k-card p { font-size: 0.84rem; }
.agent-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.agent-note { font-size: 0.82rem; color: var(--muted); max-width: 240px; }

.mock-window {
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(150deg, rgba(99, 102, 241, 0.5), rgba(255, 255, 255, 0.06) 60%) border-box;
  border: 1px solid transparent;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 70px -18px rgba(99, 102, 241, 0.35), var(--shadow-card);
  animation: floaty 6s ease-in-out infinite alternate;
}
@keyframes floaty { to { transform: translateY(-12px); } }
.mock-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--panel-2);
}
.m-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 163, 184, 0.22); }
.mock-title {
  margin-left: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Live architecture node map — integrations mesh around the core */
.arch-map {
  position: relative;
  height: 330px;
}
.arch-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.arch-lines line {
  stroke: rgba(129, 140, 248, 0.35);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 3 7;
  animation: archFlow 1.6s linear infinite;
}
@keyframes archFlow { to { stroke-dashoffset: -10; } }
.arch-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 36px rgba(99, 102, 241, 0.55);
  z-index: 2;
}
.arch-core::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.45);
  animation: corePulse 2.4s ease-out infinite;
}
@keyframes corePulse {
  0%   { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.55); opacity: 0; }
}
.arch-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 7px 13px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}
.arch-node::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--indigo-bright);
  box-shadow: 0 0 8px var(--indigo-bright);
}
.mock-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 18px 20px;
}
.mock-tags span {
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 11px;
}

/* ─────────── FAQ ─────────── */
.faq-list {
  width: 100%;
  max-width: 760px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 40px -14px rgba(99, 102, 241, 0.3);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
}
.faq-icon {
  position: relative;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 2px;
  border-radius: 2px;
  background: var(--body);
  transform: translate(-50%, -50%);
  transition: background 0.3s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon { background: var(--indigo); border-color: var(--indigo); transform: rotate(45deg); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { min-height: 0; overflow: hidden; }
.faq-a-in p { padding: 0 24px 22px; font-size: 0.94rem; max-width: 640px; }

/* ─────────── CONTACT ─────────── */
.contact-hub {
  position: relative;
  width: 100%;
  max-width: 720px;
  text-align: center;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(150deg, rgba(99, 102, 241, 0.55), rgba(99, 102, 241, 0.12) 55%, rgba(99, 102, 241, 0.35)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 64px);
  /* visible so the country dropdown can escape the card instead of being clipped */
  overflow: visible;
  box-shadow: 0 0 80px -20px rgba(99, 102, 241, 0.4), var(--shadow-card);
}
.book-glow {
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  width: 460px; height: 250px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.20) 0%, transparent 64%);
  pointer-events: none;
}
.contact-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text);
  margin: 18px 0 20px;
}
.contact-sub {
  max-width: 480px;
  margin: 0 auto 40px;
  font-size: 1.02rem;
  color: var(--body);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}
/* glassmorphic inputs */
.contact-form input {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.contact-form input::placeholder { color: var(--dim); }
.contact-form input:focus {
  border-color: var(--indigo);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 0 0 4px var(--indigo-soft), 0 0 24px -6px rgba(99, 102, 241, 0.5);
}
/* email shows red only after the browser flags an invalid value */
.contact-form input:user-invalid {
  border-color: rgba(248, 113, 113, 0.6);
}

/* ── Phone row: country dial-code picker + number ── */
.cf-phone-row { display: flex; gap: 10px; align-items: stretch; }
.cf-phone-row input[type="tel"] { flex: 1; min-width: 0; }
.cf-cc { position: relative; flex-shrink: 0; }
.cf-cc-btn {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  padding: 0 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.cf-cc-btn:hover { border-color: var(--indigo); }
.cf-cc.open .cf-cc-btn {
  border-color: var(--indigo);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 0 0 4px var(--indigo-soft);
}
.cf-cc-flag, .cf-cc-lflag {
  width: 22px; height: 16px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.22);
}
.cf-cc-code { font-weight: 600; font-variant-numeric: tabular-nums; }
.cf-cc-label { display: inline-flex; align-items: center; gap: 10px; }
.cf-cc-caret { color: var(--muted); transition: transform 0.25s; }
.cf-cc.open .cf-cc-caret { transform: rotate(180deg); }

.cf-cc-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  width: 290px;
  max-width: 80vw;
  background: var(--panel-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 10px;
}
.cf-cc-search {
  width: 100%;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 13px;
  outline: none;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}
.cf-cc-search::placeholder { color: var(--dim); }
.cf-cc-search:focus { border-color: var(--indigo); }
.cf-cc-list {
  list-style: none;
  max-height: 244px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}
.cf-cc-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 0.88rem;
  color: var(--body);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cf-cc-list li:hover,
.cf-cc-list li.active { background: rgba(99, 102, 241, 0.12); color: var(--text); }
.cf-cc-list li[aria-selected="true"] { color: var(--indigo-bright); }
.cf-cc-dial { color: var(--muted); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.cf-cc-list li:hover .cf-cc-dial,
.cf-cc-list li.active .cf-cc-dial,
.cf-cc-list li[aria-selected="true"] .cf-cc-dial { color: var(--indigo-bright); }
.cf-cc-empty { padding: 14px 12px; font-size: 0.85rem; color: var(--dim); text-align: center; }
.contact-submit {
  width: 100%;
  margin-top: 4px;
  font-size: 1rem;
  padding: 17px 32px;
}
.contact-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.contact-trust svg { color: var(--indigo-bright); flex-shrink: 0; }
.contact-direct {
  text-align: center;
  font-size: 0.80rem;
  color: var(--dim);
  margin-top: -6px;
}
.contact-direct a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  transition: color 0.2s, border-color 0.2s;
}
.contact-direct a:hover { color: var(--text); border-color: var(--muted); }
.contact-done {
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--indigo-bright);
  margin-top: 2px;
}

/* ─────────── FOOTER ─────────── */
.footer { width: 100%; padding: 84px 6px 0; font-size: 0.86rem; color: var(--muted); text-align: left; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 64px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text);
  font-size: 1rem;
}
.footer-brand svg { color: var(--indigo-bright); flex-shrink: 0; }
.footer-net {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo-bright);
  margin-top: 6px;
}
.footer-tag { margin: 12px 0 18px; font-size: 0.88rem; color: var(--body); max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-head {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}
.footer a { color: var(--body); text-decoration: none; transition: color 0.25s; width: fit-content; }
.footer a:hover { color: var(--indigo-bright); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 24px 0 8px;
  font-size: 0.78rem;
}

/* ══════════════════════════════════════════════════
   DESIGN ELEVATION PASS
   grain · dot-matrix depth · light sweeps · conic borders
   glowing dividers · micro-interactions
   ══════════════════════════════════════════════════ */

/* ── Atmosphere: dot-matrix depth field (fades in from the top) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
}

/* ── Atmosphere: animated film grain over everything ── */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 250;
  animation: grainShift 9s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-2%, 1%); }
  40%  { transform: translate(1%, -2%); }
  60%  { transform: translate(-1%, 2%); }
  80%  { transform: translate(2%, -1%); }
  100% { transform: translate(0, 0); }
}

/* ── Hero headline: living gradient shimmer ── */
.hero-title .grad {
  background-size: 200% 100%;
  animation: gradShift 9s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

/* ── Section titles: soft halo ── */
.section-title { text-shadow: 0 0 90px rgba(129, 140, 248, 0.28); }

/* ── Glowing center seam on alternating sections ── */
.section.alt { position: relative; }
.section.alt::before,
.section.alt::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.45), transparent);
  pointer-events: none;
}
.section.alt::before { top: -1px; }
.section.alt::after { bottom: -1px; }

/* ── Cards: lit-from-above top edge ── */
.svc-card, .pain-card, .k-card { position: relative; }
.svc-card::before, .pain-card::before, .k-card::before, .roi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  pointer-events: none;
}

/* ── Card icons: micro-lift on hover ── */
.svc-icon, .k-icon, .pain-icon {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.svc-card:hover .svc-icon,
.k-card:hover .k-icon,
.pain-card:hover .pain-icon {
  transform: translateY(-3px) scale(1.07);
}
.svc-card:hover .svc-icon { box-shadow: 0 8px 22px -6px rgba(99, 102, 241, 0.45); }
.k-card:hover .k-icon { box-shadow: 0 8px 22px -6px rgba(99, 102, 241, 0.4); }
.pain-card:hover .pain-icon { box-shadow: 0 8px 22px -6px rgba(148, 163, 184, 0.25); }

/* ── Hero CTA: soft breathing glow ── */
.hero .btn-primary {
  animation: ctaGlow 3.2s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  from { box-shadow: var(--glow-indigo), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
  to   { box-shadow: 0 10px 46px rgba(99, 102, 241, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
}

/* ── Primary buttons: light sweep on hover ── */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate; /* keeps the z-index:-1 sweep above the button background */
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  transition: left 0.65s var(--ease-out);
}
.btn-primary:hover::before { left: 130%; }

/* ── Contact hub: slow-rotating conic gradient border ── */
@property --spin {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.contact-hub {
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    conic-gradient(from var(--spin, 0deg),
      rgba(99, 102, 241, 0.6),
      rgba(99, 102, 241, 0.3),
      rgba(99, 102, 241, 0.1),
      rgba(99, 102, 241, 0.3),
      rgba(99, 102, 241, 0.6)) border-box;
  animation: spinBorder 16s linear infinite;
}
@keyframes spinBorder { to { --spin: 360deg; } }

/* ── Timeline numbers: gradient rings ── */
.t-num {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    var(--grad-primary) border-box;
}

/* ── FAQ: open state gets an indigo wash ── */
.faq-item.open {
  background:
    linear-gradient(160deg, rgba(99, 102, 241, 0.07) 0%, transparent 45%),
    var(--panel);
}

/* ── Footer links: sliding underline ── */
.footer-col a {
  position: relative;
  width: fit-content;
}
.footer-col a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--indigo-bright);
  transition: width 0.3s var(--ease-out);
}
.footer-col a:hover::after { width: 100%; }

/* ── Hero ticker: breathing border ── */
.hero-ticker {
  animation: tickerBreathe 4s ease-in-out infinite alternate;
}
@keyframes tickerBreathe {
  from { border-color: var(--border); box-shadow: 0 0 0 rgba(129, 140, 248, 0); }
  to   { border-color: rgba(129, 140, 248, 0.3); box-shadow: 0 0 24px -8px rgba(129, 140, 248, 0.35); }
}

/* ── Mobile & battery care: drop the heavy atmosphere layers ── */
@media (max-width: 760px), (pointer: coarse) {
  body::after { display: none; }
  body::before { background-size: 28px 28px; }
}

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 980px) {
  .section { padding: 96px 0; }
  .agent-grid { grid-template-columns: 1fr; gap: 48px; }
  .pain-grid { grid-template-columns: 1fr; max-width: 520px; }
  .roi-card { grid-template-columns: 1fr; }
  .roi-result { border-left: none; border-top: 1px solid var(--border); }
  .svc-grid { grid-template-columns: 1fr; max-width: 520px; }
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline-bar { display: none; }
  .t-step { padding: 0 0 0 66px; }
  .t-num { top: -4px; left: 0; }
  .t-time { position: static; display: block; margin-bottom: 4px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero { padding: 130px 0 70px; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(80vw, 320px);
    background: rgba(11, 15, 25, 0.97);
    backdrop-filter: blur(18px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 40px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 100;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; font-weight: 600; }
  .nav-burger { display: flex; z-index: 101; }
  .nav-burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero-checks { flex-direction: column; gap: 10px; align-items: center; }
  .aurora i { filter: blur(80px); }
  .to-top { right: 16px; bottom: 16px; }
}
@media (max-width: 560px) {
  .k-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .to-top { right: 14px; bottom: 14px; }
}

/* ══════════════════════════════════════════════════
   CONVERSION PASS
   pricing · mobile sticky CTA
   ══════════════════════════════════════════════════ */

/* ── Pricing ── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
  max-width: 1020px;
}
.price-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 50px -12px rgba(99, 102, 241, 0.3), var(--shadow-card);
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  pointer-events: none;
}
.price-hot {
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(150deg, rgba(99, 102, 241, 0.55), rgba(99, 102, 241, 0.12) 60%) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 60px -18px rgba(99, 102, 241, 0.35);
}
.price-tag {
  position: absolute;
  top: -12px;
  left: 28px;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-primary);
  border-radius: 999px;
  padding: 6px 13px;
  box-shadow: var(--glow-indigo);
}
.price-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}
.price-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--indigo-bright);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.price-per {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 4px 0 16px;
}
.price-card p { font-size: 0.88rem; }
.price-cta { margin-top: 44px; }

/* ── Mobile sticky CTA ── */
.mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: var(--grad-primary);
  border-radius: 999px;
  padding: 15px 22px;
  box-shadow: var(--glow-indigo-lg), 0 4px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}
.mobile-cta.hide {
  transform: translateY(90px);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 980px) {
  .price-grid { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  /* lift back-to-top clear of the sticky bar */
  .to-top { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .timeline-pulse, .aurora { display: none; }
}
