/* =================================================================
   FlowStateCommerce — Design System & Global Styles
   Navy + warm amber. Clean, modern, trustworthy.
   ================================================================= */

:root {
  /* Brand palette */
  --navy-900: #07152e;
  --navy-800: #0a1f44;
  --navy-700: #102a57;
  --navy-600: #1a3a6e;
  --navy-500: #2b4d85;

  --amber-500: #ff8a3d;
  --amber-400: #ff9e5c;
  --amber-300: #ffb784;
  --amber-soft: #fff1e6;

  --teal-500: #19c2a8;
  --teal-400: #36d3bb;
  --teal-soft: #e4faf6;

  --ink-900: #0d1b2a;
  --ink-700: #2a3b4d;
  --ink-500: #56697d;
  --ink-400: #7c8 ;
  --ink-400: #7c8a99;
  --ink-300: #a9b4c0;

  --paper: #ffffff;
  --paper-50: #f7f9fc;
  --paper-100: #eef2f8;
  --paper-200: #e2e8f1;
  --line: #e3e9f2;

  --good: #1faa6a;
  --warn: #e0a106;
  --bad: #e2533b;
  --info: #2f74e0;

  /* Effects */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-xs: 0 1px 2px rgba(13, 27, 42, .06);
  --shadow-sm: 0 2px 8px rgba(13, 27, 42, .08);
  --shadow-md: 0 10px 30px rgba(13, 27, 42, .10);
  --shadow-lg: 0 24px 60px rgba(13, 27, 42, .16);
  --shadow-amber: 0 14px 30px rgba(255, 138, 61, .35);

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-sans);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* NOTE: native scroll-behavior:smooth is intentionally OFF — it fights
   with Lenis (the JS smooth-scroll) and causes glitchy scrolling. Lenis
   provides smoothness when loaded; native scroll is used as the fallback. */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p { color: var(--ink-500); }
.lead { font-size: clamp(1.06rem, 1.8vw, 1.3rem); color: var(--ink-500); line-height: 1.6; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper { background: var(--paper-50); }
.section--navy { background: var(--navy-800); color: #cdd8ea; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-500);
}
.eyebrow--teal { color: var(--teal-500); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 660px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head.center { text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }
.muted { color: var(--ink-400); }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap; cursor: pointer; border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: linear-gradient(135deg, var(--amber-500), #ff7a2a); color: #fff; box-shadow: var(--shadow-amber); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(255,138,61,.45); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: #fff; color: var(--navy-800); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--navy-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); }
.btn--teal { background: var(--teal-500); color: #03251f; }
.btn--teal:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(25,194,168,.35); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-xs); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; color: var(--navy-800); letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand span b { color: var(--amber-500); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink-700);
  padding: 9px 14px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--navy-800); background: var(--paper-100); }
.nav-links a.active { color: var(--navy-800); background: var(--amber-soft); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--navy-800); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-cart { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--navy-800); }
.nav-cart svg { width: 21px; height: 21px; flex: none; }  /* icon had no size → invisible, esp. on phones */
.nav-cart:hover { background: var(--paper-100); }
.nav-cart .count { position: absolute; top: -3px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--amber-500); color: #fff; font-size: .68rem; font-weight: 800; display: none; align-items: center; justify-content: center; }
.nav-cart.has-items .count { display: inline-flex; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 16px var(--gutter) 28px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .35s var(--ease); z-index: 90;
  }
  .nav.open .nav-links { transform: translateY(0); }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav-desktop-cta { display: none; }
}

/* Small phones: the wordmark + cart label + toggle overflow a ~390px
   row and were clipping the page. Tighten the nav so it always fits. */
@media (max-width: 480px) {
  .nav { gap: 10px; }
  .brand { font-size: 1.02rem; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .nav-cart .lbl { display: none; }       /* icon-only cart on phones */
  .nav-cart { padding: 8px; }
  .nav-actions { gap: 6px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-800); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(255,138,61,.30), transparent 60%),
    radial-gradient(720px 520px at 8% 110%, rgba(25,194,168,.22), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
}
.hero-grid-overlay { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(700px 500px at 70% 20%, #000, transparent 80%); }
.hero .container { position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 70px); align-items: center; padding-block: clamp(60px, 9vw, 110px); }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .85rem; font-weight: 600; color: #e6edf8; backdrop-filter: blur(8px); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 4px rgba(54,211,187,.25); }
.hero h1 { color: #fff; margin-top: 22px; }
.hero h1 .hl { background: linear-gradient(120deg, var(--amber-400), var(--amber-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: #c6d2e6; font-size: clamp(1.05rem, 1.8vw, 1.25rem); margin-top: 22px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 38px; color: #b6c4dc; font-size: .9rem; }
.hero-trust .ht { display: inline-flex; align-items: center; gap: 9px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--teal-400); flex: none; }

/* hero visual: stacked browser mockups */
.hero-visual { position: relative; min-height: 420px; }
.mock {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid rgba(255,255,255,.5);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f2f5fa; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6dde8; display: block; }
.mock-bar i:nth-child(1){ background:#ff6058; } .mock-bar i:nth-child(2){ background:#ffbd2e; } .mock-bar i:nth-child(3){ background:#28c840; }
.mock-url { margin-left: 8px; flex: 1; height: 18px; border-radius: 6px; background: #e4eaf3; }
.mock-1 { top: 0; right: 0; width: 78%; z-index: 3; }
.mock-2 { bottom: 6%; left: 0; width: 56%; z-index: 4; }
.float-card { position: absolute; z-index: 5; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.float-card .fc-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card .fc-num { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink-900); line-height: 1; }
.float-card .fc-label { font-size: .76rem; color: var(--ink-400); }
.fc-leads { top: -22px; left: -16px; }
.fc-rev { bottom: -20px; right: -10px; }
.floaty { animation: floaty 5s ease-in-out infinite; }
.floaty.delay { animation-delay: -2.5s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  /* clip the decorative mockup bleed so it can't push page width on mobile */
  .hero-visual { min-height: 340px; margin-top: 10px; overflow: hidden; border-radius: var(--radius-lg); }
}

/* ---------- Logo strip ---------- */
.logostrip { border-top: 1px solid rgba(255,255,255,.08); }
.logostrip .container { padding-block: 26px; }
.logostrip-label { text-align: center; color: #9fb0cb; font-size: .82rem; letter-spacing: .04em; margin-bottom: 16px; }
.logostrip-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 46px); opacity: .85; }
.logostrip-row .lg { font-family: var(--font-display); font-weight: 800; color: #cdd9ec; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 8px; opacity: .8; }
.logostrip-row .lg svg { width: 20px; height: 20px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--paper-200); }
.feature-card .ficon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature-card p { font-size: .97rem; }
.bg-amber { background: linear-gradient(135deg, var(--amber-500), #ff7a2a); }
.bg-teal { background: linear-gradient(135deg, var(--teal-500), #12a892); }
.bg-navy { background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); }
.bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.7rem); color: #fff; line-height: 1; }
.stat .num .suf { color: var(--amber-400); }
.stat .lbl { color: #aebfd8; font-size: .92rem; margin-top: 10px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 920px){ .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.step .step-num { font-family: var(--font-display); font-weight: 800; font-size: .9rem; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-500); margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; margin-bottom: 7px; }
.step p { font-size: .94rem; }
.step .step-icon { position: absolute; top: 26px; right: 24px; color: var(--paper-200); width: 30px; height: 30px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
@media (max-width: 960px){ .pricing { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-xl); padding: 32px 30px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.popular { border-color: var(--amber-500); box-shadow: 0 24px 60px rgba(255,138,61,.22); }
.price-card.popular::before { content: "Most popular"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--amber-500), #ff7a2a); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-amber); }
.price-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--navy-800); }
.price-tag-line { font-size: .92rem; color: var(--ink-400); margin-top: 4px; min-height: 42px; }
.price-amt { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 4px; }
.price-amt .cur { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink-700); }
.price-amt .val { font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: var(--navy-800); letter-spacing: -.03em; line-height: 1; }
.price-amt .per { color: var(--ink-400); font-size: .92rem; }
.price-amt .price-was { align-self: center; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink-400); text-decoration: line-through; margin-right: 4px; }
.price-save { display: inline-block; font-size: .78rem; font-weight: 700; color: #18794e; background: #e6f6ee; border: 1px solid #bfe6d2; border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.price-note { font-size: .85rem; color: var(--ink-400); margin-bottom: 22px; }
.price-features { display: grid; gap: 13px; margin: 6px 0 26px; }
.price-features li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--ink-700); }
.price-features li svg { width: 19px; height: 19px; flex: none; margin-top: 1px; color: var(--teal-500); }
.price-features li.off { color: var(--ink-300); }
.price-features li.off svg { color: var(--ink-300); }
.price-card .btn { margin-top: auto; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
table.compare thead th { font-family: var(--font-display); font-size: 1rem; color: var(--navy-800); background: var(--paper-50); }
table.compare thead th.pop { background: var(--amber-soft); }
table.compare td { font-size: .94rem; }
table.compare td:not(:first-child), table.compare th:not(:first-child) { text-align: center; }
table.compare td.feat { font-weight: 600; color: var(--ink-700); }
table.compare .yes { color: var(--teal-500); }
table.compare .no { color: var(--ink-300); }
table.compare tbody tr:hover, table.compare tbody tr:hover { background: var(--paper-50); }

/* ---------- Add-ons ---------- */
.addon { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); }
.addon .ai { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; }
.addon h4 { font-size: 1.02rem; }
.addon p { font-size: .88rem; margin-top: 3px; }
.addon .ap { font-family: var(--font-display); font-weight: 800; color: var(--amber-500); margin-top: 8px; }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 960px){ .portfolio-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .portfolio-grid { grid-template-columns: 1fr; } }
.work { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s; }
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.work-shot { aspect-ratio: 16/11; position: relative; overflow: hidden; }
.work-body { padding: 22px; }
.work-cat { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-500); }
.work-body h3 { font-size: 1.18rem; margin: 8px 0; }
.work-body p { font-size: .92rem; }
.work-result { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 13px; border-radius: 999px; background: var(--teal-soft); color: #0c7a68; font-weight: 700; font-size: .84rem; }
.work-result svg { width: 15px; height: 15px; }

/* mini website mockup (CSS art) */
.site-shot { width: 100%; height: 100%; display: flex; flex-direction: column; }
.ss-bar { display: flex; gap: 5px; align-items: center; padding: 8px 12px; background: rgba(0,0,0,.12); }
.ss-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); }
.ss-body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.ss-nav { display: flex; justify-content: space-between; align-items: center; }
.ss-logo { width: 46px; height: 10px; border-radius: 3px; background: rgba(255,255,255,.9); }
.ss-links { display: flex; gap: 6px; }
.ss-links span { width: 22px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.5); }
.ss-hero { height: 13px; width: 70%; border-radius: 4px; background: rgba(255,255,255,.92); }
.ss-hero.sm { width: 50%; height: 9px; background: rgba(255,255,255,.6); }
.ss-btn { width: 54px; height: 16px; border-radius: 5px; }
.ss-cards { display: flex; gap: 8px; margin-top: auto; }
.ss-cards div { flex: 1; height: 34px; border-radius: 6px; background: rgba(255,255,255,.85); }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px){ .tgrid { grid-template-columns: 1fr; } }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; }
.stars { display: flex; gap: 3px; color: var(--amber-500); margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; }
.quote blockquote { font-size: 1.02rem; color: var(--ink-700); line-height: 1.6; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #fff; flex: none; }
.who .nm { font-weight: 700; color: var(--ink-900); font-size: .96rem; }
.who .rl { font-size: .84rem; color: var(--ink-400); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; color: var(--navy-800); }
.faq-q .chev { width: 22px; height: 22px; flex: none; transition: transform .3s var(--ease); color: var(--amber-500); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-500); font-size: .97rem; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 70px); background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.cta-banner::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 85% 0%, rgba(255,138,61,.35), transparent 60%), radial-gradient(500px 300px at 10% 120%, rgba(25,194,168,.25), transparent 60%); }
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #c8d4e8; max-width: 560px; margin: 16px auto 0; }
.cta-banner .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-900); color: #aebfd8; padding-block: 64px 30px; }
.site-footer .container { position: relative; z-index: 1; width: 100%; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #8fa2c0; margin-top: 14px; font-size: .92rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: #9fb0cb; font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--amber-400); }
.footer-contact li { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: .92rem; color: #9fb0cb; }
.footer-contact svg { width: 17px; height: 17px; color: var(--amber-400); flex: none; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; color: #7e91b0; }
.footer-bottom .pay { display: flex; gap: 8px; align-items: center; }
.footer-bottom .pay .chip { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 4px 8px; font-weight: 700; font-size: .72rem; color: #cdd9ec; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px){ .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.col-span { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink-700); }
.field label .req { color: var(--amber-500); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  font-size: .97rem; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber-500); box-shadow: 0 0 0 4px rgba(255,138,61,.14); }
.field .hint { font-size: .8rem; color: var(--ink-400); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.field .err { display: none; color: var(--bad); font-size: .8rem; }
.field.invalid .err { display: block; }
.filedrop { border: 2px dashed var(--paper-200); border-radius: var(--radius); padding: 26px; text-align: center; color: var(--ink-400); background: var(--paper-50); cursor: pointer; transition: border-color .2s, background .2s; }
.filedrop:hover, .filedrop.drag { border-color: var(--amber-500); background: var(--amber-soft); }
.filedrop svg { width: 30px; height: 30px; margin: 0 auto 8px; color: var(--amber-500); }
.file-list { display: grid; gap: 8px; margin-top: 12px; }
.file-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font-size: .88rem; }
.file-row .fn { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .rm { color: var(--bad); font-weight: 700; }

/* form card */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-md); }
.swatch-row { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 8px; }
.swatch input[type=color] { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 2px; background: #fff; cursor: pointer; }

/* radio cards */
.radio-cards { display: grid; gap: 12px; }
.radio-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s; }
.radio-card:hover { border-color: var(--amber-300); }
.radio-card input { margin-top: 3px; accent-color: var(--amber-500); width: 18px; height: 18px; }
.radio-card.sel { border-color: var(--amber-500); background: var(--amber-soft); }
.radio-card .rc-title { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); }
.radio-card .rc-sub { font-size: .87rem; color: var(--ink-400); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 360px at 85% -20%, rgba(255,138,61,.28), transparent 60%), radial-gradient(600px 360px at 0% 120%, rgba(25,194,168,.18), transparent 60%); }
.page-hero .container { position: relative; padding-block: clamp(54px, 8vw, 96px); }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: #c6d2e6; max-width: 600px; margin-top: 18px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: #9fb0cb; font-size: .85rem; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--amber-400); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
@media (max-width: 900px){ .checkout-grid { grid-template-columns: 1fr; } }
.summary { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.summary h3 { font-size: 1.2rem; margin-bottom: 18px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: .95rem; color: var(--ink-700); border-bottom: 1px dashed var(--line); }
.sum-line .nm { display: flex; flex-direction: column; }
.sum-line .nm small { color: var(--ink-400); font-size: .8rem; }
.sum-line .amt { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--ink-900); }
.sum-total .t { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink-900); }
.sum-total .v { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--navy-800); }
.addon-toggle { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s; }
.addon-toggle:hover { border-color: var(--amber-300); }
.addon-toggle input { width: 18px; height: 18px; accent-color: var(--amber-500); }
.addon-toggle.on { border-color: var(--amber-500); background: var(--amber-soft); }
.addon-toggle .at-name { font-weight: 600; color: var(--ink-700); font-size: .92rem; flex: 1; }
.addon-toggle .at-price { font-family: var(--font-display); font-weight: 800; color: var(--amber-500); font-size: .9rem; }

.stripe-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; box-shadow: var(--shadow-xs); }
.stripe-row { display: flex; gap: 12px; }
.stripe-row .field { flex: 1; }
.secure-note { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--teal-soft); border-radius: var(--radius-sm); color: #0c7a68; font-size: .86rem; }
.secure-note svg { width: 18px; height: 18px; flex: none; }
.paychips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.paychips .pc { border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; font-weight: 800; font-size: .72rem; color: var(--ink-500); background: #fff; }
.demo-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius); background: #fff8e9; border: 1px solid #f4dca0; color: #8a6a13; font-size: .9rem; }
.demo-banner svg { width: 20px; height: 20px; flex: none; color: var(--warn); margin-top: 1px; }

/* ---------- Stepper ---------- */
.stepper { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.stepper .st { display: flex; align-items: center; gap: 10px; }
.stepper .st .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .85rem; background: var(--paper-100); color: var(--ink-400); border: 2px solid var(--line); }
.stepper .st .nm { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink-400); }
.stepper .st.active .dot { background: var(--amber-500); color: #fff; border-color: var(--amber-500); }
.stepper .st.active .nm { color: var(--navy-800); }
.stepper .st.done .dot { background: var(--teal-500); color: #fff; border-color: var(--teal-500); }
.stepper .bar { width: 30px; height: 2px; background: var(--line); }

/* ---------- Confirmation / success ---------- */
.success-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--teal-soft); display: grid; place-items: center; margin: 0 auto 22px; }
.success-icon svg { width: 42px; height: 42px; color: var(--teal-500); }
.success-icon.pop { animation: pop .5s var(--ease); }
@keyframes pop { 0%{ transform: scale(.5); opacity: 0; } 60%{ transform: scale(1.12); } 100%{ transform: scale(1); opacity: 1; } }
.receipt { max-width: 560px; margin: 30px auto 0; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.receipt-head { padding: 20px 26px; background: var(--paper-50); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.receipt-body { padding: 22px 26px; }
.next-steps { display: grid; gap: 14px; max-width: 560px; margin: 26px auto 0; text-align: left; }
.next-step { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.next-step .ns-num { width: 30px; height: 30px; border-radius: 9px; background: var(--amber-soft); color: var(--amber-500); display: grid; place-items: center; font-weight: 800; flex: none; font-family: var(--font-display); }

/* ---------- Admin ---------- */
body.admin { background: var(--paper-50); }
.admin-shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
@media (max-width: 860px){ .admin-shell { grid-template-columns: 1fr; } }
.admin-side { background: var(--navy-900); color: #aebfd8; padding: 22px 16px; position: sticky; top: 0; height: 100vh; }
@media (max-width: 860px){ .admin-side { position: static; height: auto; padding-bottom: 18px; } .admin-side .side-foot { position: static; margin-top: 20px; } }
.admin-side .brand { color: #fff; margin-bottom: 28px; padding-inline: 8px; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: #9fb0cb; font-family: var(--font-display); font-weight: 600; font-size: .94rem; transition: background .2s, color .2s; }
.admin-nav a svg { width: 19px; height: 19px; }
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.active { background: var(--amber-500); color: #fff; }
.admin-side .side-foot { position: absolute; bottom: 22px; left: 16px; right: 16px; font-size: .8rem; color: #6f83a3; }
.admin-side .side-foot a { color: var(--amber-400); }
.admin-main { padding: clamp(20px, 3vw, 38px); }
.admin-top { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.admin-top h1 { font-size: 1.7rem; }
.admin-top .sub { color: var(--ink-400); font-size: .92rem; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
@media (max-width: 1000px){ .kpi-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .kpi-grid { grid-template-columns: 1fr; } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-xs); }
.kpi .kpi-top { display: flex; align-items: center; justify-content: space-between; }
.kpi .kpi-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.kpi .kpi-val { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--ink-900); margin-top: 14px; line-height: 1; }
.kpi .kpi-lbl { color: var(--ink-400); font-size: .9rem; margin-top: 6px; }
.kpi .kpi-trend { font-size: .82rem; font-weight: 700; color: var(--good); margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); margin-bottom: 24px; overflow: hidden; }
.panel-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel-head h3 { font-size: 1.12rem; }
.panel-body { padding: 6px 0; }
.tbl-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; min-width: 620px; }
table.data th, table.data td { padding: 13px 22px; text-align: left; font-size: .9rem; border-bottom: 1px solid var(--line); }
table.data th { font-family: var(--font-display); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-400); background: var(--paper-50); }
table.data tbody tr:hover { background: var(--paper-50); }
table.data td .who2 { font-weight: 700; color: var(--ink-900); }
table.data td small { color: var(--ink-400); display: block; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; font-family: var(--font-display); }
.badge::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.b-new { background: #eaf2ff; color: #2f74e0; }
.badge.b-contacted { background: #fff3df; color: #b9820a; }
.badge.b-quoted { background: #efe9ff; color: #6d49d6; }
.badge.b-converted, .badge.b-paid, .badge.b-launched { background: var(--teal-soft); color: #0c8a74; }
.badge.b-pending { background: #fff3df; color: #b9820a; }
.badge.b-intake { background: #eaf2ff; color: #2f74e0; }
.badge.b-design { background: #efe9ff; color: #6d49d6; }
.badge.b-dev { background: #e7f6ff; color: #1c84b8; }
.badge.b-review { background: #fff3df; color: #b9820a; }
.badge.b-maintenance { background: #eef2f8; color: #56697d; }
.badge.b-lost { background: #fdece8; color: #c0432a; }
.admin-empty { text-align: center; padding: 50px 20px; color: var(--ink-400); }
.admin-empty svg { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--paper-200); }
.seed-link { color: var(--amber-500); font-weight: 700; cursor: pointer; }
.mini-select { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .82rem; background: #fff; font-weight: 600; }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding: 20px 22px 0; }
.chart .bar { flex: 1; background: linear-gradient(180deg, var(--amber-400), var(--amber-500)); border-radius: 7px 7px 0 0; position: relative; min-height: 4px; transition: height .6s var(--ease); }
.chart .bar:hover { filter: brightness(1.05); }
.chart .bar .bv { position: absolute; top: -22px; left: 0; right: 0; text-align: center; font-size: .72rem; font-weight: 700; color: var(--ink-500); }
.chart-x { display: flex; gap: 10px; padding: 8px 22px 18px; }
.chart-x span { flex: 1; text-align: center; font-size: .76rem; color: var(--ink-400); }

/* ---------- Toast / modal ---------- */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: grid; gap: 10px; }
.toast { display: flex; align-items: flex-start; gap: 12px; background: var(--navy-800); color: #fff; padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 340px; transform: translateX(120%); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.toast.show { transform: translateX(0); opacity: 1; }
.toast svg { width: 20px; height: 20px; flex: none; color: var(--teal-400); margin-top: 1px; }
.toast .tt { font-weight: 700; font-family: var(--font-display); }
.toast .td { font-size: .86rem; color: #c6d2e6; }

.modal-backdrop { position: fixed; inset: 0; z-index: 9998; background: rgba(7,21,46,.55); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.open { display: flex; }
.modal { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); max-width: 540px; width: 100%; max-height: 88vh; overflow: auto; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 1.2rem; }
.modal-close { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-400); }
.modal-close:hover { background: var(--paper-100); color: var(--ink-900); }
.modal-body { padding: 26px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; }
.kv dt { color: var(--ink-400); font-size: .88rem; }
.kv dd { color: var(--ink-900); font-size: .92rem; font-weight: 600; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1 !important; transform: none !important; } .floaty { animation: none; } }

/* ---------- Misc ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } }
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-700); }
.checklist li svg { width: 22px; height: 22px; flex: none; color: var(--teal-500); margin-top: 1px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: var(--paper-100); color: var(--ink-700); font-weight: 600; font-size: .88rem; }
.divider { height: 1px; background: var(--line); margin-block: 40px; }
.text-page { max-width: 800px; margin-inline: auto; }
.text-page h2 { font-size: 1.5rem; margin: 36px 0 14px; }
.text-page h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.text-page p, .text-page li { color: var(--ink-600, var(--ink-500)); margin-bottom: 12px; }
.text-page ul { list-style: disc; padding-left: 22px; }
.text-page ul li { margin-bottom: 8px; }
.text-page a { color: var(--info); font-weight: 600; }
.legal-meta { color: var(--ink-400); font-size: .9rem; margin-bottom: 8px; }

/* =================================================================
   HYPER-REALISTIC 3D & ANIMATION LAYER
   Three.js canvas · GSAP ScrollTrigger · Custom cursor
   Glassmorphism · Glow effects · Cinematic reveals
   ================================================================= */

/* ── Three.js hero canvas ──────────────────────────────────────── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}
.hero-grid-overlay { z-index: 2; }
.hero .container   { z-index: 3; }
.logostrip         { position: relative; z-index: 3; }

/* ── Interior page-hero ambient canvas ─────────────────────────── */
#page-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero::before, .page-hero::after { z-index: 2; }
@media (max-width: 600px) { #page-hero-canvas { display: none !important; } }

/* ── Custom cursor ─────────────────────────────────────────────── */
/* The native cursor is ALWAYS visible — we never hide it. The custom
   elements are purely additive accents that trail the real pointer, so
   there is zero risk of an invisible cursor. */
@media (pointer: fine) {
  /* small dot just behind the pointer */
  .fsc-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    margin: -4px 0 0 -4px;
    background: var(--amber-500);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    opacity: 0.85;
    box-shadow: 0 0 8px rgba(255, 138, 61, 0.6);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s, opacity 0.2s;
  }
  .fsc-cursor.active { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--teal-400); box-shadow: 0 0 12px rgba(54, 211, 187, 0.7); }
  .fsc-cursor.click  { opacity: 0.4; }

  /* trailing ring */
  .fsc-cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 34px; height: 34px;
    margin: -17px 0 0 -17px;
    border: 1.5px solid rgba(255, 138, 61, 0.45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s, opacity 0.25s;
  }
  .fsc-cursor-ring.active {
    width: 52px; height: 52px;
    margin: -26px 0 0 -26px;
    border-color: rgba(25, 194, 168, 0.6);
  }
}

/* ── Animated gradient on hero headline highlight ──────────────── */
.hero h1 .hl {
  background: linear-gradient(115deg, var(--amber-400) 0%, var(--amber-300) 30%, var(--teal-400) 60%, var(--amber-400) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hlFlow 5s ease-in-out infinite;
}
@keyframes hlFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Hero badge dot pulse ──────────────────────────────────────── */
.hero-badge .dot {
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(54, 211, 187, 0.25); }
  50%       { box-shadow: 0 0 0 9px rgba(54, 211, 187, 0.08), 0 0 0 4px rgba(54, 211, 187, 0.35); }
}

/* ── Hero browser mockup enhanced animations ───────────────────── */
.mock-1 {
  animation: mockFloat1 6.5s ease-in-out infinite !important;
}
.mock-2 {
  animation: mockFloat2 7.2s ease-in-out infinite !important;
  animation-delay: -2.2s !important;
}
.floaty        { animation: none !important; }
.floaty.delay  { animation: none !important; }

@keyframes mockFloat1 {
  0%, 100% { transform: translateY(0)    rotate(-0.8deg); box-shadow: 0 24px 60px rgba(13,27,42,.20); }
  50%      { transform: translateY(-18px) rotate(-0.8deg); box-shadow: 0 40px 80px rgba(13,27,42,.28); }
}
@keyframes mockFloat2 {
  0%, 100% { transform: translateY(0)    rotate(1.0deg); }
  50%      { transform: translateY(-14px) rotate(1.0deg); }
}

/* Float cards get their own independent float */
.fc-leads { animation: fcFloat 5.4s ease-in-out infinite; }
.fc-rev   { animation: fcFloat 6.0s ease-in-out infinite; animation-delay: -3s; }
@keyframes fcFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ── Float cards glass effect ──────────────────────────────────── */
.float-card {
  backdrop-filter: blur(14px) saturate(160%);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 44px rgba(13,27,42,.22), 0 4px 14px rgba(13,27,42,.10);
}

/* ── Button shimmer / shine effect ────────────────────────────── */
.btn--primary,
.btn--dark,
.btn--teal {
  position: relative;
  overflow: hidden;
}
.btn--primary::after,
.btn--dark::after,
.btn--teal::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0s;
}
.btn--primary:hover::after,
.btn--dark:hover::after,
.btn--teal:hover::after {
  left: 150%;
  transition: left 0.55s ease;
}

/* ── Card 3D tilt layer ────────────────────────────────────────── */
/* No always-on will-change here — promoting every card to its own
   compositor layer permanently caused scroll jank. GSAP applies
   will-change only while a card is actively being tilted. */
.card, .price-card, .work, .quote, .step, .kpi, .addon {
  transform-style: preserve-3d;
}

/* ── Animated gradient border on popular pricing card ──────────── */
.price-card.popular {
  isolation: isolate;
}
.price-card.popular::before {
  /* overrides the "Most Popular" badge — keep it */
  z-index: 1;
}
.price-card.popular .animated-border {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    var(--amber-500) 0%, var(--teal-400) 33%, var(--amber-300) 66%, var(--amber-500) 100%
  );
  z-index: -1;
  animation: spinBorder 4s linear infinite;
  filter: blur(1px);
}
@property --border-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinBorder {
  to { --border-angle: 360deg; }
}

/* ── Feature card icon hover bounce ───────────────────────────── */
.feature-card {
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.3s;
}
.feature-card:hover { border-color: rgba(255,138,61,.25); }
.feature-card .ficon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
}
.feature-card:hover .ficon {
  transform: scale(1.14) translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
}

/* ── Step card enhanced hover ──────────────────────────────────── */
.step {
  transition: transform 0.32s var(--ease), box-shadow 0.32s, border-color 0.3s;
}
.step:hover {
  transform: translateY(-7px) perspective(800px) rotateX(2deg);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,138,61,.3);
}
.step:hover .step-num {
  background: linear-gradient(135deg, var(--amber-500), #ff7a2a);
  color: #fff;
  transition: background 0.3s, color 0.3s;
}
.step:hover .step-icon { color: rgba(255,138,61,.25); transition: color 0.3s; }

/* ── Portfolio card image scale on hover ───────────────────────── */
.work-shot .site-shot {
  transition: transform 0.6s var(--ease);
}
.work:hover .work-shot .site-shot { transform: scale(1.06); }
.work { transition: transform 0.35s var(--ease), box-shadow 0.35s; }

/* ── Testimonial hover ─────────────────────────────────────────── */
.quote { transition: transform 0.32s var(--ease), box-shadow 0.32s, border-color 0.3s; }
.quote:hover { border-color: rgba(255,138,61,.25); }

/* ── Eyebrow line grow animation (triggered by in-view class) ─── */
.eyebrow::before {
  transition: width 0.5s var(--ease);
  width: 0;
}
.eyebrow.in-view::before { width: 22px; }
/* Existing in-view state for elements that skip the class */
.section-head:not(.reveal) .eyebrow::before { width: 22px; }

/* ── Stat numbers glow ─────────────────────────────────────────── */
.stat .num {
  text-shadow: 0 0 40px rgba(255, 158, 92, 0.28);
  font-variant-numeric: tabular-nums;
}

/* ── CTA banner enhanced glow ──────────────────────────────────── */
.cta-banner {
  box-shadow: var(--shadow-lg), 0 0 90px rgba(25,194,168,.09);
}

/* ── Scroll-smoothed hero elements ─────────────────────────────── */
/* min-width:0 lets the grid columns shrink below their content width —
   without it the hero overflows the viewport and clips text on mobile. */
.hero-copy, .hero-visual { will-change: transform; min-width: 0; }

/* ── Frosted glass variant for page heroes ─────────────────────── */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 110% 50%, rgba(255,138,61,.12), transparent 60%);
  pointer-events: none;
}

/* ── Animated wave background for section--navy ────────────────── */
.section--navy {
  position: relative;
  overflow: hidden;
}
.section--navy::after {
  content: "";
  position: absolute;
  bottom: -40px; left: -5%;
  width: 110%; height: 200px;
  background: radial-gradient(ellipse at 50% 100%, rgba(25,194,168,.12), transparent 70%);
  animation: navyWave 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes navyWave {
  from { transform: scaleX(0.95) translateY(0); }
  to   { transform: scaleX(1.05) translateY(-14px); }
}

/* ── KPI card hover ────────────────────────────────────────────── */
.kpi { transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.kpi:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* ── Admin chart bar hover glow ────────────────────────────────── */
.chart .bar:hover { filter: brightness(1.06) drop-shadow(0 -4px 8px rgba(255,138,61,.4)); }

/* ── Smooth nav link active underline ──────────────────────────── */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 12px; right: 12px;
  height: 2px;
  background: var(--amber-500);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { background: transparent; }

/* ── Footer brand mark glow on hover ───────────────────────────── */
.brand-mark rect { transition: fill 0.3s; }
.brand:hover .brand-mark rect { fill: var(--navy-700); }

/* ── Page fade-in — body is ALWAYS visible; .ready only adds a subtle
      transition hook. Never gate visibility on JS. ──────────────── */
body { opacity: 1; }

/* ── Word split container (GSAP text reveal) ───────────────────── */
.word { display: inline-block; overflow: hidden; }
.word-inner { display: inline-block; }

/* ── Clip-path initial state for portfolio cards (GSAP sets these) */
/* GSAP handles the clip-path animation — no static override needed */

/* ── Reduced motion overrides ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fsc-cursor, .fsc-cursor-ring { display: none !important; }
  #hero-canvas { display: none !important; }
  body { opacity: 1 !important; }
  .hero h1 .hl { color: var(--amber-400) !important; animation: none !important; }
  .hero-badge .dot { animation: none !important; }
  .mock-1, .mock-2, .fc-leads, .fc-rev { animation: none !important; }
}

/* ── Mobile: hide canvas + decorative mockups on small screens ──── */
@media (max-width: 600px) {
  #hero-canvas { display: none !important; }
  /* the floating browser mockups bleed past the viewport on phones;
     they're purely decorative, so hide them to prevent horizontal
     overflow that was clipping the headline text. */
  .hero-visual { display: none !important; }
}
/* belt-and-suspenders: never allow horizontal scroll */
html { overflow-x: hidden; }

/* ── Accessibility: keyboard focus + skip link ─────────────────── */
/* Visible focus ring ONLY for keyboard users (not mouse clicks) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.faq-q:focus-visible,
.addon-toggle:focus-visible,
.radio-card:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 2px;
  border-radius: 6px;
}
/* Inputs already show an amber glow on :focus; keep the ring crisp */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 0; }

/* Skip-to-content link — hidden until focused */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100000;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-md);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; outline: 3px solid var(--amber-400); outline-offset: 2px; }

/* ── Home hero: let the 3D ecosystem be the star (hide CSS mockups) ── */
body[data-page="home"] .hero-visual { display: none; }
body[data-page="home"] .hero-inner { grid-template-columns: 1.1fr 1fr; }

/* ---- Full-page 3D globe background (homepage) ----
   z-index:0 keeps it ABOVE the opaque body gradient; #site-content is lifted
   to z-index:1 so the (transparent) page sits on top and the globe shows
   through the whole page. Drag is handled on window, so links stay clickable. */
.hero-globe { display: none; }
body[data-page="home"] .hero-globe {
  display: block; position: fixed; inset: 0;
  width: 100vw; height: 100vh; height: 100dvh;
  z-index: 0; pointer-events: none;
}
.hero-globe #globeCanvas { display: block; width: 100%; height: 100%; }
body[data-page="home"] #site-content { position: relative; z-index: 1; }
/* on home the globe replaces the ecosystem background so they don't overlap */
body[data-page="home"] #fsc-bg, body[data-page="home"] #fsc-bg-veil { display: none; }

/* Hero globe on interior pages (packages, checkout) — sits in the page-hero,
   to the right and behind the heading. The lighter ambient canvas is hidden
   there so we don't run a third WebGL context (which caused dropouts). */
body[data-page="packages"] .page-hero,
body[data-page="checkout"] .page-hero { min-height: 380px; }
body[data-page="packages"] #page-hero-canvas,
body[data-page="checkout"] #page-hero-canvas { display: none; }
body[data-page="packages"] .hero-globe,
body[data-page="checkout"] .hero-globe {
  display: block; position: absolute; top: 0; right: 0; bottom: 0;
  width: min(640px, 56%); height: 100%; z-index: 1; pointer-events: none;
}
@media (max-width: 760px) {
  body[data-page="packages"] .hero-globe,
  body[data-page="checkout"] .hero-globe { width: 100%; opacity: .45; }
}
/* let visitors grab-and-spin the globe behind the page */
body[data-page="home"] { cursor: grab; }
body[data-page="home"].fsc-dragging { cursor: grabbing; }
@media (max-width: 880px) {
  body[data-page="home"] .hero-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   IMMERSIVE DARK THEME — the whole site floats over the 3D bg
   Canvas sits at z-index:-1 (above body bg, below all content),
   so we never touch content stacking (sticky headers stay intact).
   ============================================================ */

/* fixed 3D canvas + readability veil (both behind content) */
#fsc-bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; display: block; }
#fsc-bg-veil {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 95% at 50% 0%, rgba(6,16,32,0) 35%, rgba(6,16,32,.55) 78%, rgba(4,11,26,.9) 100%),
    linear-gradient(180deg, rgba(5,13,28,.32), rgba(5,13,28,.5));
}

/* premium dark base so the page looks intentional even before the canvas paints */
html { background: #060f20; }
body {
  background:
    radial-gradient(1200px 760px at 78% -12%, rgba(28,66,98,.55), transparent 60%),
    radial-gradient(1000px 720px at -5% 108%, rgba(18,84,78,.4), transparent 60%),
    linear-gradient(180deg, #07152e 0%, #050d1f 100%);
  background-attachment: fixed;
  color: #b6c5dd;
}

/* sections transparent so the ecosystem shows through everywhere */
.section, .section--paper, .section--navy { background: transparent; }
.hero, .page-hero { background: transparent; }
.hero::before { opacity: .42; }
.page-hero::before, .page-hero::after { opacity: .5; }

/* global text → light */
h1, h2, h3, h4 { color: #f2f6fd; }
p, .lead { color: #aebed6; }
.muted, .legal-meta { color: #8298b5; }

/* header → dark glass */
.site-header { background: rgba(8,18,38,.55); backdrop-filter: saturate(170%) blur(16px); border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header.scrolled { background: rgba(8,18,38,.82); border-bottom-color: rgba(255,255,255,.1); box-shadow: 0 6px 30px rgba(0,0,0,.35); }
.brand { color: #fff; }
.nav-links a { color: #c4d2e8; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-links a.active { color: #fff; background: rgba(255,138,61,.2); }
.nav-cart { color: #dce6f5; }
.nav-cart:hover { background: rgba(255,255,255,.07); }
.nav-toggle { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.nav-toggle span { background: #fff; }
@media (max-width: 940px) { .nav-links { background: rgba(9,19,40,.97); border-bottom-color: rgba(255,255,255,.08); } }

/* glass surfaces */
.card, .feature-card, .step, .quote, .work, .price-card, .faq-item, .addon,
.form-card, .summary, .stripe-card, .receipt, .next-step, .kpi, .panel, .modal,
.secure-note, .demo-banner, .radio-card, .addon-toggle {
  background: rgba(14,30,58,.55) !important;
  border-color: rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(13px) saturate(140%);
  backdrop-filter: blur(13px) saturate(140%);
  color: #c4d2e8;
}
.card:hover, .work:hover, .price-card:hover, .step:hover, .feature-card:hover { border-color: rgba(255,255,255,.22); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.work-shot { background: rgba(0,0,0,.2); }

/* surface text */
.feature-card h3, .step h3, .work-body h3, .price-name, .faq-q, .addon h4,
.next-step h4, .summary h3, .modal-head h3, .receipt-head, .rc-title { color: #f2f6fd; }
.feature-card p, .step p, .work-body p, .addon p, .price-tag-line, .price-note,
.faq-a-inner, .rc-sub, .sum-line, .next-step p { color: #a7b7d0; }
.price-amt .val, .price-amt .cur { color: #fff; }
.price-features li { color: #cdd9ec; }
.quote blockquote { color: #dde7f5; }
.who .nm { color: #fff; }
.who .rl { color: #93a6c2; }

/* stats glass */
.stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }

/* forms → dark */
.field label { color: #cdd9ec; }
.field input, .field select, .field textarea { background: rgba(7,16,34,.65); border-color: rgba(255,255,255,.14); color: #eaf1fb; }
.field input::placeholder, .field textarea::placeholder { color: #7f93b3; }
.field select option { background: #0a1f44; color: #eaf1fb; }
.filedrop { background: rgba(7,16,34,.4) !important; border-color: rgba(255,255,255,.18); color: #9fb0cb; }
.swatch input[type=color] { background: rgba(7,16,34,.6); border-color: rgba(255,255,255,.14); }

/* tables → dark */
.compare-wrap, .tbl-wrap { border-color: rgba(255,255,255,.1); }
table.compare, table.data { background: transparent; }
table.compare thead th, table.data th { background: rgba(255,255,255,.05); color: #dce6f5; }
table.compare thead th.pop { background: rgba(255,138,61,.16); }
table.compare th, table.compare td, table.data th, table.data td { border-bottom-color: rgba(255,255,255,.08); }
table.compare td, table.data td { color: #c4d2e8; }
table.compare td.feat { color: #eaf1fb; }
table.data td .who2 { color: #fff; }
table.data tbody tr:hover, table.compare tbody tr:hover { background: rgba(255,255,255,.04); }

/* buttons on dark */
.btn--ghost { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.16); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); }
.btn--dark { background: rgba(255,255,255,.1); color: #fff; }
.btn--dark:hover { background: rgba(255,255,255,.18); }

/* admin dark */
body.admin { background: transparent; }
.admin-top h1 { color: #f2f6fd; }
.kpi .kpi-val { color: #fff; }
.kpi .kpi-lbl, .admin-top .sub { color: #93a6c2; }
.mini-select { background: rgba(7,16,34,.7); border-color: rgba(255,255,255,.14); color: #dce6f5; }

/* legal / text pages */
.text-page h2, .text-page h3 { color: #f2f6fd; }
.text-page p, .text-page li { color: #aebed6; }
.kv dt { color: #8298b5; }
.kv dd { color: #eaf1fb; }
.divider { background: rgba(255,255,255,.1); }
.pill { background: rgba(255,255,255,.07); color: #cdd9ec; }

/* popular card: the animated conic border sits behind the card; with a
   translucent glass bg it bled through and filled the card orange.
   Make this one card's bg opaque enough to mask it (keeps the edge glow). */
.price-card.popular { background: rgba(11,24,48,.92) !important; }

/* ── Drag-to-spin affordance for the 3D ecosystem ──────────────── */
.hero, .page-hero { cursor: grab; }
body.fsc-dragging, body.fsc-dragging * { cursor: grabbing !important; user-select: none; }

/* ============================================================
   Before/After cursor-spotlight reveal demo
   "Move your cursor to reveal the website we'd build you"
   ============================================================ */
.reveal-demo { max-width: 940px; margin: 0 auto; }
.rd-browser { border-radius: 16px; overflow: hidden; box-shadow: 0 50px 110px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.14); background: #0a1f44; }
.rd-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.08); }
.rd-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.25); }
.rd-bar i:nth-child(1){ background:#ff6058; } .rd-bar i:nth-child(2){ background:#ffbd2e; } .rd-bar i:nth-child(3){ background:#28c840; }
.rd-url { margin-left: 12px; font-size: .8rem; color: #9fb0cb; background: rgba(0,0,0,.22); padding: 4px 14px; border-radius: 8px; }
/* Before/After drag-to-compare slider (--rd-pos = divider position, 0–100%) */
.rd-stage { position: relative; aspect-ratio: 16/10; overflow: hidden; cursor: ew-resize; touch-action: none; -webkit-user-select: none; user-select: none; --rd-pos: 50%; }
.rd-before, .rd-after { position: absolute; inset: 0; }
/* AFTER sits on top and is clipped to the RIGHT of the divider */
.rd-after { z-index: 2; clip-path: inset(0 0 0 var(--rd-pos)); -webkit-clip-path: inset(0 0 0 var(--rd-pos)); }

/* Divider line + draggable grabber */
.rd-handle { position: absolute; top: 0; bottom: 0; left: var(--rd-pos); width: 0; z-index: 5; transform: translateX(-50%); pointer-events: none; }
.rd-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.14), 0 0 14px rgba(0,0,0,.28); }
.rd-grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: clamp(38px,8vw,46px); height: clamp(38px,8vw,46px); border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(7,21,46,.35); display: flex; align-items: center; justify-content: center; gap: 3px; color: var(--navy-800); }
.rd-grip svg { width: 13px; height: 13px; }
.rd-grip svg:first-child { transform: rotate(180deg); }
.rd-stage:active .rd-grip, .rd-stage:hover .rd-grip { box-shadow: 0 8px 26px rgba(255,138,61,.5); color: var(--amber-500); }

.rd-hint { position: absolute; z-index: 6; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(7,21,46,.82); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .85rem; padding: 9px 18px; border-radius: 999px; pointer-events: none; transition: opacity .4s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); white-space: nowrap; }
.rd-touched .rd-hint { opacity: 0; }
/* visually-hidden range input keeps the slider keyboard- & screen-reader-accessible */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rd-stage:focus-within .rd-grip { box-shadow: 0 0 0 4px rgba(255,138,61,.55), 0 6px 20px rgba(7,21,46,.35); color: var(--amber-500); }
.rd-tag { position: absolute; z-index: 6; top: 14px; padding: 5px 12px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.rd-tag.before { left: 14px; background: rgba(40,40,40,.85); color: #ddd; }
.rd-tag.after { right: 14px; background: var(--amber-500); color: #fff; }

/* BEFORE — a dated, cramped website */
.rd-before { background: #fdfdf6; color: #222; font-family: Georgia, "Times New Roman", serif; padding: clamp(14px, 3vw, 26px) clamp(16px, 4vw, 34px); }
.b-top { font-size: clamp(1rem, 2.8vw, 1.6rem); font-weight: bold; color: #08086a; text-align: center; }
.b-nav { text-align: center; font-size: clamp(.62rem,1.6vw,.85rem); color: #0000cc; text-decoration: underline; margin: 6px 0 14px; border-bottom: 3px double #888; padding-bottom: 12px; }
.b-h { color: #b00; font-weight: bold; font-size: clamp(.9rem, 2.6vw, 1.4rem); margin-bottom: 8px; }
.rd-before p { font-size: clamp(.66rem,1.7vw,.9rem); color: #333; margin-bottom: 8px; line-height: 1.45; }
.b-img { background: #cfcfcf; border: 2px ridge #999; color: #777; display: grid; place-items: center; height: clamp(50px,12vw,90px); font-size: clamp(.6rem,1.5vw,.8rem); margin: 10px 0; font-style: italic; }
.b-counter { display: inline-block; background: #000; color: #21d421; font-family: monospace; font-size: clamp(.6rem,1.4vw,.78rem); padding: 3px 8px; margin-top: 4px; }

/* AFTER — the modern site we'd build */
.rd-after { background: #fff; display: flex; flex-direction: column; }
.a-hero { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); padding: clamp(14px,3vw,22px) clamp(16px,4vw,30px) clamp(18px,4vw,28px); color: #fff; position: relative; overflow: hidden; flex: 1; }
.a-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(340px 180px at 88% -10%, rgba(255,138,61,.45), transparent 60%), radial-gradient(300px 200px at 0 120%, rgba(25,194,168,.3), transparent 60%); }
.a-nav { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.a-logo { font-family: var(--font-display); font-weight: 800; font-size: clamp(.82rem,2vw,1rem); }
.a-links { display: flex; gap: 8px; } .a-links i { width: clamp(16px,4vw,26px); height: 6px; border-radius: 3px; background: rgba(255,255,255,.45); }
.a-cta { background: var(--amber-500); color: #fff; font-size: clamp(.6rem,1.5vw,.74rem); font-weight: 700; padding: 6px 13px; border-radius: 999px; font-family: var(--font-display); }
.a-h { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem,3.4vw,2rem); line-height: 1.08; letter-spacing: -.02em; margin-top: clamp(14px,3vw,22px); position: relative; z-index: 1; max-width: 82%; }
.a-sub { color: #c6d2e6; font-size: clamp(.7rem,1.7vw,.9rem); margin-top: 8px; position: relative; z-index: 1; }
.a-btn { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--amber-500), #ff7a2a); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(.68rem,1.6vw,.82rem); padding: 9px 18px; border-radius: 999px; margin-top: clamp(12px,3vw,18px); position: relative; z-index: 1; box-shadow: var(--shadow-amber); }
/* fake-but-glowing reviews so the "after" reads as a thriving business */
.a-reviews { background: #fff; padding: clamp(10px,2.4vw,16px) clamp(16px,4vw,30px) clamp(14px,3vw,20px); }
.a-stars { color: #ffb400; letter-spacing: 1px; font-size: clamp(.7rem,1.7vw,.92rem); }
.a-rev-head { display: flex; align-items: center; gap: 8px; font-size: clamp(.72rem,1.7vw,.95rem); color: #1d2b3d; font-weight: 600; margin-bottom: clamp(8px,2vw,12px); }
.a-rev-head b { font-family: var(--font-display); font-weight: 800; color: #0d1b2a; }
.a-rev-count { color: #7c8a99; font-weight: 500; }
.a-rev-row { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(6px,1.5vw,9px); }
.a-rev { background: #fff; border: 1px solid #e6ecf5; border-radius: 9px; padding: clamp(6px,1.6vw,10px); display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 5px rgba(13,27,42,.06); }
.a-rev .a-stars { font-size: clamp(.56rem,1.3vw,.72rem); }
.a-rev p { color: #34465a; font-size: clamp(.52rem,1.25vw,.68rem); line-height: 1.35; margin: 0; font-family: var(--font-sans); }
.a-rev-by { display: flex; align-items: center; gap: 5px; font-size: clamp(.5rem,1.2vw,.64rem); color: #56697d; font-weight: 700; }
.a-rev-by i { width: clamp(15px,3.4vw,20px); height: clamp(15px,3.4vw,20px); border-radius: 50%; background: linear-gradient(135deg, var(--navy-600), var(--amber-500)); color: #fff; font-style: normal; font-size: clamp(.44rem,1vw,.58rem); font-weight: 700; display: grid; place-items: center; flex: none; }

/* ── Customer order tracker ─────────────────────────────────────── */
.track-steps { display: flex; flex-direction: column; gap: 0; }
.track-step { display: flex; gap: 14px; padding: 4px 0; position: relative; }
.track-step:not(:last-child)::before {
  content: ""; position: absolute; left: 17px; top: 38px; bottom: -4px; width: 2px; background: var(--line, #e2e8f0);
}
.track-step.done:not(:last-child)::before { background: var(--teal-500, #19c2a8); }
.track-dot {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; background: var(--paper-100, #eef2f7); color: var(--ink-400, #94a3b8); border: 2px solid var(--line, #e2e8f0); z-index: 1;
}
.track-step.done .track-dot { background: var(--teal-500, #19c2a8); color: #fff; border-color: var(--teal-500, #19c2a8); }
.track-step.current .track-dot { background: var(--amber-500, #ff8a3d); color: #fff; border-color: var(--amber-500, #ff8a3d); box-shadow: 0 0 0 4px rgba(255,138,61,.2); }
.track-text { padding-top: 4px; padding-bottom: 16px; }
.track-label { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.track-step.todo .track-label { color: var(--ink-400, #94a3b8); }
.track-desc { font-size: .88rem; color: var(--ink-500, #64748b); margin-top: 2px; }

/* ── Interior pages: plain black canvas, no dividers (hero visuals
   live on the home page only; images go into these sections next) ── */
body:not([data-page="home"]) { background: #000; }
body:not([data-page="home"]) #fsc-bg,
body:not([data-page="home"]) #fsc-bg-veil,
body:not([data-page="home"]) #page-hero-canvas,
body:not([data-page="home"]) .hero-globe { display: none !important; }
body:not([data-page="home"]) .page-hero,
body:not([data-page="home"]) .section,
body:not([data-page="home"]) .section--paper,
body:not([data-page="home"]) .section--navy { background: #000; }
body:not([data-page="home"]) .page-hero::before,
body:not([data-page="home"]) .page-hero::after,
body:not([data-page="home"]) .section--navy::after { display: none; }
body:not([data-page="home"]) .logostrip { border-top: 0; }
body:not([data-page="home"]) .site-header,
body:not([data-page="home"]) .site-header.scrolled { border-bottom-color: transparent; }

/* ── Pinned mountain sky (any page with packages-hero.js) ──────── */
/* Full-page fixed canvas: the mountain photo, starfield + ripples live here.
   The body background must be transparent on sky pages — otherwise it paints
   over the z-index:-1 canvas (body isn't its own stacking context). */
body.sky-page { background: transparent; }
#pkgSky {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: -1; pointer-events: none; display: block; background: #000;
}
/* Let the pinned mountain sky show behind EVERY section — full width, all the
   way down to the footer (the footer stays opaque, so it caps the sky there). */
body.sky-page .section,
body.sky-page .section--paper,
body.sky-page .section--navy { background: transparent; }
/* keep bare headings legible where they cross the bright peak */
body.sky-page .section-head h2,
body.sky-page .section-head p,
body.sky-page .section > .container > p { text-shadow: 0 2px 20px rgba(0,0,0,.75); }

/* interior pages: their standard hero goes transparent + tall over the sky */
body.sky-page .page-hero { background: transparent; min-height: 58vh; display: flex; align-items: center; }
body.sky-page .page-hero .container { width: 100%; }
body.sky-page .page-hero h1 { text-shadow: 0 2px 30px rgba(0,0,0,.65); }
body.sky-page .page-hero p { color: #d4dcea; text-shadow: 0 2px 18px rgba(0,0,0,.7); }
body.sky-page #page-hero-canvas { display: none !important; }

/* ── Proof constellation: floating niche moments in the side star space ── */
.pkg-rails { position: fixed; inset: 0; z-index: -1; pointer-events: none; display: none; }
@media (min-width: 1400px) { .pkg-rails { display: block; } }
.pkg-rail {
  position: absolute; top: 0; bottom: 0;
  /* live in the margin between viewport edge and the 1180px container */
  width: calc((100vw - var(--container)) / 2 - 24px);
  min-width: 200px; max-width: 320px;
  display: flex; flex-direction: column; justify-content: center; gap: 6vh;
  padding: 10vh 18px;
}
.pkg-rail--left { left: 6px; align-items: flex-start; }
.pkg-rail--right { right: 6px; align-items: flex-end; }

.orbit-card {
  width: 100%; max-width: 240px;
  background: rgba(12,18,32,.62);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 18px 44px rgba(0,0,0,.5);
  color: #cbd4e4; font-size: .82rem;
  animation: orbit-float 7s ease-in-out infinite;
}
.pkg-rail .orbit-card:nth-child(1) { animation-duration: 8s; }
.pkg-rail .orbit-card:nth-child(2) { animation-duration: 6.5s; animation-delay: -2.4s; transform-origin: 60% 40%; }
.pkg-rail .orbit-card:nth-child(3) { animation-duration: 9s;  animation-delay: -4.8s; }
.pkg-rail .orbit-card:nth-child(4) { animation-duration: 7.2s; animation-delay: -3.6s; }
.pkg-rail--left  .orbit-card:nth-child(2) { margin-left: 26px; }
.pkg-rail--right .orbit-card:nth-child(2) { margin-right: 26px; }
.pkg-rail--left  .orbit-card:nth-child(4) { margin-left: 14px; }
.pkg-rail--right .orbit-card:nth-child(4) { margin-right: 14px; }
@keyframes orbit-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) { .orbit-card { animation: none; } }

/* clickable rails (video-sky pages) — cards are links to page sections */
.pkg-rails--live { z-index: 4; }
.pkg-rails--live .orbit-card { pointer-events: auto; }
a.orbit-card {
  display: block; text-decoration: none; color: #cbd4e4; cursor: pointer;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
a.orbit-card:hover, a.orbit-card:focus-visible {
  border-color: rgba(255,178,102,.5);
  background: rgba(18,26,44,.8);
  box-shadow: 0 22px 50px rgba(0,0,0,.6), 0 0 26px rgba(255,138,61,.14);
}

/* ── Pinned video sky (About / FAQ / Contact) ─────────────────────
   Fixed black backdrop: contain-fit hero video with feathered edges,
   twinkling starfield, and slowly spinning planets in the side space. */
#vidSky {
  position: fixed; inset: 0; z-index: -1;
  background: #000; pointer-events: none; overflow: hidden;
}
.vs-stars { position: absolute; inset: 0; width: 100%; height: 100%; }

.vs-frame { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background-position: center; background-size: cover; background-repeat: no-repeat; }
.vs-frame video { width: 100%; height: 100%; display: block; object-fit: cover; background: transparent; }
.vs-fade { position: absolute; display: block; pointer-events: none; }
.vs-fade--l { left: 0; top: 0; bottom: 0; width: 10%; background: linear-gradient(90deg, #000, transparent); }
.vs-fade--r { right: 0; top: 0; bottom: 0; width: 10%; background: linear-gradient(270deg, #000, transparent); }
.vs-fade--t { top: 0; left: 0; right: 0; height: 14%; background: linear-gradient(180deg, #000, transparent); }
.vs-fade--b { bottom: 0; left: 0; right: 0; height: 14%; background: linear-gradient(0deg, #000, transparent); }
.vs-bottomglow {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26vh;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
}


/* review card */
.oc-stars { color: var(--amber-400); letter-spacing: 3px; font-size: .9rem; margin-bottom: 8px; }
.oc-review p { color: #e6ecf6; font-size: .86rem; line-height: 1.45; }
.oc-who { display: block; margin-top: 8px; color: #8a97ad; font-size: .76rem; }

/* toast-style cards (booking / payment / chat) */
.oc-toast, .oc-chat, .oc-stat { display: flex; gap: 11px; align-items: center; }
.oc-toast strong, .oc-chat strong, .oc-stat strong { display: block; color: #fff; font-size: .84rem; }
.oc-toast span:last-child, .oc-chat div span, .oc-stat div span { display: block; color: #8a97ad; font-size: .74rem; margin-top: 2px; }
.oc-ico {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
}
.oc-ico svg { width: 17px; height: 17px; }
.oc-ico--teal  { background: rgba(25,194,168,.16); color: var(--teal-400); }
.oc-ico--amber { background: rgba(255,138,61,.16); color: var(--amber-400); }
.oc-ico--blue  { background: rgba(96,150,255,.16); color: #7fa7ff; }

/* stat chip */
.oc-up { color: var(--teal-400); font-size: 1rem; }

/* HUD annotation card — echoes the poster-style callouts in the hero art */
.oc-hud .oc-label {
  font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #7f8ca3; margin-bottom: 7px;
  display: flex; align-items: center; gap: 8px;
}
.oc-hud .oc-label::before { content: ""; width: 14px; height: 1px; background: #7f8ca3; }
.oc-hud strong { display: block; color: #fff; font-size: .88rem; line-height: 1.35; }
.oc-hud span { display: block; color: #8a97ad; font-size: .75rem; margin-top: 5px; line-height: 1.4; }
.oc-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-400); box-shadow: 0 0 10px var(--teal-400);
  margin-right: 8px; vertical-align: baseline;
}

/* search-result card */
.oc-query {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px; padding: 7px 13px; color: #dfe7f3; font-size: .8rem;
}
.oc-query svg { width: 14px; height: 14px; color: #8a97ad; flex: none; }
.oc-hit { display: flex; gap: 10px; align-items: center; margin-top: 11px; }
.oc-rank {
  flex: none; font-family: var(--font-display); font-weight: 800; font-size: .8rem;
  color: #0b1424; background: var(--amber-400); border-radius: 8px; padding: 4px 7px;
}
.oc-hit strong { display: block; color: #fff; font-size: .84rem; }
.oc-hit span { display: block; color: #6f9c86; font-size: .74rem; margin-top: 1px; }
.pkg-hero {
  position: relative;
  min-height: 100vh;
  background: transparent;      /* the fixed #pkgSky canvas shows through */
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* subtle top/bottom fades so the header + cards stay legible over the sky */
.pkg-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 76%, rgba(0,0,0,.6) 100%);
}
.pkg-hero-grid {
  position: relative; z-index: 2; width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr minmax(300px, 380px);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding-block: clamp(96px, 12vh, 150px);
}
.pkg-hero-side { display: flex; }
.pkg-hero-side .price-card { width: 100%; }

/* center copy — soft radial scrim keeps the heading legible over the bright peak */
.pkg-hero-copy {
  text-align: center; padding: 26px 20px; border-radius: 24px;
  background: radial-gradient(120% 120% at 50% 45%, rgba(4,8,16,.6), rgba(4,8,16,0) 72%);
}
.pkg-hero-copy .breadcrumb { justify-content: center; }
.pkg-hero-copy h1 { color: #fff; margin-top: 10px; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.pkg-hero-copy > p { color: #d4dcea; max-width: 520px; margin: 16px auto 0; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.pkg-hero-quote { margin-top: 22px; font-size: .95rem; color: #aebaccd0; }
.pkg-hero-quote a { color: var(--amber-400); font-weight: 700; }

/* dark glass treatment so the white cards read as designed on the mountain */
.pkg-hero .price-card {
  background: rgba(12,18,32,.66);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  color: #dbe3f0;
  padding: 28px 26px;
}
.pkg-hero .price-card.popular {
  border-color: var(--amber-500);
  box-shadow: 0 30px 80px rgba(255,138,61,.28);
}
.pkg-hero .price-name { color: #fff; }
.pkg-hero .price-tag-line { color: #9fabc0; }
.pkg-hero .price-amt .cur { color: #dbe3f0; }
.pkg-hero .price-amt .val { color: #fff; }
.pkg-hero .price-amt .per { color: #9aa7bd; }
.pkg-hero .price-note { color: #9aa7bd; }
.pkg-hero .price-features li { color: #cbd4e4; }
.pkg-hero .price-features li.off,
.pkg-hero .price-features li.off svg { color: #6b768a; }

/* tablet: cards drop below the copy, side by side */
@media (max-width: 980px) {
  .pkg-hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "copy copy" "left right";
    gap: 20px;
  }
  .pkg-hero-copy { grid-area: copy; margin-bottom: 8px; }
  .pkg-hero-side--left { grid-area: left; }
  .pkg-hero-side--right { grid-area: right; }
}
/* phone: single column stack */
@media (max-width: 620px) {
  .pkg-hero { min-height: 0; }
  .pkg-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "left" "right";
    padding-block: 90px 60px;
    max-width: 440px; margin-inline: auto;
  }
}

/* ── Checkout: Terms-of-Sale agreement checkbox ─────────────────── */
.agree-terms {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .88rem; color: var(--ink-600, #475569); line-height: 1.5; cursor: pointer;
}
.agree-terms input {
  margin-top: 3px; width: 16px; height: 16px; flex: none;
  accent-color: var(--amber-500, #ff8a3d); cursor: pointer;
}
