/* ============================================
   LaunchWell.Agency — V4 Premium
   Three.js + GSAP + Lenis
   13-Section Conversion Homepage
   ============================================ */

:root {
  --bg: #050505;
  --bg-alt: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.02);
  --text: #f5f5f5;
  --text-secondary: #8a8a8a;
  --text-dim: #4a4a4a;
  --accent: #2563eb;
  --accent-hover: #3b82f6;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background: url('https://images.unsplash.com/photo-1547658719-da2b51169166?auto=format&fit=crop&w=1920&q=40') center/cover no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

a, button { text-decoration: none; color: inherit; }
button { background: none; border: none; font: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
::selection { background: var(--accent); color: white; }

/* ============================================
   3D CANVAS
   ============================================ */
#scene3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}
.loader-logo span { color: var(--accent); }
.loader-progress {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 0.75rem;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.1s linear;
}
.loader-percent {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* ============================================
   CUSTOM CURSOR — Hidden globally, visible in B/A only
   ============================================ */
.cursor-dot, .cursor-ring { display: none; }

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.progress-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--accent);
  z-index: 9996;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100; padding: 1.25rem 0;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em;
}
.logo span { color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.85rem; color: var(--text-secondary);
  transition: color 0.3s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0%; height: 1px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.8rem; font-weight: 500;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--border); border-radius: 100px;
  transition: border-color 0.3s, background 0.3s;
}
.nav-cta:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.03); }
.nav-cta .arrow { margin-left: 0.25rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================
   SECTIONS — GLOBAL
   ============================================ */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.15;
  margin-bottom: 3rem; max-width: 700px;
}
.section-subtext {
  font-size: 1rem; color: var(--text-secondary);
  margin-top: -2rem; margin-bottom: 3rem; max-width: 550px;
}

/* ============================================
   HERO
   ============================================ */
.section-hero {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  text-align: center; padding-top: 100px;
  position: relative; z-index: 1;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-secondary);
  border: 1px solid var(--border); padding: 0.4rem 1rem;
  border-radius: 100px; margin-bottom: 2.5rem;
}
.badge-dot {
  width: 6px; height: 6px; background: #22c55e;
  border-radius: 50%; animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1.5rem;
}
.title-line { display: block; }
.title-slam { color: var(--accent); }
.hero-desc {
  font-size: 1.1rem; color: var(--text-secondary);
  line-height: 1.7; max-width: 520px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.8rem; background: var(--accent); color: white;
  font-weight: 500; font-size: 0.9rem; border-radius: 100px;
  transition: background 0.3s, transform 0.3s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.8rem; border: 1px solid var(--border);
  color: var(--text); font-weight: 500; font-size: 0.9rem;
  border-radius: 100px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.btn-outline:hover {
  border-color: var(--border-hover); background: rgba(255,255,255,0.03);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* Social Proof */
.hero-trusted {
  font-size: 0.85rem; color: #71717a; text-align: center; margin-bottom: 3rem;
  letter-spacing: 0.02em;
}
.hero-proof { display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem; }
.proof-avatars { display: flex; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600;
  color: rgba(255,255,255,0.7); border: 2px solid var(--bg);
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.avatar-img {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--bg);
  margin-left: -8px;
}
.avatar-img:first-child { margin-left: 0; }

/* Trust Strip */
.trust-strip {
  display: flex; flex-direction: column; align-items: center; padding-top: 0.5rem;
}
.trust-strip-label {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: #666; margin-bottom: 1.5rem;
}
.trust-strip-row {
  display: flex; align-items: center; gap: 3rem;
  opacity: 0.8; transition: opacity 0.5s;
}
.trust-strip-row:hover { opacity: 1; }
.trust-signal { display: flex; align-items: center; gap: 0.75rem; }
.trust-signal-icon { flex-shrink: 0; }
.trust-signal-detail { display: flex; flex-direction: column; align-items: flex-start; }
/* Trust strip uses g-stars too */
.trust-signal-text {
  font-size: 0.85rem; font-weight: 500; color: #eaeaea; margin-top: 2px;
}
.trust-signal-badge {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.trust-signal-badge-blue {
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2);
  color: #60a5fa;
}
.trust-signal-badge-green {
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
  color: #34d399;
}
.trust-strip-divider {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, transparent, #333, transparent);
}
.proof-text {
  font-size: 0.8rem; color: var(--text-secondary);
  display: flex; align-items: center; gap: 0.5rem;
}
/* Google-style stars — used everywhere */
.g-stars { display: flex; gap: 2px; }
.g-stars svg { width: 18px; height: 18px; fill: #FABB05; }

/* Scroll Indicator */
.scroll-indicator {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; color: var(--text-dim);
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.scroll-indicator svg { color: var(--text-dim); }
.scroll-dot { animation: scroll-bounce 1.5s ease infinite; }
@keyframes scroll-bounce {
  0%, 100% { cy: 8; opacity: 1; }
  50% { cy: 16; opacity: 0.3; }
}

/* ============================================
   MARQUEE — Premium Icon + Badge System
   ============================================ */
.section-marquee {
  padding: 3rem 0; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a;
  overflow: hidden; position: relative; display: flex; flex-direction: column; gap: 2rem;
}

/* Edge fades */
.marquee-fade {
  position: absolute; top: 0; bottom: 0; width: 96px; z-index: 10; pointer-events: none;
}
.marquee-fade-left { left: 0; background: linear-gradient(to right, #050505, transparent); }
.marquee-fade-right { right: 0; background: linear-gradient(to left, #050505, transparent); }

.marquee { overflow: hidden; }
.marquee-track {
  display: flex; align-items: center; white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
}
.marquee-track-reverse {
  animation: marquee-scroll-reverse 35s linear infinite;
}
.marquee-hover-pause:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-scroll-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Row 1: Icon items */
.marquee-track-icons { gap: 3rem; padding: 0 1.5rem; }
.marquee-icon-item {
  display: flex; align-items: center; gap: 0.75rem;
  opacity: 0.5; filter: grayscale(1);
  transition: opacity 0.3s, filter 0.3s;
  flex-shrink: 0;
}
.marquee-icon-item:hover { opacity: 1; filter: grayscale(0); }
.marquee-icon-item span {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; color: #888;
}
.marquee-icon-box {
  width: 28px; height: 28px; background: white; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.marquee-icon-box span { color: #4A154B; font-weight: 700; font-size: 1.1rem; line-height: 1; }

/* Row 2: Industry badges */
.marquee-track-badges { gap: 1rem; padding: 0 0.5rem; }
.industry-badge {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem; border-radius: 100px;
  background: #111; border: 1px solid #222;
  font-size: 0.85rem; font-weight: 500; color: #999;
  white-space: nowrap; flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
  cursor: default;
}
[class*="badge-dot-"] {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}

/* Blue */
.badge-dot-blue { background: rgba(59,130,246,0.5); }
.industry-badge-blue:hover { border-color: rgba(30,58,138,0.5); background: rgba(30,58,138,0.1); color: #60a5fa; }

/* Green */
.badge-dot-green { background: rgba(16,185,129,0.5); }
.industry-badge-green:hover { border-color: rgba(6,78,59,0.5); background: rgba(6,78,59,0.1); color: #34d399; }

/* Amber */
.badge-dot-amber { background: rgba(245,158,11,0.5); }
.industry-badge-amber:hover { border-color: rgba(120,53,15,0.5); background: rgba(120,53,15,0.1); color: #fbbf24; }

/* Red */
.badge-dot-red { background: rgba(239,68,68,0.5); }
.industry-badge-red:hover { border-color: rgba(127,29,29,0.5); background: rgba(127,29,29,0.1); color: #f87171; }

/* Purple */
.badge-dot-purple { background: rgba(168,85,247,0.5); }
.industry-badge-purple:hover { border-color: rgba(88,28,135,0.5); background: rgba(88,28,135,0.1); color: #c084fc; }

/* Cyan */
.badge-dot-cyan { background: rgba(6,182,212,0.5); }
.industry-badge-cyan:hover { border-color: rgba(21,94,117,0.5); background: rgba(21,94,117,0.1); color: #22d3ee; }

/* ============================================
   TAG WITH DOT + LINE
   ============================================ */
.tag-with-line {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}
.tag-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  flex-shrink: 0;
}
.tag-line {
  width: 40px; height: 1px; background: var(--accent); opacity: 0.4;
}
.tag-with-line .section-tag { margin-bottom: 0; }

.section-heading-lg {
  font-size: clamp(2.2rem, 5vw, 4rem); max-width: 900px;
}

/* ============================================
   PROBLEM — THE HOOK
   ============================================ */
.section-problem {
  background: linear-gradient(to bottom, #050505, #0a0a0a, #050505);
}

/* Top statement */
.hook-top { margin-bottom: 4rem; }
.hook-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hook-accent { color: var(--accent); }
.hook-sub {
  font-size: 1.1rem; color: #a1a1aa; line-height: 1.7; max-width: 620px;
}

/* Stat blocks */
.hook-stats {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start; gap: 0;
  padding: 3.5rem 0; margin-bottom: 3rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.hook-stat { padding: 0 2rem; }
.hook-stat-num {
  display: flex; align-items: baseline; gap: 0.05em; margin-bottom: 1rem;
}
.hook-stat-num .stat-num {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
}
.hook-pct {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--accent);
}
.hook-dollar {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: #ef4444;
}
.hook-stat-text {
  font-size: 0.95rem; color: #a1a1aa; line-height: 1.6; margin-bottom: 0.75rem;
}
.hook-stat-text strong { color: #e4e4e7; font-weight: 600; }
.hook-stat-source {
  font-size: 0.7rem; color: #52525b; font-style: italic;
}
.hook-stat-divider {
  width: 1px; align-self: stretch;
  background: linear-gradient(to bottom, transparent, #27272a, transparent);
}

/* Lost lead badge inline */
.hook-lost-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.75rem; border-radius: 100px; margin-top: 0.5rem;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2);
  color: #ef4444; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.02em;
}

/* Bottom urgency */
.hook-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.hook-bottom p {
  font-size: 1.05rem; color: #71717a; max-width: 550px; line-height: 1.6;
}

/* ============================================
   BEFORE / AFTER — Real Screenshots
   ============================================ */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }

.ba-card {
  border-radius: 24px; padding: 2rem;
  display: flex; flex-direction: column; position: relative;
}

/* Before */
.ba-before { border: 1px solid #27272a; background: rgba(24,24,27,0.3); }

/* After */
.ba-after {
  border: 2px solid rgba(30,58,138,0.5);
  background: linear-gradient(to bottom, rgba(23,37,84,0.15), #0a0a0a);
  box-shadow: 0 0 50px -15px rgba(37,99,235,0.25);
}
.ba-after-glow {
  position: absolute; top: 33%; left: 50%; transform: translateX(-50%);
  width: 80%; height: 128px; background: rgba(37,99,235,0.15);
  filter: blur(80px); pointer-events: none;
}

/* Titles */
.ba-title {
  font-size: 1.2rem; font-weight: 600; margin-bottom: 2rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.ba-title-muted { color: #a1a1aa; }
.ba-title-line { width: 32px; height: 1px; background: #3f3f46; }
.ba-title-accent { color: #60a5fa; font-weight: 700; }
.ba-title-badge { color: #60a5fa; flex-shrink: 0; }

/* Browser frame with real image */
.ba-browser-frame {
  border-radius: 12px; overflow: hidden; margin-bottom: 2.5rem;
}
.ba-frame-muted { border: 1px solid #27272a; background: #09090b; box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.ba-frame-accent {
  border: 1px solid rgba(63,63,70,0.8); background: #09090b;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.5s var(--ease);
}
.ba-after:hover .ba-frame-accent { transform: translateY(-8px); }
.ba-frame-bar {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 1rem; border-bottom: 1px solid #27272a;
}
.ba-bar-accent { background: rgba(39,39,42,0.8); }
.ba-frame-dots { display: flex; gap: 6px; }
.ba-fdot { width: 12px; height: 12px; border-radius: 50%; }
.ba-fdot-muted { background: #3f3f46; }
.ba-fdot-red { background: rgba(244,63,94,0.8); }
.ba-fdot-amber { background: rgba(245,158,11,0.8); }
.ba-fdot-green { background: rgba(16,185,129,0.8); }
.ba-frame-url {
  flex: 1; text-align: center; font-size: 0.68rem; font-family: monospace;
  padding: 0.35rem 1rem; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ba-furl-muted { background: rgba(9,9,11,0.5); color: #52525b; }
.ba-furl-accent { background: rgba(9,9,11,0.8); color: #d4d4d8; }

/* Viewport */
.ba-frame-viewport { position: relative; height: 264px; overflow: hidden; }

/* V2 frame bars */
.ba-frame-muted-v2 { border: 1px solid #27272a; background: #e5e5e5; border-radius: 12px; overflow: hidden; margin-bottom: 2.5rem; box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.ba-frame-accent-v2 {
  border: 1px solid rgba(63,63,70,0.8); background: #09090b; border-radius: 12px; overflow: hidden;
  margin-bottom: 2.5rem; box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.5s var(--ease);
}
.ba-after:hover .ba-frame-accent-v2 { transform: translateY(-8px); }
.ba-frame-bar-v2 { display: flex; align-items: center; gap: 1rem; padding: 0.6rem 1rem; }
.ba-bar-muted-v2 { background: #e5e5e5; border-bottom: 1px solid #d4d4d4; }
.ba-bar-accent-v2 { background: #18181b; border-bottom: 1px solid #27272a; }
.ba-frame-url-v2 {
  flex: 1; text-align: center; font-size: 0.65rem; font-family: monospace;
  padding: 0.3rem 1rem; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  white-space: nowrap;
}
.ba-furl-muted-v2 { background: rgba(255,255,255,0.5); color: #71717a; }
.ba-furl-accent-v2 { background: #09090b; color: #d4d4d8; }

/* ---- BAD SITE (beige, dated, ugly banner) ---- */
.ba-bad-site { height: 100%; display: flex; flex-direction: column; background: #f3f0e8; }
.bbs-header { background: #1f4e79; padding: 0.6rem 0.75rem; display: flex; justify-content: space-between; align-items: center; }
.bbs-logo { color: #fff; font-family: 'Times New Roman', serif; font-weight: 700; font-size: 0.85rem; }
.bbs-nav { display: flex; gap: 0.4rem; }
.bbs-nav span { width: 24px; height: 5px; background: rgba(255,255,255,0.4); }
.bbs-hero { display: flex; gap: 0.6rem; padding: 0.6rem 0.75rem; }
.bbs-hero-img { width: 35%; height: 96px; background: #d9d2c2; border: 2px solid #c4bcab; flex-shrink: 0; }
.bbs-hero-text { flex: 1; padding-top: 0.2rem; }
.bbs-h1 { height: 10px; background: #c4bcab; margin-bottom: 6px; width: 100%; }
.bbs-h1.short { width: 75%; }
.bbs-p { height: 6px; background: #d9d2c2; margin-bottom: 4px; width: 100%; }
.bbs-p.short { width: 85%; }
.bbs-p.shorter { width: 65%; }
.bbs-cards { display: flex; gap: 0.5rem; padding: 0.4rem 0.75rem; }
.bbs-card { flex: 1; background: #fff; border: 2px solid #d9d2c2; padding: 0.35rem; }
.bbs-card-img { height: 28px; background: #d9d2c2; margin-bottom: 0.25rem; }
.bbs-card-ln { height: 5px; background: #d9d2c2; margin-bottom: 3px; }
.bbs-card-ln.short { width: 60%; }
.bbs-banner {
  margin-top: auto; background: #cc0000; color: #ffff00; text-align: center;
  padding: 0.4rem; font-weight: 900; font-size: 0.5rem; letter-spacing: 0.05em;
  font-family: 'Comic Sans MS', cursive; text-transform: uppercase;
  border-top: 4px solid #ffff00; font-style: italic;
}

/* ---- GOOD SITE (dark, animated blobs, clean layout) ---- */
.ba-good-viewport { background: #0f172a; }
.ba-blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  mix-blend-mode: screen; filter: blur(50px);
  animation: ba-pulse 4s ease-in-out infinite;
}
.ba-blob-1 { top: -20%; left: -10%; width: 200px; height: 200px; background: rgba(168,85,247,0.35); }
.ba-blob-2 { bottom: -20%; right: -10%; width: 200px; height: 200px; background: rgba(6,182,212,0.35); animation-delay: 1.5s; }
@keyframes ba-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.ba-good-site { position: relative; z-index: 1; padding: 1.5rem; height: 100%; display: flex; flex-direction: column; }
.bgs-nav { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.bgs-logo-icon {
  width: 28px; height: 28px; border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  animation: bgs-spin 4s linear infinite;
  box-shadow: 0 0 15px rgba(34,211,238,0.5);
}
@keyframes bgs-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.bgs-logo-text { width: 60px; height: 10px; background: rgba(255,255,255,0.2); border-radius: 100px; }
.bgs-nav-links { display: flex; gap: 0.4rem; margin-left: auto; }
.bgs-nav-links span { width: 32px; height: 6px; background: rgba(255,255,255,0.15); border-radius: 100px; }
.bgs-hero { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 0.5rem; }
.bgs-headline {
  width: 80%; height: 20px; border-radius: 100px; margin-bottom: 0.6rem;
  background: linear-gradient(to right, #22d3ee, #a855f7);
  box-shadow: 0 0 20px rgba(192,132,252,0.3);
}
.bgs-headline.med { width: 50%; height: 10px; background: rgba(255,255,255,0.3); }
.bgs-sub { width: 45%; height: 6px; background: rgba(255,255,255,0.15); border-radius: 100px; margin: 0.8rem 0 1.5rem; }
.bgs-cta-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.2rem; background: #fff; border-radius: 100px;
  box-shadow: 0 0 25px rgba(255,255,255,0.3);
}
.bgs-cta-dot { width: 10px; height: 10px; background: #a855f7; border-radius: 50%; }
.bgs-cta-text { width: 50px; height: 8px; background: #d4d4d8; border-radius: 100px; }

/* Checklists */
.ba-list { display: flex; flex-direction: column; gap: 1rem; margin-top: auto; }
.ba-list li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; font-weight: 500; color: #a1a1aa;
}
.ba-list-good li { color: #f4f4f5; }
.ba-icon-wrap {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ba-icon-red { background: rgba(239,68,68,0.1); }
.ba-icon-green { background: rgba(16,185,129,0.2); }
.ba-xi { width: 12px; height: 12px; color: #ef4444; }
.ba-ci { width: 12px; height: 12px; color: #34d399; }

/* Icon helpers */
.icon-check { color: #22c55e; font-size: 0.8rem; flex-shrink: 0; }
.icon-check.accent { color: var(--accent); }
.icon-check.dim { opacity: 0.4; }

/* ============================================
   CASE STUDY — Before & After
   ============================================ */
.cs-glow-r, .cs-glow-l {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  filter: blur(120px); opacity: 0.06; pointer-events: none;
}
.cs-glow-r { right: -200px; top: 20%; background: var(--accent); }
.cs-glow-l { left: -200px; bottom: 10%; background: #818cf8; }
.cs-inner { position: relative; z-index: 1; }
.cs-sub { font-size: 0.95rem; color: #71717a; max-width: 600px; line-height: 1.7; margin-bottom: 3rem; }

.cs-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: rgba(255,255,255,0.015);
}
.cs-top-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2rem; border-bottom: 1px solid var(--border);
}
.cs-client { display: flex; align-items: center; gap: 0.75rem; }
.cs-client-icon { font-size: 1.5rem; }
.cs-client-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; }
.cs-client-meta { font-size: 0.75rem; color: #71717a; display: flex; align-items: center; gap: 0.4rem; }
.cs-meta-dot { width: 3px; height: 3px; background: #52525b; border-radius: 50%; }
.cs-badge-label {
  font-size: 0.65rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;
  color: #71717a; border: 1px solid var(--border); padding: 0.4rem 0.8rem; border-radius: 100px;
}

/* Split view */
.cs-split { display: grid; grid-template-columns: 1fr 1fr; }
.cs-side { padding: 1.5rem 2rem; }
.cs-side-before { background: rgba(24,24,27,0.2); }
.cs-side-after {
  background: linear-gradient(to bottom, rgba(37,99,235,0.04), transparent);
  position: relative; border-left: 1px solid var(--border); overflow: hidden;
}
.cs-side-after::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('https://images.pexels.com/photos/8961438/pexels-photo-8961438.jpeg?auto=compress&cs=tinysrgb&w=1200') center/cover no-repeat;
  opacity: 0.22; pointer-events: none;
}
.cs-side-after-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 20px 20px;
}
.cs-side-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.cs-side-title {
  font-size: 0.9rem; font-weight: 500; color: #d4d4d8;
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem;
}
.cs-side-after .cs-side-title { color: #fff; margin-bottom: 0; }
.cs-dot { width: 8px; height: 8px; border-radius: 50%; }
.cs-dot-red { background: #ef4444; }
.cs-dot-blue { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.cs-preview-link {
  font-size: 0.75rem; color: #60a5fa; font-weight: 500;
  display: flex; align-items: center; gap: 0.3rem;
  transition: color 0.2s; text-decoration: none; position: relative; z-index: 1;
}
.cs-preview-link:hover { color: #93c5fd; }

/* Laptop Mockups */
.laptop-mockup {
  position: relative; z-index: 1;
  transform: perspective(1400px) rotateX(4deg);
  transform-style: preserve-3d; transition: transform 0.5s var(--ease);
}
.laptop-mockup:hover { transform: perspective(1400px) rotateX(2deg) translateY(-6px); }
.laptop-screen {
  background: #111; border: 2px solid #2a2a2a; border-bottom: none;
  border-radius: 10px 10px 0 0; overflow: hidden; aspect-ratio: 16/9; position: relative;
}
.laptop-screenshot {
  width: 100%; height: auto; object-fit: cover; object-position: top center; display: block;
}
.laptop-screenshot.scroll-demo { animation: laptopScroll 25s ease-in-out infinite alternate; }
.laptop-screenshot.scroll-before { animation: laptopScrollBefore 25s ease-in-out infinite alternate; }
@keyframes laptopScroll { 0% { transform: translateY(0); } 100% { transform: translateY(-45%); } }
@keyframes laptopScrollBefore { 0% { transform: translateY(-5%); } 100% { transform: translateY(-55%); } }
.laptop-base {
  height: 14px; background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
  border-radius: 0 0 4px 4px; position: relative; border: 1px solid #333; border-top: 1px solid #222;
}
.laptop-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px; background: #333; border-radius: 0 0 4px 4px;
}
.laptop-muted .laptop-screen { border-color: #222; }
.laptop-muted .laptop-screenshot { filter: saturate(0.6) brightness(0.85); }
.laptop-premium .laptop-screen { border-color: rgba(37,99,235,0.25); box-shadow: 0 0 30px rgba(37,99,235,0.1); }
.laptop-premium .laptop-base { background: linear-gradient(to bottom, #252530, #1a1a22); border-color: rgba(37,99,235,0.15); }

/* Metrics bar */
.cs-metrics {
  background: var(--bg-alt); border-top: 1px solid var(--border);
  padding: 1.5rem 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.cs-metric-label {
  display: block; font-size: 0.65rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; color: #71717a; margin-bottom: 0.75rem;
}
.cs-metric-vals { display: flex; align-items: center; gap: 0.75rem; }
.cs-old { font-size: 1.1rem; color: #71717a; text-decoration: line-through; text-decoration-color: rgba(239,68,68,0.4); text-decoration-thickness: 2px; }
.cs-arrow { color: #52525b; flex-shrink: 0; }
.cs-new { font-size: 1.8rem; font-weight: 700; color: #60a5fa; display: flex; align-items: flex-start; gap: 0.25rem; }
.cs-up { color: var(--accent); margin-top: 0.25rem; }
.cs-down { color: var(--accent); margin-top: 0.25rem; transform: rotate(180deg); }
.cs-new-white { font-size: 1.2rem; font-weight: 700; color: #f4f4f5; }

/* Bottom CTA */
.cs-bottom { margin-top: 3rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cs-bottom p { font-size: 0.9rem; color: #a1a1aa; margin-bottom: 1.5rem; }
.cs-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.cs-btn-primary {
  padding: 0.85rem 2rem; background: var(--accent); color: #fff; font-weight: 500;
  font-size: 0.9rem; border-radius: 100px; text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.cs-btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.cs-btn-outline {
  padding: 0.85rem 2rem; background: transparent; color: var(--text); font-weight: 500;
  font-size: 0.9rem; border-radius: 100px; border: 1px solid var(--border);
  text-decoration: none; transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.cs-btn-outline:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.03); transform: translateY(-2px); }

/* ============================================
   SELECTED WORK — Portfolio Cards
   ============================================ */
.sw-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  max-width: 1100px; margin-left: auto; margin-right: auto; margin-bottom: 3rem;
}
.sw-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.sw-filter {
  padding: 0.5rem 1rem; border-radius: 100px; font-size: 0.8rem; font-weight: 500;
  background: var(--bg-alt); border: 1px solid var(--border); color: #d4d4d8;
  cursor: pointer; transition: background 0.3s, border-color 0.3s;
}
.sw-filter:hover { background: #1a1a1a; border-color: var(--border-hover); }
.sw-filter-active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 15px rgba(37,99,235,0.3); }
.sw-filter-active:hover { background: var(--accent-hover); }

.sw-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  max-width: 1100px; margin: 0 auto;
}

.sw-card { display: flex; flex-direction: column; gap: 1.25rem; }

/* Browser frame */
.sw-browser {
  border: 1px solid var(--border); background: var(--bg-alt);
  border-radius: 12px; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.3s;
}
.sw-card:hover .sw-browser {
  transform: translateY(-8px);
  border-color: var(--border-hover);
}
.sw-browser-bar {
  height: 32px; background: var(--bg); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 1rem; gap: 6px;
}
.sw-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #3f3f46;
  transition: background 0.3s;
}
.sw-card:hover .sw-dot:nth-child(1) { background: #f43f5e; }
.sw-card:hover .sw-dot:nth-child(2) { background: #eab308; }
.sw-card:hover .sw-dot:nth-child(3) { background: #10b981; }

/* Hover glow variants */
.sw-card:hover .sw-glow-blue { box-shadow: 0 15px 40px -10px rgba(37,99,235,0.2); }
.sw-card:hover .sw-glow-green { box-shadow: 0 15px 40px -10px rgba(16,185,129,0.15); }
.sw-card:hover .sw-glow-purple { box-shadow: 0 15px 40px -10px rgba(168,85,247,0.15); }

/* Browser image */
.sw-browser-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg);
}
.sw-browser-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  opacity: 0.95; transition: opacity 0.3s, transform 0.5s;
}
.sw-card:hover .sw-browser-img img { opacity: 1; transform: scale(1.03); }
/* Bottom fade — blends image smoothly into browser frame */
.sw-browser-img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 25%; pointer-events: none; z-index: 1;
  background: linear-gradient(to top, var(--bg-alt) 0%, transparent 100%);
}

/* Mini-site preview area */
.sw-preview {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  display: flex; flex-direction: column;
}
.sw-preview-light { background: #f8f9fa; }
.sw-preview-green { background: #064e3b; }
.sw-preview-navy { background: #0c1222; }

.sw-preview-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.sw-blend-overlay { opacity: 0.4; mix-blend-mode: overlay; }
.sw-preview-grad-green {
  position: absolute; inset: 0;
  background: linear-gradient(to right, #064e3b, rgba(6,78,59,0.9), transparent);
}
.sw-preview-grad-navy {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(12,18,34,0.9));
}

/* Mini nav bars */
.sw-mini-nav {
  height: 24px; width: 100%; display: flex; justify-content: space-between;
  align-items: center; padding: 0 16px; flex-shrink: 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sw-mini-nav-abs { position: relative; z-index: 10; border-bottom: none; margin-top: 4px; }
.sw-mini-logo-dark { width: 48px; height: 6px; background: #18181b; border-radius: 3px; }
.sw-mini-logo-white { width: 48px; height: 6px; background: #fff; border-radius: 3px; }
.sw-mini-links { display: flex; gap: 8px; align-items: center; }
.sw-mini-link-dark { width: 16px; height: 4px; background: #d4d4d8; border-radius: 2px; }
.sw-mini-link-emerald { width: 16px; height: 4px; background: #34d399; border-radius: 2px; }
.sw-mini-link-slate { width: 24px; height: 4px; background: #64748b; border-radius: 2px; }
.sw-mini-btn-blue { width: 24px; height: 6px; background: #2563eb; border-radius: 2px; }
.sw-mini-btn-emerald { width: 32px; height: 12px; background: #10b981; border-radius: 2px; }
.sw-mini-btn-yellow { width: 40px; height: 12px; background: #eab308; border-radius: 12px; }

/* Pill nav for card 3 */
.sw-mini-nav-pill {
  position: relative; z-index: 10; display: flex; align-items: center;
  gap: 12px; justify-content: center; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Split layout (card 1) */
.sw-mini-split { display: flex; flex: 1; position: relative; }
.sw-mini-left {
  width: 50%; padding: 16px; display: flex; flex-direction: column;
  justify-content: center; z-index: 10;
}
.sw-mini-right { width: 50%; position: relative; }
.sw-mini-right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sw-mini-fade-left-light {
  position: absolute; inset: 0;
  background: linear-gradient(to right, #f8f9fa, transparent);
}

/* Mini headlines */
.sw-mini-headline-dark {
  font-family: 'Georgia', serif; font-size: 1.1rem; font-weight: 800;
  line-height: 1.2; margin-bottom: 8px; color: #18181b;
}
.sw-mini-headline-dark em { font-style: italic; color: #c45d3e; }
.sw-mini-headline-white {
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800;
  line-height: 1.2; margin-bottom: 8px; color: #fff; letter-spacing: -0.02em;
}
.sw-em-emerald { font-style: normal; color: #34d399; }
.sw-em-cyan { font-style: normal; color: #22d3ee; }

/* Mini content lines */
.sw-mini-line-light { height: 4px; width: 100%; background: #e4e4e7; border-radius: 2px; margin-bottom: 4px; }
.sw-mini-line-green { height: 4px; width: 100%; background: rgba(6,78,59,0.6); border-radius: 2px; margin-bottom: 4px; }
.sw-mini-line-slate { height: 4px; width: 80%; background: #1e293b; border-radius: 2px; margin: 0 auto 6px; }

/* Mini buttons */
.sw-mini-btns { display: flex; gap: 8px; margin-top: 12px; }
.sw-mini-btn-fill-blue { height: 20px; width: 64px; background: #2563eb; border-radius: 2px; }
.sw-mini-btn-outline-light { height: 20px; width: 64px; background: #fff; border: 1px solid #e4e4e7; border-radius: 2px; }
.sw-mini-btn-fill-emerald { height: 20px; width: 64px; background: #10b981; border-radius: 2px; }
.sw-mini-btn-outline-emerald { height: 20px; width: 64px; border: 1px solid #10b981; border-radius: 2px; }
.sw-mini-btn-fill-yellow { height: 24px; width: 80px; background: #eab308; border-radius: 24px; box-shadow: 0 0 15px rgba(234,179,8,0.3); }
.sw-mini-btn-outline-slate { height: 24px; width: 80px; border: 1px solid #475569; border-radius: 24px; }

/* Green card content */
.sw-mini-content-green {
  position: relative; z-index: 10; padding: 20px;
  display: flex; flex-direction: column; justify-content: center;
  height: 100%; width: 80%;
}

/* Navy card centered content */
.sw-mini-content-center {
  position: relative; z-index: 10; padding: 20px;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; height: 100%;
}

/* Info */
.sw-tags { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.sw-type {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem; border-radius: 6px;
}
.sw-type-blue { color: #60a5fa; background: rgba(30,58,138,0.3); border: 1px solid rgba(30,64,175,0.4); }
.sw-type-green { color: #34d399; background: rgba(6,78,59,0.3); border: 1px solid rgba(6,95,70,0.4); }
.sw-type-purple { color: #c084fc; background: rgba(88,28,135,0.3); border: 1px solid rgba(107,33,168,0.4); }
.sw-meta { font-size: 0.75rem; color: #71717a; }
.sw-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.25rem; }
.sw-result { font-size: 0.85rem; color: #a1a1aa; }

/* ============================================
   COMPARISON TABLE
   ============================================ */
.compare-table {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 4rem;
}
.compare-row { display: contents; }
.compare-cell {
  padding: 1rem 1.25rem; font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.5rem;
}
.compare-header .compare-cell { background: var(--bg-alt); font-weight: 600; font-size: 0.8rem; }
.compare-feature { font-weight: 500; }
.compare-highlight { background: rgba(37,99,235,0.03); border-left: 1px solid rgba(37,99,235,0.08); }
.compare-header .compare-highlight { color: var(--accent); }
.text-dim { color: var(--text-dim); }

/* ============================================
   FEATURE GRID
   ============================================ */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden;
}
.feature-item { background: var(--bg); padding: 2rem; transition: background 0.3s; }
.feature-item:hover { background: var(--bg-alt); }
.feature-icon { width: 24px; height: 24px; color: var(--accent); margin-bottom: 0.75rem; }
.feature-item h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.feature-item p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ============================================
   PROCESS
   ============================================ */
.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
  text-align: center; position: relative; margin: 3rem 0;
}
.process-step { position: relative; z-index: 2; }
.step-number {
  width: 48px; height: 48px; border: 1px solid rgba(37,99,235,0.3);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
  color: var(--accent); margin-bottom: 1.25rem;
  background: var(--bg); position: relative; z-index: 2;
}
.step-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.step-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; max-width: 280px; margin: 0 auto; }
.process-path { width: 100%; height: 4px; position: absolute; top: 24px; left: 0; z-index: 1; }
.process-path-fill { stroke-dasharray: 800; stroke-dashoffset: 800; transition: stroke-dashoffset 1.5s var(--ease); }
.process-path-fill.visible { stroke-dashoffset: 0; }

/* ============================================
   TESTIMONIALS — Premium Cards
   ============================================ */
.tm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tm-card {
  border: 1px solid #27272a; background: rgba(24,24,27,0.4);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
}
.tm-card:hover { background: rgba(24,24,27,0.6); border-color: #3f3f46; }

/* Quote watermark */
.tm-quote-icon {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 64px; height: 64px; color: rgba(39,39,42,0.3);
  transform: rotate(180deg); pointer-events: none;
}

/* Stars in testimonials */
.tm-card .g-stars { margin-bottom: 1.5rem; position: relative; z-index: 1; }

/* Text */
.tm-text {
  font-size: 0.95rem; color: #d4d4d8; line-height: 1.7;
  margin-bottom: 2rem; flex-grow: 1; position: relative; z-index: 1;
}

/* Author */
.tm-author {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid #27272a;
  margin-top: auto; position: relative; z-index: 1;
}
.tm-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; border: 1px solid #3f3f46;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3); flex-shrink: 0;
}
.tm-name {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 600; color: #f4f4f5;
}
.tm-verified { width: 16px; height: 16px; color: #3b82f6; }
.tm-company { font-size: 0.75rem; color: #71717a; }

/* ============================================
   PRICING
   ============================================ */
.pricing-inner { text-align: center; }
.pricing-header { max-width: 600px; margin: 0 auto 3.5rem; }
.pricing-heading {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; margin-bottom: 1rem;
}
.pricing-sub { font-size: 1.05rem; color: #a1a1aa; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; align-items: center; text-align: left;
}

/* Base card */
.p-card {
  border: 1px solid #27272a; background: rgba(24,24,27,0.4);
  border-radius: 24px; padding: 2rem;
  display: flex; flex-direction: column; height: 100%;
  transition: background 0.3s;
}
.p-card:hover { background: rgba(24,24,27,0.6); }

/* Featured card */
.p-card-featured {
  border: 2px solid #2563eb;
  background: linear-gradient(to bottom, rgba(30,58,138,0.2), rgba(24,24,27,0.8));
  position: relative; transform: translateY(-16px);
  box-shadow: 0 0 40px -10px rgba(37,99,235,0.3);
}
.p-card-featured:hover { background: linear-gradient(to bottom, rgba(30,58,138,0.25), rgba(24,24,27,0.85)); }
.p-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #2563eb; color: white; font-size: 0.7rem; font-weight: 700;
  padding: 0.4rem 1rem; border-radius: 100px; text-transform: uppercase;
  letter-spacing: 0.08em; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}

/* Name */
.p-name { font-size: 1.2rem; font-weight: 600; color: #f4f4f5; margin-bottom: 1rem; }
.p-name-accent { color: #60a5fa; margin-top: 0.5rem; }

/* Price */
.p-price {
  display: flex; align-items: baseline; gap: 2px;
  font-family: var(--font-heading); font-size: clamp(2.8rem, 4vw, 3.2rem);
  font-weight: 700; letter-spacing: -0.04em; margin-bottom: 1rem;
}
.p-dollar { font-size: 0.5em; font-weight: 600; color: #a1a1aa; }
.p-period { font-size: 0.35em; font-weight: 400; color: #71717a; margin-left: 0.5rem; }

/* Desc */
.p-desc { font-size: 0.9rem; color: #a1a1aa; line-height: 1.5; margin-bottom: 2rem; min-height: 40px; }
.p-desc-light { color: #d4d4d8; }

/* Feature list */
.p-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; flex: 1; font-size: 0.9rem; color: #d4d4d8; }
.p-list-light { color: #e4e4e7; }
.p-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.p-list-bold { font-weight: 600; color: white; }
.p-check { width: 20px; height: 20px; color: #3b82f6; flex-shrink: 0; margin-top: 1px; }
.p-check-accent { color: #60a5fa; }

/* Buttons */
.p-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 0.85rem 1.5rem; border-radius: 12px;
  font-size: 0.9rem; font-weight: 500; transition: background 0.3s, border-color 0.3s;
  text-decoration: none; color: white;
}
.p-btn-outline { border: 1px solid #3f3f46; background: transparent; }
.p-btn-outline:hover { background: #27272a; }
.p-btn-primary {
  background: #2563eb; border: none;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.p-btn-primary:hover { background: #3b82f6; }

/* ============================================
   FAQ
   ============================================ */
.faq-inner { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
.faq-list { margin-top: 1rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0; text-align: left; font-size: 1rem; font-weight: 500;
  color: var(--text); transition: color 0.3s;
}
.faq-trigger:hover { color: var(--accent); }
.faq-icon {
  font-size: 1.25rem; color: var(--text-secondary);
  transition: transform 0.3s var(--ease), color 0.3s; flex-shrink: 0; margin-left: 1rem;
}
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 1.5rem; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ============================================
   FINAL CTA
   ============================================ */
.section-cta {
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.06) 0%, transparent 70%);
}
.cta-inner { max-width: 900px; margin: 0 auto; padding: 0 2rem; }
.cta-form-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  border: 1px solid var(--border); border-radius: 16px;
  background: rgba(255,255,255,0.015); padding: 3rem;
}
.cta-form-left { text-align: left; }
.cta-headline {
  font-family: var(--font-heading); font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.15; margin-bottom: 0.75rem;
}
.cta-subline { font-size: 1rem; color: var(--accent); font-weight: 500; margin-bottom: 1.5rem; }
.cta-checklist { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.cta-checklist li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.4;
}
.cta-check { width: 18px; height: 18px; color: #22c55e; flex-shrink: 0; }
.cta-micro { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.75rem; text-align: center; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-form input,
.contact-form select {
  width: 100%; padding: 0.9rem 1.25rem; background: transparent;
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.contact-form input::placeholder { color: var(--text-dim); }
.contact-form select { color: var(--text-dim); }
.contact-form select option { background: var(--bg); color: var(--text); }
.contact-form input:focus,
.contact-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-success { display: none; flex-direction: column; align-items: center; gap: 0.75rem; padding: 2rem; }
.form-success.show { display: flex; }
.form-success p { font-size: 0.95rem; color: var(--text-secondary); }
/* CTA Impact Cards */
.cta-impact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-top: 3rem; max-width: 900px; margin-left: auto; margin-right: auto;
}
.cta-impact-card {
  border: 1px solid #27272a;
  background: linear-gradient(to bottom right, rgba(24,24,27,0.8), #0a0a0a);
  border-radius: 20px; padding: 1.5rem;
  position: relative; overflow: hidden;
  transition: border-color 0.3s;
}
.cta-impact-card:hover { border-color: #3f3f46; }
.cta-impact-dots {
  position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.cta-impact-inner { position: relative; z-index: 1; }
.cta-impact-icon { margin-bottom: 1.25rem; }
.cta-impact-stat { display: flex; align-items: baseline; gap: 2px; margin-bottom: 0.75rem; }
.cta-impact-num {
  font-family: var(--font-heading); font-size: 3rem; font-weight: 700;
  letter-spacing: -0.05em; line-height: 1;
}
.cta-impact-pct { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.cta-impact-dollar { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; }
.cta-impact-bar {
  width: 100%; height: 5px; background: #27272a; border-radius: 100px;
  margin-bottom: 1rem; overflow: hidden;
}
.cta-impact-fill { height: 100%; border-radius: 100px; }
.cta-impact-text { font-size: 0.8rem; color: #71717a; line-height: 1.55; }
.cta-impact-subtitle {
  font-family: var(--font-heading); font-size: 1rem;
  font-weight: 600; color: #d4d4d8; margin-bottom: 0.35rem;
}

/* Danger variant */
.cta-impact-danger {
  border-color: rgba(127,29,29,0.3);
  background: linear-gradient(to bottom, rgba(69,10,10,0.15), #0a0a0a);
  box-shadow: 0 0 25px -12px rgba(239,68,68,0.2);
}
.cta-impact-danger:hover { border-color: rgba(127,29,29,0.5); }
.cta-impact-danger-glow {
  position: absolute; top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: rgba(239,68,68,0.08); filter: blur(28px);
  border-radius: 50%; pointer-events: none;
}
.cta-danger-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.7rem; border-radius: 100px; margin-bottom: 1.25rem;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2);
  color: #f87171; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 4rem 0 0; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.75rem; max-width: 280px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: 0.85rem; color: var(--text-secondary); transition: color 0.3s; }
.footer-col a:hover { color: var(--text); }
.footer-contact a { font-size: 0.85rem; color: var(--text-secondary); transition: color 0.3s; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 2rem; margin-top: 3rem;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-dim); }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger > .reveal:nth-child(9) { transition-delay: 0.64s; }

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
  .sw-grid { grid-template-columns: 1fr 1fr; }
  .sw-header { flex-direction: column; align-items: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .p-card-featured { transform: none; }
  .p-card-featured:hover { transform: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .tm-grid { grid-template-columns: 1fr; }
  .compare-table { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
  /* ── 3D scene off — add subtle gradient bg instead ── */
  #scene3d { display: none; }
  .section-hero {
    background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 80%, rgba(37,99,235,0.04) 0%, transparent 50%),
                var(--bg);
  }

  /* ── Section spacing ── */
  .section { padding: clamp(48px, 8vw, 80px) 0; }
  .section-inner { padding: 0 1.25rem; }

  /* ── Typography scaling ── */
  .section-heading { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: 1.5rem; }
  .section-tag { font-size: 0.7rem; }
  .section-subtext { font-size: 0.9rem; margin-top: -0.75rem; margin-bottom: 2rem; }

  /* ── Navigation — compact slide panel ── */
  .nav-menu {
    position: fixed; top: 0; right: 0; width: 220px; height: 100vh;
    background: #0a0a0a; border-left: 1px solid var(--border);
    flex-direction: column; justify-content: center; padding: 2rem 1.5rem; gap: 1.25rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); z-index: 99;
    transform: translateX(100%);
  }
  .nav-menu.active { transform: translateX(0); }
  .nav-link { font-size: 1rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Overlay when menu open */
  .nav-overlay {
    display: none; position: fixed; inset: 0; z-index: 98;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(2px);
  }
  .nav-overlay.active { display: block; }

  /* ── Hero — centered, stacked ── */
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); text-align: center; }
  .hero-sub { text-align: center; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }
  .hero-proof { flex-direction: column; text-align: center; align-items: center; }
  .hero-trusted { text-align: center; }
  .hero-badge { margin: 0 auto 1rem; }

  /* ── Trust strip — centered pyramid stack ── */
  .trust-strip { align-items: center; }
  .trust-strip-label { text-align: center; margin-bottom: 1.25rem; }
  .trust-strip-row {
    flex-direction: column; gap: 0.75rem;
    align-items: center; width: 100%;
  }
  .trust-strip-divider { display: none; }
  .trust-signal {
    gap: 0.6rem; justify-content: center;
  }
  .trust-signal-text { font-size: 0.8rem; }
  .trust-signal-detail { flex-direction: row; align-items: center; gap: 0.5rem; }
  .g-stars { display: flex; align-items: center; }
  .g-stars svg { width: 13px; height: 13px; }

  /* ── Hook / Stats — centered stack ── */
  .hook-stats { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem 0; }
  .hook-stat-divider { width: 60px; height: 1px; background: linear-gradient(to right, transparent, #27272a, transparent); margin: 0 auto; }
  .hook-stat { padding: 0; text-align: center; }
  .hook-stat-num { justify-content: center; }
  .hook-bottom { flex-direction: column; text-align: center; }
  .hook-bottom p { max-width: 100%; }

  /* ── Case study — stack vertically ── */
  .cs-top-bar { flex-direction: column; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.25rem; }
  .cs-badge-label { font-size: 0.6rem; }
  .cs-split { grid-template-columns: 1fr; }
  .cs-side { padding: 1.25rem; }
  .cs-side-after { border-left: none; border-top: 1px solid var(--border); }
  .laptop-mockup { transform: none; }
  .laptop-mockup:hover { transform: none; }

  /* Hide external link, show tap hint */
  .cs-preview-link { display: none; }
  .cs-side-top::after {
    content: 'Tap to preview';
    font-size: 0.7rem; color: rgba(255,255,255,0.35);
    font-weight: 500; letter-spacing: 0.05em;
  }

  /* ── Metrics bar — 2x2 ── */
  .cs-metrics { grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.25rem; }
  .cs-new { font-size: 1.4rem; }
  .cs-metric-vals { gap: 0.5rem; }
  .cs-new-white { font-size: 1rem; }
  .cs-metric-label { font-size: 0.6rem; margin-bottom: 0.5rem; }

  /* ── CS bottom area ── */
  .cs-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .cs-btns { flex-direction: column; width: 100%; }
  .cs-btns a { width: 100%; justify-content: center; }

  /* ── Portfolio cards ── */
  .sw-grid { grid-template-columns: 1fr; }

  /* ── Comparison table — mobile card rebrand ── */
  /* Hide DIY + Other Agencies columns, show only Feature + LaunchWell */
  .compare-table {
    grid-template-columns: 1fr 1fr;
    font-size: 0.82rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
  }
  .compare-row .compare-cell:nth-child(2),
  .compare-row .compare-cell:nth-child(3),
  .compare-header .compare-cell:nth-child(2),
  .compare-header .compare-cell:nth-child(3) { display: none; }
  .compare-cell { padding: 0.85rem 1rem; font-size: 0.82rem; }
  .compare-header .compare-cell { font-size: 0.72rem; padding: 0.7rem 1rem; }
  .compare-feature { font-weight: 600; }
  .compare-highlight { background: rgba(37,99,235,0.06); }

  /* ── Feature / skills grid ── */
  .feature-grid { grid-template-columns: 1fr; gap: 1px; }
  .feature-item { padding: 1.25rem; }

  /* ── Process steps — left-align on mobile ── */
  .process-steps { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
  .process-path { display: none; }
  .step-text { margin: 0; max-width: 100%; }

  /* ── Testimonials ── */
  .tm-grid { grid-template-columns: 1fr; }

  /* ── Pricing — left-align tag to match other sections ── */
  .pricing-inner { text-align: left; }
  .pricing-header { margin-left: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .p-card-featured { transform: none; }
  .p-card-featured:hover { transform: none; }

  /* ── CTA form card — stack vertically ── */
  .cta-form-card { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
  .cta-form-left { text-align: left; }
  .cta-headline { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .cta-subline { margin-bottom: 1rem; }
  .cta-checklist { gap: 0.5rem; }
  .cta-checklist li { font-size: 0.82rem; }
  .cta-impact-cards { grid-template-columns: 1fr; gap: 1rem; }

  /* ── Footer — match 16px content edge ── */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 0 1.25rem; }
  .footer-bottom { padding: 1.5rem 1.25rem; }
  .footer-brand p { max-width: 100%; }

  /* ── Tag-with-line — remove decorative line on mobile for clean alignment ── */
  .tag-line { display: none; }
  .tag-dot { display: none; }
  .tag-with-line { gap: 0; }

  /* ── Clip decorative overflows at the source ── */
  .section-marquee { overflow: hidden; }
  .transform-section { overflow: hidden; }
  .section-hook { overflow: hidden; }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
  .section-inner, .faq-inner, .cta-inner { padding: 0 1rem; }
  .nav-inner { padding: 0 1rem; }
  .hero-badge { font-size: 0.65rem; padding: 0.35rem 0.75rem; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .p-card { padding: 1.5rem; }
  .cs-side { padding: 1rem; }
  .cs-metrics { padding: 1rem; }
  .compare-cell { padding: 0.5rem 0.4rem; font-size: 0.65rem; }
  .compare-header .compare-cell { font-size: 0.6rem; }
}
