/* ============================================================
   PatientFlow — Dark Luxury SaaS system
   Deep black canvas · molten orange accent · Crea8iv brand
   Inspiration: Stripe · Linear · Vercel · luxury fintech
   ============================================================ */

:root {
  /* Brand — orange */
  --primary: #FE6A09;
  --primary-deep: #F54705;
  --secondary: #FF8A2A;
  --gold: #FFB347;

  /* WhatsApp / positive (data + WA button only) */
  --accent: #25D366;
  --accent-deep: #1FAE55;

  /* Surfaces — dark */
  --bg: #08080A;
  --bg-2: #0C0C0F;
  --surface: #121215;
  --surface-2: #18181C;
  --surface-3: #1E1E23;
  --panel: #0E0E11;          /* rich feature panels */

  /* Text */
  --text: #FFFFFF;
  --muted: #ABA59D;          /* warm gray */
  --faint: #6E6962;

  /* Lines & glass */
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.05);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-line: rgba(254, 106, 9, 0.22);

  /* Gradients */
  --grad: linear-gradient(120deg, #F54705 0%, #FE6A09 55%, #FF8A2A 100%);
  --grad-soft: linear-gradient(120deg, rgba(254,106,9,0.16), rgba(255,138,42,0.08));
  --grad-text: linear-gradient(120deg, #FE6A09, #FF8A2A 60%, #FFB347);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 4px 14px rgba(0,0,0,0.35);
  --shadow-md: 0 14px 36px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 40px 80px rgba(0,0,0,0.6), 0 16px 40px rgba(0,0,0,0.45);
  --shadow-orange: 0 16px 40px rgba(254,106,9,0.34);
  --glow: 0 0 0 1px rgba(254,106,9,0.25), 0 0 40px rgba(254,106,9,0.18);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;

  --container: 1300px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* warm luxury vignette behind everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(254,106,9,0.10), transparent 60%),
    radial-gradient(700px 460px at 6% 102%, rgba(245,71,5,0.07), transparent 60%);
}

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(8,8,10,0.85); box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 82px; }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand-logo { height: 46px; width: auto; display: block; }
.site-footer .brand-logo { height: 50px; }
@media (max-width: 720px) { .brand-logo { height: 38px; } }
.brand-mark {
  display: inline-block; width: 42px; height: 34px; flex-shrink: 0;
  background: var(--grad);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 40"><path fill="white" d="M4,38L17,6L24,17L31,6L44,38L33,38L24,22L15,38Z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 40"><path fill="white" d="M4,38L17,6L24,17L31,6L44,38L33,38L24,22L15,38Z"/></svg>') center/contain no-repeat;
  font-size: 0; color: transparent; line-height: 0; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 4px 12px rgba(254,106,9,0.55));
}
.brand small { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.22em; color: var(--primary); text-transform: uppercase; }

/* Floating glowing pill of links */
.nav-links {
  display: flex; align-items: center; gap: 2px;
  background: rgba(16, 16, 20, 0.55);
  border: 1px solid rgba(254, 106, 9, 0.38);
  border-radius: 999px; padding: 6px 8px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(254, 106, 9, 0.3), inset 0 0 18px rgba(254, 106, 9, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.nav-links a {
  position: relative; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); padding: 10px 14px; border-radius: 999px;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--secondary); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px;
  border-radius: 2px; background: var(--grad); box-shadow: 0 0 8px rgba(254, 106, 9, 0.9);
}
/* Outlined glowing pill CTA */
.nav-cta {
  flex-shrink: 0;
  background: rgba(254, 106, 9, 0.06) !important; color: #fff !important;
  border: 1px solid rgba(254, 106, 9, 0.55);
  border-radius: 999px; padding: 13px 26px !important;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  box-shadow: 0 0 24px rgba(254, 106, 9, 0.26);
  transition: transform 0.18s var(--ease), box-shadow 0.25s, background 0.2s !important;
}
.nav-cta:hover { transform: translateY(-1px); background: rgba(254, 106, 9, 0.16) !important; box-shadow: 0 0 34px rgba(254, 106, 9, 0.55); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: 14px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.25s, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 52px rgba(254,106,9,0.5); }
.btn-ghost { background: var(--surface-2); color: #fff; border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--secondary); box-shadow: var(--glow); }
.btn-wa { background: rgba(254,106,9,0.10); color: var(--secondary); border: 1px solid var(--glass-line); }
.btn-wa:hover { transform: translateY(-2px); background: rgba(254,106,9,0.16); color: #fff; box-shadow: var(--glow); }
.btn-dark { background: #fff; color: #08080A; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(255,255,255,0.18); }
.btn .play { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-soft); color: var(--secondary); display: grid; place-items: center; font-size: 11px; }
.btn-block { width: 100%; }

/* ============================================================
   Section heads
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--secondary);
  border: 1px solid var(--glass-line); border-radius: 999px;
  padding: 7px 15px; background: rgba(254,106,9,0.07);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(254,106,9,0.22), 0 0 12px rgba(254,106,9,0.6); }

.section { padding: 96px 0; position: relative; }
.section.tint { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: clamp(16px, 2vw, 18px); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: 84px 0 92px; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero h1 {
  margin-top: 24px;
  font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.035em;
}
.hero .lead { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 34px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--bg);
  margin-left: -10px; background: var(--grad); display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 13px;
}
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.hero-trust strong { color: #fff; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }

/* Background blobs (orange) */
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; z-index: 0; pointer-events: none; }
.blob-1 { width: 540px; height: 540px; top: -200px; right: -130px; background: radial-gradient(circle, rgba(254,106,9,0.45), transparent 70%); animation: float1 14s ease-in-out infinite; }
.blob-2 { width: 440px; height: 440px; bottom: -180px; left: -130px; background: radial-gradient(circle, rgba(245,71,5,0.32), transparent 70%); animation: float2 18s ease-in-out infinite; }
.blob-3 { width: 300px; height: 300px; top: 30%; left: 45%; background: radial-gradient(circle, rgba(255,138,42,0.22), transparent 70%); animation: float1 22s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, 40px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, -30px); } }

/* ---------- Dashboard mockup ---------- */
.mock { position: relative; }
.mock-card {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg), var(--glow);
  overflow: hidden;
  animation: floatCard 7s ease-in-out infinite;
}
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.mock-top { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,0.02); }
.mock-top i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.mock-top i:nth-child(1){ background:#FF5F57; } .mock-top i:nth-child(2){ background:#FEBC2E; } .mock-top i:nth-child(3){ background:#28C840; }
.mock-top span { margin-left: 10px; font-size: 12px; color: var(--faint); font-weight: 600; }
.mock-body { padding: 20px; display: grid; gap: 14px; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-kpi { background: var(--surface-3); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 16px; }
.mock-kpi .k-lbl { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.mock-kpi .k-val { font-size: 24px; font-weight: 800; margin-top: 4px; letter-spacing: -0.02em; }
.mock-kpi .k-val span { font-size: 12px; color: var(--accent); font-weight: 700; margin-left: 6px; }
.mock-chart { background: var(--surface-3); border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px; }
.mock-chart .c-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 90px; }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--grad); box-shadow: 0 0 18px rgba(254,106,9,0.4); transform-origin: bottom; animation: grow 1.1s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Floating WhatsApp notification cards */
.float-note {
  position: absolute; background: rgba(20,20,24,0.85); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; max-width: 230px; z-index: 3;
}
.float-note .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.float-note .t { font-size: 12px; }
.float-note .t b { display: block; font-size: 12.5px; color: #fff; }
.float-note .t span { color: var(--muted); }
.float-a { top: -22px; left: -28px; animation: floatCard 6s ease-in-out infinite; }
.float-b { bottom: -26px; right: -24px; animation: floatCard 8s ease-in-out infinite 0.6s; }

/* ---------- Logo / social-proof strip ---------- */
.logos { padding: 40px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); }
.logos p { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; align-items: center; }
.logo-row span { font-weight: 800; font-size: 17px; color: var(--faint); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.logo-row span::before { content: "✛"; color: var(--primary); font-size: 13px; }
.logo-row span:hover { color: var(--muted); }

/* ============================================================
   Stats / counters
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--glass-line); box-shadow: var(--shadow-md), var(--glow); }
.stat-card .num { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 600; }

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

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s, background 0.28s;
}
.card:hover { transform: translateY(-6px); border-color: var(--glass-line); background: var(--surface-2); box-shadow: var(--shadow-lg), var(--glow); }
.card .icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--secondary); font-size: 23px; margin-bottom: 18px;
  border: 1px solid var(--glass-line);
}
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin-top: 9px; font-size: 14.5px; color: var(--muted); }
.card ul { margin-top: 14px; display: grid; gap: 7px; }
.card ul li { font-size: 14px; color: var(--muted); padding-left: 26px; position: relative; }
.card ul li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--secondary); font-weight: 800; }

/* glass card variant */
.glass {
  background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}

/* Industry cards */
.ind-card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ind-card .icon { margin-bottom: 0; }
.ind-card h3 { font-size: 16px; }

/* ============================================================
   Problem comparison
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border-radius: var(--radius-lg); padding: 34px; }
.compare-card h3 { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.compare-card .badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; }
.compare-card ul { margin-top: 22px; display: grid; gap: 14px; }
.compare-card li { display: flex; gap: 12px; font-size: 15px; align-items: flex-start; }
.compare-card li .m { flex-shrink: 0; font-weight: 800; }

.compare-bad { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.compare-bad .badge { background: rgba(239,68,68,0.12); color: #F87171; }
.compare-bad li .m { color: #F87171; }
.compare-bad li { color: var(--muted); }

.compare-good {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #1a1208, #0e0e11 70%);
  border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg), var(--glow);
}
.compare-good::after { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 260px at 88% -10%, rgba(254,106,9,0.28), transparent 60%); pointer-events: none; }
.compare-good .badge { background: rgba(254,106,9,0.18); color: var(--secondary); }
.compare-good li { color: rgba(255,255,255,0.84); position: relative; z-index: 1; }
.compare-good li .m { color: var(--secondary); }
.compare-good h3 { position: relative; z-index: 1; }

/* ============================================================
   ROI calculator
   ============================================================ */
.roi {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.roi-controls { padding: 40px; border-right: 1px solid var(--line-soft); }
.roi-controls h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.roi-controls p { color: var(--muted); font-size: 14px; margin-top: 6px; margin-bottom: 26px; }
.roi-field { margin-bottom: 24px; }
.roi-field label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.roi-field label b { color: var(--secondary); font-size: 15px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 999px; background: var(--surface-3); outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--primary); box-shadow: 0 0 14px rgba(254,106,9,0.6); cursor: pointer;
}
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 0 14px rgba(254,106,9,0.6); cursor: pointer; }
.roi-result {
  padding: 40px; position: relative; overflow: hidden;
  background: linear-gradient(165deg, #1a1208, #0b0b0d 70%);
  display: flex; flex-direction: column; justify-content: center;
}
.roi-result::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 280px at 82% 0%, rgba(254,106,9,0.3), transparent 60%); }
.roi-result > * { position: relative; z-index: 1; }
.roi-result .r-lbl { font-size: 13px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.roi-result .r-big { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 8px 0 4px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.roi-result .r-sub { color: rgba(255,255,255,0.7); font-size: 14px; }
.roi-breakdown { margin-top: 28px; display: grid; gap: 14px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; }
.roi-breakdown div { display: flex; justify-content: space-between; font-size: 14.5px; }
.roi-breakdown div span { color: rgba(255,255,255,0.65); }
.roi-breakdown div b { font-weight: 700; }
.roi-breakdown .hi b { color: var(--secondary); }

/* ============================================================
   Process timeline
   ============================================================ */
.timeline { position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--primary), var(--line)); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; position: relative; }
.step .node {
  width: 56px; height: 56px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  display: grid; place-items: center; font-weight: 800; font-size: 16px; color: var(--secondary);
  position: relative; z-index: 1;
}
.step.active .node, .step:hover .node { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-orange); }
.step .body { padding-top: 4px; }
.step .body h3 { font-size: 18px; font-weight: 700; }
.step .body p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* ============================================================
   Case study
   ============================================================ */
.case {
  border-radius: var(--radius-lg);
  padding: 52px; position: relative; overflow: hidden;
  background: linear-gradient(165deg, #1c1409, #0c0c0e 72%);
  border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg), var(--glow);
}
.case::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 380px at 100% 0%, rgba(254,106,9,0.26), transparent 55%), radial-gradient(440px 280px at 0% 100%, rgba(245,71,5,0.16), transparent 60%); }
.case > * { position: relative; z-index: 1; }
.case h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; margin: 18px 0 6px; max-width: 620px; }
.case p.sub { color: rgba(255,255,255,0.7); max-width: 560px; }
.case-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 36px; }
.case-stat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px 18px; }
.case-stat .v { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.case-stat.hl .v { color: var(--secondary); }
.case-stat .l { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; font-weight: 600; }

/* ============================================================
   Pricing
   ============================================================ */
.price-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; margin: 0 auto; }
.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 40px 34px; position: relative;
  box-shadow: var(--shadow-sm); transition: transform 0.28s var(--ease), box-shadow 0.28s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: transparent; box-shadow: var(--shadow-lg), var(--glow); background: linear-gradient(165deg, #16100a, var(--surface) 60%); }
.price-card.featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--radius-lg); padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.price-card .tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 7px 18px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-orange);
}
.price-card .cycle { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--secondary); }
.price-card .amount { margin-top: 14px; font-size: 46px; font-weight: 800; letter-spacing: -0.03em; }
.price-card .amount span { font-size: 16px; color: var(--faint); font-weight: 600; }
.price-card .desc { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.price-card ul { margin: 26px 0; display: grid; gap: 12px; }
.price-card ul li { padding-left: 28px; position: relative; font-size: 14.5px; color: var(--muted); }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--secondary); font-weight: 900; }
.price-card ul li strong { color: #fff; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--glass-line); box-shadow: var(--shadow-md); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 24px; font-size: 16.5px; font-weight: 700; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq-q .chev { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-3); color: var(--secondary); display: grid; place-items: center; font-size: 18px; transition: transform 0.3s var(--ease), background 0.2s; }
.faq-item.open .chev { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ============================================================
   Forms
   ============================================================ */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; max-width: 720px; margin: 0 auto; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 700; color: #fff; }
.field input, .field select, .field textarea {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; color: #fff; font-size: 15px; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field select option { background: var(--surface-2); color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: var(--surface-3);
  box-shadow: 0 0 0 4px rgba(254,106,9,0.14);
}
.form-msg { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: rgba(34,197,94,0.12); color: #4ADE80; border: 1px solid rgba(34,197,94,0.3); }
.form-msg.err { display: block; background: rgba(239,68,68,0.12); color: #F87171; border: 1px solid rgba(239,68,68,0.3); }

/* page hero (inner pages) */
.page-hero { padding: 72px 0 52px; text-align: center; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-top: 22px; font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.page-hero p { margin: 20px auto 0; font-size: clamp(16px,2vw,19px); color: var(--muted); max-width: 600px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { padding: 40px 24px 100px; }
.cta-inner {
  max-width: var(--container); margin: 0 auto; text-align: center;
  border-radius: 32px; padding: 72px 48px;
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #1e1409, #0b0b0d 72%);
  border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg), var(--glow);
}
.cta-inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 320px at 50% -20%, rgba(254,106,9,0.36), transparent 60%), radial-gradient(440px 280px at 12% 120%, rgba(245,71,5,0.2), transparent 60%); }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.cta-inner p { margin: 14px auto 0; color: rgba(255,255,255,0.78); font-size: 17px; max-width: 540px; }
.cta-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); margin-bottom: 16px; }
.site-footer a { display: block; font-size: 14.5px; color: var(--muted); padding: 5px 0; transition: color 0.2s; }
.site-footer a:hover { color: var(--secondary); }
.site-footer .blurb { font-size: 14.5px; color: var(--muted); max-width: 300px; margin-top: 14px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }

/* ============================================================
   Responsive
   ============================================================ */
/* Nav collapses to hamburger when the floating pill runs out of room */
@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 82px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 0;
    padding: 16px 24px 24px; box-shadow: var(--shadow-md);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 13px; }
  .nav-links a.active::after { display: none; }
  .nav-cta { padding: 10px 18px !important; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 60px 0 72px; }
  .mock { max-width: 480px; margin: 0 auto; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-2, .grid-4, .price-wrap, .form-grid, .compare, .roi { grid-template-columns: 1fr; }
  .roi-controls { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .case, .cta-inner { padding: 40px 26px; }
  .form-card { padding: 28px; }
  .float-note { display: none; }
}
@media (max-width: 420px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
