/* =====================================================================
   PRAIRIE WEB PARTNERS — Stylesheet
   "Prairie at Sunrise" theme
   Brand: navy #002E5D · teal #0088A9 · emerald #00A651 · gold #FFC107
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --navy:       #002E5D;
  --navy-deep:  #001A38;
  --teal:       #0088A9;
  --emerald:    #00A651;
  --sage:       #4CAF50;
  --gold:       #FFC107;
  --gold-light: #FFE082;
  --cream:      #FFFDF7;
  --paper:      #F7F4EC;
  --ink:        #0E1B2A;
  --muted:      #5A6B7B;

  --grad-sunrise: linear-gradient(135deg, #FFD86B 0%, #FFB347 45%, #FF8E53 100%);
  --grad-grow:    linear-gradient(120deg, #00A651 0%, #0088A9 100%);
  --grad-sky:     linear-gradient(180deg, #002E5D 0%, #003F76 35%, #006A8E 70%, #00A4B4 100%);

  --shadow-sm: 0 2px 8px rgba(0,46,93,.08);
  --shadow-md: 0 10px 30px rgba(0,46,93,.12);
  --shadow-lg: 0 24px 60px rgba(0,46,93,.18);
  --shadow-gold: 0 12px 30px rgba(255,193,7,.35);

  --radius:    16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out-back: cubic-bezier(.34,1.56,.64,1);

  --font-body: 'Outfit', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Outfit', sans-serif;

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

::selection { background: var(--gold); color: var(--navy); }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.grad-text {
  background: var(--grad-grow);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Visually hidden text for screen readers while keeping it available to assistive tech */
.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;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad: .85rem 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--btn-pad);
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
  cursor: pointer;
}
.btn--lg   { --btn-pad: 1.05rem 2rem; font-size: 1.05rem; }
.btn--block{ width: 100%; }
.btn--gold {
  background: var(--grad-sunrise);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255,193,7,.5); }
.btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(0,46,93,.2);
}
.btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }

/* ---------- Scroll progress + cursor glow ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-sunrise);
  z-index: 1000; transition: width .1s linear;
}
.cursor-glow {
  position: fixed; pointer-events: none; z-index: 999;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,193,7,.10) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  opacity: 0;
}
@media (hover: hover) { body:hover .cursor-glow { opacity: 1; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 1.25rem 0;
}
.nav--scrolled {
  background: rgba(255,253,247,.85);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-sm);
  padding: .65rem 0;
}
.nav__inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__logo {
  display: flex; align-items: center;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  transition: background .35s, box-shadow .35s, padding .35s;
}
.nav__logo-img {
  height: 30px; width: auto; display: block;
}
.nav--scrolled .nav__logo {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.nav--scrolled .nav__logo-img { height: 34px; }

.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-weight: 500; color: rgba(255,255,255,.92); font-size: .98rem;
  position: relative; padding: .25rem 0;
  transition: color .25s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0%;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav--scrolled .nav__links a { color: var(--ink); }
.nav--scrolled .nav__links a:hover { color: var(--emerald); }

.nav__cta { padding: .6rem 1.2rem; font-size: .92rem; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 1.1rem;
  transition: background .25s, transform .25s, border-color .25s;
  backdrop-filter: blur(8px);
  margin-right: 0.5rem;
}
.theme-toggle:hover {
  background: rgba(255,255,255,.22);
  transform: scale(1.08);
}
.nav--scrolled .theme-toggle {
  background: rgba(0,46,93,.06);
  border-color: rgba(0,46,93,.18);
  color: var(--navy);
}
.nav--scrolled .theme-toggle:hover {
  background: rgba(0,46,93,.12);
}
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav__toggle span {
  width: 26px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav--scrolled .nav__toggle span { background: var(--navy); }

/* =====================================================================
   HERO — Interactive wheat field, golden-hour prairie
   Palette: #C9A227 #D4A017 #8B5A2B warm earths, soft greens, sky accents
   ===================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  isolation: isolate;
  background-color: #8B6B3F;
}

.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url('../assets/field-bg.jpg') center center / cover no-repeat;
  filter: brightness(var(--bg-brightness, 1)) contrast(var(--bg-contrast, 1)) saturate(var(--bg-saturate, 1)) hue-rotate(var(--bg-hue-rotate, 0deg));
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter;
}

.hero__bg--night {
  position: absolute; inset: 0;
  background: url('../assets/night-bg.jpg') center center / cover no-repeat;
  opacity: 0;
  z-index: -1.9;
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

body.dark-theme .hero__bg--night {
  opacity: 1;
}

.hero__sky-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: var(--sky-gradient, linear-gradient(to bottom, #002e5d, #006a8e));
  opacity: var(--sky-opacity, 0);
  mix-blend-mode: color;
  pointer-events: none;
  will-change: opacity, background;
}

/* Canvas background layer */
.hero__canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; display: block;
}
/* Foreground wheat overlay — sits ABOVE the content (z-20) so near stalks
   cross in front of the stats bar / logo. Clicks pass through to content. */
.hero__canvas-front {
  position: absolute; inset: 0; z-index: 20;
  width: 100%; height: 100%; display: block;
  pointer-events: none;
}

/* Readability scrim behind the copy (left-weighted) */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20,32,24,.62) 0%, rgba(20,32,24,.32) 38%, rgba(20,32,24,0) 62%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, transparent 30%, transparent 60%, rgba(0,0,0,.28) 100%);
}

/* Foreground content grid */
.hero__inner {
  position: relative;
  z-index: 30;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: flex; justify-content: center;
  padding: 7rem 0 5rem;
}

.hero__logo-wrapper {
  position: relative;
  z-index: 25;
  perspective: 1000px;
}

/* --- Copy column --- */
.hero__copy { max-width: 760px; text-align: center; margin-inline: auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(10px);
  color: #fff; font-weight: 600; font-size: .85rem;
  padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.5rem;
  letter-spacing: .02em;
}
.pulse-dot {
  width: 8px; height: 8px; background: #D4A017; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(212,160,23,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,160,23,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(212,160,23,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,160,23,0); }
}
.hero__logo {
  margin: 0 auto 1.5rem;
  max-width: clamp(360px, 50vw, 680px);
  position: relative;
  z-index: 5;
  transform: scale(1.23);
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease-out;
}
.hero__logo-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  filter: drop-shadow(1px 1px 0px rgba(255, 253, 240, 0.12))
          drop-shadow(1px 1px 0.5px rgba(0, 0, 0, 0.45))
          drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.35))
          drop-shadow(3px 3px 1.5px rgba(0, 0, 0, 0.28))
          drop-shadow(4px 4px 2px rgba(0, 0, 0, 0.22))
          drop-shadow(6px 8px 18px rgba(0, 0, 0, 0.55));
}
/* Subtle readable glow behind the dark-text logo — soft enough that the
   logo itself reads as the focal point, not a glowing box around it. */
.hero__logo::before {
  content: '';
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(ellipse 55% 48% at center, rgba(255,253,240,0.5) 0%, rgba(255,253,240,0.22) 45%, transparent 72%);
  filter: blur(24px);
  z-index: -1;
}
.hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: rgba(255,255,255,.92);
  max-width: 540px;
  margin: 0 auto 2.25rem;
  font-weight: 400; line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0,0,0,.2);
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.75rem; justify-content: center; }

.btn--primary {
  background: linear-gradient(135deg, #D4A017 0%, #C9A227 50%, #B08A1E 100%);
  color: #2A1E08;
  box-shadow: 0 12px 30px rgba(176,138,30,.45), inset 0 1px 0 rgba(255,255,255,.3);
  font-weight: 700;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(176,138,30,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.hero .btn--ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
  backdrop-filter: blur(8px);
  font-weight: 600;
}
.hero .btn--ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }

.hero__stats {
  display: inline-flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.4rem);
  padding: 1.1rem 1.75rem;
  background: rgba(20,32,24,.42);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  justify-content: center;
}
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: #FFE9B0; line-height: 1;
}
.hero__stat-label { color: rgba(255,255,255,.78); font-size: .8rem; margin-top: .4rem; letter-spacing: .02em; }
.hero__stat-divider { width: 1px; height: 34px; background: rgba(255,255,255,.22); }

/* Scroll cue */
.hero__scroll {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 30; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero__scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ''; position: absolute; top: -40px; left: 0; width: 100%; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.7));
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -40px; } 100% { top: 40px; } }

/* --- Page-load entrance for hero elements --- */
.reveal-hero {
  opacity: 0; transform: translateY(28px);
  animation: heroIn .9s var(--ease) forwards;
}
.reveal-hero:nth-child(1) { animation-delay: .15s; }
.reveal-hero:nth-child(2) { animation-delay: .30s; }
.reveal-hero:nth-child(3) { animation-delay: .45s; }
.reveal-hero:nth-child(4) { animation-delay: .60s; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee {
  background: var(--navy); color: var(--gold);
  padding: 1rem 0; overflow: hidden; white-space: nowrap;
  border-top: 3px solid var(--gold);
}
.marquee__track { display: inline-flex; gap: 3rem; animation: marquee 30s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .05em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   SECTION HEADERS
   ===================================================================== */
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem,5vw,4rem); }
.section__eyebrow {
  display: inline-block; font-family: var(--font-display);
  font-weight: 600; font-size: .82rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--emerald); background: rgba(0,166,81,.1);
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}
.section__eyebrow--gold { color: #B8860B; background: rgba(255,193,7,.15); }
.section__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em;
  color: var(--navy); margin-bottom: 1rem;
}
.section__lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Glass cards ---------- */
.card {
  background: #fff; border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,46,93,.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color 0.4s ease, border-color 0.4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.card.glass {
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(12px) saturate(130%);
  border: 1px solid rgba(255,255,255,.5);
}
.card__icon {
  font-size: 2rem; width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,166,81,.12), rgba(0,136,169,.12));
  border-radius: 16px; margin-bottom: 1.25rem;
}
.card h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); margin-bottom: .5rem; }
.card p { color: var(--muted); }

/* =====================================================================
   WHY US
   ===================================================================== */
.why {
  /* BLUEPRINT: deep blue paper with white grid lines + major lines */
  background-color: #0a2a4a;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
  color: #e8f1ff;
}
body.dark-theme .why { background-color: #082138; }
/* Blueprint-section text overrides (light on blue) */
.why .section__title { color: #ffffff; }
.why .section__title .grad-text {
  background: linear-gradient(120deg, #7FD8FF 0%, #FFE082 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.why .section__lead { color: rgba(232,241,255,0.7); }
.why .section__eyebrow { color: #7FD8FF; background: rgba(127,216,255,0.12); }
.why .bento-card__icon { background: rgba(255,255,255,0.08); color: #FFE082; }
.why .bento-card--featured { background: linear-gradient(135deg, rgba(127,216,255,0.08), rgba(0,166,81,0.06)); }

/* Ambient glow decorative blobs */
.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.18;
  will-change: transform;
}
.glow-orb--1 {
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
}
.glow-orb--2 {
  bottom: -15%;
  right: -5%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}
body.dark-theme .glow-orb {
  opacity: 0.08;
}

.why__grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
}

/* Bento Card base — BORDERLESS editorial style.
   No glassy box, no border, no card shadow. Items live directly on the
   page, separated by hairline dividers and whitespace. Hover animates
   the content (icon + title), not a container lift. */
.bento-card {
  position: relative;
  background: transparent;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}
/* hairline grid dividers between cells (right edge) */
.bento-card::after {
  content: '';
  position: absolute;
  right: 0; top: 1.5rem; bottom: 1.5rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12) 20%, rgba(255,255,255,0.12) 80%, transparent);
  pointer-events: none;
}
/* featured (span-2) card keeps a faint surface to break the monotony */
.bento-card--featured {
  background: linear-gradient(135deg, rgba(0,46,93,0.04), rgba(0,136,169,0.03));
  color: var(--ink);
}

/* Bento card sizing modifiers */
.bento-card--span-2 {
  grid-column: span 2;
}

/* Content styles */
.bento-card__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}
.bento-card--featured p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Content styles */
.bento-card__head {
  margin-bottom: 0.5rem;
}
.bento-card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 166, 81, 0.06);
  color: var(--emerald);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.bento-card__icon-svg {
  display: block;
  transition: transform 0.35s var(--ease);
}
/* Content-level hover: icon scales + tilts, no container lift */
.bento-card:hover .bento-card__icon-svg {
  transform: scale(1.12) rotate(-4deg);
}
.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), color 0.35s;
}
.bento-card:hover h3 {
  transform: translateX(4px);
  color: var(--emerald);
}
.bento-card p {
  color: rgba(232,241,255,0.72);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Interactive visuals inside bento cards */
.bento-card__visual {
  margin-top: 1.25rem;
  position: relative;
  display: flex;
  justify-content: center;
}

/* 1. Performance Speedometer Dial Visual */

.dial-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(from 225deg, var(--emerald) 0deg, var(--emerald) 265deg, rgba(0, 230, 118, 0.08) 265deg, rgba(0, 230, 118, 0.08) 360deg);
  mask: radial-gradient(circle, transparent 48px, #000 50px);
  -webkit-mask: radial-gradient(circle, transparent 48px, #000 50px);
}



/* 2. Phone Mockup Visual */
/* ===== Realistic interactive phone (Mobile Ergonomics card) ===== */
.phone-3d {
  position: relative;
  perspective: 800px;
  width: 140px;
  height: 285px;   /* proper modern phone aspect ratio (~1:2) */
}
.phone-3d__frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2b2b2b 0%, #0a0a0a 100%);
  border-radius: 22px;
  padding: 5px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.15) inset,
    0 20px 40px rgba(0,46,93,0.25),
    0 6px 14px rgba(0,0,0,0.18);
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease);
  transform: rotateY(-14deg) rotateX(6deg);
}
.phone-3d__notch {
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 11px;
  background: #000; border-radius: 0 0 10px 10px;
  z-index: 3;
}
.phone-3d__screen {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #FFFDF7 0%, #F4EFE3 100%);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body.dark-theme .phone-3d__screen {
  background: linear-gradient(180deg, #0d1626 0%, #060b15 100%);
}
/* thumb-zone heatmap: radial gradient that follows the cursor.
   Anchored bottom-right (natural right-thumb arc), brighter near cursor. */
.phone-3d__heatmap {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle 90px at 78% 86%, rgba(0,166,81,0.42) 0%, rgba(0,166,81,0.18) 45%, transparent 70%),
    radial-gradient(circle 70px at 50% 70%, rgba(255,193,7,0.22) 0%, transparent 65%),
    radial-gradient(circle 55px at 22% 30%, rgba(214,40,40,0.20) 0%, transparent 65%);
  opacity: 0.85;
  transition: background 0.18s linear, opacity 0.4s;
}
.phone-3d.is-resting .phone-3d__heatmap { opacity: 0.5; }
.phone-3d__ui {
  position: relative; z-index: 1;
  padding: 22px 12px 8px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.phone-3d__statusbar {
  display: flex; justify-content: space-between;
  font-size: 7px; font-weight: 700; color: var(--navy);
  letter-spacing: 0.04em;
}
body.dark-theme .phone-3d__statusbar { color: rgba(255,255,255,0.6); }
.phone-3d__nav {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 8px; font-weight: 800; color: var(--navy);
  padding-bottom: 6px; border-bottom: 1px solid rgba(0,46,93,0.06);
}
body.dark-theme .phone-3d__nav { color: #fff; border-color: rgba(255,255,255,0.06); }
.phone-3d__nav-logo { color: var(--emerald); }
.phone-3d__hero { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.phone-3d__hero-line {
  height: 7px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(0,136,169,0.25));
  width: 80%;
}
.phone-3d__hero-line--sm { width: 45%; }
.phone-3d__cards { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.phone-3d__mini-card {
  height: 22px; border-radius: 5px;
  background: rgba(0,46,93,0.05);
  border: 1px solid rgba(0,46,93,0.04);
}
body.dark-theme .phone-3d__mini-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.04);
}
.phone-3d__callbtn {
  position: relative; z-index: 3;
  margin: auto 10px 8px;
  background: linear-gradient(135deg, var(--gold) 0%, #E6A800 100%);
  color: var(--navy-deep);
  font-weight: 800; font-size: 8px;
  padding: 7px 0; border-radius: 8px;
  letter-spacing: 0.05em; cursor: pointer;
  box-shadow: 0 4px 12px rgba(230,168,0,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.phone-3d__callbtn:hover { transform: translateY(-1px); }
.phone-3d__callbtn.is-pressed { transform: scale(0.96); }
.phone-3d__toast {
  position: absolute; left: 50%; bottom: 38px;
  transform: translateX(-50%) translateY(10px);
  background: var(--navy-deep); color: #fff;
  font-size: 7px; font-weight: 700; padding: 4px 9px;
  border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 4;
}
.phone-3d__toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.phone-3d__home-indicator {
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 3px; border-radius: 2px;
  background: rgba(0,46,93,0.2); z-index: 3;
}
body.dark-theme .phone-3d__home-indicator { background: rgba(255,255,255,0.25); }
.phone-3d__thumb-label {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(6px); top: 64%;
  font-size: 8px; font-weight: 700; color: var(--emerald);
  background: rgba(0,166,81,0.1); padding: 3px 7px;
  border-radius: 999px; white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}
.phone-3d:hover .phone-3d__thumb-label { opacity: 1; transform: translateX(-50%) translateY(0); }
@keyframes phoneBuzz {
  0%, 100% { transform: rotateY(-14deg) rotateX(6deg) translateX(0); }
  25% { transform: rotateY(-14deg) rotateX(6deg) translateX(-2px); }
  75% { transform: rotateY(-14deg) rotateX(6deg) translateX(2px); }
}
.phone-3d.is-calling .phone-3d__frame { animation: phoneBuzz 0.4s ease 2; }

/* ===== Self-drawing Mona Lisa art widget (Unmistakably Authentic) ===== */
.art-widget {
  background: #FFF;
  border-radius: 12px;
  border: 1px solid rgba(0, 46, 93, 0.08);
  box-shadow: 0 8px 24px rgba(0, 46, 93, 0.04);
  overflow: hidden;
  margin-top: 1.5rem;
  transition: transform 0.4s, background-color 0.4s, border-color 0.4s;
}
body.dark-theme .art-widget {
  background: #090e18;
  border-color: rgba(255, 255, 255, 0.05);
}
.art-widget__bar {
  background: #F8F9FA;
  padding: 7px 12px;
  display: flex; align-items: center; gap: 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 9px; color: #6c757d; font-weight: 600;
}
body.dark-theme .art-widget__bar {
  background: #101625; border-color: rgba(255,255,255,0.05); color: #8892a6;
}
.art-widget__dot { width: 6px; height: 6px; border-radius: 50%; background: #CED4DA; }
.art-widget__title { margin-left: 4px; flex: 1; }
.art-widget__brush {
  color: var(--emerald); font-weight: 800; font-size: 12px;
  animation: brushWiggle 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes brushWiggle {
  0%,100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}
.art-widget__stage {
  padding: 10px;
  display: flex; justify-content: center; align-items: center;
  background: linear-gradient(135deg, rgba(0,136,169,0.04), rgba(0,166,81,0.04));
}
body.dark-theme .art-widget__stage {
  background: linear-gradient(135deg, rgba(0,136,169,0.06), rgba(0,166,81,0.06));
}
.art-widget__canvas {
  width: 100%; max-width: 280px; height: auto;
  border-radius: 6px;
  background: #FFFDF7;
}
body.dark-theme .art-widget__canvas { background: #0d1626; }



/* =====================================================================
   PROCESS (From seed to harvest)
   ===================================================================== */
.process {
  background-color: #0a2a4a;
  color: #e8f1ff;
  position: relative;
  height: 320vh; /* Scroll height for desktop pinning */
  padding: 0 !important; /* Remove normal padding on desktop */
  overflow: visible; /* Must be visible for sticky positioning to work */
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
}

.process__sticky-wrapper {
  position: sticky;
  top: 80px; /* Offset for fixed header navigation */
  height: calc(100vh - 80px);
  height: calc(100svh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 991px) {
  .process {
    height: auto !important;
    padding: clamp(4rem, 9vw, 8rem) 0 !important;
    overflow: hidden;
  }
  .process__sticky-wrapper {
    position: relative;
    height: auto;
    overflow: visible;
  }
}
.process .section__title { color: #fff; margin-bottom: 0.25rem; }
.process .section__lead { color: rgba(255,255,255,.75); font-size: 1rem; }
.process .section__eyebrow { color: var(--gold); background: rgba(255,193,7,.12); }
.process .section__head { margin-bottom: clamp(1rem, 2vh, 1.75rem); }
.process__timeline-wrapper { position: relative; }
.process__line-track {
  position: absolute; left: 28px; top: 0; bottom: 0; width: 2px;
  background: rgba(255,255,255,.12); transform: translateX(-50%);
}
.process__line-fill {
  position: absolute; left: 28px; top: 0; width: 2px; height: 0%;
  background: linear-gradient(180deg, var(--gold), var(--emerald));
  transform: translateX(-50%); transition: height 0.1s linear;
}
.process__content-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.process__timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* Tightened gap */
  position: relative;
  padding-bottom: 0; /* Sticky pinning manages scroll depth, no padding-bottom needed */
}
.process__growth-column {
  position: sticky;
  top: 120px;
  display: flex;
  justify-content: center;
}
.process__growth-card {
  width: 100%;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem; /* Compact padding */
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}
.process__growth-plant {
  height: 200px; /* Reduced height to fit easily on shorter viewports */
  margin-bottom: 1rem;
}
.process__growth-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gold);
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}
.plant-stage {
  opacity: 0;
  transform: translateY(20px) scale(0.85);
  transform-origin: bottom center;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.process__growth-card[data-active-stage="1"] .plant-stage--1,
.process__growth-card[data-active-stage="2"] .plant-stage--2,
.process__growth-card[data-active-stage="3"] .plant-stage--3,
.process__growth-card[data-active-stage="4"] .plant-stage--4 {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (max-width: 991px) {
  .process__content-grid {
    grid-template-columns: 1fr;
  }
  .process__growth-column {
    display: none;
  }
}
.process__step {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 0.75rem 0; /* Compact padding */
  background: transparent;
  border: none; border-radius: 0;
  box-shadow: none;
  position: relative;
  transition: transform .35s var(--ease);
}
.process__step::after {
  display: none !important;
}
.process__step:hover { transform: translateX(8px); }
.process__step:hover .process__num { transform: scale(1.12) rotate(-4deg); }
.process__num { transition: transform .35s var(--ease), color .35s, background .35s, box-shadow .35s; }

.process__num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.8rem;
  color: var(--gold); flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,193,7,.1);
}
.process__step--active .process__num {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
}
.process__step--active .process__body h3 {
  color: var(--gold) !important;
}
.process__body h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: .35rem; color: #fff; transition: color .35s; }
.process__body p { color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.6; margin: 0; }

/* =====================================================================
   WORK / PORTFOLIO
   ===================================================================== */
.work { background: var(--paper); }
.work__grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.work__item { cursor: pointer; position: relative; }
.work__mock {
  background: #fff; border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease);
}
.work__mock-bar { background: #F0EDE5; padding: .65rem .9rem; display: flex; gap: .35rem; }
.work__mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D8D2C4; }
.work__mock-img-wrap {
  overflow: hidden;
  height: 200px;
  position: relative;
}
.work__mock-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.work__item:hover .work__mock-img { transform: scale(1.03); }
.work__item:hover .work__mock { transform: translateY(-8px); }
.work__overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,46,93,.85));
  display: flex; align-items: flex-end; padding: 1.5rem;
  opacity: 0; transition: opacity .4s var(--ease); border-radius: var(--radius);
  pointer-events: none;
}
.work__item:hover .work__overlay { opacity: 1; }
.work__overlay-content { color: #fff; transform: translateY(10px); transition: transform .4s var(--ease); }
.work__item:hover .work__overlay-content { transform: translateY(0); }
.work__overlay-content h4 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: .25rem; }
.work__tag { display: inline-block; font-size: .75rem; background: rgba(255,193,7,.9); color: var(--navy-deep); padding: .2rem .6rem; border-radius: 999px; margin-bottom: .5rem; font-weight: 700; }
.work__meta { padding: 1rem .5rem; display: flex; justify-content: space-between; align-items: center; }
.work__meta h4 { font-family: var(--font-display); color: var(--navy); font-size: 1.15rem; }
.work__desc { color: var(--muted); font-size: .9rem; }
.work__metric { text-align: right; }
.work__metric-val { font-family: var(--font-display); font-weight: 700; color: var(--emerald); font-size: 1.1rem; }
.work__metric-lbl { font-size: .75rem; color: var(--muted); }

/* =====================================================================
   ADD-ONS
   ===================================================================== */
.addons { background: var(--cream); }
.addons__grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.addon {
  background: #fff; border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid rgba(0,46,93,.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer; position: relative;
}
.addon:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.addon__icon { font-size: 1.8rem; margin-bottom: .75rem; }
.addon h4 { font-family: var(--font-display); color: var(--navy); margin-bottom: .4rem; font-size: 1.15rem; }
.addon p { color: var(--muted); font-size: .94rem; }
.addon__price-tag {
  display: inline-block; margin-top: .75rem; font-family: var(--font-display);
  font-weight: 700; color: var(--emerald); font-size: .95rem;
}
.addon__select-indicator {
  position: absolute; top: 1rem; right: 1rem;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(0,46,93,.15); transition: all .25s;
}
.addon.is-selected .addon__select-indicator { background: var(--emerald); border-color: var(--emerald); }
.addon.is-selected .addon__select-indicator::after { content: '✓'; color: #fff; font-size: .7rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }

/* Add-ons calculator */
.addons-calculator { max-width: 640px; margin: 3rem auto 0; background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-md); border: 1px solid rgba(0,46,93,.06); }
.addons-calculator__label { font-family: var(--font-display); font-weight: 600; color: var(--navy); margin-bottom: 1rem; font-size: 1.1rem; }
.addons-calculator__list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.addons-calculator__selected { padding: .5rem .75rem; background: var(--paper); border-radius: 8px; font-size: .9rem; color: var(--ink); display: flex; justify-content: space-between; }
.addons-calculator__inner { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid rgba(0,46,93,.08); }
.addons-calculator__price { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--navy); }
.addons-calculator__estimate { font-size: .85rem; color: var(--muted); }

/* =====================================================================
   FOUNDING CLIENT SPECIAL (pricing tiers)
   ===================================================================== */
.special { background: radial-gradient(ellipse at top, rgba(0,166,81,.06), transparent 60%), var(--cream); }

/* Urgency bar */
.urgency { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.urgency__bar {
  height: 14px; background: rgba(0,46,93,.1); border-radius: 999px;
  overflow: hidden; margin-bottom: 1rem; box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
}
.urgency__fill {
  height: 100%; width: 30%; border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  transition: width 1.5s var(--ease); position: relative;
}
.urgency__fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: shimmer 2s linear infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.urgency__text strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.15rem; }
.urgency__sub { color: var(--muted); font-size: .92rem; }

/* Tiers */
.tiers {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: stretch;
}
.tier {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem; border: 2px solid rgba(0,46,93,.08);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  color: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.tier:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tier.is-selected {
  background: linear-gradient(180deg, #002E5D, #003F76); color: #fff;
  border: 2px solid var(--gold) !important; box-shadow: 0 0 25px rgba(255, 193, 7, 0.25) !important; transform: scale(1.03);
}
.tier.is-selected:hover { transform: scale(1.03) translateY(-8px); }
.tier__ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--grad-sunrise); color: var(--navy-deep);
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  padding: .4rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow-gold); letter-spacing: .03em;
  z-index: 2;
}
.tier__badge {
  display: inline-block; font-size: .75rem; font-weight: 600;
  color: var(--emerald); background: rgba(0,166,81,.12);
  padding: .25rem .7rem; border-radius: 999px; margin-bottom: .75rem;
  letter-spacing: .03em; align-self: flex-start;
}
.tier__badge--gold { color: #B8860B; background: rgba(255,193,7,.18); }
.tier__head h3 { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy); margin-bottom: .35rem; }
.tier.is-selected .tier__head h3 { color: #fff; }
.tier__desc { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }
.tier.is-selected .tier__desc { color: rgba(255,255,255,.75); }
.tier__price { margin-bottom: 1.75rem; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.tier__was { color: var(--muted); text-decoration: line-through; font-size: 1.05rem; }
.tier__now { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--navy); line-height: 1; }
.tier.is-selected .tier__now { color: var(--gold); }
.tier.is-selected .tier__was { color: rgba(255,255,255,.5); }
.tier__save { font-size: .78rem; font-weight: 600; color: var(--emerald); background: rgba(0,166,81,.12); padding: .2rem .6rem; border-radius: 999px; }
.tier.is-selected .tier__save { color: var(--gold); background: rgba(255,193,7,.15); }
.tier__billing { font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.tier.is-selected .tier__billing { color: rgba(255,255,255,.5); }
.tier__features { flex: 1; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.75rem; }
.tier__features li { position: relative; padding-left: 1.75rem; color: var(--ink); font-size: .96rem; }
.tier.is-selected .tier__features li { color: rgba(255,255,255,.88); }
.tier__features li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--emerald); font-weight: 700; }
.tier.is-selected .tier__features li::before { color: var(--gold); }
.tier__cta { margin-top: auto; }
.special__note { text-align: center; margin-top: 2.5rem; color: var(--muted); }
.special__note a { color: var(--emerald); font-weight: 600; }

/* =====================================================================
   PITCH / TESTIMONIAL
   ===================================================================== */
.pitch {
  background: radial-gradient(ellipse at center, rgba(0,166,81,.12), transparent 70%), var(--paper);
  padding: clamp(4rem, 8vw, 7rem) 0; text-align: center;
}
.pitch__quote {
  max-width: 820px; margin: 0 auto; position: relative;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; color: var(--navy);
}
.pitch__marks { font-size: 5rem; color: var(--gold); line-height: 0; display: block; margin-bottom: 1.5rem; opacity: .8; }
.pitch__quote cite {
  display: block; margin-top: 1.5rem; font-style: normal;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--muted);
}

/* =====================================================================
   FAQ SECTION (Interactive Accordions)
   ===================================================================== */
.faq {
  background: var(--paper);
}
.faq__grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.faq__item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0,46,93,.06);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.faq__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,46,93,.12);
}
.faq__trigger {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  gap: 1rem;
}
.faq__icon {
  font-size: 0.8rem;
  color: var(--muted);
  transition: transform 0.35s var(--ease);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq__answer-content {
  padding: 0 2rem 1.5rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}
.faq__answer-content p {
  margin: 0;
}
.faq__answer-content strong {
  color: var(--ink);
}

/* Open accordion states */
.faq__item.is-open {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
}
.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
  color: var(--emerald);
}
.faq__item.is-open .faq__answer {
  max-height: 500px; /* High enough value to transition smoothly */
}

/* Dark theme overrides for FAQ */
body.dark-theme .faq__item {
  background-color: #0d111b;
  border-color: rgba(255, 255, 255, 0.08);
}
body.dark-theme .faq__trigger {
  color: #fff;
}
body.dark-theme .faq__item.is-open {
  border-color: var(--gold);
}
body.dark-theme .faq__item.is-open .faq__icon {
  color: var(--gold);
}
body.dark-theme .faq__answer-content strong {
  color: #fff;
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { background: var(--cream); }
.contact__inner {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr 1fr; align-items: start;
}
.contact__intro .section__title { text-align: left; }
.contact__points { margin-top: 2rem; display: flex; flex-direction: column; gap: .85rem; }
.contact__points li { display: flex; align-items: center; gap: .75rem; color: var(--ink); }
.contact__points span { font-size: 1.2rem; }
.contact__form { padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: rgba(255,255,255,.8); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.6); }
.contact__form .field { margin-bottom: 1.1rem; }
.contact__form .field label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: .4rem; font-family: var(--font-display); }
.contact__form .field input, .contact__form .field select, .contact__form .field textarea {
  width: 100%; padding: .85rem 1rem; background: #fff; border: 1.5px solid rgba(0,46,93,.12);
  border-radius: 12px; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.contact__form .field input:focus, .contact__form .field select:focus, .contact__form .field textarea:focus {
  outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(0,166,81,.12);
}
.contact__form-note { margin-top: .85rem; font-size: .92rem; text-align: center; min-height: 1.2em; color: var(--muted); }
.contact__form-note.success { color: var(--emerald); font-weight: 600; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 3.5rem 0 2rem; }
.footer__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer__brand { display: flex; align-items: center; justify-content: center; background: transparent; padding: 0; }
.footer__logo { height: 160px; width: auto; display: block; }
.footer__tag { color: var(--gold); }
.footer__nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer__nav a { color: rgba(255,255,255,.7); font-size: .92rem; transition: color .25s; }
.footer__nav a:hover { color: var(--gold); }
.footer__copy { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: .5rem; }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 1.5rem;
    box-shadow: var(--shadow-md); gap: 1rem;
  }
  .nav__links.is-open a { color: var(--ink); }
  .contact__inner { grid-template-columns: 1fr; }
  .tier.is-selected { transform: none; }
  .tier.is-selected:hover { transform: translateY(-8px); }
  .hero__inner { padding: 6.5rem 0 4rem; }
  .why__grid { grid-template-columns: 1fr; }
  .why__grid .bento-card::after { display: none; }
}

@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { gap: 1rem; padding: 1rem 1.25rem; }
  .hero__stat-divider { height: 28px; }
  .tiers { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== SPEED GAUGE (Blazing Fast card) ===== */
.dial-visual {
  position: relative; width: 220px; height: 150px;
  margin: 0 auto; display: flex; align-items: flex-end; justify-content: center;
}
.dial-svg { width: 220px; height: 140px; display: block; }
.dial-score {
  position: absolute; top: 36px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 800;
  font-size: 3rem; color: #FFE082; line-height: 1;
  text-shadow: 0 0 22px rgba(255,224,130,0.5);
}
.dial-label {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  color: rgba(232,241,255,0.6); font-family: monospace;
}
/* Needle: always flickers at 99 (81-83deg) at rest. */
.dial-needle {
  transform-origin: 80px 90px;
  transform: rotate(82deg);
  animation: needleFlicker 0.35s infinite alternate ease-in-out;
}
@keyframes needleFlicker {
  0%   { transform: rotate(80.5deg); }
  100% { transform: rotate(83.5deg); }
}
/* On hover: needle drops to 0 instantly, then sweeps back to 99 + resumes flicker. */
.dial-visual:hover .dial-needle {
  animation: needleDrop 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes needleDrop {
  0%   { transform: rotate(-90deg); }
  60%  { transform: rotate(-90deg); }
  100% { transform: rotate(82deg); }
}
/* After the drop animation ends, resume flickering via a class toggle (handled in JS) */
.dial-visual.is-flickering .dial-needle {
  animation: needleFlicker 0.35s infinite alternate ease-in-out;
}
/* Active fill path: full at rest */
.dial-active-path { stroke-dashoffset: 96; }

/* ===== CODE TERMINAL (Direct Dev Access card) ===== */
.code-widget {
  background: #0d1117;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  overflow: hidden;
  margin-top: 1.5rem;
}
.code-header {
  background: #161b22;
  padding: 8px 12px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-dot { width: 11px; height: 11px; border-radius: 50%; }
.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }
.code-tab {
  margin-left: 8px; font-size: 0.75rem; color: #8b949e;
  font-family: 'SF Mono', Monaco, monospace; font-weight: 600;
}
.code-body {
  padding: 14px 16px;
  overflow-x: auto;
}
.code-body pre {
  margin: 0; font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: 0.78rem; line-height: 1.6; color: #c9d1d9;
}
.code-body code { font-family: inherit; }
.tok-keyword { color: #ff7b72; }
.tok-def, .tok-class { color: #d2a8ff; }
.tok-string { color: #a5d6ff; }
.tok-comment { color: #6e7681; font-style: italic; }
.tok-var { color: #79c0ff; }
.tok-prop { color: #7ee787; }
.tok-num { color: #ffa657; }
.tok-func { color: #d2a8ff; }

/* ===== WHY US CONVERSION BAR ===== */
.why__conversion-bar {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  background: linear-gradient(135deg, rgba(0, 46, 93, 0.45), rgba(0, 136, 169, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 3rem 3.5rem;
  margin-top: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.why__conversion-bar:hover {
  border-color: rgba(255, 193, 7, 0.25);
  box-shadow: 0 25px 50px rgba(0, 46, 93, 0.35);
}
.why__conversion-bar-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.why__conversion-bar-icon {
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 193, 7, 0.1);
  color: var(--gold);
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.why__conversion-bar h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.why__conversion-bar p {
  color: rgba(232, 241, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}
.why__conversion-bar-right {
  width: 100%;
}
@media (max-width: 991px) {
  .why__conversion-bar {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.25rem 1.75rem;
    margin-top: 2rem;
  }
}

/* ===== CONVERSION CHART (side-by-side before/after, borderless) ===== */
.conv-split { width: 100%; margin-top: 1.5rem; }
.conv-bars { display: flex; flex-direction: column; gap: 0.4rem; }
.conv-bars__head {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem;
  padding-bottom: 0.4rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.conv-bars__lbl { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; font-family: monospace; }
.conv-bars__lbl--before { color: rgba(255,107,107,0.7); }
.conv-bars__lbl--after { color: rgba(255,224,130,0.9); }
.conv-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; align-items: center;
  padding: 0.25rem 0; transition: background 0.25s; border-radius: 6px;
}
.conv-row:hover { background: rgba(255,255,255,0.03); }
.conv-row__name { font-size: 0.8rem; font-weight: 600; color: rgba(232,241,255,0.9); }
.conv-row__track { height: 12px; background: rgba(255,255,255,0.05); border-radius: 6px; overflow: hidden; }
.conv-row__bar { height: 100%; width: 0%; border-radius: 6px; transition: width 1s cubic-bezier(0.22,1,0.36,1); }
.conv-row__bar--before { background: rgba(255,107,107,0.5); }
.conv-row__bar--after { background: linear-gradient(90deg, #FFC107, #FFE082); }
.conv-row:hover .conv-row__bar--after { background: linear-gradient(90deg, #00E676, #B9F6CA); box-shadow: 0 0 10px rgba(0,230,118,0.4); }

/* ===== WORK CARD EXPANDABLE DETAIL ===== */
.work__item { cursor: pointer; }
.work__expand-hint {
  font-size: 0.72rem; color: var(--muted); font-weight: 600;
  margin-left: auto; white-space: nowrap; transition: color .25s;
}
.work__item:hover .work__expand-hint { color: var(--emerald); }
.work__detail {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s, padding .4s;
  opacity: 0; padding: 0 1.5rem;
}
.work__item.is-expanded .work__detail {
  max-height: 400px; opacity: 1; padding: 0.5rem 1.5rem 1.5rem;
}
.work__item.is-expanded .work__expand-hint::after { content: ' ▴'; }
.work__detail-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem;
  margin-bottom: 1rem; padding: 1rem 0;
  border-top: 1px solid rgba(0,46,93,0.08);
}
.work__detail-item { text-align: center; }
.work__detail-item strong {
  display: block; font-family: var(--font-display);
  font-size: 1.5rem; color: var(--emerald); font-weight: 700;
}
.work__detail-item span { font-size: 0.78rem; color: var(--muted); }
.work__detail-desc { font-size: 0.92rem; color: var(--ink); line-height: 1.6; }

/* ===== WORK CARD EXPANDABLE DYNAMIC ARROWS ===== */
.work__expand-hint::after {
  content: ' ▾';
  transition: transform 0.25s;
  display: inline-block;
}
.work__item.is-expanded .work__expand-hint::after {
  content: ' ▴';
}

/* ===== PROCESS DIVIDER RESPONSIVE POLISH ===== */
@media (max-width: 860px) {
  .process__step::after {
    display: none;
  }
}

/* ===== SITE-WIDE DARK MODE THEME ===== */
body.dark-theme {
  --cream:      #050811; /* deep dark navy */
  --paper:      #0d111b; /* slightly lighter dark navy */
  --ink:        #f0f4f8; /* near white text */
  --muted:      #8ba0b5;
  background-color: #050811;
  color: #f0f4f8;
}

body.dark-theme .bento-card,
body.dark-theme .tier,
body.dark-theme .addon,
body.dark-theme .contact__form,
body.dark-theme .addons-calculator {
  background-color: #0d111b;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .bento-card h3,
body.dark-theme .tier h3,
body.dark-theme .addon h4,
body.dark-theme .special__planner-title {
  color: #fff;
}
body.dark-theme .tier.is-selected {
  background: linear-gradient(180deg, #002E5D, #003F76);
  color: #fff;
}
body.dark-theme .tier__now {
  color: var(--gold);
}
body.dark-theme .tier.is-selected .tier__now {
  color: var(--gold);
}
body.dark-theme .tier__was {
  color: rgba(255,255,255,0.4);
}
body.dark-theme .tier__features li::before {
  color: var(--gold);
}
body.dark-theme .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
body.dark-theme .btn--outline:hover {
  background: #fff;
  color: var(--navy-deep);
}
body.dark-theme .contact__form input,
body.dark-theme .contact__form select,
body.dark-theme .contact__form textarea {
  background: #141b2b;
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
body.dark-theme .contact__form input:focus,
body.dark-theme .contact__form select:focus,
body.dark-theme .contact__form textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.25);
}
body.dark-theme .addons-calculator__selected {
  background: #141b2b;
  color: #fff;
}
body.dark-theme .addons-calculator__price {
  color: var(--gold);
}

body.dark-theme .nav--scrolled {
  background: rgba(5, 8, 17, 0.85);
  box-shadow: 0 4px 18px rgba(0,0,0,.3);
}
body.dark-theme .nav--scrolled .nav__links a {
  color: rgba(255,255,255,0.9);
}
body.dark-theme .nav--scrolled .nav__logo {
  background: transparent;
}
body.dark-theme .nav--scrolled .nav__logo-img {
  filter: brightness(0) invert(1);
}
body.dark-theme .nav--scrolled .theme-toggle {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}

/* ===== SPECIAL PLANNER LAYOUT AND COHESION ===== */
.special__planner {
  margin-top: 3.5rem;
  border-top: none;
  padding-top: 0;
}
.special__planner-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.special__planner-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 1rem;
}
body.dark-theme .special__planner-title {
  color: #fff;
}

/* Selected addon card active style */
.addon.is-selected {
  border-color: var(--emerald);
  box-shadow: 0 8px 24px rgba(0, 166, 81, 0.12);
}
body.dark-theme .addon.is-selected {
  border-color: var(--emerald);
  box-shadow: 0 8px 24px rgba(0, 166, 81, 0.25);
}

/* ===== PORTFOLIO SCREENSHOT MODAL POPUP ===== */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.portfolio-modal--open {
  opacity: 1;
  pointer-events: auto;
}
.portfolio-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(8px);
}
.portfolio-modal__window {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 80vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
body.dark-theme .portfolio-modal__window {
  background: #0d111b;
}
.portfolio-modal--open .portfolio-modal__window {
  transform: scale(1);
}
.portfolio-modal__header {
  height: 50px;
  background: #F0EDE5;
  border-bottom: 1px solid #D8D2C4;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  position: relative;
}
body.dark-theme .portfolio-modal__header {
  background: #141b2b;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.portfolio-modal__browser-dots {
  display: flex;
  gap: 6px;
}
.portfolio-modal__browser-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.portfolio-modal__browser-dots .dot.red { background: #ff5f56; }
.portfolio-modal__browser-dots .dot.yellow { background: #ffbd2e; }
.portfolio-modal__browser-dots .dot.green { background: #27c93f; }

.portfolio-modal__address-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 28px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  border: 1px solid rgba(0, 46, 93, 0.08);
}
body.dark-theme .portfolio-modal__address-bar {
  background: #0d111b;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}
.portfolio-modal__close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
  line-height: 1;
  display: flex;
  align-items: center;
}
.portfolio-modal__close:hover {
  color: #ff5f56;
}
.portfolio-modal__body {
  flex: 1;
  overflow-y: auto;
  background: #fdfdfd;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(0,0,0,0.05);
}
body.dark-theme .portfolio-modal__body {
  background: #101624;
}
.portfolio-modal__body::-webkit-scrollbar {
  width: 8px;
}
.portfolio-modal__body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}
.portfolio-modal__body::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}
.portfolio-modal__image {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== LAND ACKNOWLEDGEMENT ===== */
.footer__land-acknowledgement {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 720px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
  opacity: 0.75;
}
body.dark-theme .footer__land-acknowledgement {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== SUBPAGE COMMON STYLES ===== */
.policy-page, .error-page {
  padding-top: clamp(8rem, 12vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.container--narrow {
  max-width: 800px;
}
.text-center {
  text-align: center;
}

/* ===== PRIVACY POLICY PAGE ===== */
.policy__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.policy__date {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.policy__content {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: left;
}
.policy__content.glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
body.dark-theme .policy__content.glass {
  background: rgba(13, 17, 27, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
}
.policy__intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 2rem;
}
.policy__content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
body.dark-theme .policy__content h2 {
  color: #fff;
}
.policy__content p {
  color: var(--ink);
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.policy__content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.policy__content li {
  color: var(--ink);
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* ===== CUSTOM 404 ERROR PAGE ===== */
.error-page {
  min-height: 75vh;
  display: flex;
  align-items: center;
}
.error__visual {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}
.error__svg {
  filter: drop-shadow(0 10px 20px rgba(0,46,93,0.1));
}
body.dark-theme .error__svg {
  filter: drop-shadow(0 10px 25px rgba(255,255,255,0.05));
}
.tumbleweed {
  transform-origin: 100px 100px;
  animation: tumble 8s infinite linear;
}
@keyframes tumble {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.wind-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: blow 4s infinite linear;
}
.wind-line--1 {
  animation-delay: 0s;
}
.wind-line--2 {
  animation-delay: 2s;
}
@keyframes blow {
  0% { stroke-dashoffset: 200; opacity: 0; }
  20% { opacity: 0.6; }
  80% { opacity: 0.6; }
  100% { stroke-dashoffset: -200; opacity: 0; }
}
.error__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 1rem;
}
.error__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
body.dark-theme .error__subtitle {
  color: #fff;
}
.error__lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
body.dark-theme .error__lead {
  color: rgba(255,255,255,0.7);
}

/* ===== PERFORMANCE SPEED VISUALIZER ===== */
.speed {
  background: var(--paper);
  transition: background-color 0.4s ease;
}
body.dark-theme .speed {
  background: var(--cream);
}
.speed__slider-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: clamp(350px, 50vw, 550px);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 46, 93, 0.08);
  user-select: none;
}
body.dark-theme .speed__slider-container {
  border-color: rgba(255, 255, 255, 0.08);
}
.speed__mockup {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.speed__mockup--slow {
  background: #f4f2ee;
  color: #7b7872;
}
body.dark-theme .speed__mockup--slow {
  background: #141b2b;
  color: #5a6b7b;
}
.speed__mockup--fast {
  background: var(--cream);
  color: var(--ink);
  z-index: 2;
  clip-path: polygon(var(--slider-pos, 50%) 0, 100% 0, 100% 100%, var(--slider-pos, 50%) 100%);
}
body.dark-theme .speed__mockup--fast {
  background: #0d111b;
}

/* Browser Mockup Header */
.mockup-header {
  height: 40px;
  background: rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 6px;
}
body.dark-theme .mockup-header {
  background: rgba(255,255,255,0.03);
  border-bottom-color: rgba(255,255,255,0.08);
}
.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
}
body.dark-theme .mockup-dot {
  background: rgba(255,255,255,0.15);
}
.mockup-address {
  font-size: 0.72rem;
  font-family: monospace;
  background: rgba(255,255,255,0.6);
  padding: 0.15rem 1rem;
  border-radius: 4px;
  width: 250px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  margin-inline: auto;
  border: 1px solid rgba(0,0,0,0.04);
}
body.dark-theme .mockup-address {
  background: rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
}

/* Content within mockups */
.mockup-content {
  flex: 1;
  padding: clamp(1rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Slow Mockup elements */
.slow-alert {
  background: rgba(231, 76, 60, 0.1);
  color: #c0392b;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  border: 1px solid rgba(231, 76, 60, 0.2);
  margin-bottom: 1rem;
  align-self: center;
}
.skeleton-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3.5px solid rgba(0,0,0,0.1);
  border-top-color: #c0392b;
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin-bottom: 1rem;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.skeleton-line {
  height: 12px;
  background: rgba(0,0,0,0.08);
  border-radius: 4px;
  margin-bottom: 0.6rem;
  width: 80%;
  animation: pulse 1.5s infinite ease-in-out;
}
body.dark-theme .skeleton-line {
  background: rgba(255,255,255,0.08);
}
.skeleton-title {
  height: 20px;
  width: 60%;
  margin-bottom: 0.8rem;
}
.skeleton-sub {
  width: 50%;
}
.skeleton-btn {
  height: 32px;
  width: 120px;
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  margin-top: 0.5rem;
  animation: pulse 1.5s infinite ease-in-out;
}
body.dark-theme .skeleton-btn {
  background: rgba(255,255,255,0.08);
}
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.skeleton-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.skeleton-img {
  height: 48px;
  background: rgba(0,0,0,0.08);
  border-radius: 8px;
  animation: pulse 1.5s infinite ease-in-out;
}
body.dark-theme .skeleton-img {
  background: rgba(255,255,255,0.08);
}
.skeleton-line.short {
  width: 40%;
}
@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 0.85; }
  100% { opacity: 0.5; }
}

/* Fast Mockup elements */
.fast-success {
  background: rgba(46, 204, 113, 0.1);
  color: var(--emerald);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  border: 1px solid rgba(46, 204, 113, 0.2);
  margin-bottom: 1rem;
  align-self: center;
}
.fast-hero {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fast-hero h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
body.dark-theme .fast-hero h3 {
  color: #fff;
}
.fast-hero p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.fast-btn {
  display: inline-flex;
  background: var(--grad-sunrise);
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.fast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.fast-card {
  background: rgba(0, 46, 93, 0.03);
  border: 1px solid rgba(0, 46, 93, 0.05);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}
body.dark-theme .fast-card {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
}
.fast-icon {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  display: block;
}
.fast-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.15rem;
}
body.dark-theme .fast-card h4 {
  color: #fff;
}
.fast-card p {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Badges */
.speed-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 10;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-display);
}
.speed-badge--red {
  background: #c0392b;
  color: #fff;
}
.speed__mockup--fast .speed-badge--green {
  background: var(--emerald);
  color: #fff;
  left: 1rem;
  right: auto;
}

/* Draggable handle bar styling */
.speed__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos, 50%);
  width: 4px;
  background: var(--gold);
  z-index: 5;
  transform: translateX(-50%);
  cursor: ew-resize;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}
.speed__handle-line {
  flex: 1;
  width: 2px;
  background: rgba(255, 255, 255, 0.4);
}
.speed__handle-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  font-weight: bold;
  font-size: 0.9rem;
  gap: 4px;
  border: 2px solid #fff;
  transition: transform 0.25s var(--ease);
}
.speed__handle:hover .speed__handle-button {
  transform: scale(1.12);
}
.speed__handle-arrow {
  line-height: 1;
}

/* ===== TEAM & TESTIMONIALS SHOWCASE ===== */
.team-pitch {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease;
}
body.dark-theme .team-pitch {
  background: var(--cream);
}
.pitch__quote {
  max-width: 900px;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1.5;
  color: var(--navy);
  font-weight: 500;
  text-align: center;
  position: relative;
}
body.dark-theme .pitch__quote {
  color: #fff;
}
.pitch__marks {
  display: block;
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: -1rem;
}
.pitch__quote cite {
  display: block;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-style: normal;
  color: var(--muted);
  margin-top: 1.5rem;
  font-weight: 600;
}

/* Carousel structure */
.carousel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}
.carousel__viewport {
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0.5rem; /* space for card shadows and mouse glow boundary */
}
.carousel__track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.carousel__card {
  flex: 0 0 100%; /* Default on mobile: 1 card wide */
  max-width: 100%;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

/* Screen widths: Tablet/Desktop can fit 2 cards */
@media (min-width: 768px) {
  .carousel__card {
    flex: 0 0 calc(50% - 1rem); /* 2 cards wide */
  }
}

.carousel__card.glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px) saturate(130%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.4s, background-color 0.4s;
}
body.dark-theme .carousel__card.glass {
  background: rgba(13, 17, 27, 0.7);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.carousel__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Card details */
.card__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(0, 136, 169, 0.08);
  color: var(--teal);
  margin-bottom: 1.5rem;
  font-family: monospace;
}
.card__badge--gold {
  background: rgba(255, 193, 7, 0.1);
  color: #d4a017;
}
.card__profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.card__avatar {
  font-size: 2.2rem;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 46, 93, 0.04);
  border-radius: 50%;
  border: 1px solid rgba(0, 46, 93, 0.08);
}
body.dark-theme .card__avatar {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
.card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
body.dark-theme .card__name {
  color: #fff;
}
.card__role {
  font-size: 0.85rem;
  color: var(--muted);
}
.card__quote {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.7;
  opacity: 0.85;
}

/* Mouse spotlight glow effects */
.spotlight-card {
  position: relative;
}
.card__spotlight {
  position: absolute;
  top: var(--mouse-y, 0);
  left: var(--mouse-x, 0);
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.12) 0%, rgba(255, 193, 7, 0) 70%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
body.dark-theme .card__spotlight {
  background: radial-gradient(circle, rgba(0, 166, 81, 0.18) 0%, rgba(0, 166, 81, 0) 70%);
}
.spotlight-card:hover .card__spotlight {
  opacity: 1;
}

/* Controls */
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.carousel__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 46, 93, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--navy);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
}
body.dark-theme .carousel__arrow {
  background: #0d111b;
  border-color: rgba(255,255,255,0.08);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.carousel__arrow:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
}
.carousel__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.carousel__dots {
  display: flex;
  gap: 8px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 46, 93, 0.15);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
body.dark-theme .carousel__dot {
  background: rgba(255,255,255,0.15);
}
.carousel__dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ===== SHOWCASE HUB GRID ===== */
.playground-hub {
  padding-top: clamp(8rem, 12vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  background: radial-gradient(circle at 10% 20%, rgba(0, 46, 93, 0.03) 0%, rgba(255, 255, 255, 0) 90%);
}
body.dark-theme .playground-hub {
  background: radial-gradient(circle at 10% 20%, rgba(255, 193, 7, 0.02) 0%, rgba(13, 17, 27, 0) 90%);
}
.showcase-hub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-top: 3.5rem;
}
@media (min-width: 768px) {
  .showcase-hub__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .showcase-hub__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.showcase-card {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 46, 93, 0.06);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s var(--ease);
}
body.dark-theme .showcase-card {
  background: rgba(18, 24, 38, 0.65);
  border-color: rgba(255, 255, 255, 0.05);
}
.showcase-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.showcase-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.showcase-card__badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
  background: rgba(0, 46, 93, 0.05);
  color: var(--navy);
}
body.dark-theme .showcase-card__badge {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.showcase-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
body.dark-theme .showcase-card__title {
  color: #fff;
}
.showcase-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.showcase-card__btn {
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.85rem 1.5rem;
  text-decoration: none;
}

/* ===== FLOATING STYLE SWITCHER ===== */
.style-switcher-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(13, 17, 27, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  padding: 0.85rem 1.5rem;
  border-radius: 99px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  transition: all 0.3s var(--ease);
}
.style-switcher-bar:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
}
.switcher-bar__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.switcher-bar__select {
  background: #1e293b;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.45rem 2rem 0.45rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}
.switcher-bar__hub-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 0.85rem;
  transition: color 0.2s;
  text-decoration: none;
}
.switcher-bar__hub-link:hover {
  color: #fff;
}

/* ===== FULL VIEWPORT TEMPLATES ===== */
.play-layout-template {
  min-height: calc(100vh - 80px);
  padding-top: clamp(7rem, 11vw, 9rem);
  padding-bottom: clamp(5rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}

/* BUTTON GLOBAL FOR MOCKUPS */
.preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: none;
  font-family: var(--font-display);
}
.preview-btn:hover {
  transform: translateY(-2px);
}

/* 1. 3D WebGL Template Page */
.theme-3d {
  background: radial-gradient(circle at 50% 50%, #0d0f1b 0%, #040509 100%);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  min-height: 100vh;
}
.layout-3d__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.layout-3d__content {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60vh;
  pointer-events: none;
}
.layout-3d__content * {
  pointer-events: auto;
}
.layout-3d__badge {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: #00f3ff;
  font-weight: 800;
  margin-bottom: 1rem;
  display: block;
}
.layout-3d__title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.layout-3d__desc {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.theme-3d .preview-btn {
  background: linear-gradient(90deg, #ff0055, #00f3ff);
  color: #fff;
  border-radius: 99px;
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
}
.theme-3d .preview-btn:hover {
  box-shadow: 0 0 35px rgba(255, 0, 85, 0.6);
}

/* 2. Scrollytelling Template Page */
.theme-scrolly {
  background: #f8f6f0;
  color: #2b2222;
  font-family: Georgia, serif;
}
.layout-scrolly__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) {
  .layout-scrolly__grid {
    grid-template-columns: 1fr 340px;
  }
}
.layout-scrolly__scrollable {
  padding: 1rem 0;
}
.scrolly-step {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.2;
  transition: opacity 0.5s ease-in-out;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.scrolly-step.active {
  opacity: 1;
}
.scrolly-step h4 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #c97151;
  font-family: Georgia, serif;
}
.scrolly-step p {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 600px;
}
.layout-scrolly__fixed {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-height: 400px;
}
.scrolly-indicator-bar {
  position: absolute;
  left: 0;
  top: 10%;
  width: 5px;
  height: 80%;
  background: rgba(0,0,0,0.04);
}
.scrolly-indicator-fill {
  width: 100%;
  height: 0%;
  background: #e08e6d;
  transition: height 0.3s ease-out;
}
.scrolly-plant-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.scrolly-svg-plant {
  width: 150px;
  height: 220px;
}

/* 3. Bento Grid Dashboard Page */
.theme-bento {
  background: radial-gradient(circle at top, #0f1626 0%, #07090e 100%);
  color: #fff;
  font-family: 'Inter', sans-serif;
}
.layout-bento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .layout-bento__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .layout-bento__grid {
    grid-template-columns: 1.2fr 1fr;
  }
}
.bento-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  backdrop-filter: blur(12px);
}
.bento-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.bento-card--lead {
  grid-row: span 2;
  align-items: center;
}
.bento-circular-chart {
  width: 180px;
  height: 180px;
  position: relative;
  margin: 1.5rem auto;
}
.circle-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}
.bento-circular-chart .circle {
  transition: stroke-dasharray 0.35s ease;
}
.bento-stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffc107;
  margin-bottom: 1rem;
}
.bento-slider {
  width: 100%;
  margin-bottom: 0.75rem;
  accent-color: #ffc107;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  outline: none;
}
.bento-svg-chart {
  width: 100%;
  height: 100px;
  margin-top: 1rem;
}
.bento-chart-line {
  transition: d 0.3s ease;
}

/* 4. Instant E-Commerce Shop Page */
.theme-shop {
  background: #f8fafc;
  color: #0f172a;
  font-family: 'Inter', sans-serif;
}
.layout-shop__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}
.shop-cart-trigger {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.shop-cart-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}
.layout-shop__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 576px) {
  .layout-shop__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .layout-shop__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.shop-product-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: all 0.3s var(--ease);
}
.shop-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}
.shop-product-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem 0;
}
.product-price {
  display: block;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
}
.shop-add-btn {
  background: #0f172a;
  color: #fff;
  border: none;
  width: 100%;
  padding: 0.85rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.shop-add-btn:hover {
  background: #2563eb;
}
.shop-cart-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 360px;
  height: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.shop-cart-drawer.active {
  right: 0;
}
.shop-drawer-header {
  padding: 2rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}
.shop-drawer-header button {
  background: none;
  border: none;
  font-size: 2.25rem;
  cursor: pointer;
}
.shop-drawer-body {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}
.empty-cart-msg {
  color: #64748b;
  text-align: center;
  margin-top: 3rem;
  font-size: 1rem;
}
.cart-drawer-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  border-bottom: 1px solid #f1f5f9;
  padding: 1rem 0;
}
.shop-drawer-footer {
  padding: 2rem;
  border-top: 1px solid #e2e8f0;
}
.theme-shop .preview-btn {
  background: #10b981;
  color: #fff;
  width: 100%;
}

/* 5. Diagnostic Lead Funnel Page */
.theme-funnel {
  background: #f1f5f9;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
}
.layout-funnel__container {
  background: #fff;
  border-radius: 24px;
  padding: 3.5rem;
  max-width: 580px;
  margin: 2rem auto;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.04);
}
.funnel-progress-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  margin-bottom: 2.5rem;
  overflow: hidden;
}
.funnel-progress-fill {
  height: 100%;
  background: #4f46e5;
  transition: width 0.4s ease;
}
.funnel-slide h4 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1.75rem;
  text-align: center;
}
.funnel-choices {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.funnel-choice-btn {
  padding: 1.25rem;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  border-radius: 14px;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.funnel-choice-btn:hover {
  border-color: #4f46e5;
  background: #f5f3ff;
  transform: translateX(6px);
}
.funnel-proposal-card {
  text-align: center;
}
.funnel-proposal-card h5 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.funnel-proposal-card p {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 2rem;
}
.funnel-price-range {
  font-size: 3rem;
  font-weight: 800;
  color: #4f46e5;
  display: block;
}
.theme-funnel .preview-btn {
  background: #4f46e5;
  color: #fff;
}

/* 6. Classic Editorial News Page */
.theme-editorial {
  background: #f9f8f6;
  color: #111;
  font-family: Georgia, serif;
}
.layout-editorial__nav {
  display: flex;
  gap: 2rem;
  border-bottom: 2px solid #111;
  padding-bottom: 0.85rem;
  margin-bottom: 2.5rem;
}
.editorial-filter {
  background: none;
  border: none;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.editorial-filter.active {
  font-weight: 700;
  opacity: 1;
}
.layout-editorial__articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .layout-editorial__articles {
    grid-template-columns: repeat(2, 1fr);
  }
}
.editorial-art-card {
  border-bottom: 1px double rgba(0,0,0,0.15);
  padding-bottom: 2rem;
  transition: opacity 0.3s;
}
.editorial-art-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8b0000;
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}
.editorial-art-card h5 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
}
.editorial-art-card p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
}

/* Dropcap for Editorial */
.editorial-art-card--featured p::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  float: left;
  line-height: 0.8;
  padding-right: 10px;
  font-weight: 700;
  color: #8b0000;
}

/* 7. B2B SaaS Pricing Page */
.theme-saas {
  background: #f8fafc;
  color: #0f172a;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.layout-saas__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.layout-saas__header h4 {
  font-size: 1.75rem;
  font-weight: 800;
}
.saas-range-slider {
  width: 100%;
  max-width: 480px;
  margin-bottom: 2.5rem;
  accent-color: #2563eb;
  height: 6px;
  background: #cbd5e1;
  border-radius: 3px;
  outline: none;
}
.layout-saas__card {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.saas-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #dbeafe;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
}
.layout-saas__card h5 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.saas-price {
  font-size: 3rem;
  font-weight: 800;
  color: #2563eb;
  display: block;
  margin-bottom: 1.5rem;
}
.saas-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.saas-features li::before {
  content: '✓ ';
  color: #10b981;
  font-weight: 700;
}
.theme-saas .preview-btn {
  background: #2563eb;
  color: #fff;
  width: 100%;
}

/* 8. Horizontal Swiss Gallery Page */
.theme-gallery {
  background: #000;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  min-height: 100vh;
}
.layout-gallery__viewport {
  width: 100%;
  overflow: hidden;
  margin-top: 2.5rem;
}
.layout-gallery__track {
  display: flex;
  width: 400%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-slide {
  width: 25%;
  padding: 0 2rem;
}
.gallery-image-placeholder {
  height: 520px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  background-size: cover;
  background-position: center;
  position: relative;
}
.gallery-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
}
.layout-gallery__controls {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding: 0 2rem;
}
.gallery-btn {
  background: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 99px;
  font-family: var(--font-display);
}
.gallery-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}

/* 9. Interactive Timeline Roadmap Page */
.theme-timeline {
  background: #06090e;
  color: #f1f5f9;
  font-family: 'Inter', sans-serif;
}
.layout-timeline__scrollable {
  padding: 2rem 0;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.timeline-line-track {
  position: absolute;
  left: 2.45rem;
  top: 2rem;
  bottom: 2rem;
  width: 3px;
  background: rgba(255,255,255,0.05);
  z-index: 1;
}
.timeline-line-fill {
  width: 100%;
  height: 0%;
  background: #e0aa3e;
  transition: height 0.3s;
}
.timeline-milestone {
  display: flex;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
  margin-bottom: 5rem;
  opacity: 0.15;
  transition: all 0.5s ease-in-out;
  transform: translateY(20px);
}
.timeline-milestone.active {
  opacity: 1;
  transform: none;
}
.timeline-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0f172a;
  border: 3px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  transition: all 0.4s var(--ease);
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: #fff;
}
.timeline-milestone.active .timeline-node {
  border-color: #e0aa3e;
  background: #e0aa3e;
  color: #0b0f17;
  box-shadow: 0 0 15px rgba(224,170,62,0.6);
}
.timeline-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2.25rem;
  flex: 1;
  backdrop-filter: blur(8px);
}
.timeline-box h5 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #e0aa3e;
}
.timeline-box p {
  font-size: 1.05rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* 10. FAQ Search Accordion Page */
.theme-faq {
  background: #ffffff;
  color: #111;
  font-family: 'Space Grotesk', sans-serif;
}
.layout-faq__search {
  margin-bottom: 3rem;
  max-width: 540px;
  margin-inline: auto;
}
.faq-search-input {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border: 3px solid #111;
  border-radius: 12px;
  font-size: 1.1rem;
  outline: none;
  font-family: 'Space Grotesk', sans-serif;
  transition: box-shadow 0.2s;
}
.faq-search-input:focus {
  box-shadow: 4px 4px 0 #111;
}
.layout-faq__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}
.faq-acc-item {
  border: 3px solid #111;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s;
}
.faq-acc-item:hover {
  transform: translateY(-2px);
}
.faq-acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
}
.faq-acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0 1.75rem;
}
.faq-acc-panel p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  padding-bottom: 1.25rem;
}
.faq-acc-item.active .faq-acc-panel {
  max-height: 140px;
}

/* ===== PLAYGROUND SHOWCASE PREVIEW CARDS ===== */
.card-preview {
  height: 180px;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
  background: #eaeef3;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
body.dark-theme .card-preview {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.05);
}
.card-preview__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.showcase-card:hover .card-preview__img {
  transform: scale(1.05);
}
