/* =====================
   BASE
===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2952E3;
  --blue-light: #4A7AFF;
  --blue-dim: #1A3BB0;
  --yellow: #F5E642;
  --gold: #C8A96A;
  --green-neon: #00E87A;
  --wa: #25D366;
  /* LIGHT THEME */
  --bg: #F5F4F0;
  --bg2: #EEECEA;
  --text: #080810;
  --text2: #1A1A28;
  --muted: #72706A;
  --muted2: #9A9890;
  --border: rgba(0,0,0,0.09);
  --border-blue: rgba(41,82,227,0.2);
  --glass-bg: rgba(255,255,255,0.6);
  --glass-border: rgba(255,255,255,0.9);
  --sans: 'Space Grotesk', sans-serif;
  --mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(0,0,0,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  cursor: none;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; font-family: var(--sans); }
.accent { color: var(--blue); }
em { font-style: italic; }

.section-tag {
  display: inline-block;
  position: relative;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--blue);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  opacity: 0.8;
}

/* Hand-drawn stroke underline — shared by all mono section-label tags, replaces the old "//" prefix */
.section-tag,
.sp-tag,
.ai-diff-tag,
#hero-tag,
.iso-tag,
#founder-traits span {
  position: relative;
  display: inline-block;
  padding-bottom: 7px;
}
.section-tag::after,
.sp-tag::after,
.ai-diff-tag::after,
#hero-tag::after,
.iso-tag::after,
#founder-traits span::after {
  content: '';
  position: absolute;
  left: 1px;
  bottom: 0;
  width: calc(100% - 2px);
  height: 6px;
  background-color: currentColor;
  opacity: 0.55;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1,4 C8,1 13,7 20,4 C27,1 32,7 39,4 C46,1 51,7 58,4 C65,1 70,7 77,4 C84,1 89,7 96,4' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1,4 C8,1 13,7 20,4 C27,1 32,7 39,4 C46,1 51,7 58,4 C65,1 70,7 77,4 C84,1 89,7 96,4' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* =====================
   ROCKET CURSOR
===================== */
#cursor-dot {
  position: fixed;
  width: 32px; height: 32px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) rotate(-45deg);
  will-change: left, top;
  font-size: 28px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16,1,0.3,1), font-size 0.2s;
  user-select: none;
}
#cursor-dot::after { content: '🚀'; }
#cursor-ring { display: none; }
body:has(a:hover) #cursor-dot,
body:has(button:hover) #cursor-dot {
  transform: translate(-50%, -50%) rotate(-45deg) scale(1.35);
}

/* =====================
   CURSOR LABEL
===================== */
#cursor-label {
  position: fixed;
  pointer-events: none;
  z-index: 9990;
  background: #080810;
  color: #F5F4F0;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 100px;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.2s ease;
  white-space: nowrap;
  will-change: left, top, transform;
}
#cursor-label.visible {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* =====================
   NAV
===================== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  transition: all 0.4s ease;
}
#nav.scrolled {
  background: rgba(245,244,240,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 14px 56px;
}
.nav-logo { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--text); }
.nav-logo span { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-right a { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); transition: color 0.2s; }
.nav-right a:hover { color: var(--text); }
.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: var(--sans) !important;
  font-size: 0.82rem !important;
  padding: 9px 22px; border-radius: 5px;
  border: none !important;
  transition: all 0.2s ease !important;
}
.nav-cta:hover { background: var(--blue-dim) !important; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(41,82,227,0.2) !important; }

/* =====================
   BUTTONS
===================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans); font-weight: 800; font-size: 0.95rem;
  padding: 15px 32px; border-radius: 6px; border: none;
  transition: all 0.25s ease; cursor: none; letter-spacing: -0.01em;
}
.btn-primary:hover { background: var(--blue-dim); transform: translateY(-2px); box-shadow: 0 16px 48px rgba(41,82,227,0.25); }

.btn-ghost {
  display: inline-flex; align-items: center;
  font-family: var(--sans); font-weight: 600; font-size: 0.88rem;
  color: var(--muted); border: 1px solid var(--border);
  padding: 14px 26px; border-radius: 6px; transition: all 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--blue); }

/* =====================
   TEXT ANIMATION SYSTEM
===================== */
[data-anim] { opacity: 0; }
[data-anim="slam-up"] { transform: translateY(60px) skewY(1.5deg); transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1); }
[data-anim="slam-up"].anim-in { opacity: 1; transform: translateY(0) skewY(0deg); }
[data-anim="rotate-in"] { transform: perspective(600px) rotateX(35deg) translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
[data-anim="rotate-in"].anim-in { opacity: 1; transform: perspective(600px) rotateX(0deg) translateY(0); }
[data-anim="fly-depth"] { transform: perspective(800px) translateZ(-100px) scale(0.88); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1); }
[data-anim="fly-depth"].anim-in { opacity: 1; transform: perspective(800px) translateZ(0) scale(1); }
[data-anim="slide-right"] { transform: translateX(-44px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16,1,0.3,1); }
[data-anim="slide-right"].anim-in { opacity: 1; transform: translateX(0); }
[data-anim="drift"] { transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s ease; }
[data-anim="drift"].anim-in { opacity: 1; transform: translateY(0); }

/* =====================
   HERO
===================== */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 40px 60px;
  background: transparent; /* grid from body */
}

/* Gradient bridge from hero into the blue burn section */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent 0%, rgba(22,53,200,0.08) 60%, rgba(22,53,200,0.22) 100%);
  pointer-events: none;
  z-index: 1;
}

#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.3; }

.hero-grid-overlay { display: none; } /* body grid handles this */

/* BROWSER FRAME — Glassmorphism */
#hero-browser-frame {
  position: relative; z-index: 2;
  width: 100%; max-width: 860px;
  border: 1px solid var(--glass-border);
  border-radius: 14px; overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.8) inset,
    0 24px 80px rgba(0,0,0,0.08),
    0 4px 16px rgba(0,0,0,0.05);
}

#browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.bd { width: 10px; height: 10px; border-radius: 50%; }
.bd-r { background: #FF5F57; } .bd-y { background: #FFBD2E; } .bd-g { background: #28CA41; }
.browser-url {
  flex: 1; text-align: center;
  font-family: var(--mono); font-size: 0.68rem; color: var(--muted);
  background: rgba(0,0,0,0.04); border: 1px solid var(--border);
  border-radius: 4px; padding: 4px 12px;
}
.browser-badge { font-family: var(--mono); font-size: 0.6rem; color: var(--green-neon); letter-spacing: 0.08em; animation: pulse 2s ease-in-out infinite; font-weight: 700; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

#hero-content { padding: 52px 56px 48px; text-align: center; }

#hero-tag {
  font-family: var(--mono); font-size: 0.68rem; color: var(--blue);
  letter-spacing: 0.1em; margin-bottom: 32px;
  opacity: 0; animation: fadeIn 0.6s ease 0.3s forwards;
}

#hero-headline {
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.04em; margin-bottom: 24px;
  text-align: center; color: var(--text);
}

.hl-line { display: block; overflow: hidden; }
.hl-word {
  display: inline-block; opacity: 0; transform: translateY(100%);
  animation: wordSlam 0.65s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes wordSlam { to { opacity:1; transform:translateY(0); } }
.accent-line .hl-word { color: var(--blue); font-style: italic; }

#hero-sub {
  font-size: 1.05rem; color: var(--muted); margin-bottom: 36px;
  opacity: 0; animation: fadeIn 0.6s ease 1.6s forwards; font-weight: 500;
}
#hero-sub em { color: var(--blue); font-style: italic; }

#hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 32px;
  opacity: 0; animation: fadeIn 0.6s ease 1.9s forwards;
}

/* ---- Brand ticker ---- */
#hero-ticker,
.ticker-strip {
  overflow: hidden;
  white-space: nowrap;
  background: var(--yellow);
  border-top: 1.5px solid rgba(0,0,0,0.08);
  border-bottom: 1.5px solid rgba(0,0,0,0.08);
  padding: 10px 0;
}
#hero-ticker {
  margin: 0 -56px 24px;           /* bleed past hero padding */
  opacity: 0;
  animation: fadeIn 0.5s ease 1.8s forwards;
}
.ticker-strip {                   /* reusable between-section divider */
  margin: 0;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.t-brand {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: #080810;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 22px;
  white-space: nowrap;
}
.t-sep {
  color: rgba(0,0,0,0.35);
  font-size: 0.65rem;
  flex-shrink: 0;
  font-weight: 700;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Proof chips ---- */
#hero-proof {
  display: flex; align-items: center; justify-content: center;
  gap: 7px; flex-wrap: nowrap; /* always one line */
  width: 100%; overflow: hidden; padding: 0 2px;
}
.proof-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.68rem; color: var(--muted);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  padding: 7px 11px; border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(12px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  flex-shrink: 0;
  white-space: nowrap;
}
.proof-chip[data-delay="0"] { animation: chipIn 0.55s cubic-bezier(0.16,1,0.3,1) 2.0s forwards; }
.proof-chip[data-delay="1"] { animation: chipIn 0.55s cubic-bezier(0.16,1,0.3,1) 2.2s forwards; }
.proof-chip[data-delay="2"] { animation: chipIn 0.55s cubic-bezier(0.16,1,0.3,1) 2.4s forwards; }
@keyframes chipIn {
  to { opacity: 1; transform: translateY(0); }
}
.chip-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  font-family: var(--mono);
  letter-spacing: -0.02em;
}
.chip-label {
  color: var(--muted);
  font-weight: 500;
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-neon); flex-shrink: 0; animation: pulse 2s ease-in-out infinite; }

#scroll-cue {
  position: absolute; bottom: 32px; left: 56px;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; animation: fadeIn 1s ease 2.8s forwards;
}
#scroll-cue span { font-family: var(--mono); font-size: 0.6rem; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; }
.scroll-line { width: 40px; height: 1px; background: linear-gradient(90deg, var(--blue), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.3;transform:scaleX(1)} 50%{opacity:1;transform:scaleX(1.4)} }

/* =====================
   BURN — SCROLL CINEMATIC
===================== */
#burn {
  position: relative;
  height: 700vh;
  background-color: #1635C8;
}

#burn-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1635C8;
  border-top: 2px solid var(--yellow);
}

/* ---- Floating ghost browsers ---- */
#burn-browsers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.ghost-browser {
  position: absolute;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.8s ease;
}

.ghost-browser.freeze { animation-play-state: paused !important; }

.gb-bar {
  height: 20px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 4px; padding: 0 8px;
}
.gb-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.gb-url { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; margin: 0 4px; }
.gb-body { padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.gb-line { height: 4px; background: rgba(255,255,255,0.07); border-radius: 2px; }
.gb-bleed { position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: 8px; }
.gb-metric { font-family: var(--mono); font-size: 0.42rem; color: rgba(255,100,80,0.65); padding: 1px 0; font-weight: 700; }

/* Drift keyframes */
@keyframes drift1 { 0%,100%{transform:translateY(0) rotate(-4deg)} 50%{transform:translateY(-20px) rotate(-2deg)} }
@keyframes drift2 { 0%,100%{transform:translateY(0) rotate(6deg)} 50%{transform:translateY(-30px) rotate(4deg)} }
@keyframes drift3 { 0%,100%{transform:translateY(0) rotate(-8deg)} 50%{transform:translateY(-15px) rotate(-6deg)} }
@keyframes drift4 { 0%,100%{transform:translateY(0) rotate(3deg)} 50%{transform:translateY(-25px) rotate(5deg)} }
@keyframes drift5 { 0%,100%{transform:translateY(0) rotate(-5deg)} 60%{transform:translateY(-18px) rotate(-3deg)} }
@keyframes drift6 { 0%,100%{transform:translateY(0) rotate(7deg)} 40%{transform:translateY(-22px) rotate(9deg)} }

/* ---- The lit browser for "We fix it" — hidden ---- */
#fix-browser {
  display: none !important;
}
#fix-browser-DISABLED {
  position: absolute;
  width: 280px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(6,8,18,0.9);
  box-shadow: 0 0 60px rgba(245,230,66,0.15), 0 0 120px rgba(245,230,66,0.06);
  opacity: 0;
  transform: scale(0.85) translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1);
  z-index: 3;
  right: 8%;
  top: 50%;
  margin-top: -140px;
}
#fix-browser.visible { opacity: 1; transform: scale(1) translateY(0); }

.fix-browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fix-dots { display: flex; gap: 4px; }
.fix-dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.fix-dots i:nth-child(1) { background: #FF5F57; }
.fix-dots i:nth-child(2) { background: #FFBD2E; }
.fix-dots i:nth-child(3) { background: #28CA41; }
.fix-url { font-family: var(--mono); font-size: 0.6rem; color: rgba(255,255,255,0.4); }

.fix-browser-screen { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.fix-ui-row { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); }
.fix-ui-row.r1 { width: 60%; }
.fix-ui-row.r2 { width: 85%; }
.fix-ui-row.r3 { width: 45%; }
.fix-ui-hero {
  height: 80px; border-radius: 6px;
  background: linear-gradient(135deg, rgba(41,82,227,0.3), rgba(245,230,66,0.1));
  margin: 4px 0;
  border: 1px solid rgba(255,255,255,0.06);
  animation: heroGlow 2s ease-in-out infinite;
}
@keyframes heroGlow { 0%,100%{opacity:0.7} 50%{opacity:1} }
.fix-ui-row.r4 { width: 70%; }
.fix-ui-cta {
  height: 22px; border-radius: 4px; width: 80px;
  background: rgba(245,230,66,0.5);
  animation: ctaBlink 1.5s ease-in-out infinite;
}
@keyframes ctaBlink { 0%,100%{opacity:0.5} 50%{opacity:1} }

/* ---- Progress bar ---- */
#burn-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
  z-index: 10;
}
#burn-progress-fill {
  height: 100%;
  background: var(--yellow);
  width: 0%;
  transition: width 0.1s linear;
}

/* ---- Text stage ---- */
#burn-stage {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.burn-phase {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(820px, 88vw);
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0;
  pointer-events: none;
}

.burn-phase.active { opacity: 1; pointer-events: auto; }

.burn-phase .word-group {
  display: inline-block;
  vertical-align: bottom;
  white-space: nowrap;
}
.burn-phase .letter {
  display: inline;
}

.bp-red { color: #E8201C; }
.burn-num { font-style: normal; color: #fff; font-family: var(--mono); }
.burn-yellow { font-style: normal; color: var(--yellow); }

/* "We fix it" — special treatment. Positional props (left/top/transform/width) controlled by JS. */
.bp-fix {
  font-size: clamp(5rem, 9vw, 10rem);
  letter-spacing: -0.05em;
  text-align: left;
}

/* Iso card in burn section */
#burn-iso {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  opacity: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  perspective: 800px;
}
#burn-iso .iso-card {
  transform: rotateX(16deg) rotateY(-22deg);
  animation: isoFloat 5s ease-in-out infinite;
  animation-play-state: paused;
}
#burn-iso.visible .iso-card {
  animation-play-state: running;
}

/* Phase label */
#burn-phase-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 10;
}

/* =====================
   THE NUMBER
===================== */
#the-number {
  background: transparent;
  position: relative; overflow: hidden; padding: 80px 56px 0;
}
#number-content { position: relative; z-index: 2; text-align: center; padding-bottom: 64px; }
#big-number {
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 16px;
}
#count-rupee { color: var(--blue); }
#count-val { color: var(--text); }
#count-suffix { color: var(--muted); font-size: 0.42em; vertical-align: baseline; }
#number-sub { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); margin-bottom: 48px; }
#category-tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cat-tab {
  font-family: var(--mono); font-size: 0.72rem; color: var(--muted);
  background: rgba(255,255,255,0.5); border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 100px; transition: all 0.2s ease; cursor: none;
  backdrop-filter: blur(8px);
}
.cat-tab:hover { color: var(--text); border-color: var(--blue); background: rgba(255,255,255,0.8); }
.cat-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 700; }

/* =====================
   HALL OF BRANDS — COVERFLOW v2
===================== */
#work {
  position: relative;
  background: transparent;
  padding: 60px 0 80px;
  overflow: hidden;
}

/* Top row: header left, nav right */
#cf-top-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 56px;
}
#cf-header { }
#cf-header .section-tag { color: var(--blue); margin-bottom: 12px; }
#cf-title {
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  white-space: nowrap;
  color: var(--text);
}

#cf-top-nav { display: flex; gap: 10px; }

.cf-nav-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; cursor: none; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cf-nav-btn:hover { background: var(--text); color: #fff; border-color: var(--text); transform: scale(1.05); }

/* 3-D Stage */
#cf-stage {
  position: relative; z-index: 2;
  width: 100%; height: 420px;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  margin-bottom: 52px;
  flex-shrink: 0;
}

/* Cards — landscape style */
.cf-card {
  position: absolute;
  left: 50%; top: 50%;
  width: 440px; height: 320px;
  margin-left: -220px; margin-top: -160px;
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px 18px 16px;
  transition:
    transform 0.72s cubic-bezier(0.16,1,0.3,1),
    opacity   0.72s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.5s ease;
  will-change: transform, opacity;
  cursor: pointer;
  background: #080c14;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Position transforms */
.cf-card[data-pos="0"] {
  transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
  opacity: 1; z-index: 10; cursor: default;
  box-shadow: 0 32px 64px rgba(0,0,0,0.28), 0 8px 24px rgba(0,0,0,0.18);
  border-color: rgba(255,255,255,0.14);
}
.cf-card[data-pos="-1"] {
  transform: translateX(-295px) translateZ(-80px) rotateY(22deg) scale(0.84);
  opacity: 0.82; z-index: 4;
}
.cf-card[data-pos="1"] {
  transform: translateX(295px) translateZ(-80px) rotateY(-22deg) scale(0.84);
  opacity: 0.82; z-index: 4;
}
.cf-card[data-pos="-2"] {
  transform: translateX(-540px) translateZ(-200px) rotateY(40deg) scale(0.65);
  opacity: 0.35; z-index: 2; pointer-events: none;
}
.cf-card[data-pos="2"] {
  transform: translateX(540px) translateZ(-200px) rotateY(-40deg) scale(0.65);
  opacity: 0.35; z-index: 2; pointer-events: none;
}
.cf-card[data-pos="h"] {
  transform: translateX(0) translateZ(-500px) scale(0.35);
  opacity: 0; z-index: 0; pointer-events: none;
}
.cf-card[data-pos="-1"]:hover { opacity: 1; }
.cf-card[data-pos="1"]:hover  { opacity: 1; }

/* Card top row: icon + year */
.cf-card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
}
.cf-icon-sq {
  width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;
}
.cf-year {
  font-family: var(--mono); font-size: 0.68rem;
  color: rgba(255,255,255,0.28); letter-spacing: 0.06em;
}

/* Card image — fills full card, clearly visible */
.cf-card-img {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; border-radius: 14px;
}
.cf-card-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  display: block; opacity: 1;
}
/* Tint ONLY the bottom 45% where text lives — top is clear */
.cf-card-img::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(to top, rgba(6,8,16,0.97) 0%, rgba(6,8,16,0.85) 40%, transparent 100%);
}

/* Card mid: category + brand name — bottom of card */
.cf-card-mid {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 4px;
  margin-top: auto;
}
.cf-cat-label {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45); text-transform: uppercase;
}
.cf-brand-name {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 800; letter-spacing: -0.01em; line-height: 1.1;
  color: #fff; text-transform: uppercase;
}

/* Metric chip — BELOW the card, not inside */
.cf-metric-chip {
  display: none; /* hidden inside card — shown below via JS wrapper */
}

/* Below-card metric label */
.cf-below-metric {
  position: absolute;
  bottom: -34px; left: 0; right: 0;
  display: flex; justify-content: center;
}
.cf-below-metric span {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
  color: var(--muted); white-space: nowrap;
  transition: color 0.3s;
}
.cf-card[data-pos="0"] .cf-below-metric span {
  color: var(--blue); font-weight: 800;
}

/* Dots */
#cf-dots-row {
  display: flex; gap: 8px; align-items: center; justify-content: center; min-height: 14px;
}
.cf-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(0,0,0,0.15); transition: all 0.3s ease; cursor: pointer;
}
.cf-dot.active { background: var(--text); width: 22px; border-radius: 4px; }

/* =====================
   SERVICES / CATEGORIES
===================== */
#services {
  background-color: #080810;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 40px 40px;
}

#services-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 56px;
}

#services-header {
  margin-bottom: 60px;
}
#services-header .section-tag { color: var(--yellow) !important; }
#services-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  color: #fff;
}
#services-header h2 .accent { color: #fff; }

#services-list { display: flex; flex-direction: column; }

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  cursor: none;
  overflow: hidden;
  transition: padding 0.4s cubic-bezier(0.16,1,0.3,1);
}

.service-row::before { display: none; }

.service-row-left {
  position: relative; z-index: 1;
  display: flex; align-items: baseline; gap: 20px;
}

.service-num {
  font-family: var(--mono); font-size: 0.7rem;
  color: rgba(255,255,255,0.35); transition: color 0.3s;
  min-width: 28px;
}

.service-name {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: #fff; transition: color 0.3s;
  display: flex; align-items: center; gap: 8px;
}

.service-slash {
  color: rgba(255,255,255,0.3); font-weight: 400;
  transition: color 0.3s;
}

.service-arrow {
  position: relative; z-index: 1;
  font-size: 1.4rem; color: rgba(255,255,255,0.4);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), color 0.3s;
}

/* Active state */
.service-row.active .service-num { color: rgba(255,255,255,0.4); }
.service-row.active .service-name { color: #fff; }
.service-row.active .service-slash { color: rgba(255,255,255,0.3); }
.service-row.active .service-arrow { transform: rotate(45deg); color: #fff; }

/* Expanded panel */
.service-panel {
  position: relative; z-index: 1;
  grid-column: 1 / -1;
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1);
}
.service-row.active .service-panel { max-height: 200px; }

.service-panel-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; padding: 20px 0 8px 48px;
}

.sp-desc {
  font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.75;
  font-weight: 500;
}

.sp-metrics {
  display: flex; flex-direction: column; gap: 10px;
}

.sp-metric {
  display: flex; align-items: center; gap: 12px;
}
.sp-metric-val {
  font-family: var(--mono); font-size: 1.4rem;
  font-weight: 700; color: var(--text); letter-spacing: -0.03em;
}
.sp-metric-label {
  font-family: var(--mono); font-size: 0.68rem;
  color: rgba(8,8,16,0.5); line-height: 1.3;
}

/* First row has no top border */
.service-row:first-child { border-top: 1px solid rgba(255,255,255,0.12); }

/* =====================
   SERVICES — DESKTOP SIDE-CARD LAYOUT
   (overrides accordion for min-width: 961px)
===================== */
@media (min-width: 961px) {
  .testi-card-wrap {
    min-width: unset;
    width: auto;
    padding: 0;
    perspective: 900px;
  }
  .testi-card {
    flex-direction: row !important;
    min-height: 200px !important;
    height: auto !important;
  }
  .testi-photo-col {
    width: 36% !important;
    height: auto !important;
    padding: 12px 0 12px 12px !important;
    flex-shrink: 0 !important;
  }
  .testi-photo-inner { border-radius: 10px !important; }
  .testi-photo { object-position: top center !important; }
  .testi-body-col {
    padding: 18px 16px 16px 14px !important;
    border-left: 1px solid rgba(255,255,255,0.07) !important;
    border-top: none !important;
  }
  .testi-quote { font-size: 0.78rem !important; }
  .testi-name { font-size: 0.78rem !important; }
  #testi-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
  }
  #testi-prev, #testi-next {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--text);
    transition: all 0.2s;
  }
  #testi-prev:hover, #testi-next:hover {
    background: var(--blue); color: #fff; border-color: var(--blue);
  }
  .testi-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(0,0,0,0.2); cursor: pointer;
    transition: all 0.3s;
  }
  .testi-dot.active { width: 20px; border-radius: 3px; background: var(--blue); }

  .service-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    align-items: start;
    gap: 0 48px;
    padding: 28px 0;
  }
  .service-row-left { grid-column: 1; grid-row: 1; align-self: center; }
  .service-arrow { display: none !important; }

  /* Panel always fully visible — no accordion */
  .service-panel {
    grid-column: 2 !important;
    grid-row: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    transition: none !important;
  }
  .service-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 18px 22px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin: 0;
  }
  .sp-tag {
    display: block;
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
  }
  .sp-desc {
    font-size: 0.88rem;
    color: var(--text2);
    line-height: 1.75;
    font-weight: 500;
  }
  .sp-hl {
    background: var(--yellow);
    color: #080810;
    padding: 1px 5px;
    border-radius: 2px;
    font-weight: 700;
  }
  .sp-metrics {
    flex-direction: row;
    gap: 24px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }
  .sp-metric { gap: 8px; }
  .sp-metric-val {
    font-size: 1.1rem;
    color: var(--blue);
  }
  .sp-metric-label { color: var(--muted); }
}

/* =====================
   AI SECTION
===================== */
/* =====================
   UNFAIR ADVANTAGE
===================== */
#ai-section {
  background: var(--bg);
  padding: 0;
}


/* Difference Block — full-bleed dark hero, bold centered typography + contained 3-col card row overlapping its bottom edge */
#ai-diff-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 480px;
  background: #0a0e1f;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ai-diff-text {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: center;
  padding: 100px 56px 80px;
}
#ai-diff-text .section-tag {
  color: var(--yellow, #f0c93a);
  margin-bottom: 20px;
}
#ai-diff-quote {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 22px;
}
#ai-diff-quote em {
  color: var(--blue-light, #7d8bff);
  font-style: italic;
  white-space: nowrap;
  display: inline-block;
}
#ai-diff-divider {
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,0.25);
  margin: 0 auto 18px;
}
#ai-diff-sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}

/* Compact 3-chip strip inside dark hero */
#ai-diff-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 36px;
  width: 100%;
  text-align: left;
}
.ai-diff-chip {
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 16px 14px;
}
.ai-diff-chip-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: rgba(125,139,255,0.15);
  border: 0.5px solid rgba(125,139,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #7d8bff;
  margin-bottom: 10px;
}
.ai-diff-chip-icon svg { width: 14px; height: 14px; }
.ai-diff-chip-title {
  font-size: 0.8rem; font-weight: 700;
  color: #fff; letter-spacing: -0.01em;
  margin-bottom: 4px; line-height: 1.3;
}
.ai-diff-chip-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5; margin: 0;
}

/* 3-col row — mirrors the old stat bar: plain, bordered, no card/shadow */
#ai-diff-cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.ai-diff-card {
  padding: 36px 40px;
  border-right: 1px solid var(--border);
}
.ai-diff-card:last-child {
  border-right: none;
}
.ai-diff-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--bg2, #f4f2ee);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 16px;
}
.ai-diff-icon svg {
  width: 19px;
  height: 19px;
}
.ai-diff-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.ai-diff-body {
  font-size: 0.76rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 10px;
}
.ai-diff-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.8;
}


/* Revenue Problem */
#ua-revenue {
  background: #fff;
  background-image:
    linear-gradient(rgba(0,0,0,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 100px 56px 0;
}
#ua-revenue-head {
  max-width: 760px;
  margin: 0 auto 80px;
  text-align: center;
}
#ua-revenue-head h2 {
  font-size: clamp(1.4rem, 2.8vw, 2.6rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
#ua-revenue-head h2 em { color: var(--blue); font-style: normal; }
#ua-revenue-head p {
  font-size: 1rem; color: var(--muted);
  font-family: var(--mono); letter-spacing: 0.02em;
}

/* Checklist — Option 4: Stat + Statement */
#ua-checklist {
  max-width: 780px;
  margin: 0 auto 80px;
  display: flex; flex-direction: column; gap: 0;
}
.ua-stat-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.ua-stat-row:first-child { border-top: 1px solid var(--border); }
.ua-stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue);
  line-height: 1;
}
.ua-stat-stmt {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}
.ua-stat-stmt strong { color: var(--text); font-weight: 700; }
.ua-check-bridge {
  margin: 0 -56px;
  padding: 28px 56px;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 800; letter-spacing: -0.01em;
  line-height: 1.5;
  color: #080810;
  background: var(--yellow);
  text-align: center;
  position: relative;
}
.ua-check-bridge em { color: #080810; font-style: normal; font-weight: 800; }
.ua-check-bridge::before,
.ua-check-bridge::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: rgba(0,0,0,0.12);
}
.ua-check-bridge::before { top: 0; }
.ua-check-bridge::after { bottom: 0; }

/* Dark lower portion — table + CTA */
#ua-dark-lower {
  background: #080810;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  margin: 0 -56px;
  padding: 60px 56px 120px;
}

/* Comparison Table — glassmorphism card */
#ua-table-wrap {
  max-width: 780px;
  margin: 80px auto 40px;
  position: relative;
  border-radius: 20px;
}
/* Glow orbs behind the glass so blur has something to catch */
#ua-table-wrap::before {
  content: '';
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(41,82,227,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(74,122,255,0.14) 0%, transparent 70%);
  border-radius: 24px;
  z-index: 0;
  pointer-events: none;
}
#ua-table {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.14);
  border-top: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 -1px 0 rgba(255,255,255,0.04) inset,
    0 24px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(41,82,227,0.15);
}
#ua-table-head {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255,255,255,0.06);
  padding: 16px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ua-col-label {
  font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-align: right;
}
.ua-col-label.muted { color: rgba(255,255,255,0.3); }
.ua-col-label.highlight { color: var(--blue); }
.ua-table-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: center;
  transition: background 0.2s;
}
.ua-table-row:last-child { border-bottom: none; }
.ua-table-row:hover { background: rgba(255,255,255,0.03); }
.ua-metric-name {
  font-size: 0.9rem; color: rgba(255,255,255,0.5);
  font-family: var(--mono);
}
.ua-metric-avg {
  font-size: 1.1rem; color: #fff;
  font-weight: 700; text-align: right;
}
/* Wrapper to constrain strike to text width only */
.ua-metric-avg-inner {
  position: relative;
  display: inline-block;
}
.ua-metric-avg-inner::after {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 2.5px;
  background: #ff3333;
  box-shadow: 0 0 8px rgba(255,51,51,0.7);
  transform: translateY(-50%);
  transition: width 0.45s cubic-bezier(0.4,0,0.2,1);
  border-radius: 2px;
}
.ua-metric-avg.struck { color: rgba(255,255,255,0.25); }
.ua-metric-avg.struck .ua-metric-avg-inner::after { width: 100%; }

.ua-metric-bc {
  font-size: 1.3rem; color: var(--blue);
  font-weight: 800; letter-spacing: -0.02em;
  text-align: right;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease, text-shadow 0.5s ease;
  text-shadow: none;
}
.ua-metric-bc.lit {
  opacity: 1;
  transform: translateY(0);
  text-shadow: 0 0 20px rgba(74,122,255,0.8), 0 0 40px rgba(74,122,255,0.35);
}

#ua-table-closer {
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: #fff;
  margin: 0 auto 32px;
}

#ua-cta { text-align: center; }

/* =====================
   FOUNDER
===================== */
#founder {
  padding: 120px 56px;
  background: transparent;
  position: relative; overflow: hidden;
  min-height: 80vh; display: flex; align-items: center;
}
#founder-bg-text {
  position: absolute;
  font-size: clamp(140px, 22vw, 260px); font-weight: 900;
  color: rgba(41,82,227,0.04);
  letter-spacing: -0.05em;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none; user-select: none; white-space: nowrap;
}
#founder-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1100px; margin: 0 auto; width: 100%;
  position: relative; z-index: 2;
}
#founder-left { display: flex; justify-content: center; }
#avatar-wrap { position: relative; width: 300px; }
#founder-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  filter: drop-shadow(0 20px 60px rgba(41,82,227,0.18));
  animation: float 4s ease-in-out infinite;
  border: 2px solid rgba(41,82,227,0.15);
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
#avatar-glow {
  position: absolute; bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 160px; height: 20px;
  background: rgba(41,82,227,0.2); border-radius: 50%; filter: blur(16px);
}
#founder-quote { margin: 18px 0 28px; }
.fq-line { font-size: clamp(2.6rem, 4.5vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.0; color: var(--text); }
.fq-sub { font-size: clamp(1.1rem, 1.8vw, 1.6rem); color: var(--muted); font-weight: 500; font-style: italic; margin-top: 6px; }
#age-num { color: var(--blue); font-size: clamp(4.5rem, 7.5vw, 7.5rem); }
#founder-body { font-size: 0.95rem; color: var(--muted); line-height: 1.8; max-width: 420px; margin-bottom: 24px; font-weight: 500; }
#founder-traits { display: flex; flex-direction: column; gap: 7px; margin-bottom: 28px; }
#founder-traits span { font-family: var(--mono); font-size: 0.72rem; color: var(--blue); opacity: 0.7; }
#founder-sig { font-size: 0.88rem; color: var(--muted); font-weight: 500; }
#founder-sig small { font-family: var(--mono); font-size: 0.7rem; opacity: 0.5; }

/* =====================
   CTA
===================== */
#contact {
  position: relative; min-height: 90vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 56px 80px; overflow: hidden;
  background: var(--text); /* dark contrast section at end */
}
#cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.4; }
#cta-inner { position: relative; z-index: 2; max-width: 680px; width: 100%; text-align: center; }
#cta-title { font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 14px; color: #F5F4F0; }
#cta-title em { color: var(--yellow); }
#cta-sub { font-family: var(--mono); font-size: 0.82rem; color: rgba(245,244,240,0.5); margin-bottom: 44px; }

/* Glass form on dark bg */
#cta-form {
  display: flex; flex-direction: column; gap: 10px; text-align: left;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 32px;
  box-shadow: 0 2px 0 rgba(255,255,255,0.05) inset;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f-input, .f-area {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 14px 18px;
  color: #F5F4F0; font-family: var(--sans); font-size: 0.9rem; font-weight: 500;
  width: 100%; outline: none; transition: border-color 0.25s; cursor: none;
}
.f-input:focus, .f-area:focus { border-color: rgba(245,230,66,0.5); }
.f-input::placeholder, .f-area::placeholder { color: rgba(245,244,240,0.3); }
.f-full { width: 100%; }
.f-area { resize: none; }
#form-actions { display: flex; gap: 12px; align-items: center; margin-top: 4px; }
.btn-primary-light {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: #080810;
  font-family: var(--sans); font-weight: 800; font-size: 0.95rem;
  padding: 15px 32px; border-radius: 6px; border: none;
  transition: all 0.25s ease; cursor: none;
  width: 100%; justify-content: center;
}
.btn-primary-light:hover { background: #fff; transform: translateY(-2px); }
#wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--wa);
  border: 1px solid rgba(37,211,102,0.25);
  padding: 14px 22px; border-radius: 6px; font-size: 0.88rem; font-weight: 600;
  transition: all 0.2s; cursor: none; white-space: nowrap;
}
#wa-btn:hover { background: rgba(37,211,102,0.08); border-color: rgba(37,211,102,0.5); }
#terminal-line {
  position: absolute; bottom: 28px;
  font-family: var(--mono); font-size: 0.78rem; color: rgba(245,244,240,0.3);
  z-index: 2; display: flex; align-items: center;
}
.t-prompt { color: var(--gold); }
#t-brand { color: var(--green-neon); }
.t-cursor { color: var(--green-neon); animation: blink 1s step-end infinite; margin-left: 2px; }

/* =====================
   TESTIMONIALS
===================== */
#testimonials {
  background: var(--bg);
  padding: 0;
}
#testimonials-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 100px 32px 80px;
}
#testimonials-head {
  margin-bottom: 60px;
}
#testimonials-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
}
#testimonials-carousel { overflow: hidden; }
#testimonials-track {
  display: flex;
  gap: 0;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}
.testi-slide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  align-items: stretch;
}
.testi-card-wrap { height: 100%; }
.testi-card { height: 100%; }
.testi-card-wrap { perspective: 900px; }
.testi-card {
  background: #2952E3;
  background-image:
    linear-gradient(150deg, rgba(255,255,255,0.13) 0%, transparent 35%, rgba(0,0,0,0.55) 100%),
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 100% 100%, 26px 26px, 26px 26px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  min-height: 200px;
  border-top: 1px solid rgba(255,255,255,0.28);
  border-left: 1px solid rgba(255,255,255,0.16);
  border-right: 1px solid rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(0,0,0,0.35);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 8px 24px rgba(41,82,227,0.22), 0 20px 48px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.18);
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}
.testi-shine {
  position: absolute; inset: 0;
  border-radius: 16px;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 60%);
  transition: background 0.15s ease;
  z-index: 2;
}
.testi-photo-col {
  width: 36%;
  flex-shrink: 0;
  padding: 12px 0 12px 12px;
  display: flex;
  align-items: stretch;
  position: relative; z-index: 1;
}
.testi-photo-inner {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -1px 0 rgba(0,0,0,0.3), inset 1px 0 0 rgba(255,255,255,0.25), inset -1px 0 0 rgba(0,0,0,0.2);
  background: rgba(0,0,0,0.25);
}
.testi-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.testi-body-col {
  flex: 1;
  padding: 18px 16px 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255,255,255,0.07);
  position: relative; z-index: 1;
}
.testi-quote {
  font-size: 0.78rem; line-height: 1.65;
  color: rgba(255,255,255,0.82);
  font-style: italic;
  flex: 1;
  word-break: break-word; overflow-wrap: break-word;
}
.testi-footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
}
.testi-name { font-size: 0.78rem; font-weight: 700; color: #fff; }
.testi-role { font-family: var(--mono); font-size: 0.6rem; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; margin-bottom: 6px; }
.testi-brand {
  display: inline-block;
  background: var(--yellow);
  color: #3a2a00;
  font-size: 0.55rem;
  font-weight: 800;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  width: fit-content;
}

/* =====================
   PROCESS
===================== */
#process {
  background: #f7f7f2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#process-inner {
  max-width: 100%;
  margin: 0;
  padding: 100px 32px 100px;
}
#process-head { margin-bottom: 64px; }
#process-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
}
#process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.process-step {
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  border-radius: 0;
  padding: 0 32px 0 28px;
}
.process-step:first-child { border-left: none; padding-left: 0; }
.process-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #F5C800;
  line-height: 1;
}
.process-divider {
  width: 100%;
  border: none;
  border-top: 1.5px dashed var(--border);
  margin-bottom: 14px;
}
.process-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.process-desc {
  font-size: 0.84rem; color: var(--muted);
  line-height: 1.6;
}

/* =====================
   CONTACT — URGENCY + PRICING
===================== */
#cta-meta {
  display: flex; flex-direction: column; gap: 10px;
  margin: 24px 0 32px;
  align-items: center;
}
.cta-urgency {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.72rem;
  color: rgba(255,255,255,0.55); letter-spacing: 0.03em;
}
.urgency-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #00e87a;
  box-shadow: 0 0 6px #00e87a;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.cta-pricing {
  font-family: var(--mono); font-size: 0.72rem;
  color: rgba(255,255,255,0.35); letter-spacing: 0.03em;
}
.cta-pricing strong { color: rgba(255,255,255,0.7); font-weight: 700; }

/* =====================
   ISN'T BORING BAND
===================== */
#isnt-boring {
  background: #080810;
  overflow: hidden;
  padding: 0;
  line-height: 1;
}
#isnt-boring-inner {
  padding: 0 2vw;
}
#isnt-boring-text {
  display: block;
  font-family: var(--sans);
  font-weight: 900;
  font-size: 15.5vw;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 0.9;
  white-space: nowrap;
  padding: 0.05em 0 0.1em;
}

/* =====================
   FOOTER
===================== */
#footer {
  background: #06080f;
  border-top: 1px solid rgba(255,255,255,0.07);
}

#footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 72px 56px 56px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Brand col */
#footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo {
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em;
  color: #fff; text-decoration: none;
}
.footer-logo span { color: var(--blue); }
.footer-tagline {
  font-size: 0.85rem; color: rgba(255,255,255,0.35);
  line-height: 1.65; max-width: 200px;
}
.footer-socials { display: flex; gap: 8px; margin-top: 4px; }
.f-social {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.6rem; font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.f-social:hover { border-color: var(--blue); color: var(--blue); }

/* Link cols */
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col-head {
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 4px;
}
.footer-link {
  font-size: 0.88rem; color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: #fff; }

/* Bottom bar */
#footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 56px;
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: 100%;
}
.footer-copy {
  font-family: var(--mono); font-size: 0.62rem;
  color: rgba(255,255,255,0.2);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal-link {
  font-family: var(--mono); font-size: 0.62rem;
  color: rgba(255,255,255,0.2);
  text-decoration: none; transition: color 0.2s;
}
.footer-legal-link:hover { color: rgba(255,255,255,0.5); }

/* =====================
   UTILS
===================== */
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(41,82,227,0.2); border-radius: 2px; }

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 960px) {
  /* --- CURSOR --- */
  #cursor-dot, #cursor-ring, #cursor-label { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }

  /* --- NAV --- */
  #nav { padding-left: 20px; padding-right: 20px; }
  #nav.scrolled { padding-left: 20px; padding-right: 20px; }
  .nav-right a:not(.nav-cta) { display: none; }
  .nav-cta { font-size: 0.8rem; padding: 9px 16px; }

  /* --- HERO --- */
  #hero { padding: 108px 16px 40px; }
  #hero-browser-frame { border-radius: 10px; }
  #hero-content { padding: 28px 20px 28px; }
  #hero-tag { font-size: 0.6rem; margin-bottom: 20px; }
  #hero-headline { font-size: clamp(2rem, 8.5vw, 3.2rem); margin-bottom: 18px; }
  #hero-sub { font-size: 0.95rem; }
  #hero-actions { flex-direction: column; gap: 12px; }
  #hero-actions .btn-primary { width: 100%; text-align: center; justify-content: center; }
  #hero-proof { gap: 8px; flex-wrap: wrap; }
  .proof-chip { padding: 8px 14px; gap: 7px; }
  .chip-val { font-size: 0.82rem; }
  .chip-label { display: none; }
  #scroll-cue { display: none; }

  /* --- BURN --- */
  .burn-phase { font-size: clamp(2.4rem, 9.5vw, 4rem); padding: 0 20px; line-height: 1.15; }
  /* Phase 4 "We fix it" — JS controls left/transform/opacity. CSS sets size + vertical position only. */
  .bp-fix { font-size: clamp(3.5rem, 15vw, 5.5rem) !important; top: 26% !important; width: 88vw !important; max-width: 88vw !important; text-align: center !important; }
  #fix-browser { display: none; }
  /* Iso card position — transform & opacity fully controlled by JS, no !important */
  #burn-iso { top: 62% !important; left: 50% !important; }
  #gb1, #gb3, #gb5, #gb7 { display: none; }
  .ghost-browser { opacity: 0.2 !important; }

  /* --- THE NUMBER --- */
  #the-number { padding: 60px 20px 0; }
  #number-content { padding-bottom: 48px; }
  #big-number { font-size: clamp(4rem, 16vw, 7rem); }
  #category-tabs { gap: 6px; }
  .cat-tab { font-size: 0.65rem; padding: 7px 14px; }

  /* --- COVERFLOW --- */
  #work { padding: 48px 20px 60px; }
  #cf-top-row { margin-bottom: 28px; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  #cf-title { font-size: clamp(1.4rem, 6.5vw, 2rem); white-space: normal; }
  #cf-top-nav { display: none; }
  #cf-stage { height: 260px; perspective: 900px; margin-bottom: 20px; }
  #cf-dots-row { margin-bottom: 28px; gap: 6px; }
  .cf-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,0.2); transition: width 0.3s cubic-bezier(0.16,1,0.3,1), background 0.3s ease; }
  .cf-dot.active { width: 22px; border-radius: 4px; background: var(--text); }
  .cf-dot.cf-dot-sm { transform: scale(0.6); opacity: 0.45; }
  .cf-card { width: 260px; height: 190px; margin-left: -130px; margin-top: -95px; border-radius: 10px; }
  .cf-brand-name { font-size: clamp(0.85rem, 3.5vw, 1rem); }
  .cf-card[data-pos="-1"] { transform: translateX(-160px) translateZ(-60px) rotateY(22deg) scale(0.82); opacity: 0.7; }
  .cf-card[data-pos="1"]  { transform: translateX(160px)  translateZ(-60px) rotateY(-22deg) scale(0.82); opacity: 0.7; }
  .cf-card[data-pos="-2"],
  .cf-card[data-pos="2"]  { opacity: 0; pointer-events: none; }

  /* --- TESTIMONIALS — swipe carousel --- */
  #testimonials { padding: 60px 0; }
  #testimonials-inner { padding: 0 20px; }
  #testimonials-head { margin-bottom: 32px; }
  #testimonials-head h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  #testimonials-carousel { overflow-x: auto; overflow-y: hidden; }
  #testimonials-track {
    display: flex;
    gap: 0;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    transform: none !important;
    transition: none !important;
  }
  #testimonials-track::-webkit-scrollbar { display: none; }
  .testi-slide { display: contents; }
  .testi-card-wrap {
    min-width: 85vw;
    width: 85vw;
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 0 8px 0 0;
    perspective: 900px;
  }
  .testi-card-wrap:first-child { padding-left: 0; }
  .testi-card {
    flex-direction: column;
    min-height: unset;
    height: auto;
    border-radius: 14px;
  }
  .testi-photo-col {
    width: 100%;
    height: 160px;
    padding: 10px 10px 0 10px;
    flex-shrink: 0;
  }
  .testi-photo-inner {
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }
  .testi-photo {
    object-position: center 20%;
  }
  .testi-body-col {
    padding: 14px 14px 16px 14px;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .testi-quote { font-size: 0.82rem; line-height: 1.6; word-break: break-word; overflow-wrap: break-word; }
  .testi-name { font-size: 0.82rem; }
  .testi-footer { margin-top: 10px; }
  .testi-brand { font-size: 0.56rem; }
  #testi-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
  }
  .testi-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
  }
  .testi-dot.active {
    width: 20px;
    border-radius: 3px;
    background: var(--blue);
  }

  /* --- SERVICES --- */
  #services-inner { padding: 60px 20px 80px; }
  .service-name { font-size: clamp(1rem, 4.5vw, 1.3rem); }
  .service-slash { display: none; }
  .service-row { padding: 20px 0; }
  .service-panel { overflow: hidden; max-height: 0; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
  .service-row.active .service-panel { max-height: 260px; }
  .service-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 14px 18px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin: 4px 0 8px;
  }
  .sp-tag { display: block; font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
  .sp-desc { font-size: 0.82rem; color: var(--text2); line-height: 1.75; font-weight: 500; }
  .sp-hl { background: var(--yellow); color: #080810; padding: 1px 4px; border-radius: 2px; font-weight: 700; }
  .sp-metrics { flex-direction: row; gap: 20px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
  .sp-metric { gap: 6px; }
  .sp-metric-val { font-size: 1rem; color: var(--blue); font-weight: 800; }
  .sp-metric-label { font-size: 0.6rem; color: var(--muted); }

  /* --- PROCESS --- */
  #process-inner { padding: 60px 20px 60px; }
  #process-head { margin-bottom: 40px; }
  #process-head h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  #process-steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .process-step { padding: 20px 16px; }

  /* --- UNFAIR ADVANTAGE --- */
  #ai-section { padding-left: 0; padding-right: 0; }
  #ai-diff-hero { min-height: 0; }
  #ai-diff-text { max-width: 100%; padding: 100px 24px 70px; }
  #ai-diff-quote { font-size: clamp(2rem, 9vw, 2.6rem); }
  #ai-diff-strip { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
  #ai-diff-strip .ai-diff-chip:last-child { grid-column: 1 / -1; }
  #ai-diff-text { padding: 80px 20px 48px; }
  #ai-diff-cards { grid-template-columns: 1fr !important; }
  .ai-diff-card {
    padding: 28px 20px;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .ai-diff-card:last-child { border-bottom: none; }
  #ua-revenue { padding: 60px 20px 80px; }
  #ua-revenue-head { margin-bottom: 48px; }
  #ua-revenue-head h2 { font-size: clamp(1.5rem, 6.5vw, 2.2rem); }
  .ua-stat-row { grid-template-columns: 90px 1fr; gap: 20px; padding: 20px 0; }
  .ua-stat-num { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .ua-stat-stmt { font-size: 0.88rem; }
  .ua-check-bridge { font-size: clamp(1rem, 4.5vw, 1.3rem); margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  #ua-table-wrap { margin: 40px 0 32px; }
  #ua-table-wrap::before { inset: -20px; }
  #ua-table { border-radius: 10px; }
  #ua-table-head { padding: 12px 16px; gap: 8px; grid-template-columns: 0.6fr 1fr 1.15fr; }
  .ua-col-label { font-size: 0.52rem; line-height: 1.5; letter-spacing: 0.04em; }
  .ua-table-row { padding: 14px 16px; gap: 8px; grid-template-columns: 0.6fr 1fr 1.15fr; }
  .ua-metric-name { font-size: 0.78rem; }
  .ua-metric-avg-inner, .ua-metric-bc { font-size: 0.88rem; }

  /* --- FOUNDER --- */
  #founder { padding: 60px 20px 60px; }
  #founder-bg-text { font-size: clamp(6rem, 30vw, 12rem); }
  #founder-inner { grid-template-columns: 1fr; gap: 32px; }
  #avatar-wrap { width: 140px; height: 140px; margin: 0 auto; }
  #founder-photo { width: 140px; height: 140px; }
  #founder-quote .fq-line { font-size: clamp(2rem, 9vw, 3rem); }
  #founder-body { font-size: 0.92rem; }

  /* --- CTA / CONTACT --- */
  #contact { padding: 60px 20px 80px; }
  #cta-title { font-size: clamp(2.4rem, 10vw, 4rem); }
  #cta-sub { font-size: 0.92rem; }
  #cta-meta { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  #form-actions { flex-direction: column; gap: 12px; }
  #wa-btn, .btn-primary-light { width: 100%; justify-content: center; }

  /* --- FOOTER --- */
  #footer-main { grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px 20px 40px; }
  #footer-brand { grid-column: 1 / -1; }
  #footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 16px 20px; }
  .footer-legal { justify-content: center; }

  /* --- SEASONAL / OTHER --- */
  .season-panel { grid-template-columns: 1fr; min-height: auto; }
  .season-copy { border-right: none; border-bottom: 1px solid var(--border); }
  .season-visual { min-height: 280px; }
}

/* =====================
   ELEMENT PREVIEW — REMOVE AFTER SELECTION
===================== */
#element-preview {
  background: #03050C;
  padding: 100px 40px 120px;
  position: relative;
}
.ep-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: rgba(74,122,255,0.7);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.ep-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #F5F4F0;
  margin-bottom: 60px;
}
.ep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.ep-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ep-card-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--yellow);
  letter-spacing: 0.1em;
  font-weight: 700;
}
.ep-card-desc {
  font-size: 0.82rem;
  color: rgba(245,244,240,0.4);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ---- ① SPLIT-FLAP ---- */
.sf-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.sf-board {
  background: #080810;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 20px 28px;
  width: 100%;
}
.sf-row-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}
.sf-after-label { margin-top: 16px; }
.sf-digits { display: flex; align-items: center; gap: 4px; }
.sf-digits-after .sf-slot span { color: var(--green-neon); }
.sf-slot {
  background: #111320;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  width: 44px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}
.sf-slot::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0,0,0,0.5);
}
.sf-dot { width: 20px; background: transparent; border-color: transparent; }
.sf-pct { width: 32px; }
.sf-digits-after .sf-slot { border-color: rgba(0,232,122,0.2); background: rgba(0,232,122,0.04); }
.sf-badge {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--green-neon);
  background: rgba(0,232,122,0.08);
  border: 1px solid rgba(0,232,122,0.2);
  padding: 8px 18px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  font-weight: 700;
}
@keyframes sfFlip {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-100%); opacity: 0; }
  51%  { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.sf-flip { animation: sfFlip 0.18s ease-in-out forwards; }

/* ---- ② DIAGNOSTIC SCANNER ---- */
.diag-wrap {
  background: #060810;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
}
.diag-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.diag-dot { width: 8px; height: 8px; border-radius: 50%; }
.diag-dot.r { background: #FF5F57; }
.diag-dot.y { background: #FFBD2E; }
.diag-dot.g { background: #28CA41; }
.diag-title { font-family: var(--mono); font-size: 0.6rem; color: rgba(255,255,255,0.3); margin-left: 6px; }
.diag-body {
  padding: 14px 16px 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.9;
  min-height: 180px;
}
.diag-line { display: block; }
.diag-line.ok { color: var(--green-neon); }
.diag-line.err { color: #E8201C; }
.diag-line.warn { color: var(--yellow); }
.diag-line.dim { color: rgba(255,255,255,0.35); }
.diag-cursor {
  padding: 0 16px 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--green-neon);
  animation: blink 1s step-end infinite;
}

/* ---- ③ ISOMETRIC 3D CARD ---- */
.iso-scene {
  perspective: 800px;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 0;
  flex: 1;
}
#iso-scene-main {
  flex: none;
  padding: 60px 0 40px;
}
.iso-card {
  width: 260px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(16deg) rotateY(-22deg);
  animation: isoFloat 5s ease-in-out infinite;
}
@keyframes isoFloat {
  0%,100% { transform: rotateX(16deg) rotateY(-22deg) translateY(0); }
  50%      { transform: rotateX(14deg) rotateY(-20deg) translateY(-10px); }
}
.iso-card-inner {
  background: linear-gradient(135deg, rgba(41,82,227,0.25) 0%, rgba(20,20,40,0.9) 100%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow:
    0 0 0 1px rgba(74,122,255,0.1),
    0 20px 60px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
}
.iso-tag {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: rgba(74,122,255,0.7);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.iso-metric {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.iso-before {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-decoration: line-through;
  text-decoration-color: #E8201C;
}
.iso-arrow { color: rgba(255,255,255,0.2); font-size: 0.9rem; }
.iso-after {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-neon);
}
.iso-brand {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
  font-family: var(--mono);
}
.iso-bar-wrap { margin-bottom: 14px; }
.iso-bar-track {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.iso-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--green-neon));
  border-radius: 2px;
  transition: width 1.4s cubic-bezier(0.16,1,0.3,1) 0.3s;
}
.iso-footer { }
.iso-status {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--green-neon);
  letter-spacing: 0.1em;
  opacity: 0.8;
}
.iso-shadow {
  position: absolute;
  bottom: -28px; left: 10%; right: 10%;
  height: 28px;
  background: radial-gradient(ellipse, rgba(41,82,227,0.3) 0%, transparent 70%);
  filter: blur(8px);
  transform: translateZ(-20px) rotateX(-90deg);
  transform-origin: top;
}

/* ---- ④ SLOT MACHINE ---- */
.slot-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; flex: 1; }
.slot-machine {
  position: relative;
  background: #080810;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}
.slot-col-wrap { display: flex; height: 64px; }
.slot-col {
  flex: 1;
  overflow: hidden;
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.slot-col:last-child { border-right: none; }
.slot-col-mid { border-left: 1px solid rgba(255,255,255,0.06); border-right: 1px solid rgba(255,255,255,0.06); }
.slot-reel {
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slot-item {
  height: 64px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0 8px;
  flex-shrink: 0;
}
.slot-winner { color: var(--yellow) !important; }
.slot-col-mid .slot-winner { color: var(--green-neon) !important; }
.slot-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 2;
}
.slot-btn {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--yellow);
  color: #080810;
  border: none;
  padding: 10px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s;
}
.slot-btn:hover { transform: translateY(-2px); }
.slot-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

@media (max-width: 960px) {
  .ep-grid { grid-template-columns: 1fr; }
}
