/* ============================================================
   Special Art — Design System v7
   Cool Charcoal · Abstract Flow · Premium Dark
   ============================================================ */

/* ── Design Tokens ── */
:root {
  /* ── Core Charcoal Palette ── */
  --navy-base:    #2E2E2E;   /* page background — deep charcoal */
  --navy-1:       #333333;   /* primary dark surface */
  --navy-2:       #3C3C3C;   /* cards / raised surfaces */
  --navy-3:       #464646;   /* elevated cards / hover states */
  --navy-4:       #525252;   /* highest elevation surface */

  /* ── Border System ── */
  --border-bright: rgba(255,255,255,0.12);
  --border-mid:    rgba(255,255,255,0.07);
  --border-subtle: rgba(255,255,255,0.04);

  /* ── Text Palette ── */
  --text-primary:  #F5F5F5;   /* near-white primary text */
  --text-secondary:#C0C0C0;   /* muted light grey */
  --text-faint:    #888888;   /* very muted / labels */
  --white:         #FFFFFF;

  /* ── Light Section Palette ── */
  --light-bg:      #F2F2F0;   /* cool off-white */
  --light-surface: #E8E8E6;
  --light-border:  rgba(46,46,46,0.10);
  --light-text:    #2E2E2E;
  --light-muted:   #5A5A5A;

  /* ── Semantic aliases ── */
  --bg:           var(--navy-base);
  --bg-muted:     var(--navy-1);
  --bg-dark:      var(--navy-base);
  --text-muted:   var(--text-secondary);
  --border:       var(--border-bright);
  --border-muted: var(--border-mid);
  --border-dark:  var(--border-subtle);

  /* ── Accent — pure white pill ── */
  --accent:       var(--white);
  --accent-text:  var(--navy-1);

  /* Legacy aliases */
  --black:        #1A1A1A;
  --grey-900:     var(--navy-1);
  --grey-800:     var(--navy-2);
  --grey-700:     var(--navy-3);
  --grey-600:     #5A5A5A;
  --grey-500:     var(--text-secondary);
  --grey-400:     var(--text-faint);
  --grey-300:     rgba(255,255,255,0.18);
  --grey-200:     var(--border-bright);
  --grey-150:     var(--border-mid);
  --grey-100:     var(--navy-2);
  --grey-50:      var(--navy-1);
  --blue:         var(--white);
  --blue-light:   rgba(255,255,255,0.15);
  --blue-dim:     rgba(255,255,255,0.04);
  --navy:         var(--navy-base);
  --navy-3-alias: var(--navy-2);

  /* ── Typography — premium geometric grotesk ── */
  --ff-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;

  /* ── Layout ── */
  --max-w:     1140px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl:36px;

  /* ── Motion ── */
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s;
  --t-base: 0.25s;
  --t-slow: 0.4s;

  /* Input safety */
  --input-fs: 16px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.30);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.40);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.50);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.60);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--navy-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Page Transition Overlay ── */
#page-cover {
  position: fixed;
  inset: 0;
  background: #2E2E2E;   /* matches --navy-base charcoal, no var() needed for instant paint */
  z-index: 99999;
  pointer-events: all;
  opacity: 1;
  /* CSS-only failsafe: auto-fade after 1.2s in case JS is slow */
  animation: coverFallback 0.22s ease 1.2s forwards;
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes coverFallback {
  to { opacity: 0; pointer-events: none; }
}
#page-cover.visible {
  opacity: 1;
  pointer-events: all;
  animation: none;
}
#page-cover.hidden {
  opacity: 0;
  pointer-events: none;
  animation: none;
}

@supports (-webkit-touch-callout: none) {
  body { min-height: -webkit-fill-available; }
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select {
  font-family: var(--ff-body);
  font-size: var(--input-fs);
  border: none;
  outline: none;
  background: none;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.13;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem);  letter-spacing: -0.04em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.8rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; }

p { color: var(--text-secondary); line-height: 1.75; }

.text-center { text-align: center; }
.text-white  { color: var(--text-primary) !important; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section        { padding: 96px 0; }
.section--muted { background: var(--navy-1); }
.section--dark  { background: var(--navy-base); color: var(--text-primary); }

/* ── Light sections ── */
.section--light {
  background: var(--light-bg);
  color: var(--light-text);
}
.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4 { color: var(--light-text); }
.section--light p   { color: var(--light-muted); }
.section--light .section-sub { color: var(--light-muted); }
.section--light .eyebrow {
  color: var(--light-muted);
  background: rgba(27,37,48,0.06);
  border-color: rgba(27,37,48,0.12);
}
.section--light .eyebrow::before { background: var(--light-muted); }

/* Light-mode stats strip */
.stats-strip--light {
  background: var(--light-surface);
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}
.stats-strip--light .stat-num,
.stats-strip--light .stat-num .counter { color: var(--light-text) !important; }
.stats-strip--light .stat-desc { color: var(--light-muted) !important; }
.stats-strip--light .stat-block { border-right-color: var(--light-border); }

.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--text-primary); }
.section--dark p  { color: var(--text-secondary); }
.section--dark .eyebrow {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border-color: var(--border-bright);
}
.section--dark .eyebrow::before { background: var(--text-secondary); }

/* ── Eyebrow label ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
  padding: 5px 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 4px; height: 4px;
  background: var(--text-faint);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title { margin-bottom: 14px; }
.section-sub {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 56px;
  color: var(--text-secondary);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--white);
  color: var(--navy-1);
  border: 1.5px solid var(--white);
  font-weight: 600;
}
.btn-primary:hover {
  background: rgba(240,242,244,0.92);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-bright);
}
.btn-outline:hover {
  border-color: rgba(230,235,240,0.35);
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1.5px solid var(--border-bright);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(230,235,240,0.25);
  transform: translateY(-1px);
}

.btn-white-solid {
  background: var(--white);
  color: var(--navy-1);
  border: 1.5px solid var(--white);
  font-weight: 600;
}
.btn-white-solid:hover {
  background: rgba(240,242,244,0.92);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

.btn-lg   { padding: 16px 32px; font-size: 0.95rem; }
.btn-xl   { padding: 18px 40px; font-size: 1rem; }
.btn-sm   { padding: 9px 18px;  font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 64px;
  transition: all var(--t-base) var(--ease);
}

.header-inner {
  background: rgba(46, 46, 46, 0.80);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.header.scrolled .header-inner {
  border-bottom-color: rgba(255,255,255,0.10);
  box-shadow: 0 1px 32px rgba(0,0,0,0.45);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
  overflow: visible;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 16px; height: 16px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 6px;
  transition: all var(--t-fast) var(--ease);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-links a.nav-highlight {
  color: var(--text-primary);
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-bright);
  font-weight: 600;
}
.nav-links a.nav-highlight:hover {
  background: rgba(255,255,255,0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: rgba(255,255,255,0.06); }

.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--navy-1);
  z-index: 999;
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  border-top: 1px solid var(--border-bright);
}

.nav-drawer.open { display: flex; transform: translateX(0); }

.nav-drawer a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 14px;
  border-radius: var(--radius);
  display: block;
  transition: all var(--t-fast);
}
.nav-drawer a:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.nav-drawer a.nav-highlight { background: rgba(255,255,255,0.07); color: var(--text-primary); }

.nav-drawer-ctas {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-bright);
  padding-top: 20px;
}

body.menu-open { overflow: hidden; }

/* ── HERO ── */
.hero {
  background: #0d0f14 url('../images/hero-bg.jpg') center right / cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after { display: none; }

.hero-glow-1, .hero-glow-2 { display: none; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 680px;
}

/* Hero badge — white on black */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 5px 14px 5px 7px;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 18px; height: 18px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}

.hero-badge span {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

.hero h1, .typewriter-h1 {
  color: #FFFFFF;
  margin-bottom: 22px;
  line-height: 1.25;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  min-height: 2.6em;
}

/* Typewriter colored spans */
.tw-word-bringing   { color: #e8c07a; }
.tw-word-special    {
  background: linear-gradient(90deg, #e07a7a 0%, #c87ab8 50%, #7a9ae0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.tw-word-art        { color: #82c88a; }
.tw-word-every      { color: #e0a87a; }
.tw-word-project    {
  background: linear-gradient(90deg, #7ac8c8 0%, #82c88a 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.tw-word-plain      { color: #ffffff; }

/* Code tag — art meets code */
.tw-code-tag {
  display: inline;
  font-size: 0.42em;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  color: #e07a7a;
  background: rgba(224,122,122,0.12);
  border: 1px solid rgba(224,122,122,0.4);
  border-radius: 5px;
  padding: 3px 8px;
  margin-left: 10px;
  vertical-align: baseline;
  position: relative;
  top: -0.55em;
  letter-spacing: 0.08em;
  white-space: nowrap;
  line-height: 1;
}

/* Blinking cursor */
.tw-cursor {
  display: inline-block;
  color: #e07a7a;
  font-weight: 300;
  animation: twBlink 0.75s step-end infinite;
  margin-left: 2px;
}
@keyframes twBlink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.60);
  margin-bottom: 36px;
  max-width: 460px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero buttons — gradient style from reference */
.hero .btn-primary { display: none; } /* replaced by btn-hero-primary */
.hero .btn-ghost-white { display: none; } /* replaced by btn-hero-ghost */

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px; border-radius: 100px; border: none;
  background: linear-gradient(135deg, #e07a7a 0%, #c87ab8 50%, #7a9ae0 100%);
  color: #fff; font-weight: 800; font-size: 0.95rem;
  font-family: inherit; cursor: pointer; text-decoration: none;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 24px rgba(200,122,184,0.35);
}
.btn-hero-primary:hover { opacity: .88; transform: translateY(-2px); color: #fff; }

.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px; border-radius: 100px;
  background: transparent;
  border: 1.5px solid rgba(130,200,138,0.6);
  color: #82c88a; font-weight: 700; font-size: 0.95rem;
  font-family: inherit; cursor: pointer; text-decoration: none;
  transition: all .2s;
}
.btn-hero-ghost:hover {
  background: rgba(130,200,138,0.12);
  border-color: #82c88a;
  color: #a8ddb0;
  transform: translateY(-2px);
}

/* Social proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-avatars { display: flex; }

.proof-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  margin-left: -7px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.15);
}
.proof-avatar:first-child { margin-left: 0; }

.proof-text { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.proof-text strong { color: rgba(255,255,255,0.70); }

/* ── Hero visual — LIGHT CARD on dark bg (matches reference) ── */
.hero-visual { display: none; }

.hero-card {
  background: #F0F0EE;
  border: none;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 8px 24px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hc-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: #666666;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hc-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #555555;
}
.hc-live::before {
  content: '';
  width: 6px; height: 6px;
  background: #4CAF7D;
  border-radius: 50%;
  animation: blink 2s infinite;
  box-shadow: 0 0 6px rgba(76,175,125,0.6);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.hm-item {
  background: rgba(46,46,46,0.06);
  border: 1px solid rgba(46,46,46,0.10);
  border-radius: 10px;
  padding: 14px;
}

.hm-val {
  font-family: var(--ff-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: #2E2E2E;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.04em;
}
.hm-val.blue  { color: #2E2E2E; }
.hm-val.green { color: #4CAF7D; }

.hm-label {
  font-size: 0.67rem;
  color: #888888;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Sparkline */
.sparkline {
  height: 60px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0 2px;
  margin-bottom: 16px;
}

.spark-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  min-height: 4px;
}
.spark-bar.dim  { background: rgba(46,46,46,0.10); }
.spark-bar.blue { background: rgba(46,46,46,0.28); }
.spark-bar.full { background: rgba(46,46,46,0.70); }

.hc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(46,46,46,0.12);
}

.hc-footer-label {
  font-size: 0.67rem;
  color: #888;
}

.hc-trend {
  font-size: 0.72rem;
  font-weight: 600;
  color: #4CAF7D;
  background: rgba(76,175,125,0.12);
  border: 1px solid rgba(76,175,125,0.25);
  border-radius: 6px;
  padding: 3px 8px;
}


/* ── Stats Strip ── */
.stats-strip {
  background: var(--navy-1);
  border-top: 1px solid var(--border-bright);
  border-bottom: 1px solid var(--border-bright);
  padding: 44px 0;
}

.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-block {
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid var(--border-bright);
}
.stat-block:last-child { border-right: none; }

.stat-num {
  font-family: var(--ff-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num .accent { color: var(--text-primary); }

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ── Feature Cards ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-bright);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--navy-2);
  padding: 32px 28px;
  transition: background var(--t-base) var(--ease);
  cursor: default;
  position: relative;
}

.feature-card:hover { background: var(--navy-3); }

/* No top bar on hover — clean */
.feature-card::before { display: none; }

.feature-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.feature-card h3 { margin-bottom: 10px; font-size: 1rem; font-weight: 600; color: var(--text-primary); }
.feature-card p  { font-size: 0.85rem; line-height: 1.7; color: var(--text-secondary); }

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--t-base) var(--ease);
  position: relative;
}

.service-card:hover {
  border-color: rgba(200,220,240,0.2);
  background: var(--navy-3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sc-num {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}

.sc-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.service-card h3 { font-size: 1.1rem; color: var(--text-primary); }
.service-card p  { font-size: 0.85rem; flex: 1; color: var(--text-secondary); }

.sc-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-bright);
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 4px;
  align-self: flex-start;
}

/* ── How It Works (Steps) ── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(16.67% + 27px);
  right: calc(16.67% + 27px);
  height: 1px;
  background: var(--border-bright);
}

.step-item { text-align: center; padding: 0 16px; }

.step-num {
  width: 54px; height: 54px;
  background: var(--navy-2);
  color: var(--text-primary);
  border: 1.5px solid var(--border-bright);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-item h3 { margin-bottom: 10px; font-size: 1.05rem; color: var(--text-primary); }
.step-item p  { font-size: 0.85rem; color: var(--text-secondary); }

/* ── Mockup Feature Section ── */
.mockup-split {
  background: var(--navy-1);
  border-top: 1px solid var(--border-bright);
  border-bottom: 1px solid var(--border-bright);
  padding: 96px 0;
  overflow: hidden;
  position: relative;
}

.mockup-split::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

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

.mockup-split h2 { color: var(--text-primary); margin-bottom: 16px; }
.mockup-split p  { color: var(--text-secondary); }

.mockup-points {
  margin: 24px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.mp-check {
  width: 18px; height: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 0.65rem;
  font-weight: 700;
}

/* Browser mockup */
.browser-wrap { position: relative; }

.browser {
  background: var(--navy-3);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--border-bright);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--navy-2);
  border-bottom: 1px solid var(--border-subtle);
}

.b-dot { width: 9px; height: 9px; border-radius: 50%; }
.b-url {
  flex: 1;
  height: 18px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  margin-left: 6px;
  border: 1px solid var(--border-subtle);
}

.browser-screen { background: var(--navy-1); padding: 18px; }

.bm-hero {
  background: var(--navy-base);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  padding: 18px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bm-line {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.bm-btn {
  width: 60px; height: 18px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  margin-top: 3px;
}

.bm-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 7px;
  margin-bottom: 10px;
}

.bm-card {
  background: var(--navy-2);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  height: 40px;
}

.bm-rows { display: flex; flex-direction: column; gap: 5px; }
.bm-row  { height: 5px; background: rgba(255,255,255,0.06); border-radius: 3px; }

/* Browser floating pill */
.browser-pill {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--navy-2);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  border: 1px solid var(--border-bright);
}

/* ── Case Study Cards ── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-card {
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,220,240,0.2);
  background: var(--navy-3);
}

.case-header { display: flex; height: 148px; position: relative; }

.case-before, .case-after {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  gap: 3px;
}

.case-before { background: var(--navy-1); }
.case-after  { background: var(--navy-base); }

.case-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-before .case-tag { color: var(--text-faint); }
.case-after  .case-tag { color: var(--text-faint); }

.case-rank {
  font-family: var(--ff-head);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.case-before .case-rank { color: var(--text-faint); }
.case-after  .case-rank { color: var(--text-primary); }

.case-desc { font-size: 0.65rem; color: var(--text-faint); }
.case-after .case-desc { color: var(--text-faint); }

.case-arrow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.case-body { padding: 18px 20px; }

.case-industry {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}

.case-body h3 { font-size: 0.95rem; margin-bottom: 7px; color: var(--text-primary); }
.case-body p  { font-size: 0.8rem; line-height: 1.65; color: var(--text-secondary); }

.case-metrics {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.cm-val { font-family: var(--ff-head); font-size: 1.05rem; font-weight: 700; color: var(--text-primary); display: block; letter-spacing: -0.02em; }
.cm-key { font-size: 0.65rem; color: var(--text-faint); font-weight: 500; }

/* ── Testimonials ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testi-card {
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--t-base) var(--ease);
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200,220,240,0.2);
  background: var(--navy-3);
  transform: translateY(-2px);
}

.testi-stars { color: rgba(255,200,80,0.75); font-size: 0.82rem; letter-spacing: 2px; }

.testi-text {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-secondary);
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.ta-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy-3) !important;
  border: 1px solid var(--border-bright);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

.ta-name { font-weight: 600; font-size: 0.85rem; color: var(--text-primary); }
.ta-biz  { font-size: 0.72rem; color: var(--text-faint); }

/* ── CTA Section ── */
.cta-dark {
  background: var(--navy-1);
  border-top: 1px solid var(--border-bright);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.cta-dark h2 { color: var(--text-primary); margin-bottom: 14px; position: relative; }
.cta-dark p  { color: var(--text-secondary); max-width: 480px; margin: 0 auto 36px; position: relative; }

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--navy-base);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-bright);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-hero .eyebrow {
  position: relative;
  z-index: 1;
  color: var(--text-faint);
  background: rgba(255,255,255,0.04);
  border-color: var(--border-bright);
}
.page-hero .eyebrow::before { background: var(--text-faint); }
.page-hero h1 { color: var(--text-primary); position: relative; z-index: 1; }
.page-hero p  { color: var(--text-secondary); max-width: 540px; margin: 14px auto 0; position: relative; z-index: 1; }

/* ── Forms ── */
.form-wrap {
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-bright);
  border-radius: var(--radius);
  font-size: var(--input-fs);
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  border-color: rgba(200,220,240,0.35);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(180,200,220,0.08);
}

.form-control::placeholder { color: var(--text-faint); }

textarea.form-control { resize: vertical; min-height: 100px; }

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.75rem; color: var(--grey-400); text-align: center; margin-top: 12px; }

/* Form success */
.form-success { display: none; text-align: center; padding: 32px 16px; }
.form-success.show { display: block; }

.success-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
}

/* ── Pricing / Ranking Plans ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.plan-card {
  background: var(--navy-2);
  border: 1.5px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all var(--t-base) var(--ease);
  position: relative;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,220,240,0.22);
  background: var(--navy-3);
}

.plan-card.featured {
  border-color: rgba(220,230,240,0.28);
  box-shadow: 0 0 0 1px rgba(220,230,240,0.15), var(--shadow-lg);
  background: var(--navy-3);
}

.plan-badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: var(--navy-1);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.plan-price-amount {
  font-family: var(--ff-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price-currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 6px;
}

.plan-price-note {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.65;
}

.plan-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pf-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.58rem;
  font-weight: 700;
}

.pf-check.yes {
  background: rgba(255,255,255,0.12);
  color: var(--text-primary);
  border: 1px solid var(--border-bright);
}

.pf-check.no {
  background: rgba(255,255,255,0.03);
  color: var(--text-faint);
  opacity: 0.6;
}

.plan-feature.muted { color: var(--text-faint); opacity: 0.6; }

.plan-includes {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.75rem;
  color: var(--text-faint);
}
.plan-includes strong { color: var(--text-secondary); }

/* ── Payment / Download ── */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cs-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-faint);
}
.cs-step.active { color: var(--text-primary); }

.cs-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border-bright);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--text-faint);
}

.cs-step.active .cs-num {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--navy-1);
}

.cs-step.done .cs-num {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-subtle);
  color: var(--text-faint);
}

.cs-divider {
  width: 36px; height: 1px;
  background: var(--border-bright);
}

/* Order summary */
.order-summary {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 22px;
}

.os-plan-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.os-title {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.os-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.os-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.os-item-label { color: var(--text-faint); }
.os-item-val   { font-weight: 600; color: var(--text-primary); }
.os-item.total .os-item-label { color: var(--text-secondary); font-weight: 700; }
.os-item.total .os-item-val   { color: var(--text-primary); font-size: 1.05rem; }

.os-divider { border: none; border-top: 1px solid var(--border-subtle); margin: 6px 0; }

/* Card input */
.card-field-wrap {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.card-field-wrap:focus-within {
  border-color: rgba(200,220,240,0.3);
  box-shadow: 0 0 0 3px rgba(180,200,220,0.07);
}

.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Secure badge */
.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 12px;
}
.secure-badge svg { width: 13px; height: 13px; color: var(--text-faint); }

/* Download panel */
.download-panel {
  background: var(--navy-1);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.dp-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  font-size: 1.9rem;
  position: relative;
}

.download-panel h2 { color: white; margin-bottom: 12px; position: relative; }
.download-panel p  { color: rgba(255,255,255,0.45); max-width: 400px; margin: 0 auto 28px; position: relative; }

.download-includes {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 28px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
}

.di-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}
.di-icon { font-size: 0.85rem; flex-shrink: 0; }

/* ── Services Page Detail Cards ── */
.service-detail {
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 52px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  transition: box-shadow var(--t-base);
}
.service-detail:hover { box-shadow: var(--shadow-lg); border-color: rgba(200,220,240,0.2); }
.service-detail.flip { direction: rtl; }
.service-detail.flip > * { direction: ltr; }

.sd-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.sd-problem {
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--text-secondary);
  border-radius: 0 5px 5px 0;
  padding: 13px 16px;
  margin-bottom: 18px;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-secondary);
}

.sd-bullets { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }

.sd-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.sd-bullet::before {
  content: '✓';
  color: var(--text-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.sd-results {
  background: var(--navy-base);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sdr-item {
  text-align: center;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 7px;
}

.sdr-num {
  font-family: var(--ff-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.sdr-label { font-size: 0.68rem; color: var(--text-faint); }

/* ── Case Study Full ── */
.cs-full {
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 20px;
}

.cs-full-header { display: grid; grid-template-columns: 1fr 1fr; }

.csf-before, .csf-after { padding: 36px 40px; }
.csf-before { background: var(--navy-1); }
.csf-after  { background: var(--navy-base); }

.csf-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.csf-before .csf-tag { color: var(--text-faint); }
.csf-after  .csf-tag { color: var(--text-faint); }

.csf-stat {
  font-family: var(--ff-head);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.csf-before .csf-stat { color: var(--text-faint); }
.csf-after  .csf-stat { color: var(--text-primary); }

.csf-sub { font-size: 0.85rem; margin: 0; }
.csf-before .csf-sub { color: var(--text-faint); }
.csf-after  .csf-sub { color: var(--text-faint); }

.cs-full-body { padding: 36px 40px; }
.cs-full-body h2 { font-size: 1.45rem; margin-bottom: 8px; color: var(--text-primary); }

.csf-industry {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.csf-metrics { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

.csf-m { background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle); border-radius: 7px; padding: 14px 18px; }

.csf-m-val {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  letter-spacing: -0.03em;
}
.csf-m-key { font-size: 0.7rem; color: var(--text-faint); }

.csf-quote {
  margin-top: 22px;
  padding: 16px 20px;
  border-left: 2px solid var(--text-secondary);
  background: rgba(255,255,255,0.03);
  border-radius: 0 5px 5px 0;
  font-style: italic;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ── Contact channels ── */
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  transition: all var(--t-base);
  color: var(--text-secondary);
  background: var(--navy-2);
}

.contact-channel:hover {
  border-color: rgba(200,220,240,0.25);
  background: var(--navy-3);
  transform: translateX(4px);
}

.ch-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-bright);
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ch-label { font-size: 0.7rem; color: var(--grey-400); margin-bottom: 2px; }
.ch-val   { font-weight: 600; font-size: 0.875rem; }

/* ── Audit Banner ── */
.audit-banner {
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.audit-banner h3 { margin-bottom: 4px; font-size: 1.05rem; }
.audit-banner p  { font-size: 0.875rem; margin: 0; }

/* ── Footer ── */
.footer {
  background: var(--navy-base);
  border-top: 1px solid var(--border-bright);
  color: var(--text-faint);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand h3 {
  color: var(--text-primary);
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.footer-brand p {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 8px; }

.footer-socials a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all var(--t-base);
  color: var(--text-faint);
}

.footer-socials a:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-faint);
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.75rem; color: var(--text-faint); }

.footer-bottom-links { display: flex; gap: 18px; }

.footer-bottom-links a {
  font-size: 0.75rem;
  color: var(--text-faint);
  transition: color var(--t-fast);
}
.footer-bottom-links a:hover { color: var(--text-secondary); }

/* ════════════════════════════════════════════
   ✦  LIGHT SECTION OVERRIDES
   ════════════════════════════════════════════ */

/* Step numbers on light bg */
.section--light .step-num {
  background: #FFFFFF;
  border-color: var(--light-border);
  color: var(--light-text);
  box-shadow: 0 2px 12px rgba(27,37,48,0.08);
}
.section--light .steps-row::before { background: var(--light-border); }
.section--light .step-item h3 { color: var(--light-text); }
.section--light .step-item p  { color: var(--light-muted); }

/* Case cards on light bg */
.section--light .case-card {
  background: #FFFFFF;
  border-color: var(--light-border);
  box-shadow: 0 2px 12px rgba(27,37,48,0.06);
}
.section--light .case-card:hover {
  background: #FFFFFF;
  border-color: rgba(27,37,48,0.18);
  box-shadow: 0 8px 32px rgba(27,37,48,0.12);
}
.section--light .case-before { background: var(--light-surface); }
.section--light .case-after  { background: var(--light-text); }
.section--light .case-before .case-tag { color: var(--light-muted); }
.section--light .case-after  .case-tag { color: rgba(255,255,255,0.5); }
.section--light .case-before .case-rank { color: var(--light-muted); }
.section--light .case-after  .case-rank { color: #FFFFFF; }
.section--light .case-desc { color: var(--light-muted); }
.section--light .case-after .case-desc { color: rgba(255,255,255,0.5); }
.section--light .case-arrow {
  background: #FFFFFF;
  border-color: var(--light-border);
  color: var(--light-text);
  box-shadow: 0 2px 8px rgba(27,37,48,0.1);
}
.section--light .case-industry { color: var(--light-muted); }
.section--light .case-body h3  { color: var(--light-text); }
.section--light .case-body p   { color: var(--light-muted); }
.section--light .cm-val { color: var(--light-text); }
.section--light .cm-key { color: var(--light-muted); }
.section--light .case-metrics { border-top: 1px solid var(--light-border); padding-top: 12px; }

/* Testimonial cards on light bg */
.section--light .testi-card {
  background: #FFFFFF;
  border-color: var(--light-border);
  box-shadow: 0 2px 12px rgba(27,37,48,0.06);
}
.section--light .testi-card:hover {
  border-color: rgba(27,37,48,0.18);
  box-shadow: 0 8px 32px rgba(27,37,48,0.10);
  background: #FFFFFF;
}
.section--light .testi-author { border-top-color: var(--light-border); }
.section--light .testi-text  { color: var(--light-muted); }
.section--light .ta-avatar   { background: var(--light-surface) !important; border-color: var(--light-border); color: var(--light-text); }
.section--light .ta-name     { color: var(--light-text); }
.section--light .ta-biz      { color: var(--light-muted); }

/* btn-outline on light bg */
.section--light .btn-outline {
  color: var(--light-text);
  border-color: rgba(27,37,48,0.2);
}
.section--light .btn-outline:hover {
  background: rgba(27,37,48,0.06);
  border-color: rgba(27,37,48,0.35);
}

/* sp-section light variants */
.sp-section.section--light .sp-list li   { color: var(--light-text); }
.sp-section.section--light .sp-left h2  { color: var(--light-text); }
.sp-section.section--light .sp-left p   { color: var(--light-muted); }
.sp-section.section--light .sp-stat-val { color: var(--light-text); }
.sp-section.section--light .sp-stat-label { color: var(--light-muted); }
.sp-section.section--light .sp-stat-row { border-color: var(--light-border); }
.sp-section.section--light .sp-tick {
  background: rgba(27,37,48,0.08);
  color: var(--light-text);
  border-color: var(--light-border);
}
.sp-section.section--light .sp-badge {
  background: rgba(27,37,48,0.05);
  border-color: var(--light-border);
}
.sp-section.section--light .sp-badge-num {
  background: var(--light-text);
  color: #FFFFFF;
}
.sp-section.section--light .sp-badge-name { color: var(--light-muted); }

/* sp-code-metric on light bg */
.sp-section.section--light .sp-code-metric {
  background: #FFFFFF;
  border-color: var(--light-border);
  box-shadow: 0 2px 12px rgba(27,37,48,0.08);
}
.sp-section.section--light .spm-label { color: var(--light-text); }
.sp-section.section--light .spm-ring span { color: var(--light-text); }
.sp-section.section--light .spm-ring svg circle:last-child { stroke: var(--light-text); }

/* sp-article-card on light */
.sp-section.section--light .sp-article-card {
  background: #FFFFFF;
  border-color: var(--light-border);
  box-shadow: 0 4px 20px rgba(27,37,48,0.08);
}
.sp-section.section--light .sac-eyebrow { color: var(--light-muted); }
.sp-section.section--light .sac-title   { color: var(--light-text); }
.sp-section.section--light .sac-tag {
  background: var(--light-surface);
  border-color: var(--light-border);
  color: var(--light-text);
}
.sp-section.section--light .sac-bar     { background: var(--light-border); }
.sp-section.section--light .sac-footer  { border-top-color: var(--light-border); }
.sp-section.section--light .sac-rank    { color: var(--light-muted); }
.sp-section.section--light .sac-rank strong { color: var(--light-text); }
.sp-section.section--light .sac-traffic {
  color: var(--light-text);
  background: var(--light-surface);
  border-color: var(--light-border);
}

/* sp-ads-panel on light */
.sp-section.section--light .sp-ads-panel {
  background: #FFFFFF;
  border-color: var(--light-border);
  box-shadow: 0 4px 20px rgba(27,37,48,0.08);
}
.sp-section.section--light .sap-header { color: var(--light-muted); }
.sp-section.section--light .sap-metric {
  background: var(--light-surface);
  border-color: var(--light-border);
}
.sp-section.section--light .sap-val { color: var(--light-text); }
.sp-section.section--light .sap-key { color: var(--light-muted); }
.sp-section.section--light .sap-bar { background: var(--light-border); }
.sp-section.section--light .sap-bar--hi { background: var(--light-text); }
.sp-section.section--light .sap-label { color: var(--light-muted); border-top-color: var(--light-border); }

/* ss-pill on light bg */
.section--light .ss-pill {
  background: #FFFFFF;
  border-color: var(--light-border);
  color: var(--light-text);
}
.section--light .ss-pill:hover {
  background: var(--light-text);
  color: #FFFFFF;
  border-color: var(--light-text);
}

/* btn-primary on light bg — stay dark */
.section--light .btn-primary {
  background: var(--light-text);
  color: #FFFFFF;
  border-color: var(--light-text);
}
.section--light .btn-primary:hover {
  background: var(--navy-1);
  border-color: var(--navy-1);
}

/* Ranking promo section on light bg */
.section--light .eyebrow {
  color: var(--light-muted);
  background: rgba(27,37,48,0.05);
  border-color: rgba(27,37,48,0.12);
}

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.08s; }
.fade-up.delay-2 { transition-delay: 0.16s; }
.fade-up.delay-3 { transition-delay: 0.24s; }
.fade-up.delay-4 { transition-delay: 0.32s; }
.fade-up.delay-5 { transition-delay: 0.40s; }

/* ════════════════════════════════════════════
   ✦  SPECIAL SUITE — all five service sections
   ════════════════════════════════════════════ */

/* ── Suite intro pill row ── */
.special-intro { padding-bottom: 24px; }

.special-suite-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.ss-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--navy-2);
  border: 1.5px solid var(--border-bright);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  transition: all var(--t-base) var(--ease);
  cursor: pointer;
}

.ss-pill:hover {
  background: var(--text-primary);
  color: var(--navy-1);
  border-color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Common sp-section shared styles ── */
.sp-section { position: relative; }

/* Split layout */
.sp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sp-split--reverse {
  grid-template-columns: 1fr 1fr;
}
.sp-split--reverse .sp-left { order: 2; }
.sp-split--reverse .sp-right { order: 1; }

/* Badge */
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 24px;
}

.sp-badge--dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.sp-badge--center { margin: 0 auto 24px; }

.sp-badge-num {
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.15);
  color: var(--text-primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  flex-shrink: 0;
}

.sp-badge--dark .sp-badge-num {
  background: rgba(255,255,255,0.18);
  color: var(--text-primary);
}

.sp-badge-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.sp-badge--dark .sp-badge-name { color: rgba(255,255,255,0.5); }

/* Heading */
.sp-left h2 { margin-bottom: 16px; }

/* Body text */
.sp-left p {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 460px;
  line-height: 1.75;
}

/* Dark variant text (all sp-sections are on dark bg) */
.sp-section .sp-left p  { color: var(--text-secondary); }
.sp-section .sp-left h2 { color: var(--text-primary); }
.sp-section.section--dark .sp-left p { color: rgba(255,255,255,0.5); }
.sp-section.section--dark .sp-left h2 { color: var(--text-primary); }

/* Feature list */
.sp-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
}

.sp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.sp-list--dark li { color: rgba(255,255,255,0.7); }

.sp-tick {
  width: 20px; height: 20px;
  background: rgba(255,255,255,0.12);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.sp-tick--dark {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
}

/* Stat row */
.sp-stat-row {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border-bright);
  border-bottom: 1px solid var(--border-bright);
}

.sp-stat-row--dark {
  border-color: rgba(255,255,255,0.08);
}

.sp-stat { display: flex; flex-direction: column; gap: 3px; }

.sp-stat-val {
  font-family: var(--ff-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.sp-stat-row--dark .sp-stat-val { color: var(--white); }

.sp-stat-label {
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 500;
}

.sp-stat-row--dark .sp-stat-label { color: rgba(255,255,255,0.35); }

/* CTA link */
.sp-cta { margin-top: 4px; }

/* ─────────────────────────────────────────────
   SPECIAL CODE visual
───────────────────────────────────────────── */
.sp-code-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sp-code-block {
  background: var(--black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--grey-700);
}

.scb-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--grey-900);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.scb-dots { display: flex; gap: 6px; }
.scb-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: block;
}

.scb-tab {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
}

.scb-body {
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.5;
}

.scb-line { display: flex; gap: 6px; align-items: baseline; }
.scb-indent { padding-left: 20px; }

.scb-tag  { color: rgba(255,255,255,0.5); }
.scb-attr { color: rgba(255,255,255,0.65); }
.scb-str  { color: rgba(255,255,255,0.4); }
.scb-text { color: rgba(255,255,255,0.82); }

.scb-cursor {
  color: rgba(255,255,255,0.5);
  animation: blink 1.2s step-end infinite;
  margin-top: 4px;
  font-size: 1rem;
}

/* Performance ring */
.sp-code-metric {
  background: var(--navy-3);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.spm-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.spm-ring {
  position: relative;
  width: 52px; height: 52px;
  flex-shrink: 0;
}

.spm-ring svg { width: 52px; height: 52px; transform: rotate(-90deg); }

.spm-ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* ─────────────────────────────────────────────
   SPECIAL RANK visual
───────────────────────────────────────────── */
.sp-rank-map {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.rank-map-top {
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rank-map-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  width: 100%;
}

.rank-pack { padding: 16px 20px; display: flex; flex-direction: column; gap: 0; }

.rp-header {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 12px;
}

.rp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 6px;
  transition: background var(--t-fast);
}

.rp-item--1 {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
}

.rp-rank {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  width: 28px;
  flex-shrink: 0;
}

.rp-rank--dim { color: rgba(255,255,255,0.25); }

.rp-info { flex: 1; }

.rp-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.rp-name--dim { color: rgba(255,255,255,0.25); }

.rp-stars {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.7);
}
.rp-stars span { color: rgba(255,255,255,0.5); margin-left: 4px; }
.rp-stars--dim { color: rgba(255,255,255,0.18); }
.rp-stars--dim span { color: rgba(255,255,255,0.18); }

.rp-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 100px;
}

/* ─────────────────────────────────────────────
   SPECIAL CONTENT visual
───────────────────────────────────────────── */
.sp-article-card {
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.sac-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.sac-title {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.sac-meta {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.sac-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  color: var(--text-secondary);
}

.sac-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.sac-bar {
  height: 6px;
  background: rgba(255,255,255,0.10);
  border-radius: 3px;
}

.sac-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-bright);
}

.sac-rank {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-weight: 500;
}

.sac-rank strong { color: var(--text-primary); }

.sac-traffic {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-bright);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ─────────────────────────────────────────────
   SPECIAL ADS visual
───────────────────────────────────────────── */
.sp-ads-panel {
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.sap-header {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.sap-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.sap-metric {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
}

.sap-val {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.sap-key {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sap-chart {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-bottom: 10px;
}

.sap-bar {
  flex: 1;
  background: rgba(255,255,255,0.10);
  border-radius: 3px 3px 0 0;
  transition: background var(--t-base);
}

.sap-bar--hi { background: rgba(255,255,255,0.75); }

.sap-label {
  font-size: 0.68rem;
  color: var(--text-faint);
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid var(--border-bright);
}

/* ─────────────────────────────────────────────
   SPECIAL GROWTH section
───────────────────────────────────────────── */
.sg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-bright);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 52px;
}

.sg-card {
  background: var(--navy-1);
  padding: 36px 28px;
  transition: background var(--t-base);
  position: relative;
}

.sg-card:hover { background: var(--navy-2); }

.sg-icon {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.15);
  margin-bottom: 18px;
  line-height: 1;
  display: block;
}

.sg-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 700;
}

.sg-card p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

.sg-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   NAV DROPDOWN (Special Suite)
───────────────────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle { cursor: pointer; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
  transform: translateX(-50%) translateY(-4px);
  z-index: 999;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--t-fast);
  background: none !important;
}

.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.06) !important; color: var(--text-primary) !important; }

.ndm-num {
  width: 18px; height: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-faint);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   MOBILE DRAWER — Special section labels
───────────────────────────────────────────── */
.nd-group-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 16px 14px 6px;
}

.nd-sub {
  padding-left: 24px !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--text-faint) !important;
}

.nd-sub:hover { color: var(--text-primary) !important; }

/* ── Responsive — Tablet ── */
/* ── Nav squeeze: compress nav at mid-range viewports ── */
@media (max-width: 1200px) {
  .nav { gap: 16px; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: 0.78rem; padding: 6px 8px; }
  .lang-btn { padding: 5px 8px; font-size: 0.75rem; }
  .btn-sm { padding: 7px 12px; font-size: 0.78rem; }
}

@media (max-width: 1024px) {
  .hero-inner          { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual         { display: none; }
  .feature-grid        { grid-template-columns: 1fr 1fr; }
  .services-grid       { grid-template-columns: 1fr; }
  .stats-strip-grid    { grid-template-columns: repeat(2,1fr); }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.05); border-top: 1px solid rgba(255,255,255,0.05); }
  .stat-block:nth-child(4) { border-right: none; border-top: 1px solid rgba(255,255,255,0.05); }
  .case-grid           { grid-template-columns: 1fr 1fr; }
  .testi-grid          { grid-template-columns: 1fr 1fr; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mockup-split-inner  { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid        { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .service-detail      { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
  .service-detail.flip { direction: ltr; }
  .cs-full-header      { grid-template-columns: 1fr; }
  .download-includes   { grid-template-columns: 1fr; }
  .steps-row::before   { display: none; }
  .steps-row           { gap: 20px; }
  /* Special sections tablet */
  .sp-split, .sp-split--reverse { grid-template-columns: 1fr; gap: 48px; }
  .sp-split--reverse .sp-left  { order: 1; }
  .sp-split--reverse .sp-right { order: 2; }
  .sg-grid   { grid-template-columns: 1fr 1fr; }
  .sap-metrics { grid-template-columns: repeat(3, 1fr); }
}

/* ── Responsive — Mobile ── */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .hero {
    padding: 100px 0 60px;
    min-height: 100svh;
    background-position: center right;
    background-size: cover;
  }
  /* Dark overlay so text is always readable on mobile */
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(10,11,15,0.92) 0%,
      rgba(10,11,15,0.80) 55%,
      rgba(10,11,15,0.40) 100%
    );
    z-index: 1;
  }
  .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 0 20px;
  }
  .hero h1, .typewriter-h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.2;
    min-height: auto;
    margin-bottom: 16px;
  }
  .hero-sub {
    font-size: 0.92rem;
    max-width: 100%;
    margin-bottom: 28px;
    line-height: 1.65;
  }
  .hero-badge { margin-bottom: 16px; font-size: 0.78rem; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 32px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-social-proof { flex-direction: column; align-items: flex-start; gap: 10px; }
  .proof-text { font-size: 0.8rem; }

  .feature-grid  { grid-template-columns: 1fr; }
  .case-grid     { grid-template-columns: 1fr; }
  .testi-grid    { grid-template-columns: 1fr; }
  .stats-strip-grid { grid-template-columns: 1fr 1fr; }
  .steps-row     { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .form-wrap     { padding: 28px 20px; }
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-btns      { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 300px; justify-content: center; }
  .audit-banner  { flex-direction: column; text-align: center; }
  .audit-banner .btn { width: 100%; justify-content: center; }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 100%; }
  .plan-card.featured { margin-top: 14px; }
  .card-row      { grid-template-columns: 1fr; }
  .download-panel { padding: 32px 20px; }
  .download-includes { grid-template-columns: 1fr; }
  .csf-before, .csf-after { padding: 26px 22px; }
  .cs-full-body  { padding: 26px 22px; }
  .sd-results    { grid-template-columns: 1fr 1fr; }
  .nav-drawer    { width: 100vw; max-width: 100%; }
  /* Special sections mobile */
  .sg-grid    { grid-template-columns: 1fr; }
  .sap-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sp-stat-row { gap: 20px; }
  .sg-cta-row .btn { width: 100%; justify-content: center; }
  .special-suite-row { gap: 8px; }
  .ss-pill { font-size: 0.75rem; padding: 8px 16px; }
}

@media (max-width: 400px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.65rem; }
  .btn-xl { padding: 16px 28px; font-size: 0.9rem; }
  .stat-num { font-size: 2rem; }
}

/* ══════════════════════════════════════════════════════
   LANGUAGE SWITCHER — Desktop Nav
══════════════════════════════════════════════════════ */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--ff-body);
  cursor: pointer;
  transition: all var(--t-fast);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.10);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.18);
}

.lang-btn .lang-flag { font-size: 1rem; line-height: 1; }
.lang-btn .lang-chevron {
  font-size: 0.6rem;
  opacity: 0.6;
  transition: transform var(--t-fast);
}
.lang-switcher.open .lang-btn .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 6px;
  min-width: 160px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast);
  z-index: 9999;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
  border: none;
  background: none;
  width: 100%;
  font-family: var(--ff-body);
  text-align: left;
}
.lang-option:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }
.lang-option.active { color: var(--text-primary); background: rgba(255,255,255,0.08); }
.lang-option .lo-flag { font-size: 1rem; line-height: 1; flex-shrink: 0; }
.lang-option .lo-name { flex: 1; }
.lang-option .lo-check { font-size: 0.7rem; color: rgba(255,255,255,0.5); }

/* Hide desktop switcher on mobile */
@media (max-width: 768px) {
  .nav-actions .lang-switcher { display: none; }
}

/* ── Mobile drawer lang switcher ── */
.nav-drawer .lang-switcher {
  margin: 10px 14px 4px;
}
.nav-drawer .lang-btn {
  width: 100%;
  justify-content: space-between;
}
.nav-drawer .lang-dropdown {
  position: static;
  opacity: 1;
  pointer-events: all;
  transform: none;
  box-shadow: none;
  border: none;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  margin-top: 6px;
  display: none;
  padding: 4px;
}
.nav-drawer .lang-switcher.open .lang-dropdown { display: block; }

/* ══════════════════════════════════════════════════════
   FLOATING LANGUAGE BUTTON — Always visible on mobile
══════════════════════════════════════════════════════ */
.lang-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  /* Visible on ALL screen sizes by default */
}

/* Hide on desktop (wide screens) — desktop has nav switcher */
@media (min-width: 769px) {
  .lang-float { display: none; }
}

.lang-float-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: 30px;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--ff-body);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  transition: all var(--t-fast);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lang-float-btn:hover {
  background: var(--navy-3);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 6px 24px rgba(0,0,0,0.55);
  transform: translateY(-1px);
}

.lang-float-btn .lf-flag { font-size: 1.1rem; line-height: 1; }
.lang-float-btn .lf-code { font-size: 0.78rem; font-weight: 700; }

/* The pop-up menu — appears ABOVE the button */
.lang-float-menu {
  background: var(--navy-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  padding: 6px;
  min-width: 160px;
  display: none;
  flex-direction: column;
  gap: 2px;
}

.lang-float.open .lang-float-menu {
  display: flex;
}

.lf-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
  border: none;
  background: none;
  width: 100%;
  font-family: var(--ff-body);
  text-align: left;
}
.lf-option:hover { background: rgba(255,255,255,0.07); color: var(--text-primary); }
.lf-option.active { color: var(--text-primary); background: rgba(255,255,255,0.10); }
.lf-opt-flag { font-size: 1rem; line-height: 1; flex-shrink: 0; }
.lf-opt-name { flex: 1; }
.lf-check { font-size: 0.7rem; color: var(--accent); font-weight: 700; }

/* ══════════════════════════════════════════════════════
   WORK SHOWCASE — logo marquee strip
   ══════════════════════════════════════════════════════ */

.work-showcase {
  padding: 36px 0;
  background: var(--navy-1);
  overflow: hidden;
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}

/* Outer wrapper — hides overflow and holds the fade overlays */
.ws-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* The scrolling track */
.ws-marquee {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ws-scroll 30s linear infinite;
  will-change: transform;
}

.ws-marquee-wrap:hover .ws-marquee { animation-play-state: paused; }

@keyframes ws-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual logo pill */
.ws-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  border-right: 1px solid var(--border-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.ws-logo-icon {
  font-size: 1.4rem;
  line-height: 1;
  opacity: 0.75;
}

.ws-logo-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

/* Edge fade overlays */
.ws-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 2;
}
.ws-fade--left  { left:  0; background: linear-gradient(to right, var(--navy-1), transparent); }
.ws-fade--right { right: 0; background: linear-gradient(to left,  var(--navy-1), transparent); }

@media (max-width: 768px) {
  .ws-logo-item { padding: 0 28px; }
  .ws-logo-name { font-size: 0.82rem; }
  .ws-fade { width: 60px; }
  .ws-marquee { animation-duration: 22s; }
}
