/* ============ TOKENS ============ */
:root {
  --bg-dark: #0A0518;
  --bg-darker: #08041A;
  --panel-dark: #150A2E;
  --panel-dark-2: #1F1140;
  --bg-light: #F7F5FF;
  --panel-light: #FFFFFF;

  --ink: #20143F;
  --ink-2: #2C1B5C;
  --muted-light: #5C5278;
  --white: #F7F5FF;
  --muted-dark: #A89CC9;
  --muted-dark-2: #7E709F;

  --accent: #9B6BFF;
  --accent-2: #7F4DF6;
  --accent-3: #5C2FE8;
  --mint: #7EF9E1;
  --warn: #FF6B8A;

  --stroke-dark: rgba(155, 107, 255, 0.18);
  --stroke-dark-strong: rgba(155, 107, 255, 0.32);
  --stroke-light: rgba(44, 23, 97, 0.10);
  --stroke-light-strong: rgba(44, 23, 97, 0.18);

  --grad-cta: linear-gradient(135deg, #9B6BFF 0%, #7F4DF6 50%, #5C2FE8 100%);
  --grad-text: linear-gradient(135deg, #B998FF, #7F4DF6);
  --shadow-glow: 0 18px 60px rgba(127, 77, 246, 0.28);
  --shadow-soft: 0 18px 60px rgba(30, 19, 60, 0.10);

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1200px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
}

/* ============ BASE ============ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; width: 100%; }
.container.narrow { max-width: 880px; }
.center { text-align: center; }

.mono { font-family: var(--font-mono); letter-spacing: 0.06em; }
.eyebrow {
  display: inline-block; text-transform: uppercase; font-size: 11px;
  letter-spacing: 0.14em; font-weight: 700; color: var(--muted-light);
}
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; margin: 12px 0 12px; }
.section-heading .lead { color: var(--muted-light); font-size: 17px; max-width: 600px; }
.section-heading.center .lead { margin-left: auto; margin-right: auto; }

.lead { font-size: 18px; line-height: 1.55; color: var(--muted-light); }
.muted { color: var(--muted-light); }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* On dark sections */
.on-dark { background: var(--bg-dark); color: var(--white); }
.on-dark .eyebrow { color: var(--muted-dark); }
.on-dark .section-heading h2 { color: var(--white); }
.on-dark .section-heading .lead, .on-dark .lead { color: var(--muted-dark); }

/* ============ SECTION STACK / VARIANTS ============ */
.section-stack > .variant { display: none; }
.section-stack > .variant.active { display: block; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 15px;
  border: 0; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-cta); color: #fff;
  box-shadow: 0 12px 30px rgba(127, 77, 246, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(127, 77, 246, 0.5); color: #fff; }
.btn-ghost {
  background: rgba(127, 77, 246, 0.08); color: var(--ink); border: 1px solid var(--stroke-light);
}
.btn-ghost:hover { background: rgba(127, 77, 246, 0.14); }
.btn-ghost-light {
  background: rgba(155, 107, 255, 0.08); color: var(--white); border: 1px solid var(--stroke-dark-strong);
}
.btn-ghost-light:hover { background: rgba(155, 107, 255, 0.16); color: var(--white); }
.btn-block { width: 100%; }
.btn-on-grad { background: #fff; color: var(--accent-3); }
.btn-on-grad:hover { background: #fff; color: var(--accent-3); transform: translateY(-1px); }
.btn-ghost-on-grad { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-ghost-on-grad:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ============ ALERT BAR ============ */
.alert-bar {
  background: var(--bg-darker); color: var(--muted-dark);
  text-align: center; padding: 10px 16px; font-size: 13px;
  border-bottom: 1px solid var(--stroke-dark);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap;
}
.alert-bar strong { color: var(--white); font-weight: 600; }
.alert-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.alert-bar.alt .sep { color: var(--accent); margin: 0 6px; }
.alert-bar.live .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 0 rgba(126, 249, 225, 0.7); animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(126, 249, 225, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(126, 249, 225, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 249, 225, 0); }
}

/* ============ HEADER ============ */
.site-header {
  background: var(--bg-dark); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--stroke-dark);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; gap: 24px;
}
.brand img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.primary-nav { display: flex; gap: 28px; }
.primary-nav a {
  color: var(--white); font-weight: 500; font-size: 15px;
  opacity: 0.85; transition: opacity .15s, color .15s;
}
.primary-nav a:hover { opacity: 1; color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 11px 18px; font-size: 14px; border-radius: 12px; }
.nav-toggle { display: none; background: transparent; border: 0; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 4px 0; }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; }
.hero-v1, .hero-v2 { background: var(--bg-dark); color: var(--white); padding: 90px 0 110px; }
.hero-v3 { background: var(--bg-light); color: var(--ink); padding: 90px 0 110px; }
.hero-glow {
  position: absolute; top: -100px; right: -120px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(155, 107, 255, 0.35), transparent 70%);
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.hero-v3 .hero-glow {
  background: radial-gradient(circle, rgba(155, 107, 255, 0.18), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start;
  position: relative; z-index: 1;
}

/* ===== HERO V2 — Vertical stacked ===== */
.hero-v2-stacked { background: var(--bg-dark); color: var(--white); padding: 90px 0 100px; }
.hero-v2-stacked .container { position: relative; z-index: 1; }
.v2-top { text-align: center; max-width: 880px; margin: 0 auto 56px; }
.v2-top h1 {
  font-size: clamp(40px, 6vw, 76px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.02;
  margin: 22px 0 20px; color: var(--white);
}
.v2-top .lead { color: var(--muted-dark); margin: 0 auto; max-width: 680px; }
.v2-form { max-width: 720px; margin: 0 auto; }

/* ===== HERO V3 — Asymmetric editorial spread ===== */
.hero-v3-editorial { background: var(--bg-dark); color: var(--white); padding: 80px 0 100px; }
.hero-v3-editorial .container { position: relative; z-index: 1; }
.v3-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: center; }
.v3-copy { padding-right: 0; }
.v3-title {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.1; color: var(--white);
  margin: 22px 0 22px;
}
.v3-em {
  font-style: italic; font-weight: 700;
  color: var(--white);
}
.v3-copy .lead { color: var(--muted-dark); max-width: 540px; margin-bottom: 24px; }
.v3-form .contact-card.compact { padding: 24px 22px; }
.v3-form .contact-card h3 { font-size: 19px; }

/* ===== HERO V4 — Inline mini-form + full form below ===== */
.hero-v4-inline { background: var(--bg-dark); color: var(--white); padding: 80px 0 90px; }
.hero-v4-inline .container { position: relative; z-index: 1; }
.v4-top { max-width: 800px; margin: 0 auto 56px; text-align: left; }
.v4-top h1 {
  font-size: clamp(38px, 5.4vw, 64px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.05;
  margin: 22px 0 18px; color: var(--white);
}
.v4-top .lead { color: var(--muted-dark); max-width: 720px; margin-bottom: 28px; }
.hero-mini-form {
  display: flex; gap: 8px; padding: 8px;
  background: var(--panel-dark); border: 1px solid var(--stroke-dark-strong);
  border-radius: 14px; max-width: 560px; margin-bottom: 14px;
  box-shadow: 0 18px 50px rgba(8, 4, 26, 0.5);
}
.hero-mini-form input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 15px;
  padding: 12px 14px; border-radius: 10px;
  background: transparent; color: var(--white);
  border: 0; outline: none;
}
.hero-mini-form input::placeholder { color: var(--muted-dark-2); }
.hero-mini-form .btn { padding: 12px 18px; border-radius: 10px; flex-shrink: 0; }
.hero-mini-foot { color: var(--muted-dark-2); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 28px; }
.v4-form { max-width: 880px; margin: 0 auto; }

/* ===== HERO V5 — Code/terminal hero ===== */
.hero-v5-code { background: var(--bg-dark); color: var(--white); padding: 80px 0 100px; }
.hero-v5-code .container { position: relative; z-index: 1; }
.v5-copy { display: flex; flex-direction: column; gap: 22px; }
.code-window {
  background: #0F0626; border: 1px solid var(--stroke-dark-strong);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(8, 4, 26, 0.6);
}
.code-tabs {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #150A2E, #0F0626);
  border-bottom: 1px solid var(--stroke-dark);
}
.code-tab {
  padding: 6px 14px; border-radius: 6px;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--muted-dark);
}
.code-tab.active { background: var(--bg-darker); color: var(--white); border: 1px solid var(--stroke-dark); }
.code-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 10px var(--mint);
  margin-left: auto; margin-right: 8px;
}
.code-body {
  padding: 20px 8px 22px;
  font-size: clamp(13px, 1.4vw, 16px); line-height: 1.85;
  color: #D8C9FF;
}
.code-line {
  position: relative; padding-left: 48px;
  white-space: nowrap; overflow: hidden;
}
.code-line .ln {
  position: absolute; left: 0; top: 0; width: 36px; padding-right: 12px;
  text-align: right; color: rgba(168, 156, 201, 0.4);
  font-size: 0.85em; user-select: none;
}
.code-line .kw   { color: #FF8FA3; font-weight: 600; }
.code-line .var  { color: #7EF9E1; font-weight: 600; }
.code-line .prop { color: #B998FF; }
.code-line .str  { color: #FFD166; }
.code-line .bool { color: #FF8FA3; }
.code-line .comment { color: var(--muted-dark-2); font-style: italic; }
.v5-lead { color: var(--muted-dark); max-width: 560px; }

.contact-card.v5-card { font-family: var(--font-body); }

@media (max-width: 900px) {
  .v3-grid { grid-template-columns: 1fr; gap: 40px; }
  .v3-title { font-size: clamp(40px, 9vw, 72px); }
  .hero-mini-form { flex-direction: column; }
  .hero-mini-form .btn { width: 100%; }
  .code-body { font-size: 12px; }
  .code-line { font-size: 12px; }
}

/* ===== Equal-height work cards (force same size) ===== */
.work-card { height: 100%; }
.wc-body { display: flex; flex-direction: column; flex: 1; }
.wc-body p { flex: 1; }
.hero-centered { text-align: center; max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.hero-copy h1 {
  font-size: clamp(36px, 5vw, 60px); font-weight: 700;
  margin: 22px 0 18px; line-height: 1.05;
}
.hero-v1 .hero-copy h1, .hero-v2 .hero-copy h1, .hero-v2 h1 { color: var(--white); }
.hero-v3 .hero-copy h1 { color: var(--ink); }
.hero-centered h1 { color: var(--white); margin: 22px auto 18px; }
.hero .lead { font-size: 18px; max-width: 620px; }
.hero-v1 .lead, .hero-v2 .lead { color: var(--muted-dark); }
.hero-centered .lead { color: var(--muted-dark); margin-left: auto; margin-right: auto; }
.hero-v3 .lead { color: var(--muted-light); }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(155, 107, 255, 0.10); border: 1px solid var(--stroke-dark-strong);
  color: var(--accent); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
}
.eyebrow-pill.light { background: rgba(127, 77, 246, 0.08); border-color: var(--stroke-light-strong); color: var(--accent-2); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.hero-ctas.centered { justify-content: center; }

.metric-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.metric-row.centered { justify-content: center; }
.metric-chip {
  padding: 12px 16px; border-radius: 12px;
  background: var(--panel-dark); border: 1px solid var(--stroke-dark);
  color: var(--white); font-size: 13px; font-weight: 600;
}
.metric-chip.light { background: rgba(127, 77, 246, 0.06); border-color: var(--stroke-light); color: var(--ink); }

/* ============ HERO FORM ============ */
.contact-card {
  background: var(--panel-dark); border: 1px solid var(--stroke-dark-strong);
  border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: 0 30px 80px rgba(8, 4, 26, 0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  color: var(--white);
}
.contact-card.wide { max-width: 720px; margin: 40px auto 0; }
.contact-card.light {
  background: #fff; border: 1px solid var(--stroke-light); color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.contact-card h3 { color: inherit; font-size: 22px; margin: 6px 0 6px; }
.contact-card .eyebrow { color: var(--muted-dark); font-family: var(--font-mono); margin-bottom: 4px; }
.contact-card.light .eyebrow { color: var(--muted-light); }
.contact-card .muted { margin-bottom: 18px; color: var(--muted-dark); }
.contact-card.light .muted { color: var(--muted-light); }

.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted-dark); font-weight: 500; }
.contact-card.light .contact-form label { color: var(--muted-light); }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 15px;
  padding: 12px 14px; border-radius: 12px;
  background: var(--panel-dark-2); color: var(--white);
  border: 1px solid var(--stroke-dark); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted-dark-2); }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(155, 107, 255, 0.18);
}
.contact-card.light .contact-form input, .contact-card.light .contact-form textarea {
  background: #F8F5FF; color: var(--ink); border-color: var(--stroke-light);
}
.contact-card.light .contact-form input::placeholder, .contact-card.light .contact-form textarea::placeholder { color: #9690B0; }
.contact-card.light .contact-form input:focus, .contact-card.light .contact-form textarea:focus {
  border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(127, 77, 246, 0.14);
}
.contact-form textarea { resize: vertical; min-height: 100px; }

.contact-form-grid { grid-template-columns: 1fr 1fr; }
.contact-form-grid .g-half { grid-column: span 1; }
.contact-form-grid .g-full { grid-column: 1 / -1; }

/* ============ TRUST STRIP ============ */
.trust-strip { background: var(--bg-dark); padding: 36px 0; border-top: 1px solid var(--stroke-dark); border-bottom: 1px solid var(--stroke-dark); color: var(--muted-dark); }
.trust-eyebrow { text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-dark-2); margin-bottom: 20px; }
.logo-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 36px; column-gap: 48px;
}
.logo-slot {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  color: var(--muted-dark-2); opacity: 0.85; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px;
}
.logo-slot img {
  height: 30px; width: auto; max-width: 140px;
  object-fit: contain; display: block;
  opacity: 0.78;
  transition: opacity .2s ease, transform .2s ease;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .logo-slot:hover img,
.logo-row .logo-slot:hover img { opacity: 1; transform: scale(1.06); }
.trust-strip.stat { padding: 56px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; }
.stat-label { color: var(--muted-dark); font-size: 13px; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.12em; }
.marquee-wrap { padding-bottom: 28px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: inline-flex; gap: 56px; padding: 12px 0; align-items: center;
  animation: marquee 50s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ SERVICES — V1 Alternating editorial rows with screenshots ============ */
.srv-rows { background: var(--bg-light); padding: 100px 0 110px; }
.srv-rows .section-heading h2 { color: var(--ink); font-size: clamp(32px, 4vw, 48px); }
.srv-rows .section-heading .lead { color: var(--muted-light); }
.rows-stack { display: flex; flex-direction: column; gap: 80px; }
.row-block {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.row-block.reverse { grid-template-columns: 1fr 1.1fr; }
.row-block.reverse .row-img { order: 2; }
.row-block.reverse .row-copy { order: 1; }
.row-img { margin: 0; padding: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--stroke-light); box-shadow: var(--shadow-soft); }
.row-img img { width: 100%; height: auto; display: block; aspect-ratio: 4/3; object-fit: cover; }
.row-copy h3 { font-size: clamp(26px, 3vw, 36px); color: var(--ink); margin: 12px 0 14px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.row-copy p { color: var(--muted-light); font-size: 17px; margin-bottom: 22px; }
.srv-tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(127, 77, 246, 0.10); border: 1px solid var(--stroke-light);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-2); font-weight: 700;
}
.srv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.srv-tags span {
  font-family: var(--font-mono); font-size: 11px;
  padding: 6px 10px; border-radius: 8px;
  background: #fff; color: var(--ink); border: 1px solid var(--stroke-light);
  font-weight: 600;
}
.srv-tags.inverse span {
  background: rgba(255,255,255,0.10); color: var(--white); border-color: rgba(255,255,255,0.18);
}

/* ============ SERVICES — V3 Tabbed deep-dive ============ */
.srv-tabbed { background: var(--bg-light); padding: 60px 0 70px; }
.srv-tabbed .section-heading { margin-bottom: 28px; }
.srv-tabbed .section-heading h2 { color: var(--ink); }
.srv-tabbar {
  display: inline-flex; gap: 6px; padding: 6px;
  background: #fff; border-radius: 14px;
  border: 1px solid var(--stroke-light);
  margin: 0 auto 28px; box-shadow: var(--shadow-soft);
}
.srv-tabbed .container { text-align: center; }
.srv-tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 10px;
  background: transparent; border: 0;
  color: var(--muted-light); font-weight: 600; font-size: 14px;
  transition: background .15s, color .15s;
}
.srv-tab:hover { color: var(--ink); }
.srv-tab.active {
  background: var(--grad-cta); color: #fff;
  box-shadow: 0 8px 24px rgba(127, 77, 246, 0.3);
}
.srv-tab-num { font-size: 11px; letter-spacing: 0.12em; opacity: 0.7; }
.srv-tab.active .srv-tab-num { opacity: 0.9; }
.srv-tab-panels { text-align: left; position: relative; }
.srv-tab-panel { display: none; }
.srv-tab-panel.active { display: block; animation: fadeIn .25s ease; }
.srv-tp-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center;
  background: #fff; padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-light); box-shadow: var(--shadow-soft);
}
.srv-tp-img { margin: 0; padding: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stroke-light); }
.srv-tp-img img { width: 100%; height: auto; display: block; }
.srv-tp-copy h3 { font-size: clamp(24px, 2.8vw, 32px); color: var(--ink); margin-bottom: 14px; font-weight: 700; }
.srv-tp-copy p { color: var(--muted-light); margin-bottom: 22px; }

/* ============ SERVICES — V4 Visual cards with screenshots ============ */
.srv-visual-cards { background: var(--bg-light); padding: 100px 0 110px; }
.srv-visual-cards .section-heading h2 { color: var(--ink); }
.vc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vc-card {
  background: #fff; border: 1px solid var(--stroke-light);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .2s;
}
.vc-card:hover { transform: translateY(-3px); box-shadow: 0 28px 60px rgba(30, 19, 60, 0.14); }
.vc-img { margin: 0; padding: 0; overflow: hidden; border-bottom: 1px solid var(--stroke-light); }
.vc-img img { width: 100%; height: auto; display: block; aspect-ratio: 16/10; object-fit: cover; }
.vc-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.vc-body h3 { font-size: 24px; color: var(--ink); margin: 4px 0 6px; font-weight: 700; line-height: 1.2; }
.vc-body p { color: var(--muted-light); font-size: 15px; margin-bottom: 8px; }
.vc-body .practice-cta { margin-top: auto; }

/* ============ SERVICES — V5 Full-bleed split-screen 50/50 ============ */
.srv-split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 620px;
}
.ss-half {
  padding: 80px 60px; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.ss-software {
  background: var(--bg-dark); color: var(--white);
}
.ss-software::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(155, 107, 255, 0.25), transparent 60%);
  pointer-events: none;
}
.ss-web { background: var(--bg-light); color: var(--ink); }
.ss-web::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(127, 77, 246, 0.12), transparent 60%);
  pointer-events: none;
}
.ss-content { position: relative; z-index: 1; max-width: 480px; display: flex; flex-direction: column; gap: 14px; }
.ss-num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
  color: var(--accent);
}
.ss-software .ss-num { color: var(--accent); }
.ss-web .ss-num { color: var(--accent-2); }
.ss-content h3 {
  font-size: clamp(28px, 3vw, 38px); margin: 0 0 4px;
  font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
}
.ss-software h3 { color: var(--white); }
.ss-web h3 { color: var(--ink); }
.ss-content p { font-size: 16px; line-height: 1.55; margin-bottom: 14px; }
.ss-software p { color: var(--muted-dark); }
.ss-web p { color: var(--muted-light); }
.ss-content .btn { align-self: flex-start; margin-top: 8px; }

@media (max-width: 900px) {
  .row-block, .row-block.reverse { grid-template-columns: 1fr; gap: 28px; }
  .row-block.reverse .row-img { order: 1; }
  .row-block.reverse .row-copy { order: 2; }
  .srv-tp-grid { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .vc-grid { grid-template-columns: 1fr; }
  .srv-split { grid-template-columns: 1fr; min-height: auto; }
  .ss-half { padding: 60px 32px; }
}

/* ============ SERVICES — V2 (editorial split, big numerals) ============ */
.services-editorial {
  background: var(--bg-light); padding: 110px 0 130px;
  position: relative; overflow: hidden;
}
.services-bg-glow {
  position: absolute; inset: -10% -20% auto auto;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(155, 107, 255, 0.10), transparent 70%);
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.services-editorial .container { position: relative; z-index: 1; }
.services-editorial .section-heading { margin-bottom: 64px; max-width: 780px; }
.services-editorial .section-heading h2 {
  font-size: clamp(36px, 4.6vw, 60px); color: var(--ink);
  font-weight: 700; line-height: 1.0;
  letter-spacing: -0.02em;
}
.services-editorial .section-heading .lead { color: var(--muted-light); margin-top: 20px; }

.practice-row {
  display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 60px;
  align-items: center; padding: 56px 0;
  border-top: 1px solid rgba(44, 23, 97, 0.12);
}
.practice-row:last-child { border-bottom: 1px solid rgba(44, 23, 97, 0.12); }
.practice-row.reverse { grid-template-columns: 1fr minmax(220px, 280px); }
.practice-row.reverse .practice-num { order: 2; text-align: right; }
.practice-row.reverse .practice-body { order: 1; }

.practice-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(120px, 16vw, 220px); line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  user-select: none;
}

.practice-tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(127, 77, 246, 0.10); border: 1px solid var(--stroke-light);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-2); font-weight: 700;
  margin-bottom: 18px;
}
.practice-body h3 {
  font-size: clamp(26px, 3vw, 38px); color: var(--ink);
  margin: 0 0 16px; font-weight: 700; line-height: 1.15;
  max-width: 720px; letter-spacing: -0.01em;
}
.practice-body p { color: var(--muted-light); font-size: 17px; max-width: 640px; margin-bottom: 26px; line-height: 1.55; }

.practice-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.practice-tags span {
  font-family: var(--font-mono); font-size: 12px;
  padding: 7px 12px; border-radius: 8px;
  background: #fff; color: var(--ink); border: 1px solid var(--stroke-light);
  font-weight: 600; letter-spacing: 0.02em;
  transition: border-color .15s, color .15s, transform .12s;
}
.practice-tags span:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-1px); }

.practice-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.practice-mini {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.10em;
  text-transform: uppercase; padding: 11px 18px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 700;
  transition: background .15s, color .15s, transform .1s, box-shadow .2s;
}
.practice-mini:hover {
  background: var(--accent-2); color: #fff; transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(127, 77, 246, 0.3);
}

@media (max-width: 760px) {
  .services-editorial { padding: 70px 0 80px; }
  .practice-row, .practice-row.reverse {
    grid-template-columns: 1fr; gap: 16px; padding: 36px 0;
  }
  .practice-row.reverse .practice-num { order: 1; text-align: left; }
  .practice-row.reverse .practice-body { order: 2; }
  .practice-num { font-size: 96px; }
  .services-editorial .section-heading { margin-bottom: 32px; }
  .practice-cta { gap: 14px; }
}

/* ============ RECENT WORK (toggle + cards + modal) ============ */
.recent-section {
  background: var(--bg-dark); color: var(--white); padding: 90px 0 100px;
}
.recent-section .section-heading h2 { color: var(--white); font-size: clamp(32px, 4vw, 46px); }
.recent-section .section-heading .lead { color: var(--muted-dark); }
.recent-section .section-heading .eyebrow { color: var(--muted-dark); }

/* Scoped overrides — beat the legacy .work-grid rules from v2.php */
.recent-section .work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  background: transparent; padding: 0; border: 0; box-shadow: none;
  align-items: stretch;
}
.recent-section .work-grid.websites { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .recent-section .work-grid,
  .recent-section .work-grid.websites { grid-template-columns: 1fr; gap: 18px; }
  .recent-section .wc-tag { white-space: normal; }
}

/* Toggle (Software / Websites) */
.work-toggle {
  display: inline-flex; gap: 6px; padding: 6px;
  background: var(--panel-dark); border-radius: 14px;
  border: 1px solid var(--stroke-dark);
  margin: 0 auto 36px;
}
.work-toggle { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.wt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  background: transparent; border: 0;
  color: var(--muted-dark); font-weight: 600; font-size: 14px;
  font-family: var(--font-display);
  transition: background .15s, color .15s;
}
.wt-btn:hover { color: var(--white); }
.wt-btn.active {
  background: var(--grad-cta); color: #fff;
  box-shadow: 0 8px 24px rgba(127, 77, 246, 0.3);
}

.work-panels { position: relative; }
.work-panel { display: none; }
.work-panel.active { display: block; animation: fadeIn .2s ease; }

.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.work-grid.websites { grid-template-columns: repeat(3, 1fr); }

.work-card {
  background: var(--panel-dark); border: 1px solid var(--stroke-dark);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; cursor: pointer;
  transition: transform .15s ease, border-color .2s, box-shadow .2s;
}
.work-card:hover {
  transform: translateY(-3px); border-color: var(--accent);
  box-shadow: 0 28px 60px rgba(8, 4, 26, 0.5);
}
.wc-img {
  margin: 0; padding: 0; overflow: hidden;
  border-bottom: 1px solid var(--stroke-dark); position: relative;
  width: 100%; aspect-ratio: 16 / 10;
  background: var(--bg-darker);
  flex-shrink: 0;
}
.wc-img img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: top center;
  transition: transform .4s ease;
}
.work-card:hover .wc-img img { transform: scale(1.04); }
.wc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.wc-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wc-tag {
  display: inline-block; padding: 4px 9px; border-radius: 6px;
  background: rgba(155, 107, 255, 0.10); color: var(--accent);
  border: 1px solid var(--stroke-dark);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em;
  text-transform: uppercase; font-weight: 700;
}
.work-card h3 {
  font-size: 22px; color: var(--white); margin: 4px 0 4px;
  font-weight: 700; line-height: 1.2;
}
.work-card p { color: var(--muted-dark); font-size: 14px; line-height: 1.55; flex: 1; }
.wc-cta {
  color: var(--accent); font-weight: 700; font-size: 14px; margin-top: 6px;
  transition: color .15s;
}
.work-card:hover .wc-cta { color: var(--mint); }

@media (max-width: 900px) {
  .work-grid, .work-grid.websites { grid-template-columns: 1fr; }
}

/* ============ WORK MODAL (refined) ============ */
.work-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.work-modal.is-open { display: flex; animation: fadeIn .22s ease; }
.wm-backdrop {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(127, 77, 246, 0.20), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(126, 249, 225, 0.10), transparent 50%),
    rgba(8, 4, 26, 0.92);
  backdrop-filter: blur(14px);
}
.wm-dialog {
  position: relative; z-index: 1;
  width: min(1180px, 100%); max-height: 92vh;
  background:
    linear-gradient(180deg, rgba(155, 107, 255, 0.04), transparent 30%),
    var(--panel-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 60px rgba(255, 255, 255, 0.10),
    0 0 140px rgba(155, 107, 255, 0.28);
  display: flex; flex-direction: column; overflow: hidden;
  animation: wmRise .28s cubic-bezier(.2,.7,.2,1);
}
@keyframes wmRise {
  from { opacity: 0; transform: translateY(20px) scale(.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.wm-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 22px 28px;
  border-bottom: 1px solid var(--stroke-dark);
}
.wm-meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wm-tag {
  display: inline-block; align-self: flex-start;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
}
.wm-title { color: var(--white); font-size: 22px; font-weight: 700; margin: 2px 0 2px; letter-spacing: -0.01em; }
.wm-desc { color: var(--muted-dark); font-size: 14px; margin: 0; max-width: 760px; line-height: 1.5; }
.wm-close {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: rgba(155, 107, 255, 0.06); border: 1px solid var(--stroke-dark);
  color: var(--muted-dark);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.wm-close:hover { background: rgba(255, 139, 159, 0.10); border-color: rgba(255, 139, 159, 0.4); color: #FF8FA3; transform: rotate(90deg); }

/* Stage with browser-frame around the image */
.wm-stage {
  position: relative; flex: 1; min-height: 0;
  padding: 24px 56px;
  background:
    radial-gradient(ellipse at center, rgba(155, 107, 255, 0.06), transparent 70%),
    var(--bg-darker);
  display: flex; align-items: center; justify-content: center;
}
.wm-figure {
  margin: 0; padding: 0;
  width: 100%; max-width: 820px; max-height: 56vh;
  display: flex; flex-direction: column;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--stroke-dark);
  background: #fff;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
.wm-figure::before {
  content: '';
  display: flex; flex-shrink: 0;
  height: 32px;
  background:
    linear-gradient(180deg, #150A2E, #0F0626);
  border-bottom: 1px solid var(--stroke-dark);
  /* Mac-style window dots via background-image */
  background-image:
    radial-gradient(circle at 16px 16px, #FF8FA3 5px, transparent 5px),
    radial-gradient(circle at 36px 16px, #FFC857 5px, transparent 5px),
    radial-gradient(circle at 56px 16px, #7EF9E1 5px, transparent 5px),
    linear-gradient(180deg, #150A2E, #0F0626);
}
.wm-img {
  width: 100%; height: auto; display: block;
  max-height: calc(56vh - 32px);
  aspect-ratio: 16/10; object-fit: cover; object-position: top center;
  background: #0a0518;
  animation: wmImgFade .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes wmImgFade {
  from { opacity: 0; transform: scale(0.99); }
  to   { opacity: 1; transform: scale(1); }
}

.wm-prev, .wm-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(15, 6, 38, 0.85); border: 1px solid var(--stroke-dark-strong);
  color: var(--white); z-index: 2;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: background .15s, border-color .15s, transform .15s, box-shadow .2s;
}
.wm-prev { left: 14px; }
.wm-next { right: 14px; }
.wm-prev:hover, .wm-next:hover {
  background: var(--accent); border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 30px rgba(127, 77, 246, 0.4);
}

.wm-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 28px;
  border-top: 1px solid var(--stroke-dark);
  background: rgba(15, 6, 38, 0.4);
}
.wm-counter {
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--muted-dark); font-weight: 600;
}
.wm-counter .wm-current { color: var(--white); font-weight: 700; }
.wm-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.wm-thumb {
  width: 76px; height: 48px; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; padding: 0; background: var(--bg-darker);
  cursor: pointer;
  transition: border-color .15s, transform .12s, box-shadow .2s;
  position: relative;
}
.wm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.7; transition: opacity .15s; }
.wm-thumb:hover img { opacity: 1; }
.wm-thumb:hover { transform: translateY(-2px); }
.wm-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(155, 107, 255, 0.3), 0 8px 20px rgba(127, 77, 246, 0.35);
}
.wm-thumb.active img { opacity: 1; }

body.modal-open { overflow: hidden; }

@media (max-width: 760px) {
  .work-modal { padding: 12px; }
  .wm-head { padding: 16px 18px; }
  .wm-stage { padding: 16px; }
  .wm-foot { padding: 12px 18px; flex-wrap: wrap; }
  .wm-prev { left: 8px; }
  .wm-next { right: 8px; }
  .wm-prev, .wm-next { width: 40px; height: 40px; }
  .wm-title { font-size: 18px; }
  .wm-desc { font-size: 13px; }
  .wm-thumb { width: 60px; height: 38px; }
}

/* ============ REVIEWS — shared base ============ */
.rev-heading { max-width: 720px; margin-bottom: 36px; }
.rev-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.rev-heading .eyebrow { color: var(--muted-light); font-family: var(--font-mono); margin-bottom: 12px; display: inline-block; }
.rev-heading h2 { color: var(--ink); font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.01em; }
.rev-stars {
  color: #FFC857; font-size: 14px; letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.avatar.sm {
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 13px;
  background: var(--grad-cta); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display);
  flex-shrink: 0;
}
.rev-who {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; color: var(--muted-light); font-size: 13px;
}
.rev-who strong { color: var(--ink); font-weight: 700; font-size: 14px; display: block; }
.rev-who span { color: var(--muted-light); font-size: 12px; display: block; }

/* ============ REVIEWS V1 — Featured + side list ============ */
.rev-featured { background: var(--bg-light); padding: 70px 0 80px; }
.rev-feat-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.rev-feat-main {
  background: #fff; border: 1px solid var(--stroke-light);
  border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.rev-feat-main::before {
  content: '"'; position: absolute; top: 12px; right: 28px;
  font-family: var(--font-display); font-size: 120px;
  color: rgba(127, 77, 246, 0.10); line-height: 1; pointer-events: none;
}
.rev-feat-main blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 500;
  color: var(--ink); line-height: 1.4; margin: 0 0 24px;
  letter-spacing: -0.005em;
}
.rev-attrib { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.rev-attrib .who strong { color: var(--ink); font-weight: 700; font-size: 15px; display: block; }
.rev-attrib .who span { color: var(--muted-light); font-size: 13px; display: block; }
.rev-meta { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--stroke-light); }
.rev-meta-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 6px;
  background: rgba(127, 77, 246, 0.10); color: var(--accent-2);
  border: 1px solid var(--stroke-light); font-weight: 700;
}
.rev-feat-side { display: flex; flex-direction: column; gap: 14px; }
.rev-side-card {
  background: #fff; border: 1px solid var(--stroke-light);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform .15s, box-shadow .2s;
}
.rev-side-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(30, 19, 60, 0.12); }
.rev-side-card p { color: var(--ink); font-size: 14px; line-height: 1.5; }

/* ============ REVIEWS V2 — 3-card grid ============ */
.rev-grid-section { background: var(--bg-light); padding: 70px 0 80px; }
.rev-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rev-card {
  background: #fff; border: 1px solid var(--stroke-light);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .15s, box-shadow .2s;
}
.rev-card:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(30, 19, 60, 0.12); }
.rev-card p { color: var(--ink); font-size: 15px; line-height: 1.55; }

/* ============ REVIEWS V3 — Wall (masonry) ============ */
.rev-wall-section { background: var(--bg-light); padding: 70px 0 80px; }
.rev-wall { columns: 3 280px; column-gap: 18px; }
.rev-wall-card {
  break-inside: avoid; margin: 0 0 18px;
  background: #fff; border: 1px solid var(--stroke-light);
  border-radius: var(--radius); padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .15s, box-shadow .2s;
}
.rev-wall-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(30, 19, 60, 0.12); }
.rev-wall-card p { color: var(--ink); font-size: 14px; line-height: 1.55; }

/* ============ REVIEWS — Simple 2x2 grid (locked) ============ */
.rev-simple {
  background: var(--bg-light);
  padding: 80px 0 90px;
  position: relative; overflow: hidden;
}
.rev-simple::before {
  content: ''; position: absolute; right: -10%; top: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(155, 107, 255, 0.08), transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.rev-simple .container { position: relative; z-index: 1; }
.rev-simple-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.rev-simple-card {
  background: #fff; border: 1px solid var(--stroke-light);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .15s ease, box-shadow .2s;
}
.rev-simple-card:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(30, 19, 60, 0.12); }
.rev-simple-card blockquote {
  margin: 0; padding: 0;
  font-size: 17px; line-height: 1.5; color: var(--ink);
  font-weight: 500;
  flex: 1;
}
.rev-simple-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 14px;
  border-top: 1px solid var(--stroke-light);
}
.rev-simple-tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: rgba(127, 77, 246, 0.10); color: var(--accent-2);
  border: 1px solid var(--stroke-light);
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}
@media (max-width: 760px) {
  .rev-simple-grid { grid-template-columns: 1fr; }
  .rev-simple-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ============ REVIEWS V4 — Marquee ticker ============ */
.rev-marquee-section { background: var(--bg-light); padding: 70px 0 80px; overflow: hidden; }
.rev-marquee { display: flex; flex-direction: column; gap: 18px; padding: 12px 0; }
.rev-track {
  display: flex; gap: 18px; flex-shrink: 0;
  animation: rev-scroll 50s linear infinite;
}
.rev-track.right { animation-direction: reverse; animation-duration: 60s; }
.rev-marquee:hover .rev-track { animation-play-state: paused; }
@keyframes rev-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.rev-tick {
  flex: 0 0 360px;
  background: #fff; border: 1px solid var(--stroke-light);
  border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 4px;
}
.rev-tick p { color: var(--ink); font-size: 14px; line-height: 1.5; }
.rev-tick .rev-who { font-size: 12px; }
.rev-tick .rev-who strong { font-size: 13px; display: inline; }
.rev-tick .rev-who span { display: inline; margin-left: 4px; }

/* Mobile: drop the marquee animation, convert tracks to native scroll-snap sliders */
@media (max-width: 760px) {
  .rev-marquee-section { padding: 50px 0 60px; overflow: hidden; }
  .rev-marquee {
    flex-direction: column; gap: 14px;
    padding: 0; mask-image: none;
  }
  .rev-marquee:hover .rev-track { animation-play-state: running; }
  .rev-track,
  .rev-track.right {
    animation: none !important;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 20px 12px;
    scroll-padding-left: 20px;
    scrollbar-width: none;
  }
  .rev-track::-webkit-scrollbar { display: none; }
  .rev-tick {
    flex: 0 0 calc(100vw - 72px);
    width: calc(100vw - 72px);
    scroll-snap-align: start;
  }
  .rev-tick[aria-hidden="true"] { display: none; }
}

/* ============ REVIEWS V5 — Big hero quote + logo wall ============ */
.rev-hero-quote { background: var(--bg-light); padding: 90px 0 100px; text-align: center; position: relative; overflow: hidden; }
.rev-hero-quote::before {
  content: ''; position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(155, 107, 255, 0.08), transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.rev-hero-quote .container { position: relative; z-index: 1; }
.center-block { display: inline-block; margin-bottom: 22px; color: var(--muted-light); }
.rev-mega-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(28px, 4.6vw, 56px); font-weight: 500;
  color: var(--ink); line-height: 1.18; margin: 0 auto 28px;
  letter-spacing: -0.015em; max-width: 1000px;
}
.rev-mega-attrib {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 60px;
}
.rev-mega-attrib .who { text-align: left; }
.rev-mega-attrib .who strong { color: var(--ink); font-weight: 700; font-size: 15px; display: block; }
.rev-mega-attrib .who span { color: var(--muted-light); font-size: 13px; display: block; }
.rev-logo-wall { padding-top: 40px; border-top: 1px solid var(--stroke-light); }
.rev-logo-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted-light); margin-bottom: 22px;
  font-weight: 700;
}
.rev-logo-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 28px; column-gap: 40px;
}
.rev-logo-row .logo-name {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: var(--muted-light); letter-spacing: 0.02em;
  opacity: 0.7;
  transition: opacity .15s, color .15s;
}
.rev-logo-row .logo-name:hover { color: var(--accent-2); opacity: 1; }

@media (max-width: 900px) {
  .rev-feat-grid { grid-template-columns: 1fr; }
  .rev-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .rev-wall { columns: 1; }
}

/* ============ TESTIMONIAL SLIDER (light theme — legacy / unused now) ============ */
.testimonial-slider {
  background: var(--bg-light); color: var(--ink); padding: 110px 0;
  position: relative; overflow: hidden;
}
.testimonial-slider::before {
  content: ''; position: absolute; left: -10%; bottom: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(155, 107, 255, 0.10), transparent 70%);
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.testimonial-slider .container { position: relative; z-index: 1; }
.ts-intro { margin-bottom: 28px; max-width: 720px; }
.ts-intro .eyebrow { color: var(--muted-light); font-family: var(--font-mono); margin-bottom: 12px; display: block; }
.ts-intro h2 { color: var(--ink); font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.01em; }
.ts-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px; flex-wrap: wrap; gap: 14px;
  padding-bottom: 22px; border-bottom: 1px solid var(--stroke-light-strong);
}
.ts-counter {
  color: var(--muted-light); font-size: 13px; letter-spacing: 0.12em;
}
.ts-counter .ts-current { color: var(--ink); font-weight: 700; }
.ts-controls { display: flex; gap: 8px; }
.ts-prev, .ts-next {
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1px solid var(--stroke-light-strong);
  color: var(--ink); display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
  box-shadow: var(--shadow-soft);
}
.ts-prev:hover, .ts-next:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff;
  transform: translateY(-1px);
}
.ts-viewport {
  position: relative; overflow: hidden;
  min-height: 380px;
}
.ts-track { position: absolute; inset: 0; }
.ts-slide {
  position: absolute; inset: 0; opacity: 0; transform: translateY(12px);
  transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  display: flex; flex-direction: column; justify-content: center;
}
.ts-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ts-slide blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(24px, 3vw, 38px); line-height: 1.3;
  color: var(--ink); margin: 0 0 32px; max-width: 980px;
  letter-spacing: -0.01em;
}
.ts-attrib { display: flex; align-items: center; gap: 14px; }
.ts-attrib .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-cta); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; font-family: var(--font-display);
  box-shadow: 0 8px 20px rgba(127, 77, 246, 0.3);
}
.ts-attrib .who { display: flex; flex-direction: column; }
.ts-attrib .who strong { color: var(--ink); font-weight: 700; font-size: 15px; }
.ts-attrib .who span { color: var(--muted-light); font-size: 13px; }
.ts-dots {
  display: flex; gap: 10px; margin-top: 32px; justify-content: flex-start;
}
.ts-dot {
  width: 36px; height: 4px; border-radius: 2px;
  background: rgba(127, 77, 246, 0.20); border: 0; padding: 0;
  transition: background .2s, width .2s;
}
.ts-dot:hover { background: rgba(127, 77, 246, 0.45); }
.ts-dot.active { background: var(--accent-2); width: 56px; }

@media (max-width: 700px) {
  .ts-slide blockquote { font-size: 20px; }
  .ts-viewport { min-height: 280px; }
}

/* ============ FOOTER V2 (multi-column sitemap) ============ */
.site-footer-v2 {
  background: var(--bg-darker); padding: 70px 0 28px;
  border-top: 1px solid var(--stroke-dark);
  color: var(--muted-dark);
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 3fr; gap: 56px;
  padding-bottom: 48px; border-bottom: 1px solid var(--stroke-dark);
  margin-bottom: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.footer-brand img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  align-self: flex-start;
}
.footer-brand .est {
  display: inline-block; font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.16em; color: var(--accent);
  font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: rgba(155, 107, 255, 0.10); border: 1px solid var(--stroke-dark);
  align-self: flex-start;
}
.footer-tag { color: var(--muted-dark); font-size: 14px; line-height: 1.55; margin-top: 8px; }
.footer-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h6 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white); margin: 0 0 6px;
  font-weight: 700;
}
.footer-col a {
  color: var(--muted-dark); font-size: 14px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom .copyright {
  color: var(--muted-dark-2); font-size: 12px; letter-spacing: 0.04em;
}
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--panel-dark); border: 1px solid var(--stroke-dark);
  color: var(--muted-dark);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s, border-color .15s, background .15s;
}
.footer-bottom .socials a:hover {
  color: var(--accent); border-color: var(--accent);
  background: rgba(155, 107, 255, 0.10);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .services-2col { grid-template-columns: 1fr; }
  .recent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ts-header { flex-direction: column; align-items: flex-start; }
  .recent-img img { aspect-ratio: 16/9; }
}

/* ============ SERVICES (V1 alternating editorial) ============ */
.services { padding: 110px 0; background: var(--bg-light); }
.services .section-heading h2 { color: var(--ink); }
.services .section-heading .lead { color: var(--muted-light); }

.editorial-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  margin-bottom: 80px;
}
.editorial-row:last-child { margin-bottom: 0; }
.editorial-row.reverse > .er-image { order: 2; }
.editorial-row.reverse > .er-copy { order: 1; }

.er-copy h3 { font-size: 28px; margin: 8px 0 14px; color: var(--ink); }
.er-copy p { color: var(--muted-light); font-size: 16px; margin-bottom: 18px; }
.er-copy .eyebrow { font-family: var(--font-mono); color: var(--accent-2); }

.check-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--ink); font-weight: 500; font-size: 15px; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 5px;
  background: rgba(127, 77, 246, 0.12);
}
.check-list li::after {
  content: ''; position: absolute; left: 5px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}
.link-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--accent-2); font-size: 15px;
}
.link-cta:hover { color: var(--accent-3); }

/* Real product images (nano-banana) */
.er-img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--stroke-light);
  box-shadow: var(--shadow-soft);
  background: #fff;
}
.editorial-row .er-img:hover { transform: translateY(-2px); transition: transform .2s ease; }

/* Comparison hero image (above table) */
.compare-hero {
  margin: 0 0 36px; padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke-dark);
  box-shadow: 0 22px 60px rgba(8, 4, 26, 0.5);
}
.compare-hero img { width: 100%; height: auto; display: block; }

/* UI mockups (CSS-art) — kept as fallback / unused now but harmless */
.ui-mock {
  border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--stroke-light);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3; padding: 0; display: flex; flex-direction: column;
}
.ui-bar { display: flex; gap: 6px; padding: 10px 14px; background: #F4F0FF; border-bottom: 1px solid var(--stroke-light); }
.ui-bar span { width: 10px; height: 10px; border-radius: 50%; background: #D8CEFF; }
.ui-bar span:nth-child(1) { background: #FFB8B8; }
.ui-bar span:nth-child(2) { background: #FFD699; }
.ui-bar span:nth-child(3) { background: #B7F5C2; }
.ui-bar.dark { background: #0F0626; border-bottom-color: var(--stroke-dark); }
.ui-bar.dark span { background: #2C1B5C; }
.ui-body { display: flex; flex: 1; }
.ui-body.dark { background: #0F0626; }
.ui-side { width: 64px; background: #F8F5FF; border-right: 1px solid var(--stroke-light); padding: 12px 8px; }
.ui-side.dark { background: #150A2E; border-right-color: var(--stroke-dark); }
.ui-side::before { content: ''; display: block; height: 8px; border-radius: 3px; background: #E6DDFF; margin-bottom: 8px; }
.ui-side.dark::before { background: #2C1B5C; }
.ui-side::after { content: ''; display: block; height: 8px; border-radius: 3px; background: var(--accent); margin-bottom: 8px; opacity: 0.8; }
.ui-side.dark::after { background: var(--accent); opacity: 0.6; }
.ui-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ui-main.dark { background: #0F0626; }
.ui-h { height: 18px; width: 60%; background: #2C1B5C; border-radius: 5px; opacity: 0.18; }
.ui-h.dark { background: #2C1B5C; opacity: 1; }
.ui-chart {
  flex: 1; min-height: 80px;
  background: linear-gradient(180deg, rgba(155, 107, 255, 0.18), rgba(155, 107, 255, 0.04));
  border-radius: 8px; position: relative; overflow: hidden;
}
.ui-chart::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 30%; height: 2px;
  background: var(--accent); opacity: 0.6;
  clip-path: polygon(0 60%, 12% 40%, 24% 70%, 36% 30%, 48% 50%, 60% 20%, 72% 40%, 84% 10%, 100% 30%, 100% 100%, 0 100%);
}
.ui-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-cards > div { height: 36px; background: #F4F0FF; border-radius: 6px; border: 1px solid var(--stroke-light); }
.ui-table { display: grid; gap: 6px; }
.ui-row { height: 22px; border-radius: 5px; background: #150A2E; border: 1px solid var(--stroke-dark); }
.ui-row:nth-child(1) { background: #1F1140; }

.ai-mock .ui-body { padding: 14px; gap: 12px; flex-direction: row; }
.ai-chat { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ai-bubble {
  height: 22px; border-radius: 12px; max-width: 85%;
  background: #EDE5FF;
}
.ai-bubble.user { align-self: flex-end; background: var(--accent); opacity: 0.85; }
.ai-bubble.bot { align-self: flex-start; }
.ai-bubble.short { width: 50%; }
.ai-graph {
  flex: 0 0 110px; position: relative;
  background: #F4F0FF; border-radius: 10px; border: 1px solid var(--stroke-light);
}
.ai-graph .node {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}
.ai-graph .n1 { top: 18%; left: 22%; }
.ai-graph .n2 { top: 50%; left: 60%; }
.ai-graph .n3 { top: 78%; left: 28%; }
.ai-graph .edge {
  position: absolute; height: 2px; background: var(--accent); transform-origin: left;
  opacity: 0.5;
}
.ai-graph .e1 { top: 30%; left: 30%; width: 40%; transform: rotate(22deg); }
.ai-graph .e2 { top: 58%; left: 32%; width: 40%; transform: rotate(40deg); }

/* ============ SERVICES V2 (3-card grid) ============ */
.services-v2 { background: var(--bg-light); }
.service-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--stroke-light); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-soft); position: relative;
  transition: transform .15s ease, box-shadow .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(30, 19, 60, 0.14); }
.service-card.featured { border-color: var(--accent); }
.service-card.featured::before {
  content: ''; position: absolute; inset: -1px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-3)); z-index: -1;
}
.sc-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(127, 77, 246, 0.10); color: var(--accent-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-card .eyebrow { font-family: var(--font-mono); color: var(--accent-2); margin-bottom: 4px; }
.service-card h3 { font-size: 20px; margin: 4px 0 10px; color: var(--ink); }
.service-card p { color: var(--muted-light); margin-bottom: 16px; font-size: 15px; }
.chip-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip-list li {
  font-size: 12px; padding: 6px 10px; border-radius: 8px;
  background: rgba(127, 77, 246, 0.08); color: var(--ink-2); font-weight: 600;
  border: 1px solid var(--stroke-light);
}

/* ============ SERVICES V3 (tabbed) ============ */
.services-v3 { background: var(--bg-light); }
.service-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap;
  background: #fff; padding: 8px; border-radius: 14px;
  border: 1px solid var(--stroke-light); width: fit-content; margin-left: auto; margin-right: auto;
  box-shadow: var(--shadow-soft);
}
.service-tabs .tab {
  background: transparent; border: 0; padding: 10px 18px; border-radius: 10px;
  font-weight: 600; color: var(--muted-light); font-size: 14px;
  transition: background .15s, color .15s;
}
.service-tabs .tab:hover { color: var(--ink); }
.service-tabs .tab.active { background: var(--grad-cta); color: #fff; box-shadow: 0 8px 24px rgba(127, 77, 246, 0.3); }

.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tp-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
  background: #fff; padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-light); box-shadow: var(--shadow-soft);
}
.tp-copy h3 { font-size: 26px; margin-bottom: 12px; color: var(--ink); }
.tp-copy p { color: var(--muted-light); margin-bottom: 16px; }

/* ============ SCROLL REVEAL ============ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
.scroll-reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}
.scroll-reveal.is-visible.scroll-reveal-stagger > * { opacity: 1; transform: translateY(0); }
.scroll-reveal.is-visible.scroll-reveal-stagger > *:nth-child(1) { transition-delay: .08s; }
.scroll-reveal.is-visible.scroll-reveal-stagger > *:nth-child(2) { transition-delay: .16s; }
.scroll-reveal.is-visible.scroll-reveal-stagger > *:nth-child(3) { transition-delay: .24s; }
.scroll-reveal.is-visible.scroll-reveal-stagger > *:nth-child(4) { transition-delay: .32s; }
.scroll-reveal.is-visible.scroll-reveal-stagger > *:nth-child(5) { transition-delay: .40s; }
.scroll-reveal.is-visible.scroll-reveal-stagger > *:nth-child(6) { transition-delay: .48s; }
.scroll-reveal.is-visible.scroll-reveal-stagger > *:nth-child(7) { transition-delay: .56s; }
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal, .scroll-reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============ COMPARISON V1 (table) ============ */
.compare { padding: 100px 0; }
.compare-v1 { background: var(--bg-dark); color: var(--white); }
.compare-v3 { background: var(--bg-dark); color: var(--white); }
.compare-panel {
  background: var(--panel-dark); border: 1px solid var(--stroke-dark-strong);
  border-radius: var(--radius-lg); padding: 44px;
  box-shadow: var(--shadow-glow);
}
.compare-panel .section-heading h2 { color: var(--white); }
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin-top: 12px; min-width: 640px;
}
.compare-table th, .compare-table td {
  padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--stroke-dark);
  color: var(--white); font-size: 15px;
}
.compare-table thead th { font-family: var(--font-display); font-weight: 700; color: var(--muted-dark); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.compare-table tbody td:first-child { text-align: left; color: var(--muted-dark); font-weight: 500; }
.compare-table .col-us { background: linear-gradient(180deg, rgba(155, 107, 255, 0.18), rgba(155, 107, 255, 0.06)); color: var(--white); font-weight: 700; }
.compare-table thead .col-us { color: var(--white); border-radius: 12px 12px 0 0; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:last-child .col-us { border-radius: 0 0 12px 12px; }
.compare-table .check { color: var(--mint); font-weight: 700; font-size: 17px; }
.compare-table .x { color: var(--warn); font-weight: 700; font-size: 17px; }
.compare-table .part { color: var(--muted-dark); font-style: italic; font-size: 13px; }

/* ============ COMPARISON V2 (vs-cards) ============ */
.compare-v2 { background: var(--bg-dark); color: var(--white); }
.compare-v2 .section-heading h2 { color: var(--white); }
.vs-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vs-card {
  background: var(--panel-dark); border: 1px solid var(--stroke-dark);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.vs-card.highlight { border-color: var(--accent); box-shadow: var(--shadow-glow); position: relative; }
.vs-card.highlight::before {
  content: 'RECOMMENDED'; position: absolute; top: -10px; right: 18px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  background: var(--grad-cta); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.vs-tag {
  display: inline-block; align-self: flex-start;
  background: var(--grad-cta); color: #fff;
  padding: 5px 11px; border-radius: 8px; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
}
.vs-tag.neutral { background: rgba(155, 107, 255, 0.10); color: var(--muted-dark); border: 1px solid var(--stroke-dark); }
.vs-card h3 { font-size: 22px; color: var(--white); }
.vs-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.vs-list li { display: flex; gap: 10px; align-items: center; color: var(--white); font-size: 14px; }
.vs-list .check { color: var(--mint); font-weight: 700; font-size: 16px; min-width: 18px; }
.vs-list .x { color: var(--warn); font-weight: 700; font-size: 16px; min-width: 18px; }
.vs-list .part { color: var(--muted-dark); font-weight: 700; font-size: 16px; min-width: 18px; }

/* ============ COMPARISON V3 (pill flipper) ============ */
.flipper-list { display: grid; gap: 8px; }
.flipper-row {
  display: grid; grid-template-columns: 1.1fr 2fr; gap: 18px; align-items: center;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(155, 107, 255, 0.04); border: 1px solid var(--stroke-dark);
}
.f-feature { color: var(--white); font-weight: 600; font-size: 15px; }
.f-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.f-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  background: var(--panel-dark); border: 1px solid var(--stroke-dark);
  color: var(--muted-dark); font-size: 13px; font-weight: 500;
}
.f-pill b { color: var(--muted-dark); font-weight: 600; }
.f-pill.us { background: linear-gradient(135deg, rgba(155, 107, 255, 0.22), rgba(127, 77, 246, 0.10)); border-color: var(--accent); color: var(--white); }
.f-pill.us b { color: var(--white); }
.f-pill .check { color: var(--mint); font-weight: 700; }
.f-pill .x { color: var(--warn); font-weight: 700; }
.f-pill .part { color: var(--muted-dark); font-style: italic; }
.f-pill .num { font-family: var(--font-mono); font-size: 12px; color: var(--white); }

/* ============ FEATURED WORK (V2 page) ============ */
.work-section {
  background: var(--bg-dark); color: var(--white); padding: 100px 0;
}
.work-section .section-heading h2 { color: var(--white); }
.work-section .section-heading .lead { color: var(--muted-dark); }
.work-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap;
  background: var(--panel-dark); padding: 8px; border-radius: 14px;
  border: 1px solid var(--stroke-dark); width: fit-content; margin-left: auto; margin-right: auto;
}
.wt-tab {
  background: transparent; border: 0; padding: 12px 20px; border-radius: 10px;
  font-weight: 600; color: var(--muted-dark); font-size: 14px;
  transition: background .15s, color .15s;
}
.wt-tab:hover { color: var(--white); }
.wt-tab.active { background: var(--grad-cta); color: #fff; box-shadow: 0 8px 24px rgba(127, 77, 246, 0.3); }
.work-panels { position: relative; }
.work-panel { display: none; }
.work-panel.active { display: block; animation: fadeIn .25s ease; }
.work-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center;
  background: var(--panel-dark); padding: 40px; border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-dark-strong); box-shadow: var(--shadow-glow);
}
.work-image img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--stroke-dark);
  box-shadow: 0 22px 60px rgba(8, 4, 26, 0.5);
}
.work-client {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.client-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}
.client-name {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  font-weight: 700; color: var(--white);
}
.client-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  padding: 4px 8px; border-radius: 6px;
  background: rgba(155, 107, 255, 0.10); border: 1px solid var(--stroke-dark);
}
.work-copy h3 {
  font-size: clamp(22px, 2.4vw, 30px); color: var(--white);
  margin: 4px 0 14px; line-height: 1.18;
}
.work-copy p { color: var(--muted-dark); font-size: 16px; margin-bottom: 22px; }
.work-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 24px;
}
.wm {
  background: rgba(155, 107, 255, 0.06); border: 1px solid var(--stroke-dark);
  border-radius: 12px; padding: 14px 12px; text-align: center;
}
.wm-num { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; }
.wm-lbl { color: var(--muted-dark); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }
.work-ctas {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.work-ctas .link-cta { color: var(--accent); }
.work-ctas .link-cta:hover { color: var(--mint); }
@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .work-image { order: -1; }
}
@media (max-width: 540px) {
  .work-metrics { grid-template-columns: 1fr; }
  .work-tabs { width: 100%; padding: 6px; }
  .wt-tab { flex: 1; padding: 10px 8px; font-size: 13px; }
}

/* ============ PROCESS ALTERNATIVES (V2 page) ============ */

/* Base — shared by F/H/I/J */
.proc-alt { padding: 100px 0; position: relative; }
.proc-board, .proc-tools { background: var(--bg-dark); color: var(--white); }
.proc-guarantees, .proc-changelog { background: var(--bg-light); }
.proc-board .section-heading h2,
.proc-tools .section-heading h2 { color: var(--white); }
.proc-board .section-heading .lead,
.proc-tools .section-heading .lead { color: var(--muted-dark); }
.proc-board .section-heading .eyebrow,
.proc-tools .section-heading .eyebrow { color: var(--muted-dark); }

/* Identifier label (so user can tell which option is which) */
.proc-label {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.14em; font-weight: 700; text-transform: uppercase;
  background: rgba(155, 107, 255, 0.10); border: 1px solid var(--stroke-dark-strong);
  color: var(--accent); margin-bottom: 28px;
}
.proc-label.dark { background: rgba(127, 77, 246, 0.08); border-color: var(--stroke-light-strong); color: var(--accent-2); }

/* ===== F · LIVE SPRINT BOARD ===== */
.board-figure {
  margin: 0; padding: 0; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--stroke-dark);
  box-shadow: 0 30px 80px rgba(8, 4, 26, 0.5);
}
.board-figure img { width: 100%; height: auto; display: block; }

/* ===== H · GUARANTEES ===== */
.guarantee-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.guarantee-grid > .guarantee-card:nth-child(4) { grid-column: 1 / span 1; }
.guarantee-grid > .guarantee-card:nth-child(4),
.guarantee-grid > .guarantee-card:nth-child(5) { grid-row: 2; }
.guarantee-grid > .guarantee-card:nth-child(4) { grid-column: 1 / span 1; margin-left: calc(50% - (100% / 3 / 2) - 11px); }
@supports (display: grid) {
  .guarantee-grid > .guarantee-card:nth-child(4),
  .guarantee-grid > .guarantee-card:nth-child(5) { margin-left: 0; }
  .guarantee-grid {
    grid-template-areas:
      "g1 g2 g3"
      ".  g4 g5";
  }
  .guarantee-grid > .guarantee-card:nth-child(1) { grid-area: g1; }
  .guarantee-grid > .guarantee-card:nth-child(2) { grid-area: g2; }
  .guarantee-grid > .guarantee-card:nth-child(3) { grid-area: g3; }
  .guarantee-grid > .guarantee-card:nth-child(4) { grid-area: g4; }
  .guarantee-grid > .guarantee-card:nth-child(5) { grid-area: g5; }
}
.guarantee-card {
  background: #fff; border: 1px solid var(--stroke-light);
  border-radius: var(--radius); padding: 28px 26px;
  position: relative; box-shadow: var(--shadow-soft);
  transition: transform .15s, box-shadow .2s;
}
.guarantee-card:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(30, 19, 60, 0.14); }
.guarantee-card .seal {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-cta); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px;
  margin-bottom: 14px;
  box-shadow: 0 12px 24px rgba(127, 77, 246, 0.28);
}
.guarantee-card h3 { font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.guarantee-card p { color: var(--muted-light); font-size: 14px; line-height: 1.55; }

/* ===== I · TOOL SCREENSHOTS (CSS-art windows) ===== */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tool-card { display: flex; flex-direction: column; gap: 12px; }
.tool-window {
  background: #0F0626; border: 1px solid var(--stroke-dark);
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/10; box-shadow: 0 22px 60px rgba(8, 4, 26, 0.5);
}
.tw-bar {
  display: flex; gap: 6px; padding: 10px 14px;
  background: #150A2E; border-bottom: 1px solid var(--stroke-dark);
}
.tw-bar span {
  width: 10px; height: 10px; border-radius: 50%; background: #2C1B5C;
}
.tw-bar span:nth-child(1) { background: #FF8FA3; }
.tw-bar span:nth-child(2) { background: #FFC857; }
.tw-bar span:nth-child(3) { background: #7EF9E1; }
.tw-body { flex: 1; padding: 0; display: flex; height: calc(100% - 32px); }

/* Linear mock */
.linear-mock { background: #0F0626; }
.lm-side { width: 50px; background: #150A2E; padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--stroke-dark); }
.lm-side span { width: 100%; height: 12px; border-radius: 4px; background: #2C1B5C; }
.lm-side .lm-active { background: var(--accent); }
.lm-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.lm-row { height: 28px; border-radius: 6px; background: #150A2E; border: 1px solid var(--stroke-dark); position: relative; }
.lm-row::before { content: ''; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 50%; height: 8px; background: #2C1B5C; border-radius: 3px; }
.lm-row::after { content: ''; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 12px; background: rgba(155, 107, 255, 0.4); border-radius: 6px; }
.lm-row.done { opacity: 0.5; }
.lm-row.done::after { background: rgba(126, 249, 225, 0.4); }

/* Slack mock */
.slack-mock { background: #1A1129; }
.sm-side { width: 64px; background: #0F0626; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--stroke-dark); }
.sm-side span { width: 100%; height: 16px; border-radius: 5px; background: #2C1B5C; opacity: 0.6; }
.sm-side .sm-active { background: var(--accent); opacity: 1; }
.sm-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.sm-msg { display: flex; gap: 10px; align-items: flex-start; }
.sm-av { width: 28px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), var(--accent-3)); flex-shrink: 0; }
.sm-av.sm-av-2 { background: linear-gradient(135deg, var(--mint), var(--accent-3)); }
.sm-av.sm-av-3 { background: linear-gradient(135deg, #FF8FA3, var(--accent)); }
.sm-bubble { flex: 1; height: 28px; border-radius: 8px; background: #2C1B5C; max-width: 80%; }
.sm-bubble.short { max-width: 50%; }

/* Loom mock */
.loom-mock { background: #0A0518; flex-direction: column; padding: 0; }
.lo-frame { flex: 1; background: linear-gradient(135deg, #150A2E, #2C1B5C); position: relative; display: flex; align-items: center; justify-content: center; }
.lo-frame::before { content: ''; position: absolute; inset: 12px; border-radius: 8px; background: radial-gradient(circle at 30% 40%, rgba(155, 107, 255, 0.3), transparent 60%); }
.lo-play {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); position: relative; z-index: 1;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.lo-play::after {
  content: ''; position: absolute; left: 22px; top: 18px;
  border-left: 14px solid var(--accent-2); border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.lo-controls { padding: 12px 16px; background: #150A2E; display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--stroke-dark); }
.lo-bar { flex: 1; height: 4px; border-radius: 2px; background: #2C1B5C; position: relative; overflow: hidden; }
.lo-fill { display: block; width: 38%; height: 100%; background: var(--accent); border-radius: 2px; }
.lo-time { width: 50px; height: 12px; border-radius: 3px; background: #2C1B5C; }

/* GitHub mock */
.github-mock { background: #0F0626; flex-direction: column; padding: 14px; gap: 10px; }
.gh-head { display: flex; gap: 10px; align-items: center; }
.gh-pill { width: 56px; height: 22px; border-radius: 11px; background: var(--mint); flex-shrink: 0; opacity: 0.85; }
.gh-pill.open { background: linear-gradient(135deg, var(--mint), #5C2FE8); }
.gh-title { flex: 1; height: 12px; border-radius: 4px; background: #2C1B5C; }
.gh-diff { flex: 1; background: #150A2E; border: 1px solid var(--stroke-dark); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.gh-line { height: 9px; border-radius: 3px; background: rgba(168, 156, 201, 0.15); position: relative; }
.gh-line.gh-add { background: rgba(126, 249, 225, 0.20); }
.gh-line.gh-add::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--mint); }
.gh-line.gh-del { background: rgba(255, 143, 163, 0.18); }
.gh-line.gh-del::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #FF8FA3; }
.gh-foot { display: flex; justify-content: flex-end; }
.gh-merge { width: 90px; height: 26px; border-radius: 8px; background: var(--grad-cta); }

.tool-meta {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  color: var(--muted-dark); font-size: 13px;
}
.tool-meta strong { color: var(--white); font-weight: 700; font-size: 14px; }

/* ===== J · CHANGELOG ===== */
.changelog { list-style: none; padding: 0; margin: 0; position: relative; }
.changelog::before {
  content: ''; position: absolute; left: 110px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-3)); opacity: 0.2;
}
.ship-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 28px;
  padding: 22px 0; border-bottom: 1px solid var(--stroke-light);
  position: relative;
}
.ship-row:last-child { border-bottom: 0; }
.ship-row::before {
  content: ''; position: absolute; left: 105px; top: 28px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg-light);
  box-shadow: 0 0 0 1px var(--accent);
}
.ship-meta { display: flex; flex-direction: column; gap: 6px; padding-right: 30px; }
.ship-when { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted-light); text-transform: uppercase; font-weight: 600; }
.ship-tag {
  display: inline-block; align-self: flex-start;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.10em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 6px;
  background: rgba(127, 77, 246, 0.10); color: var(--accent-2);
  border: 1px solid var(--stroke-light); font-weight: 600;
}
.ship-body h4 { font-size: 18px; color: var(--ink); margin-bottom: 6px; font-weight: 700; }
.ship-body h4 .sep { color: var(--muted-light); font-weight: 400; margin: 0 4px; }
.ship-body p { color: var(--muted-light); font-size: 14px; }

/* Responsive for all 4 process alternatives */
@media (max-width: 900px) {
  .guarantee-grid { grid-template-columns: 1fr 1fr; grid-template-areas: none; }
  .guarantee-grid > .guarantee-card { grid-area: auto !important; }
  .tool-grid { grid-template-columns: 1fr; }
  .ship-row { grid-template-columns: 100px 1fr; gap: 18px; }
  .changelog::before { left: 80px; }
  .ship-row::before { left: 75px; top: 26px; }
}
@media (max-width: 540px) {
  .guarantee-grid { grid-template-columns: 1fr; }
  .ship-row { grid-template-columns: 1fr; gap: 8px; }
  .changelog::before, .ship-row::before { display: none; }
  .ship-meta { flex-direction: row; align-items: center; }
}

/* ============ TEAM (V2 page — replaces Process) ============ */
.team-section { background: var(--bg-light); padding: 100px 0; }
.team-section .section-heading h2 { color: var(--ink); }
.team-section .section-heading .lead { color: var(--muted-light); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card {
  background: #fff; border: 1px solid var(--stroke-light);
  border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .15s ease, box-shadow .2s;
  box-shadow: var(--shadow-soft);
}
.team-card:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(30, 19, 60, 0.14); }
.team-avatar {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 18px; font-family: var(--font-display);
  margin-bottom: 10px; letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(127, 77, 246, 0.25);
}
.team-avatar.grad-a { background: linear-gradient(135deg, #9B6BFF, #5C2FE8); }
.team-avatar.grad-b { background: linear-gradient(135deg, #7EF9E1, #5C2FE8); }
.team-avatar.grad-c { background: linear-gradient(135deg, #FF8FA3, #9B6BFF); }
.team-name { font-size: 19px; color: var(--ink); margin: 0; font-weight: 700; }
.team-role { color: var(--accent-2); font-size: 13px; font-weight: 600; }
.team-meta { color: var(--muted-light); font-size: 13px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.team-meta .team-yrs { font-family: var(--font-mono); font-weight: 600; color: var(--ink-2); }
.team-meta .team-dot { color: var(--muted-light); }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.team-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 6px;
  background: rgba(127, 77, 246, 0.08); color: var(--ink-2);
  border: 1px solid var(--stroke-light); font-weight: 600;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }

/* ============ PROCESS V1 (horizontal roadmap) ============ */
.process { padding: 100px 0; }
.process-v1, .process-v3 { background: var(--bg-light); }
.roadmap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  position: relative;
}
.roadmap::before {
  content: ''; position: absolute; top: 32px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  opacity: 0.3; z-index: 0;
}
.roadmap .step {
  position: relative; z-index: 1; padding: 0 14px;
}
.roadmap .dot {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--grad-cta); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 16px;
  box-shadow: 0 14px 30px rgba(127, 77, 246, 0.35);
  margin: 0 auto 18px;
  border: 4px solid var(--bg-light);
}
.roadmap h4 { color: var(--ink); font-size: 18px; margin-bottom: 8px; text-align: center; }
.roadmap p { color: var(--muted-light); font-size: 14px; text-align: center; }
.roadmap p strong { color: var(--ink-2); }

/* ============ PROCESS V2 (vertical timeline) ============ */
.process-v2 { background: var(--bg-light); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 30px; top: 16px; bottom: 16px; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-3)); opacity: 0.3;
}
.t-item { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 24px 0; align-items: flex-start; }
.t-dot {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--grad-cta); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 16px;
  box-shadow: 0 14px 30px rgba(127, 77, 246, 0.35);
  border: 4px solid var(--bg-light); position: relative; z-index: 1;
}
.t-body h4 { color: var(--ink); font-size: 20px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.t-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent-2); text-transform: uppercase; font-weight: 600; }
.t-body p { color: var(--muted-light); margin-top: 6px; }

/* ============ PROCESS V3 (2x2 grid) ============ */
.step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.step-card {
  background: #fff; border: 1px solid var(--stroke-light); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-soft);
}
.step-card .dot {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--grad-cta); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 15px;
  box-shadow: 0 12px 24px rgba(127, 77, 246, 0.3);
  margin-bottom: 16px;
}
.step-card h4 { color: var(--ink); font-size: 20px; margin-bottom: 8px; }
.step-card p { color: var(--muted-light); }

/* ============ SOCIAL PROOF V1 (pull quote) ============ */
.social { padding: 100px 0; }
.social-v1 { background: var(--bg-dark); color: var(--white); }
.social-v1 .eyebrow { color: var(--muted-dark); font-family: var(--font-mono); }
.pull-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px); font-weight: 500;
  line-height: 1.35; color: var(--white);
  margin: 22px 0 28px; max-width: 900px;
}
.quote-attrib { display: flex; align-items: center; gap: 12px; justify-content: center; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-cta); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; font-family: var(--font-display);
}
.who { display: flex; flex-direction: column; text-align: left; }
.who strong { color: var(--white); font-weight: 700; font-size: 14px; }
.who span { color: var(--muted-dark); font-size: 12px; }

.stat-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 50px; }
.stat-mini {
  background: var(--panel-dark); border: 1px solid var(--stroke-dark);
  border-radius: var(--radius); padding: 22px 26px; min-width: 180px;
  text-align: center;
}
.stat-mini .num { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; }
.stat-mini .lbl { color: var(--muted-dark); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }

/* ============ SOCIAL PROOF V2 (3-card) ============ */
.social-v2 { background: var(--bg-dark); color: var(--white); }
.social-v2 .section-heading h2 { color: var(--white); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card {
  background: var(--panel-dark); border: 1px solid var(--stroke-dark);
  border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.t-card .stars { color: #FFC857; font-size: 16px; letter-spacing: 0.05em; }
.t-card p { color: var(--white); font-size: 15px; line-height: 1.55; }
.t-card .quote-attrib { justify-content: flex-start; }

/* ============ SOCIAL PROOF V3 (tweet wall) ============ */
.social-v3 { background: var(--bg-dark); color: var(--white); }
.social-v3 .section-heading h2 { color: var(--white); }
.tweet-wall {
  columns: 3 280px; column-gap: 18px;
}
.tweet {
  break-inside: avoid; margin: 0 0 18px;
  background: var(--panel-dark); border: 1px solid var(--stroke-dark);
  border-radius: var(--radius); padding: 18px;
}
.tweet-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tweet-head strong { color: var(--white); font-size: 14px; display: block; }
.tweet-head .handle { color: var(--muted-dark); font-size: 12px; }
.tweet p { color: var(--white); font-size: 14px; line-height: 1.5; }

/* ============ CTA BAND ============ */
.cta-band { padding: 80px 0; }
.cta-v1 { background: var(--grad-cta); color: #fff; }
.cta-v3 { background: var(--bg-dark); color: var(--white); padding: 90px 0; }
.cta-v2 { background: var(--bg-dark); padding: 90px 0; }

.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-copy h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.cta-copy p { color: rgba(255,255,255,0.85); font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.eyebrow.inverse { color: rgba(255,255,255,0.75); }

/* CTA V2 */
.cta-card-wrap {
  position: relative; padding: 2px; border-radius: var(--radius-lg);
  background: var(--grad-cta); box-shadow: var(--shadow-glow);
}
.cta-card {
  background: var(--panel-dark); border-radius: calc(var(--radius-lg) - 2px);
  padding: 56px 48px; text-align: center;
}
.cta-card h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 36px); margin: 8px 0 12px; }
.cta-card p { color: var(--muted-dark); font-size: 17px; max-width: 520px; margin: 0 auto 24px; }
.cta-card .cta-actions { justify-content: center; }

/* CTA V3 split */
.cta-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.cta-left h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.cta-left p { color: var(--muted-dark); margin-bottom: 22px; }
.cta-right { display: grid; gap: 14px; }
.promise {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px; border-radius: 14px;
  background: var(--panel-dark); border: 1px solid var(--stroke-dark);
}
.p-num { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--white); min-width: 80px; }
.p-txt { color: var(--muted-dark); font-size: 14px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--bg-darker); padding: 38px 0 32px; border-top: 1px solid var(--stroke-dark); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .brand img { height: 32px; }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--panel-dark); border: 1px solid var(--stroke-dark);
  color: var(--muted-dark);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s, border-color .15s, background .15s;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); background: rgba(155, 107, 255, 0.1); }
.copyright { color: var(--muted-dark-2); font-size: 12px; margin-top: 18px; text-align: center; }

/* ============ VARIATION PANEL ============ */
.variation-panel {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  width: 240px; max-height: 88vh; overflow-y: auto;
  background: rgba(15, 6, 38, 0.95); backdrop-filter: blur(14px);
  border: 1px solid var(--stroke-dark-strong); border-radius: 14px;
  z-index: 200; padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  font-family: var(--font-body);
  transition: transform .25s ease, opacity .2s;
}
.variation-panel.collapsed { transform: translate(280px, -50%); opacity: 0; pointer-events: none; }
.variation-panel header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.variation-panel h6 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted-dark); margin: 0; font-weight: 600;
}
.variation-panel .vp-collapse {
  background: transparent; border: 0; color: var(--muted-dark);
  font-size: 18px; line-height: 1; padding: 4px 8px;
}
.variation-panel .vp-collapse:hover { color: var(--white); }
.vp-rows { display: grid; gap: 6px; padding: 6px 0; }
.vp-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px; border-radius: 8px; background: rgba(155, 107, 255, 0.04);
}
.vp-row span { color: var(--white); font-size: 13px; font-weight: 500; }
.vp-buttons { display: flex; gap: 4px; }
.vp-buttons button {
  width: 28px; height: 28px; border-radius: 7px;
  background: transparent; border: 1px solid var(--stroke-dark);
  color: var(--muted-dark); font-weight: 700; font-size: 12px;
  transition: all .15s;
}
.vp-buttons button:hover { color: var(--white); border-color: var(--accent); }
.vp-buttons button.active { background: var(--grad-cta); color: #fff; border-color: transparent; }
.variation-panel footer {
  display: flex; gap: 8px; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--stroke-dark);
}
.variation-panel footer button {
  flex: 1; padding: 8px; border-radius: 8px;
  background: var(--panel-dark); border: 1px solid var(--stroke-dark);
  color: var(--white); font-size: 12px; font-weight: 600;
}
.variation-panel footer button:hover { border-color: var(--accent); color: var(--accent); }
.vp-restore {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%) rotate(-90deg) translateX(50%);
  transform-origin: right center;
  background: var(--grad-cta); color: #fff;
  border: 0; padding: 8px 16px; border-radius: 0 0 8px 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; z-index: 199; opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.vp-restore.visible { opacity: 1; pointer-events: auto; }

/* ============ FONT CHANGER ============ */
.font-changer {
  position: fixed; left: 18px; bottom: 18px; z-index: 200;
  display: flex; gap: 6px; padding: 8px;
  background: rgba(15, 6, 38, 0.95); backdrop-filter: blur(14px);
  border: 1px solid var(--stroke-dark-strong); border-radius: 999px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.font-changer button {
  background: transparent; border: 0; padding: 8px 14px;
  border-radius: 999px; color: var(--muted-dark);
  font-size: 12px; font-weight: 600; transition: all .15s;
}
.font-changer button:hover { color: var(--white); }
.font-changer button.active { background: var(--grad-cta); color: #fff; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .vs-card-grid, .testimonial-grid, .service-card-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  /* Hide desktop nav links inline; show mobile-only nav-toggle */
  .primary-nav {
    display: flex;
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-darker);
    padding: 12px 28px 32px;
    z-index: 99;
    border-top: 1px solid var(--stroke-dark);
    border-bottom: 1px solid var(--stroke-dark);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: translateY(-115%);
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .primary-nav.open { transform: translateY(0); pointer-events: auto; }
  .primary-nav a {
    display: block;
    padding: 20px 4px;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    border-bottom: 1px solid var(--stroke-dark);
    text-align: left;
    transition: color .15s, padding-left .15s;
  }
  .primary-nav a:last-of-type { border-bottom: 0; }
  .primary-nav a:hover, .primary-nav a:active { color: var(--accent); padding-left: 10px; }
  .nav-mobile-cta {
    display: block !important;
    margin-top: 14px;
    padding: 16px !important;
    text-align: center !important;
    font-size: 15px !important;
    border-radius: 12px !important;
  }
  .nav-mobile-cta:hover { padding-left: 16px !important; color: #fff !important; }

  /* Animated hamburger -> X */
  .nav-toggle { display: block; position: relative; width: 32px; height: 32px; }
  .nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--white); margin: 4px auto;
    transition: transform .25s ease, opacity .15s ease;
    transform-origin: center;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Hide the header's right-side desktop CTA on mobile (we have one in the dropdown) */
  .header-actions > .btn { display: none; }
  body.nav-open { overflow: hidden; }

  /* Existing responsive grid stuff */
  .hero-grid, .tp-grid, .cta-split { grid-template-columns: 1fr; gap: 40px; }
  .editorial-row, .editorial-row.reverse { grid-template-columns: 1fr; gap: 30px; }
  .editorial-row.reverse > .er-image { order: 1; }
  .editorial-row.reverse > .er-copy { order: 2; }
  .roadmap { grid-template-columns: 1fr 1fr; gap: 30px; }
  .roadmap::before { display: none; }
  .step-grid { grid-template-columns: 1fr; }
  .vs-card-grid, .testimonial-grid, .service-card-grid { grid-template-columns: 1fr; }
  .compare-panel { padding: 28px; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .variation-panel { width: 220px; right: 12px; }
}

/* Desktop: hide the dropdown-only mobile CTA inside the nav */
@media (min-width: 901px) {
  .nav-mobile-cta { display: none !important; }
}
@media (max-width: 640px) {
  .hero-v1, .hero-v2, .hero-v3 { padding: 60px 0 70px; }
  .services, .compare, .process, .social { padding: 70px 0; }
  .cta-band { padding: 60px 0; }
  .roadmap { grid-template-columns: 1fr; gap: 28px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-inner { flex-direction: column; }
  .container { padding: 0 20px; }
  .compare-panel { padding: 22px; }
  .cta-card { padding: 36px 24px; }
  .tweet-wall { columns: 1; }
  .font-changer { left: 12px; bottom: 12px; flex-wrap: wrap; max-width: calc(100vw - 24px); }
  .font-changer button { padding: 6px 10px; font-size: 11px; }
  .variation-panel { width: 200px; max-height: 70vh; }
  .variation-panel.collapsed { transform: translate(240px, -50%); }
  .header-inner { padding: 14px 18px; }
  .alert-bar { font-size: 12px; padding: 8px 12px; }
  .hero-copy h1 { font-size: 34px; }
  .pull-quote { font-size: 20px; }
}
