/* ===================== VEXEL — design tokens (light) ===================== */
:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --fg: #0f0f13;
  --muted: #6b6b74;
  --ink: #0d0d12;
  --indigo: #5B2FE0;
  --violet: #8b5cf6;
  --coral: #ff5d3a;
  --lime: #c8ff3d;
  --line: rgba(15,15,19,0.10);
  --radius: 22px;
  --container: 1220px;
  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);

  /* gradient system — a single confident violet, not a rainbow — matches the VEXEL mark */
  --grad-brand: linear-gradient(120deg, #4E22D6 0%, var(--indigo) 45%, var(--violet) 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(91,47,224,0.22), rgba(139,92,246,0.18) 100%);
  --grad-mesh-1: radial-gradient(circle at 30% 30%, var(--indigo), var(--violet) 70%);
  --grad-mesh-2: radial-gradient(circle at 60% 40%, var(--coral), #ff8a5a 70%);
  --grad-mesh-3: radial-gradient(circle at 50% 50%, var(--lime), #eaffb0 70%);
  --grad-panel: linear-gradient(150deg, #1c1140 0%, #3324a8 48%, #7c3aed 100%);

  /* glassmorphism */
  --glass-blur: 20px;
  --glass-bg: rgba(255,255,255,0.58);
  --glass-bg-strong: rgba(255,255,255,0.8);
  --glass-shadow: 0 10px 34px rgba(31,26,64,0.10);
  --glow-indigo: 0 0 0 1px rgba(91,47,224,0.10), 0 22px 48px rgba(91,47,224,0.20);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .logo {
  font-family: -apple-system, BlinkMacSystemFont, 'Onest', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
}

/* custom cursor dot (desktop only) */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--grad-brand);
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%,-50%);
  transition: opacity .2s, width .25s var(--ease-spring), height .25s var(--ease-spring);
  box-shadow: 0 0 16px rgba(67,56,255,0.5);
}
.cursor-dot.is-active { width: 30px; height: 30px; }
@media (hover:none), (max-width: 900px) { .cursor-dot { display: none; } }

/* Film grain overlay — subtle texture so the site doesn't read as flat template UI */
.grain-overlay {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce), (max-width: 600px) { .grain-overlay { opacity: 0.03; } }

/* ===================== Header — floating pill (per brand concept) ===================== */
.site-header {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
}
.header-inner {
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.78);
  border: none;
  border-radius: 22px;
  padding: 10px 10px 10px 26px;
  backdrop-filter: saturate(180%) blur(26px);
  -webkit-backdrop-filter: saturate(180%) blur(26px);
  /* macOS "vibrancy" recipe: a 0.5px hairline shadow stands in for a border (crisp edge
     definition without a visible line), stacked under a soft layered drop shadow. */
  box-shadow: 0 0 0 .5px rgba(15,15,19,.1), 0 2px 8px rgba(15,15,19,.08), 0 16px 40px rgba(15,15,19,.12),
              inset 0 1px 0 rgba(255,255,255,.8);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
/* Specular sweep — the cue that actually reads as "glass" rather than flat tint,
   since blurring an already-soft hero gradient behind it barely shows on its own. */
.header-inner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.6) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: shine-sweep 7s ease-in-out infinite;
  pointer-events: none;
}
.site-header.scrolled .header-inner {
  box-shadow: 0 18px 44px rgba(15,15,19,0.12), 0 2px 10px rgba(15,15,19,0.06);
  transform: translateY(-1px);
}

.logo { display: inline-flex; align-items: center; }
.logo-mark { display: block; width: 140px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.main-nav a { position: relative; color: var(--muted); transition: color .2s; }
.main-nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--grad-brand); transition: right .3s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after, .main-nav a.active:not(.nav-cta)::after { right: 0; }
.main-nav a:hover { color: var(--fg); }
.nav-cta {
  color: #fff !important;
  background: var(--grad-brand);
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(67,56,255,.32);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease-spring);
}
.nav-cta:hover { color: #fff !important; box-shadow: 0 10px 30px rgba(255,93,58,.35); transform: translateY(-2px); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.burger span { width: 22px; height: 2px; background: var(--fg); display: block; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: -10%;
  background-image:
    radial-gradient(70% 20% at 50% 6%, rgba(91,47,224,.42), transparent 72%),
    radial-gradient(38% 42% at 12% 8%, rgba(91,47,224,.28), transparent 60%),
    radial-gradient(30% 34% at 88% 14%, rgba(139,92,246,.22), transparent 60%),
    radial-gradient(40% 46% at 78% 90%, rgba(255,93,58,.18), transparent 60%),
    radial-gradient(26% 30% at 12% 88%, rgba(200,255,61,.20), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  animation: aurora-drift 24s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  filter: blur(70px);
  opacity: 0.4;
  z-index: 0;
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  animation: float 16s ease-in-out infinite, morph 13s ease-in-out infinite;
}
.blob-a { width: 480px; height: 480px; background: var(--grad-mesh-1); top: -160px; left: -120px; }
.blob-b { width: 380px; height: 380px; background: var(--grad-mesh-2); bottom: -120px; right: -80px; animation-delay: -6s, -4s; }
.blob-c { width: 260px; height: 260px; background: var(--grad-mesh-3); top: 40%; right: 20%; animation-delay: -3s, -8s; opacity: .55; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-40px); } }
@keyframes morph {
  0%,100% { border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; }
  33% { border-radius: 62% 38% 45% 55% / 55% 62% 38% 45%; }
  66% { border-radius: 38% 62% 55% 45% / 40% 45% 55% 60%; }
}
@keyframes aurora-drift {
  0% { background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%; transform: scale(1) rotate(0deg); }
  100% { background-position: 8% 6%, 92% 12%, 88% 92%, 6% 96%; transform: scale(1.08) rotate(3deg); }
}
@keyframes gradient-shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Hero background particles — small drifting shapes filling the empty space around
   the headline and gallery so the first screen reads as alive, not just two static blobs. */
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.particle { position: absolute; }

/* Icon chips — small glass badges carrying an actual web-dev motif (cursor, code, browser, launch)
   instead of decorative geometry with no connection to what the studio does. */
.p-chip {
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box, var(--grad-brand-soft) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
}
.p-chip svg { width: 52%; height: 52%; }

.p-chip-1 { top: 14%; left: 6%; width: 46px; height: 46px; color: var(--indigo); animation: drift-a 13s ease-in-out infinite; }
.p-chip-3 { bottom: 10%; right: 4%; width: 54px; height: 54px; color: var(--violet); animation: drift-b 19s ease-in-out infinite; animation-delay: -9s; }
.p-chip-4 { top: 8%; left: 80%; width: 40px; height: 40px; color: var(--indigo); animation: drift-a 11s ease-in-out infinite; animation-delay: -7s; }

.p-dot-1, .p-dot-2, .p-dot-3 { border-radius: 50%; }
.p-dot-1 { top: 20%; left: 47%; width: 8px; height: 8px; background: var(--lime); box-shadow: 0 0 10px rgba(200,255,61,.6); animation: drift-c 10s ease-in-out infinite; }
.p-dot-2 { top: 88%; left: 42%; width: 6px; height: 6px; background: var(--indigo); animation: drift-a 12s ease-in-out infinite; animation-delay: -6s; }
.p-dot-3 { top: 42%; left: 2%; width: 10px; height: 10px; background: var(--coral); opacity: .6; animation: drift-c 14s ease-in-out infinite; animation-delay: -3s; }

@keyframes drift-a { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(14px,-18px) rotate(8deg); } }
@keyframes drift-b { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-16px,14px) rotate(-6deg); } }
@keyframes drift-c { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(10px,10px) scale(1.15); } }

@media (max-width: 600px) {
  .p-chip-3, .p-chip-4, .p-dot-3 { display: none; }
}

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

.hero-title { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.08; margin-top: 0; font-weight: 800; letter-spacing: -0.03em; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title em {
  font-style: normal;
  background: var(--grad-brand);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradient-shift 8s ease infinite;
}

.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-eyebrow {
  font-family: 'Caveat', cursive; font-weight: 700; font-size: 24px; color: var(--indigo);
  margin-bottom: 6px;
}
.hero-sub {
  max-width: 460px; margin-top: 20px; font-size: 16.5px; line-height: 1.6; color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, 'Onest', 'Inter', sans-serif;
  font-weight: 450; letter-spacing: -0.005em;
}

/* Hero visual — the VEXEL mark rendered large with a soft drop-shadow (standing in for a
   3D chrome render, hand-coded like the rest of the site's decoration), surrounded by
   floating glass UI cards and a handwritten-style annotation. Matches the studio's own
   concept board for this section. */
.hero-visual { position: relative; height: 460px; display: flex; align-items: center; justify-content: center; }
.hero-3d { position: relative; width: 100%; max-width: 480px; height: 440px; }

.v3d-glow {
  position: absolute; inset: 6% 10%; border-radius: 50%;
  background: var(--grad-mesh-1); filter: blur(80px); opacity: .3; z-index: 0;
  animation: float 14s ease-in-out infinite;
}

/* Centerpiece — an actual glassy browser window with a real site layout inside it,
   so the first thing you see unmistakably reads "we build websites," styled after
   macOS's frosted "liquid glass" materials: soft light, blur, hairline highlights. */
.hero-window {
  position: absolute; top: 50%; left: 58%; transform: translate(-50%,-50%);
  z-index: 1; width: 380px; max-width: 82vw;
  border-radius: 20px; overflow: hidden;
  background: rgba(255,255,255,.78);
  border: none;
  backdrop-filter: saturate(180%) blur(30px);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  box-shadow: 0 0 0 .5px rgba(15,15,19,.1), 0 2px 8px rgba(15,15,19,.08),
              0 30px 60px rgba(91,47,224,.18), 0 50px 90px rgba(15,15,19,.1),
              inset 0 1px 0 rgba(255,255,255,.85);
  opacity: 0; transition: opacity .7s var(--ease);
  animation: v3d-float 10s ease-in-out infinite;
}
.hero-visual.reveal.is-visible .hero-window { opacity: 1; transition-delay: .1s; }
@keyframes v3d-float {
  0%,100% { transform: translate(-50%,-50%) translateY(0); }
  50% { transform: translate(-50%,-50%) translateY(-14px); }
}
.hw-chrome { display: flex; align-items: center; gap: 6px; padding: 13px 16px; border-bottom: 1px solid rgba(15,15,19,.06); }
.hw-dot { width: 9px; height: 9px; border-radius: 50%; }
.hw-dot-r { background: #ff5f57; } .hw-dot-y { background: #febc2e; } .hw-dot-g { background: #28c840; }
.hw-url {
  margin-left: 10px; display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--muted); background: rgba(15,15,19,.05);
  padding: 5px 12px; border-radius: 999px;
}
.hw-url svg { width: 12px; height: 12px; flex-shrink: 0; }
.hw-body { padding: 24px; }
.hw-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.hw-logo-dot { width: 20px; height: 20px; border-radius: 7px; background: var(--grad-brand); flex-shrink: 0; }
.hw-navline { height: 7px; width: 32px; border-radius: 4px; background: rgba(15,15,19,.10); }
.hw-navcta { margin-left: auto; width: 58px; height: 20px; border-radius: 999px; background: var(--grad-brand); }
.hw-heading-line { height: 15px; border-radius: 7px; background: rgba(15,15,19,.14); margin-bottom: 11px; }
.hw-heading-line.w-80 { width: 80%; } .hw-heading-line.w-55 { width: 55%; }
.hw-cta-row { display: flex; gap: 10px; margin: 20px 0 22px; }
.hw-btn-solid { width: 104px; height: 32px; border-radius: 999px; background: var(--grad-brand); }
.hw-btn-ghost { width: 92px; height: 32px; border-radius: 999px; border: 1px solid rgba(15,15,19,.14); }
.hw-art {
  height: 110px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(91,47,224,.20), rgba(139,92,246,.14) 55%, rgba(255,138,90,.12));
}

.float-card {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,.78);
  border: none;
  border-radius: 14px;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 0 0 .5px rgba(15,15,19,.08), 0 4px 16px rgba(15,15,19,.08), 0 20px 40px rgba(15,15,19,.12),
              inset 0 1px 0 rgba(255,255,255,.8);
  opacity: 0; transition: opacity .7s var(--ease);
}
.hero-visual.reveal.is-visible .float-card { opacity: 1; }

.card-ideas {
  top: -9%; left: -6%; width: 140px; padding: 14px 16px;
  font-size: 13px; font-weight: 600; line-height: 1.75; color: var(--fg);
  animation: float-m 9s ease-in-out infinite;
  transition-delay: .25s;
}
.card-ideas .fc-row:first-child { opacity: .48; font-weight: 500; }
.fc-dot {
  position: absolute; top: 12px; right: 12px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime); animation: live-pulse 2.4s ease-in-out infinite;
}

.card-code {
  bottom: 4%; right: -4%; width: 190px; padding: 16px 18px;
  background: rgba(20,19,28,.8);
  box-shadow: 0 0 0 .5px rgba(255,255,255,.14), 0 4px 16px rgba(15,15,19,.14), 0 20px 40px rgba(15,15,19,.18);
  animation: float-f 8s ease-in-out infinite;
  transition-delay: .45s;
}
.card-code pre {
  margin: 0; font-family: Consolas, 'Liberation Mono', Menlo, monospace; font-size: 11px; line-height: 1.7;
  color: rgba(255,255,255,.85); white-space: pre-wrap;
}

.hand-note {
  position: absolute; top: -5%; right: 0; z-index: 3;
  display: flex; align-items: flex-end; gap: 4px;
  color: var(--indigo); transform: rotate(-4deg);
  opacity: 0; transition: opacity .7s var(--ease); transition-delay: .6s;
}
.hero-visual.reveal.is-visible .hand-note { opacity: 1; }
.hand-arrow { width: 54px; height: 42px; flex-shrink: 0; margin-bottom: 8px; }
.hand-text { font-family: 'Caveat', cursive; font-size: 22px; font-weight: 700; line-height: 1.15; }

.hero-visual-caption {
  position: absolute; bottom: -6%; right: 2%; z-index: 2;
  font-family: 'Caveat', cursive; font-weight: 700; font-size: 19px; color: var(--muted);
  line-height: 1.3; text-align: right;
  opacity: 0; transition: opacity .7s var(--ease); transition-delay: .55s;
}
.hero-visual.reveal.is-visible .hero-visual-caption { opacity: 1; }

@keyframes float-f { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes float-m { 0%,100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(8px) rotate(4deg); } }
@keyframes float-b { 0%,100% { transform: translateY(0) rotate(-7deg); } 50% { transform: translateY(-6px) rotate(-7deg); } }
@keyframes shine-sweep { 0%,20% { transform: translateX(-120%); } 55%,100% { transform: translateX(120%); } }
@keyframes live-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,255,61,.55); }
  50% { box-shadow: 0 0 0 6px rgba(200,255,61,0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-window, .card-ideas, .card-code, .fc-dot, .v3d-glow { animation: none; }
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease);
  position: relative;
}
.btn-primary {
  background: var(--grad-brand);
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
  color: #fff;
  box-shadow: 0 10px 30px rgba(67,56,255,.28);
}
.btn-primary:hover { transform: scale(1.045) translateY(-2px); box-shadow: 0 16px 40px rgba(255,93,58,.32); }
.btn-ghost {
  background: linear-gradient(var(--glass-bg-strong), var(--glass-bg-strong)) padding-box,
              var(--grad-brand-soft) border-box;
  border: 1px solid transparent;
  color: var(--fg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--glow-indigo); }
.full-width { width: 100%; }

/* ===================== Marquee ===================== */
.marquee-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--surface); }
.marquee { overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; gap: 20px; align-items: center; animation: marquee 30s linear infinite; font-family: -apple-system, BlinkMacSystemFont, 'Onest', sans-serif; font-size: 19px; color: var(--muted); }
.marquee-track .dot {
  background: var(--grad-brand); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradient-shift 5s ease infinite;
  font-size: 10px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================== Help rail — Apple Store "Help is here" layout pattern:
   the heading and the card rail below it now share the same fixed 155px left inset
   (not the site-wide .container centering) so both start at exactly the same edge. */
.help-band { padding: 50px 0 110px; background: var(--surface); position: relative; overflow: hidden; --gutter: 155px; }
.help-inset { padding-left: var(--gutter); padding-right: 24px; }
.help-heading { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.22; max-width: 720px; font-weight: 700; }
.help-heading span { color: var(--muted); font-weight: 700; }
/* The 155px inset lives on the wrapper as a real margin, not as padding on the
   scrollable element — so it's a fixed mask edge the cards slide behind, and never
   itself scrolls away. Only .help-rail's own box (right of that edge) scrolls. */
.help-rail-wrap { position: relative; margin-top: 48px; margin-left: var(--gutter); }
.help-rail {
  display: flex; gap: 20px; overflow-x: auto;
  /* No scroll-snap here — a continuous constant-speed autoplay drift needs to move through
     arbitrary, non-card-aligned positions every frame, and snapping fights that exactly the
     way it fought the earlier click-to-scroll animation (see main.js). */
  padding-right: 20px; padding-bottom: 20px; margin-bottom: -20px;
  cursor: grab; scrollbar-width: none; -ms-overflow-style: none;
}
.help-rail::-webkit-scrollbar { display: none; }
.help-rail.dragging { cursor: grabbing; user-select: none; }
.help-card {
  flex: 0 0 445px; min-width: 445px;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.help-card-body { padding: 28px 28px 22px; }
.help-card-eyebrow { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.help-card-body h3 { font-size: 21px; line-height: 1.28; margin-bottom: 10px; letter-spacing: -0.01em; }
.help-card-body p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.help-card-media {
  flex: 1; min-height: 240px; width: 100%; object-fit: cover; pointer-events: none;
}
.help-rail-arrow {
  position: absolute; right: 24px; bottom: calc(100% + 42px);
  width: 60px; height: 60px; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo);
  background: none; border: none; padding: 0; cursor: pointer;
  animation: help-arrow-hint 2.2s ease-in-out infinite;
  transition: color .3s var(--ease), transform .3s var(--ease-spring);
}
.help-rail-arrow svg { width: 36px; height: 36px; }
.help-rail-arrow:hover { animation-play-state: paused; color: var(--violet); transform: scale(1.15); }
@keyframes help-arrow-hint {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(7px); }
}
@media (prefers-reduced-motion: reduce) { .help-rail-arrow { animation: none; } }
@media (max-width: 720px) { .help-rail-arrow { display: none; } }

/* ===================== Sections ===================== */
.section { padding: 130px 0; }
.section-tint { background: var(--surface); }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--indigo); margin-bottom: 18px;
}
.section-eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-brand); box-shadow: 0 0 10px rgba(67,56,255,.5);
}
.section-title { font-size: clamp(30px,4vw,48px); max-width: 780px; line-height: 1.1; }
.section-lead { margin-top: 20px; max-width: 620px; color: var(--muted); font-size: 17px; }

/* Bento grid — glass cards with cursor-tracked spotlight */
.bento { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.bento-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
              var(--grad-brand-soft) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  color: inherit;
  box-shadow: var(--glass-shadow);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease);
  will-change: transform;
}
.bento-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(280px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.65), transparent 60%);
  transition: opacity .4s;
  pointer-events: none;
}
.bento-card:hover::after { opacity: 1; }
.bento-card > * { position: relative; z-index: 1; }
.bento-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(67,56,255,0.16); }
.bento-card.big { grid-column: span 2; }
.bento-icon { font-size: 28px; margin-bottom: 20px; width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.tint-indigo .bento-icon { background: rgba(67,56,255,0.12); }
.tint-coral .bento-icon { background: rgba(255,93,58,0.14); }
.tint-lime .bento-icon { background: rgba(200,255,61,0.4); }
.bento-card h3 { font-size: 21px; margin-bottom: 10px; }
.bento-card p { color: var(--muted); font-size: 15px; }

/* Tech section shares the same fixed 155px left inset as the help-rail above it
   (the slider itself is untouched) — same edge, not mirrored this time. */
.tech-inset { padding-left: 155px; padding-right: 24px; }
#tech .section-title { font-size: clamp(26px, 3.2vw, 38px); max-width: none; margin: 0; }
#tech .section-title span { color: var(--muted); }

/* Tech stack tile wall — icons ride in grayscale until hovered, when the tile lifts and
   the icon snaps to its real brand color; reuses the same glass + cursor-spotlight
   treatment as .bento-card (registered into the shared JS tilt/spotlight handler).
   Always exactly two rows — grid-auto-flow lays tiles out column by column, and the
   row scrolls horizontally (hidden scrollbar) if that needs more width than the viewport. */
.tech-grid {
  display: grid; grid-template-rows: repeat(2, 1fr); grid-auto-flow: column;
  grid-auto-columns: 130px;
  gap: 14px; margin-top: 56px;
  overflow-x: auto; padding-bottom: 20px; margin-bottom: -20px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.tech-grid::-webkit-scrollbar { display: none; }
.tech-tile {
  position: relative; overflow: hidden;
  background: linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
              var(--grad-brand-soft) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 16px;
  padding: 22px 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center;
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease);
  will-change: transform;
}
.tech-tile::after {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(200px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.65), transparent 60%);
  transition: opacity .4s;
  pointer-events: none;
}
.tech-tile:hover::after { opacity: 1; }
.tech-tile > * { position: relative; z-index: 1; }
.tech-tile:hover { transform: translateY(-6px); }
/* Ambient "the wall is alive" highlight — a light sweep plays across one random tile
   at a time, at random intervals (see main.js), landing on a different tile each time. */
.tech-tile::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%);
  transform: translateX(-130%);
  opacity: 0;
}
.tech-tile.tile-shine::before { animation: tile-shine-sweep 1.1s ease-in-out; }
@keyframes tile-shine-sweep {
  0% { transform: translateX(-130%); opacity: 1; }
  60% { opacity: 1; }
  100% { transform: translateX(130%); opacity: 0; }
}
.tech-tile-icon { width: 36px; height: 36px; filter: none; transition: filter .35s var(--ease); }
.tech-tile:hover .tech-tile-icon { filter: grayscale(1) opacity(.55); }
.tech-tile-mono {
  width: 36px; height: 36px; border-radius: 10px; background: var(--grad-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Onest', sans-serif; font-weight: 800; font-size: 12px; letter-spacing: -0.02em;
}
.tech-tile-label { font-size: 12.5px; font-weight: 600; color: var(--fg); opacity: .72; }
@media (max-width: 600px) {
  .tech-grid { grid-auto-columns: 96px; gap: 10px; }
  .tech-tile { padding: 16px 8px; }
}

/* Reasons */
.reasons-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.reason-card {
  position: relative; overflow: hidden;
  background: linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
              var(--grad-brand-soft) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--glass-shadow);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease);
}
.reason-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(260px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.6), transparent 60%);
  transition: opacity .4s; pointer-events: none;
}
.reason-card:hover::after { opacity: 1; }
.reason-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(67,56,255,.14); }
.reason-card > * { position: relative; z-index: 1; }
.reason-card.wide { grid-column: span 3; display: flex; align-items: center; gap: 28px; }
.reason-card.wide h3, .reason-card.wide p { margin: 0; }
.reason-num {
  font-family: -apple-system, BlinkMacSystemFont, 'Onest', sans-serif; font-size: 34px; margin-bottom: 14px;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reason-card.wide .reason-num { margin-bottom: 0; }
.reason-card h3 { font-size: 19px; margin-bottom: 8px; }
.reason-card p { color: var(--muted); font-size: 14.5px; }

/* Timeline (process) */
.timeline { position: relative; margin-top: 64px; padding-left: 76px; }
.timeline-line { position: absolute; left: 23px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--indigo), var(--violet), var(--coral)); opacity: .18; }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -76px; top: 0; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(var(--bg),var(--bg)) padding-box, var(--grad-brand-soft) border-box;
  border: 2px solid transparent;
  backdrop-filter: blur(var(--glass-blur));
  display: flex; align-items: center; justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Onest', sans-serif; font-weight: 700; font-size: 14px; color: var(--muted);
  transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease-spring), box-shadow .5s var(--ease);
}
.timeline-item.is-visible .timeline-dot {
  background: var(--grad-brand); border-color: transparent; color: #fff; transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(67,56,255,.12), 0 14px 30px rgba(67,56,255,.35);
}
.timeline-content h3 { font-size: 19px; margin-bottom: 6px; }
.timeline-content p { color: var(--muted); font-size: 14.5px; max-width: 540px; }

/* Cases / portfolio */
.cases-list { margin-top: 56px; display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.cases-list.cases-rail {
  display: flex; overflow-x: auto; padding-bottom: 24px; margin-bottom: -24px;
  scroll-snap-type: x proximity; cursor: grab; scrollbar-width: none; -ms-overflow-style: none;
}
.cases-list.cases-rail::-webkit-scrollbar { display: none; }
.cases-list.cases-rail.dragging { cursor: grabbing; user-select: none; }
.cases-list.cases-rail .case-card { flex: 0 0 min(500px, 82vw); scroll-snap-align: start; }
.cases-list.cases-rail .case-card img { pointer-events: none; }
.case-card {
  position: relative; overflow: hidden; display: block;
  background: linear-gradient(var(--glass-bg-strong), var(--glass-bg-strong)) padding-box,
              var(--grad-brand-soft) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease);
}
.case-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(320px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.4), transparent 60%);
  transition: opacity .4s; pointer-events: none;
}
.case-card:hover::after { opacity: 1; }
.case-card > * { position: relative; z-index: 1; }
.case-card:hover { transform: translateY(-8px); box-shadow: 0 34px 64px rgba(67,56,255,.16); }
.browser-frame { background: #e7e5e0; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(15,15,19,0.18); }
.browser-url { margin-left: 10px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,0.7); padding: 3px 12px; border-radius: 999px; }
.browser-frame img { width: 100%; height: 260px; object-fit: cover; object-position: top; }
.case-info { padding: 26px 28px 30px; }
.case-info h3 { font-size: 21px; margin-bottom: 6px; }
.case-info p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags li { font-size: 12.5px; background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }

.case-card-cta { position: relative; display: flex; align-items: center; justify-content: center; background: var(--grad-panel); border: none; overflow: hidden; }
.case-card-cta::before {
  content: '';
  position: absolute; inset: -30%;
  background-image: radial-gradient(40% 50% at 30% 30%, rgba(67,56,255,.5), transparent 60%),
                     radial-gradient(35% 45% at 75% 75%, rgba(255,93,58,.35), transparent 60%);
  filter: blur(40px);
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
.case-card-cta::after { display: none; }
.case-cta-inner { position: relative; z-index: 1; padding: 48px 40px; text-align: center; color: #fff; }
.case-cta-num {
  font-size: 34px; margin-bottom: 18px;
  background: linear-gradient(120deg, var(--lime), #9dffe6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(200,255,61,.4));
}
.case-cta-inner h3 { font-size: 22px; margin-bottom: 10px; color: #fff; }
.case-cta-inner p { color: rgba(255,255,255,0.65); font-size: 14.5px; margin-bottom: 26px; }
.case-card-cta .btn-primary { background: linear-gradient(120deg, var(--lime), #9dffe6); color: var(--ink); box-shadow: 0 10px 26px rgba(200,255,61,.3); }

/* ===================== Contact ===================== */
.contact-section { background: var(--grad-panel); color: #fff; position: relative; overflow: hidden; }
.contact-section .blob-a { opacity: .32; }
.contact-section .blob-b { opacity: .26; }
.contact-section .section-eyebrow { color: var(--lime); }
.contact-section .section-eyebrow::before { box-shadow: 0 0 10px rgba(200,255,61,.6); }
.contact-title { font-size: clamp(34px,5vw,60px); line-height: 1.06; color: #fff; position: relative; z-index: 1; }
.contact-section .section-lead { color: rgba(255,255,255,0.6); position: relative; z-index: 1; }
.contact-grid { position: relative; z-index: 1; margin-top: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.contact-form { display: grid; gap: 16px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 16px 18px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  color: #fff; font-family: inherit; font-size: 15px; resize: vertical;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: transparent;
  box-shadow: 0 0 0 2px rgba(139,92,246,.6), 0 14px 30px rgba(67,56,255,.2);
  background: rgba(255,255,255,0.1);
}
.contact-section .btn-primary { background: linear-gradient(120deg, var(--lime), #9dffe6); color: var(--ink); box-shadow: 0 10px 26px rgba(200,255,61,.3); }
.form-note { font-size: 12.5px; color: rgba(255,255,255,0.45); }

.contact-direct { display: grid; gap: 16px; align-content: start; }
.direct-link {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 24px;
  background: linear-gradient(rgba(255,255,255,0.07),rgba(255,255,255,0.07)) padding-box,
              linear-gradient(120deg, rgba(255,255,255,.3), rgba(255,255,255,.04)) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(14px);
  border-radius: 14px;
  transition: background .25s, transform .3s var(--ease-spring), box-shadow .3s var(--ease);
}
.direct-link:hover { background: linear-gradient(rgba(255,255,255,0.13),rgba(255,255,255,0.13)) padding-box, linear-gradient(120deg, rgba(255,255,255,.4), rgba(255,255,255,.08)) border-box; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.25); }
.direct-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .5; }
.direct-value { font-family: -apple-system, BlinkMacSystemFont, 'Onest', sans-serif; font-size: 19px; font-weight: 600; }

/* ===================== Footer ===================== */
.site-footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--fg); }

/* ===================== Reveal animation ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: auto; margin-top: 30px; padding-bottom: 40px; }
  .hero-3d { transform: scale(.82); transform-origin: center top; }
  .bento, .reasons-grid, .cases-list, .guarantees-bento { grid-template-columns: repeat(2,1fr); }
  .bento-card.big, .reason-card.wide { grid-column: span 2; }
  .main-nav { display: none; }
  .burger { display: flex; }
}

@media (max-width: 600px) {
  .hero { padding: 130px 0 60px; }
  .section { padding: 80px 0; }
  .bento, .reasons-grid, .cases-list, .guarantees-bento { grid-template-columns: 1fr; }
  .bento-card.big, .reason-card.wide { grid-column: span 1; }
  .reason-card.wide { flex-direction: column; align-items: flex-start; gap: 10px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-3d { transform: scale(.62); transform-origin: center top; }
  .timeline { padding-left: 56px; }
  .timeline-dot { left: -56px; width: 40px; height: 40px; font-size: 12px; }
  :root { --glass-blur: 12px; }
}

/* ===================== v3: multi-page additions ===================== */

/* Nav active state */
.main-nav a.active { color: var(--fg); font-weight: 600; }

/* Hero v2: live dot + cycling word */
.hero-v2 { position: relative; }
.hero-v2 .hero-blob { z-index: 0; }
.hero-v2 .hero-inner { position: relative; z-index: 2; }

.cycle-line { min-height: 1.05em; }
.cycle-word {
  display: inline-block;
  transition: opacity .35s ease, transform .35s ease;
}
.cycle-word.cycle-out { opacity: 0; transform: translateY(14px); }

#tiltCard { transition: transform .15s ease-out; will-change: transform; }

/* Page hero (inner pages) */
.page-hero { padding: 160px 0 50px; }
.page-title { font-size: clamp(34px,5vw,58px); line-height: 1.06; margin-top: 12px; max-width: 820px; }

.section-more { margin-top: 40px; }
.link-arrow {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 600; font-size: 15px; transition: filter .25s;
}
.link-arrow:hover { filter: brightness(1.25); }

/* Pricing CTA band (home) — no numbers shown here on purpose, drives to the estimator */
.pricing-cta-band { position: relative; overflow: hidden; text-align: center; }
.pricing-cta-band::before {
  content: '';
  position: absolute; inset: -20%;
  background: radial-gradient(45% 55% at 50% 50%, rgba(139,92,246,.14), transparent 65%);
  filter: blur(40px);
  animation: aurora-drift 26s ease-in-out infinite alternate;
}
.pricing-cta-glyph {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: -apple-system, BlinkMacSystemFont, 'Onest', sans-serif; font-size: 46vw; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.045; pointer-events: none; z-index: 0; user-select: none;
}
.pricing-cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.pricing-cta-inner .section-title, .pricing-cta-inner .section-lead { margin-left: auto; margin-right: auto; }

/* Cost estimator accordion (/pricing) */
.estimator { margin-top: 56px; border-top: 1px solid var(--line); }
.estimator-row { border-bottom: 1px solid var(--line); transition: background .3s var(--ease); }
.estimator-head {
  width: 100%; display: flex; align-items: center; gap: 24px; padding: 30px 8px;
  background: none; border: none; text-align: left; cursor: pointer; font-family: inherit;
}
.estimator-row.featured .estimator-head {
  background: linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box, var(--grad-brand-soft) border-box;
  border: 1px solid transparent; border-radius: 14px; backdrop-filter: blur(var(--glass-blur));
}
.estimator-row.is-open { background: rgba(67,56,255,0.03); }
.estimator-num { font-family: -apple-system, BlinkMacSystemFont, 'Onest', sans-serif; font-size: 14px; color: var(--muted); flex-shrink: 0; }
.estimator-title { flex: 1; }
.estimator-title h3 { font-size: clamp(19px,2.2vw,25px); }
.estimator-title p { color: var(--muted); font-size: 13.5px; margin-top: 5px; }
.estimator-tag {
  font-size: 11px; font-weight: 600; color: #fff;
  background: var(--grad-brand); background-size: 200% auto; animation: gradient-shift 6s ease infinite;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.estimator-chevron { font-size: 24px; color: var(--muted); transition: transform .35s var(--ease-spring), color .35s; flex-shrink: 0; }
.estimator-row.is-open .estimator-chevron { transform: rotate(45deg); color: var(--indigo); }
.estimator-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.estimator-row.is-open .estimator-body { grid-template-rows: 1fr; }
.estimator-body-inner { overflow: hidden; }
.estimator-price {
  font-family: -apple-system, BlinkMacSystemFont, 'Onest', sans-serif; font-size: 30px; margin: 0 0 16px 64px;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.estimator-price span { font-size: 12.5px; color: var(--muted); font-weight: 400; font-family: 'Inter', sans-serif; -webkit-background-clip: initial; background-clip: initial; }
.estimator-features { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px 24px; margin: 0 0 22px 64px; }
.estimator-features li { font-size: 13.5px; padding-left: 22px; position: relative; color: var(--muted); }
.estimator-features li::before { content: '✓'; position: absolute; left: 0; color: var(--indigo); font-weight: 700; }
.estimator-body-inner .btn { margin: 0 0 30px 64px; }

.audit-cta {
  position: relative; overflow: hidden;
  margin-top: 56px; background: var(--grad-panel); color: #fff; border-radius: var(--radius);
  padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.audit-cta::before {
  content: '';
  position: absolute; inset: -30%;
  background-image: radial-gradient(35% 50% at 20% 30%, rgba(67,56,255,.5), transparent 60%),
                     radial-gradient(30% 45% at 80% 70%, rgba(255,93,58,.32), transparent 60%);
  filter: blur(45px);
  animation: aurora-drift 20s ease-in-out infinite alternate;
}
.audit-cta > * { position: relative; z-index: 1; }
.audit-cta h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.audit-cta p { color: rgba(255,255,255,0.6); font-size: 14.5px; max-width: 420px; }
.audit-cta .btn-primary { background: linear-gradient(120deg, var(--lime), #9dffe6); color: var(--ink); box-shadow: 0 10px 26px rgba(200,255,61,.3); }

/* Case detail */
.case-detail-frame img { width: 100%; height: 480px; object-fit: cover; object-position: top; }
.case-detail-body { max-width: 720px; margin: 44px auto 0; font-size: 16px; color: var(--muted); line-height: 1.75; }

/* Final CTA band (dark, used on inner pages) */
.final-cta { position: relative; overflow: hidden; background: var(--grad-panel); color: #fff; text-align: center; }
.final-cta .hero-blob { opacity: .32; }
.final-cta-inner { position: relative; z-index: 1; }
.final-cta-inner h2 { color: #fff; font-size: clamp(28px,4vw,44px); line-height: 1.15; }
.final-cta-inner p { color: rgba(255,255,255,0.6); margin: 18px auto 30px; max-width: 480px; }
.final-cta .btn-primary { background: linear-gradient(120deg, var(--lime), #9dffe6); color: var(--ink); box-shadow: 0 10px 26px rgba(200,255,61,.3); }

/* Contact page (light form) */
.contact-page-section .contact-grid { margin-top: 0; }
.contact-page-section .form-row input,
.contact-page-section .form-row textarea {
  width: 100%; padding: 16px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--fg); font-family: inherit; font-size: 15px; resize: vertical;
}
.contact-page-section .form-row input::placeholder,
.contact-page-section .form-row textarea::placeholder { color: var(--muted); }
.contact-page-section .form-row input:focus, .contact-page-section .form-row textarea:focus {
  border-color: transparent; background: var(--surface);
  box-shadow: 0 0 0 2px rgba(67,56,255,.35), 0 14px 30px rgba(67,56,255,.12);
}
.contact-page-section .form-note { font-size: 12.5px; color: var(--muted); }
.contact-page-section .direct-link {
  background: linear-gradient(var(--glass-bg-strong), var(--glass-bg-strong)) padding-box, var(--grad-brand-soft) border-box;
  border: 1px solid transparent;
}
.contact-page-section .direct-link:hover { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-brand-soft) border-box; box-shadow: var(--glow-indigo); }
.contact-page-section .direct-label { opacity: .55; }
.form-error { background: rgba(255,93,58,0.1); color: var(--coral); padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.form-honeypot { position: absolute; left: -9999px; top: -9999px; }
.contact-success {
  grid-column: 1 / -1; text-align: center;
  background: linear-gradient(var(--glass-bg-strong), var(--glass-bg-strong)) padding-box, var(--grad-brand-soft) border-box;
  border: 1px solid transparent; backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius); padding: 60px 40px;
}
.success-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 20px;
  color: #fff; box-shadow: 0 10px 26px rgba(67,56,255,.3);
}

@media (max-width: 980px) {
  .service-layout { grid-template-columns: 1fr; }
  .estimator-head { flex-wrap: wrap; gap: 12px; }
  .estimator-price, .estimator-features, .estimator-body-inner .btn { margin-left: 0; }
}
@media (max-width: 600px) {
  .estimator-features { grid-template-columns: 1fr; }
  .pricing-cta-glyph { font-size: 70vw; }
  .audit-cta { flex-direction: column; text-align: center; }
  .case-detail-frame img { height: 260px; }
}

/* ===================== Service detail page ===================== */
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--fg); }
.service-hero-top { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.service-hero-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.service-hero-icon.tint-indigo { background: rgba(67,56,255,0.12); }
.service-hero-icon.tint-coral { background: rgba(255,93,58,0.12); }
.service-hero-icon.tint-lime { background: rgba(200,255,61,0.4); }
.service-hero-top .page-title { margin-top: 0; }

.service-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start; }
.service-body h2 { font-size: 24px; margin: 34px 0 12px; }
.service-body h2:first-child { margin-top: 0; }
.service-body p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin-bottom: 4px; }
.service-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.includes-card {
  background: linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box, var(--grad-brand-soft) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--glass-shadow);
}
.includes-card h3 { font-size: 16px; margin-bottom: 14px; }
.includes-list { display: grid; gap: 12px; }
.includes-list li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.includes-list .check { color: var(--indigo); font-weight: 700; flex-shrink: 0; }

.bento-link { font-size: 13px; font-weight: 600; color: var(--indigo); margin-top: auto; padding-top: 4px; }

.faq-list { margin-top: 44px; display: grid; gap: 12px; max-width: 820px; }
.faq-item {
  background: linear-gradient(var(--bg),var(--bg)) padding-box, transparent border-box;
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.faq-item[open] {
  background: linear-gradient(var(--glass-bg-strong),var(--glass-bg-strong)) padding-box, var(--grad-brand-soft) border-box;
  border-color: transparent;
}
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--muted); transition: transform .3s var(--ease-spring); }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--indigo); }
.faq-item p { color: var(--muted); font-size: 14.5px; margin-top: 14px; line-height: 1.7; }

/* ===================== Accessibility: reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .pricing-cta-band::before, .case-card-cta::before, .audit-cta::before,
  .hero-blob, .nav-cta, .btn-primary, .hero-title em, .cycle-word, .header-inner::after,
  .marquee-track .dot, .estimator-tag, .cursor-dot, .gallery-glow, .particle {
    animation: none !important;
  }
}

/* Fallback for browsers without backdrop-filter support */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bento-card, .reason-card, .case-card, .includes-card, .hero-window, .float-card, .header-inner,
  .direct-link, .estimator-row.featured .estimator-head, .contact-success {
    background: var(--surface);
  }
  .direct-link { background: rgba(15,15,19,0.85); }
}
