/* ============================================================
   BOOTPRIME — style.css  v2.0
   Light/Dark theme system · Multi-page · Fully responsive
   ============================================================ */

/* ─── DARK THEME (default) ─── */
:root {
  --bg: #080810;
  --bg2: #0b0b14;
  --surface: #0e0e1a;
  --surface2: #13131f;
  --surface3: #181828;
  --border: rgba(255, 255, 255, 0.06);
  --border-bright: rgba(255, 255, 255, 0.12);
  --text: #f0f0f8;
  --text2: #c8c8e0;
  --muted: #6b6b8a;
  --muted2: #9090b0;
  --accent: #4f6ef7;
  --accent-bright: #6b85ff;
  --accent-glow: rgba(79, 110, 247, 0.15);
  --accent2: #00d4aa;
  --accent2-glow: rgba(0, 212, 170, 0.12);
  --gold: #f5b944;
  --red: #ff4f6e;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 40px 120px rgba(0, 0, 0, 0.7);
  --nav-glass: rgba(8, 8, 16, 0.88);
  --mobile-menu: rgba(8, 8, 16, 0.97);
  --cookie-bg: #13131f;
  --grid-line: rgba(79, 110, 247, 0.025);
  --hero-glow: rgba(79, 110, 247, 0.09);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Geist', system-ui, sans-serif;
  --font-mono: 'Geist Mono', monospace;
  --nav-h: 64px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --theme-transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* ─── LIGHT THEME ─── */
[data-theme="light"] {
  --bg: #ffffff;
  --bg2: #f8f9fc;
  --surface: #f3f4f8;
  --surface2: #ecedf3;
  --surface3: #e5e6ee;
  --border: rgba(0, 0, 0, 0.07);
  --border-bright: rgba(0, 0, 0, 0.13);
  --text: #0f0f1a;
  --text2: #2a2a3d;
  --muted: #8888a8;
  --muted2: #5c5c7a;
  --accent: #3d5ee8;
  --accent-bright: #4f6ef7;
  --accent-glow: rgba(61, 94, 232, 0.1);
  --accent2: #00b894;
  --accent2-glow: rgba(0, 184, 148, 0.1);
  --gold: #d4930a;
  --red: #e53e5a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 40px 120px rgba(0, 0, 0, 0.12);
  --nav-glass: rgba(255, 255, 255, 0.92);
  --mobile-menu: rgba(255, 255, 255, 0.99);
  --cookie-bg: #ffffff;
  --grid-line: rgba(61, 94, 232, 0.04);
  --hero-glow: rgba(61, 94, 232, 0.06);
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  transition: var(--theme-transition);
}

@media (hover: none) {
  body {
    cursor: auto;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* ─── PAGE FADE IN ─── */
body {
  animation: pageFadeIn 0.4s ease;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ─── LOADER ─── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  width: 0;
  animation: load 1.3s var(--ease) forwards;
}

@keyframes load {
  to {
    width: 100%;
  }
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ─── SCROLL PROGRESS ─── */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 8999;
  width: 0%;
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent-bright);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 8998;
  mix-blend-mode: difference;
  transition: transform 0.12s ease;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(79, 110, 247, 0.45);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 8997;
}

.cursor.hover {
  transform: scale(2.8);
}

.cursor-ring.hover {
  transform: scale(1.7);
  border-color: rgba(79, 110, 247, 0.8);
}

[data-theme="light"] .cursor {
  mix-blend-mode: normal;
  background: var(--accent);
}

[data-theme="light"] .cursor-ring {
  border-color: rgba(61, 94, 232, 0.4);
}

[data-theme="light"] .cursor-ring.hover {
  border-color: rgba(61, 94, 232, 0.8);
}

@media (hover: none) {

  .cursor,
  .cursor-ring {
    display: none;
  }
}

/* ─── BACKGROUNDS ─── */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  transition: background-image 0.35s ease;
}

.grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% -10%, var(--hero-glow) 0%, transparent 70%);
}

#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0
  }

  10% {
    opacity: 1
  }

  90% {
    opacity: 0.5
  }

  100% {
    transform: translateY(-30px) scale(1);
    opacity: 0
  }
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 700;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

nav.scrolled {
  background: var(--nav-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s;
}

.nav-logo:hover .nav-logo-img {
  opacity: 0.85;
}

@keyframes shimmer {

  0%,
  100% {
    transform: translateX(-200%)
  }

  50% {
    transform: translateX(200%)
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--muted2);
  font-size: 14px;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 500 !important;
  transition: all 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-bright) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow) !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ─── THEME TOGGLE ─── */
.theme-toggle {
  width: 40px;
  height: 22px;
  background: var(--surface2);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 2px;
}

.theme-toggle-thumb {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  line-height: 1;
}

[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(18px);
}

.theme-toggle-thumb::before {
  content: '🌙';
}

[data-theme="light"] .theme-toggle-thumb::before {
  content: '☀️';
}

.theme-toggle:hover {
  border-color: var(--accent);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: var(--mobile-menu);
  backdrop-filter: blur(24px);
  z-index: 690;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-mobile.open {
  display: flex;
  animation: mobileIn 0.3s var(--ease);
}

@keyframes mobileIn {
  from {
    opacity: 0;
    transform: translateY(-12px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.nav-mobile a {
  font-size: 26px;
  font-weight: 500;
  color: var(--muted2);
  font-family: var(--font-display);
  transition: color 0.2s;
}

.nav-mobile a:hover {
  color: var(--text);
}

.nav-mobile .nav-cta {
  font-family: var(--font-body) !important;
  font-size: 18px !important;
  padding: 14px 40px !important;
  border-radius: 10px;
}

/* ─── PAGE HEADER (inner pages) ─── */
.page-header {
  padding: calc(var(--nav-h) + 72px) 0 80px;
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(79, 110, 247, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  color: var(--accent-bright);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.5s ease 0.1s backwards;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  animation: fadeUp 0.5s ease 0.2s backwards;
}

.page-header h1 em {
  font-style: italic;
  color: var(--accent-bright);
}

.page-header p {
  font-size: 18px;
  color: var(--muted2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
  animation: fadeUp 0.5s ease 0.3s backwards;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
  animation: fadeUp 0.5s ease backwards;
}

.breadcrumb a {
  color: var(--accent-bright);
}

.breadcrumb-sep {
  color: var(--muted);
}

/* ─── LAYOUT ─── */
section {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-pad {
  padding: 100px 0;
}

.section-pad-alt {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ─── TYPOGRAPHY ─── */
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-h {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}

.section-h em {
  font-style: italic;
  color: var(--accent-bright);
}

.section-sub {
  font-size: 17px;
  color: var(--muted2);
  line-height: 1.7;
  max-width: 520px;
  font-weight: 300;
}

.text-center {
  text-align: center;
}

.text-center .section-tag {
  justify-content: center;
}

.text-center .section-sub {
  margin: 0 auto;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.25
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.5
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.7
  }

  100% {
    transform: scale(1.9);
    opacity: 0
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes popUp {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(10px)
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0)
  }
}

@keyframes typingDot {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4
  }

  50% {
    transform: translateY(-5px);
    opacity: 1
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, .1) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--muted2);
  border: 1px solid var(--border-bright);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  cursor: pointer;
  padding: 0;
}

.btn-ghost:hover {
  gap: 10px;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  padding: 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  z-index: 1;
}

.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-stat {
  text-align: center;
}

.trust-stat-val {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--text);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.trust-stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--hero-glow) 0%, transparent 68%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(79, 110, 247, 0.22);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  color: var(--accent-bright);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 40px;
  animation: fadeUp 0.6s ease 0.2s backwards;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  animation: blink 2s ease infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease 0.3s backwards;
  max-width: 940px;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-bright);
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 1px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted2);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.75;
  font-weight: 300;
  animation: fadeUp 0.6s ease 0.4s backwards;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.5s backwards;
}

/* Terminal */
.hero-terminal {
  margin-top: 72px;
  width: 100%;
  max-width: 680px;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  overflow: hidden;
  animation: fadeUp 0.6s ease 0.6s backwards;
  box-shadow: var(--shadow-xl);
}

.terminal-bar {
  background: var(--surface2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.td-red {
  background: #ff5f57
}

.td-yellow {
  background: #febc2e
}

.td-green {
  background: #28c840
}

.terminal-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.9;
  text-align: left;
  min-height: 180px;
}

.t-line {
  display: flex;
  gap: 12px;
  margin-bottom: 2px;
}

.t-prompt {
  color: var(--accent2);
  flex-shrink: 0;
}

.t-cmd {
  color: var(--text);
}

.t-output {
  color: var(--muted2);
  padding-left: 24px;
}

.t-success {
  color: var(--accent2);
  padding-left: 24px;
}

.t-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent-bright);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}

/* ─── SERVICES GRID ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 64px;
}

.service-card {
  background: var(--surface);
  padding: 40px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: var(--surface2);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}

.si-blue {
  background: var(--accent-glow);
  border: 1px solid rgba(79, 110, 247, 0.2);
}

.si-green {
  background: var(--accent2-glow);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.si-gold {
  background: rgba(245, 185, 68, 0.08);
  border: 1px solid rgba(245, 185, 68, 0.18);
}

.si-purple {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.18);
}

.service-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--surface3);
  border: 1px solid var(--border);
  color: var(--muted2);
}

/* ─── SERVICE DETAIL CARDS (services page) ─── */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-detail-inner.reverse {
  direction: rtl;
}

.service-detail-inner.reverse>* {
  direction: ltr;
}

.service-detail-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-bright);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail-number::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.service-detail h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

.service-detail h2 em {
  font-style: italic;
  color: var(--accent-bright);
}

.service-detail-desc {
  font-size: 16px;
  color: var(--muted2);
  line-height: 1.75;
  margin-bottom: 28px;
}

.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.6;
}

.benefit-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent2-glow);
  border: 1px solid rgba(0, 212, 170, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-visual {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.metric-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent2);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.tool-chip {
  background: var(--surface3);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.tool-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tool-chip-icon {
  font-size: 16px;
}

/* ─── HOW IT WORKS ─── */
.how {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}

.how-steps {
  display: flex;
  flex-direction: column;
}

.how-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.how-step:last-child {
  border-bottom: none;
}

.how-step:hover .step-title {
  color: var(--text);
}

.how-step.active .step-num {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.how-step.active .step-title {
  color: var(--text);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.3s;
  font-weight: 500;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted2);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.how-visual {
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 32px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.how-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 70%);
}

.flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.flow-node {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s;
  cursor: pointer;
}

.flow-node:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 2px 16px var(--accent-glow);
}

.flow-node.active {
  border-color: var(--accent);
  background: var(--accent-glow);
  box-shadow: 0 0 24px var(--accent-glow);
}

.flow-node.node-done {
  border-color: rgba(0, 212, 170, 0.4);
  background: rgba(0, 212, 170, 0.06);
}

.flow-node.node-waiting {
  border-color: var(--border);
  background: var(--surface);
  opacity: 0.65;
}

.flow-node-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.flow-node-text {
  flex: 1;
}

.flow-node-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.flow-node-sub {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.flow-node-status {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}

.status-done {
  background: var(--accent2-glow);
  color: var(--accent2);
  border: 1px solid rgba(0, 212, 170, 0.25);
}

.status-running {
  background: var(--accent-glow);
  color: var(--accent-bright);
  border: 1px solid rgba(79, 110, 247, 0.25);
  animation: pulse 1.5s ease infinite;
}

.status-waiting {
  background: var(--surface3);
  color: var(--muted);
  border: 1px solid var(--border);
}

.flow-arrow {
  text-align: center;
  color: var(--muted);
  font-size: 18px;
}

/* ─── USE CASES ─── */
.usecases {
  padding: 100px 0;
}

.usecases-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 24px;
}

.usecase-tabs {
  display: flex;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}

.usecase-tab {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted2);
  padding: 8px 16px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
}

.usecase-tab.active {
  background: var(--accent);
  color: #fff;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.usecase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.usecase-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.usecase-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at bottom right, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.usecase-industry {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.usecase-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.usecase-desc {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.7;
  margin-bottom: 24px;
}

.usecase-metrics {
  display: flex;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.um-val {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent2);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.um-label {
  font-size: 12px;
  color: var(--muted);
}

/* ─── CASE STUDY CARDS ─── */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 64px;
}

.cs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-bright);
}

.cs-card-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.cs-card-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.cs-card:hover .cs-card-header::before {
  transform: scaleX(1);
}

.cs-industry {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.cs-title {
  font-size: 21px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cs-client {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-client-dot {
  width: 6px;
  height: 6px;
  background: var(--accent2);
  border-radius: 50%;
}

.cs-card-body {
  padding: 24px 32px 28px;
}

.cs-challenge {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cs-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.cs-result {
  text-align: center;
  background: var(--surface2);
  border-radius: 10px;
  padding: 14px 8px;
}

.cs-result-val {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--accent2);
  display: block;
  margin-bottom: 4px;
}

.cs-result-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* CS Modal */
.cs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cs-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cs-modal {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: popUp 0.35s var(--ease);
}

.cs-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--muted);
  transition: all 0.2s;
  z-index: 10;
}

.cs-modal-close:hover {
  background: var(--surface3);
  color: var(--text);
}

.cs-modal-inner {
  padding: 48px;
}

.cs-modal-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.cs-modal-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 8px;
}

.cs-modal-client {
  font-size: 14px;
  color: var(--muted2);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.cs-modal-section {
  margin-bottom: 28px;
}

.cs-modal-section h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.cs-modal-section p {
  font-size: 15px;
  color: var(--muted2);
  line-height: 1.75;
}

.cs-modal-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.cs-modal-metric {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.cs-modal-metric-val {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--accent2);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.cs-modal-metric-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cs-modal-quote {
  background: var(--accent-glow);
  border: 1px solid rgba(79, 110, 247, 0.2);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
}

.cs-modal-quote-attr {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  color: var(--muted2);
  margin-top: 10px;
  display: block;
}

/* ─── AI SECTION ─── */
.ai-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ai-chat {
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.ai-chat-bar {
  background: var(--surface2);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.ai-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ai-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.ai-status {
  font-size: 12px;
  color: var(--accent2);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ai-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  animation: blink 2s ease infinite;
}

.ai-messages {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
}

.msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.msg.user {
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.ma-ai {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.ma-user {
  background: var(--surface3);
  border: 1px solid var(--border);
  color: var(--muted2);
  font-size: 11px;
  font-weight: 600;
}

.msg-bubble {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  max-width: 280px;
}

.msg.user .msg-bubble {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.msg-bubble strong {
  color: var(--accent2);
  font-weight: 600;
}

.msg.user .msg-bubble strong {
  color: rgba(255, 255, 255, 0.85);
}

.ai-input {
  border-top: 1px solid var(--border);
  padding: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.ai-input-field {
  flex: 1;
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-body);
  outline: none;
}

.ai-send {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 16px;
  cursor: pointer;
}

.ai-send:hover {
  background: var(--accent-bright);
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}

.ai-feature:hover {
  border-color: rgba(79, 110, 247, 0.3);
  background: var(--accent-glow);
  transform: translateX(4px);
}

.ai-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(79, 110, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ai-feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.ai-feature-desc {
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.65;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 100px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.testimonials-swipe-hint {
  display: none;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

.testimonial-card:nth-child(2) {
  background: var(--accent-glow);
  border-color: rgba(79, 110, 247, 0.18);
}

.stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.av1 {
  background: linear-gradient(135deg, #4f6ef7, #7b95ff)
}

.av2 {
  background: linear-gradient(135deg, #00d4aa, #00a882)
}

.av3 {
  background: linear-gradient(135deg, #f5b944, #e8a020)
}

.av4 {
  background: linear-gradient(135deg, #ff4f6e, #d43355)
}

.av5 {
  background: linear-gradient(135deg, #a855f7, #7c3aed)
}

.av6 {
  background: linear-gradient(135deg, #f97316, #dc5a0a)
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.author-role {
  font-size: 12px;
  color: var(--muted);
}

.author-company {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-bright);
  margin-top: 2px;
}

/* ─── ABOUT ─── */
.about {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, var(--accent-glow) 60deg, transparent 120deg);
  animation: spin 20s linear infinite;
}

.about-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-founder {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
}

.founder-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.founder-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.founder-title {
  font-size: 13px;
  color: var(--accent-bright);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.founder-exp {
  font-size: 13px;
  color: var(--muted2);
}

.about-certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cert-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted2);
  transition: border-color 0.2s;
}

.cert-item:hover {
  border-color: rgba(79, 110, 247, 0.3);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 16px;
}

.value-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-bright);
  padding-top: 4px;
  width: 24px;
  flex-shrink: 0;
}

.value-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.value-desc {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.65;
}

/* ─── FAQ ─── */
.faq {
  padding: 100px 0;
}

.faq-grid {
  max-width: 780px;
  margin: 64px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s;
  font-family: var(--font-body);
}

.faq-q:hover {
  color: var(--accent-bright);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.3s;
}

.faq-item.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  font-size: 15px;
  color: var(--muted2);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding-bottom 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 22px;
}

/* ─── PRICING ─── */
.pricing {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.featured {
  background: var(--accent-glow);
  border-color: rgba(79, 110, 247, 0.28);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 20px;
  color: var(--muted2);
  font-family: var(--font-body);
}

.pricing-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.65;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pf {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted2);
}

.pf::before {
  content: '✓';
  color: var(--accent2);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: var(--font-body);
}

.pc-outline {
  border: 1px solid var(--border-bright) !important;
  color: var(--text);
  background: transparent;
}

.pc-outline:hover {
  background: var(--surface2);
}

.pc-solid {
  background: var(--accent);
  color: #fff;
}

.pc-solid:hover {
  background: var(--accent-bright);
}

/* ─── CONTACT PAGE ─── */
.contact-page {
  padding: 80px 0 120px;
}

.contact-page-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.contact-method:first-child {
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

.cm-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border: 1px solid rgba(79, 110, 247, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.cm-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-family: var(--font-mono);
}

.cm-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.cm-sub {
  font-size: 13px;
  color: var(--muted2);
}

.contact-reassurance {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.reassurance-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.reassurance-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted2);
}

.reassurance-item::before {
  content: '✓';
  color: var(--accent2);
  font-weight: 700;
  flex-shrink: 0;
}

.timezone-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted2);
}

.tz-dot {
  width: 8px;
  height: 8px;
  background: var(--accent2);
  border-radius: 50%;
  animation: blink 2s ease infinite;
  flex-shrink: 0;
}

.tz-time {
  font-family: var(--font-mono);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

/* Contact form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.form-sub {
  font-size: 14px;
  color: var(--muted2);
  margin-bottom: 32px;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1/-1;
}

.form-spacer {
  grid-column: 1/-1;
  height: 4px;
}

.form-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--red);
}

.form-error-msg {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  display: none;
}

.form-error-msg.show {
  display: block;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%236b6b8a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-select option {
  background: var(--surface2);
  color: var(--text);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.65;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  grid-column: 1/-1;
}

.form-submit:hover:not(:disabled) {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 20px;
}

.form-success-icon {
  font-size: 52px;
  margin-bottom: 16px;
}

.form-success-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-success-sub {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.6;
}

/* Calendly strip */
.calendly-strip {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.calendly-text h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.calendly-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.calendly-btn {
  background: #fff;
  color: var(--accent);
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  white-space: nowrap;
}

.calendly-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ─── FOOTER ─── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  color: var(--muted2);
}

.social-btn:hover {
  background: var(--accent-glow);
  border-color: rgba(79, 110, 247, 0.3);
  color: var(--accent-bright);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-copy span {
  color: var(--accent-bright);
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--text);
}

/* ─── STICKY CTA ─── */
#stickyCta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 600;
  background: var(--nav-glass);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-bright);
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
}

#stickyCta.visible {
  transform: translateY(0);
}

.sticky-text {
  font-size: 14px;
  color: var(--muted2);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sticky-text strong {
  color: var(--text);
  font-weight: 600;
}

.sticky-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.sticky-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
  cursor: pointer;
}

.sticky-close:hover {
  color: var(--text);
}

/* ─── AI CHAT WIDGET ─── */
.ai-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
}

.ai-widget-btn {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 32px var(--accent-glow);
  transition: all 0.3s;
  position: relative;
}

.ai-widget-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent-glow);
  animation: ripple 2s ease infinite;
}

.ai-widget-btn:hover {
  transform: scale(1.1);
}

.ai-widget-popup {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: none;
  transform-origin: bottom right;
}

.ai-widget-popup.open {
  display: block;
  animation: popUp 0.3s var(--ease);
}

.widget-header {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.widget-header-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.widget-header-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1px;
}

.widget-messages {
  padding: 16px;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.widget-messages::-webkit-scrollbar {
  width: 3px;
}

.widget-messages::-webkit-scrollbar-thumb {
  background: var(--border-bright);
  border-radius: 2px;
}

.w-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.w-msg.user {
  flex-direction: row-reverse;
}

.w-bubble {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
  max-width: 230px;
}

.w-msg.user .w-bubble {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.w-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 14px;
}

.w-typing span {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: typingDot 1.2s ease infinite;
}

.w-typing span:nth-child(2) {
  animation-delay: 0.2s
}

.w-typing span:nth-child(3) {
  animation-delay: 0.4s
}

.widget-input-row {
  border-top: 1px solid var(--border);
  padding: 12px;
  display: flex;
  gap: 8px;
}

.widget-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.widget-input:focus {
  border-color: var(--accent);
}

.widget-input::placeholder {
  color: var(--muted);
}

.widget-send {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border: none;
  border-radius: 7px;
  color: #fff;
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.widget-send:hover {
  background: var(--accent-bright);
}

/* ─── COOKIE ─── */
#cookieNotice {
  position: fixed;
  bottom: 16px;
  left: 16px;
  max-width: 300px;
  z-index: 550;
  background: var(--cookie-bg);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.5s var(--ease);
}

#cookieNotice.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cookie-text {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.cookie-accept:hover {
  background: var(--accent-bright);
}

.cookie-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 11px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.cookie-decline:hover {
  color: var(--text);
  border-color: var(--border-bright);
}

/* ─── CTA STRIP ─── */
.cta-strip {
  background: var(--accent);
  padding: 80px 0;
  text-align: center;
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
}

.cta-strip p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: #fff;
  color: var(--accent);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* ─── FOCUS / A11Y ─── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  nav {
    padding: 0 24px;
  }

  .container,
  .container-narrow {
    padding: 0 24px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .pricing-grid {
    gap: 16px;
  }

  .case-study-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-detail-inner {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-hamburger {
    display: flex;
  }

  .container,
  .container-narrow {
    padding: 0 20px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 58px);
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-terminal {
    margin-top: 48px;
  }

  .trust-bar {
    padding: 32px 20px;
  }

  .trust-stats {
    gap: 24px;
  }

  .trust-stat-val {
    font-size: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .how-visual {
    min-height: auto;
  }

  .usecases-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .usecase-grid {
    grid-template-columns: 1fr;
  }

  .ai-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* testimonials — swipeable horizontal scroll on mobile */
  .testimonials-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    min-width: 80vw;
    max-width: 320px;
    scroll-snap-align: start;
    flex-shrink: 0;
    width: auto;
  }

  /* contact — form first, info block second, calendly last */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-certs {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .faq-q {
    font-size: 15px;
  }

  .contact-page-inner {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .contact-form {
    order: 1;
    padding: 28px 20px;
  }

  .contact-info-block {
    order: 2;
    display: flex;
    flex-direction: column;
  }

  .contact-info-block .calendly-strip {
    order: 10;
    margin-top: 8px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #stickyCta {
    padding: 12px 20px;
    display: none;
  }

  .ai-widget {
    bottom: 20px;
    right: 16px;
  }

  .ai-widget-popup {
    width: 290px;
    right: -8px;
  }

  #cookieNotice {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: 12px;
  }

  .section-pad,
  .section-pad-alt {
    padding: 72px 0;
  }

  .how,
  .about,
  .ai-section,
  .testimonials,
  .usecases,
  .services,
  .faq,
  .pricing {
    padding: 72px 0;
  }

  .service-detail {
    padding: 56px 0;
  }

  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-detail-inner.reverse {
    direction: ltr;
  }

  .cs-card-header {
    padding: 24px;
  }

  .cs-card-body {
    padding: 20px 24px 24px;
  }

  .cs-results {
    grid-template-columns: repeat(3, 1fr);
  }

  .cs-modal-inner {
    padding: 32px 24px;
  }

  .cs-modal-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .page-header {
    padding: calc(var(--nav-h) + 48px) 0 56px;
  }

  .calendly-strip {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .testimonials-swipe-hint {
    display: block;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .about-certs {
    grid-template-columns: 1fr;
  }

  .cs-results {
    grid-template-columns: 1fr 1fr;
  }

  .cs-modal-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-price {
    font-size: 42px;
  }

  .trust-stats {
    gap: 16px;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal {
    gap: 16px;
  }

  nav {
    height: 56px;
  }

  :root {
    --nav-h: 56px;
  }
}

@media print {

  .cursor,
  .cursor-ring,
  #particles,
  .grid-bg,
  #loader,
  #scrollProgress,
  .ai-widget,
  #cookieNotice,
  #stickyCta,
  .nav-hamburger,
  .nav-mobile {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    cursor: auto;
  }
}

/* ═══════════════════════════════════════════════════════
   EXIT INTENT POPUP
═══════════════════════════════════════════════════════ */
#exitPopup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 850;
  width: 360px;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-xl);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s ease;
}

#exitPopup.show {
  transform: translateY(0);
  opacity: 1;
}

.exit-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.exit-close:hover {
  color: var(--text);
}

.exit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-glow);
  border: 1px solid rgba(79, 110, 247, 0.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--accent-bright);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.exit-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 8px;
}

.exit-sub {
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 20px;
}

.exit-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.exit-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.exit-input:focus {
  border-color: var(--accent);
}

.exit-input::placeholder {
  color: var(--muted);
}

.exit-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  white-space: nowrap;
}

.exit-btn:hover:not(:disabled) {
  background: var(--accent-bright);
}

.exit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.exit-disclaimer {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

.exit-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  display: none;
}

.exit-success {
  font-size: 13px;
  color: var(--accent2);
  margin-top: 8px;
  display: none;
  font-weight: 500;
}

@media (max-width: 480px) {
  #exitPopup {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 12px;
    padding: 22px 18px;
  }

  .exit-input-row {
    flex-direction: column;
    gap: 8px;
  }

  .exit-input {
    width: 100%;
    box-sizing: border-box;
  }

  .exit-btn {
    width: 100%;
    padding: 12px 18px;
    text-align: center;
  }

  .exit-title {
    font-size: 18px;
  }
}

/* ═══════════════════════════════════════════════════════
   URGENCY COUNTER
═══════════════════════════════════════════════════════ */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 185, 68, 0.08);
  border: 1px solid rgba(245, 185, 68, 0.25);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 24px;
}

.urgency-badge strong {
  color: var(--gold);
}

.urgency-badge.urgency-full {
  background: rgba(255, 79, 110, 0.08);
  border-color: rgba(255, 79, 110, 0.25);
}

/* ═══════════════════════════════════════════════════════
   TECH STACK SECTION
═══════════════════════════════════════════════════════ */
.tech-stack {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.tech-stack-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 28px;
}

.tech-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  transition: all 0.2s;
  white-space: nowrap;
}

.tech-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.tech-chip-icon {
  font-size: 18px;
}

/* ═══════════════════════════════════════════════════════
   ROI CALCULATOR PAGE
═══════════════════════════════════════════════════════ */
.roi-page {
  padding: 80px 0 120px;
}

.roi-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.roi-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.roi-form-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.roi-form-sub {
  font-size: 13px;
  color: var(--muted2);
  margin-bottom: 28px;
  line-height: 1.6;
}

.roi-field {
  margin-bottom: 20px;
}

.roi-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  display: block;
  margin-bottom: 8px;
}

.roi-input,
.roi-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.roi-input:focus,
.roi-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.roi-input::placeholder {
  color: var(--muted);
}

.roi-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%236b6b8a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.roi-select option {
  background: var(--surface2);
  color: var(--text);
}

.roi-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.roi-calc-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  margin-top: 8px;
}

.roi-calc-btn:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.roi-error {
  font-size: 13px;
  color: var(--red);
  margin-top: 12px;
  display: none;
}

.roi-right {
  position: sticky;
  top: 80px;
}

.roi-explainer {
  margin-bottom: 24px;
}

.roi-explainer-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.roi-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roi-step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.6;
}

.roi-step-num {
  width: 22px;
  height: 22px;
  background: var(--accent-glow);
  border: 1px solid rgba(79, 110, 247, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--accent-bright);
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-top: 1px;
}

#roiResults {
  display: none;
}

.roi-results-card {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  overflow: hidden;
}

.roi-results-header {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding: 20px 24px;
}

.roi-results-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.roi-results-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.roi-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.roi-card {
  background: var(--surface2);
  padding: 20px 16px;
  text-align: center;
}

.roi-card.highlight {
  background: var(--accent-glow);
}

.roi-result-val {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.roi-card.highlight .roi-result-val {
  color: var(--accent2);
}

.roi-result-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.roi-email-gate {
  padding: 24px;
  border-top: 1px solid var(--border);
}

.roi-email-gate-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.roi-email-gate-sub {
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 14px;
  line-height: 1.55;
}

.roi-email-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.roi-email-input {
  flex: 1;
  min-width: 140px;
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.roi-email-input:focus {
  border-color: var(--accent);
}

.roi-email-input::placeholder {
  color: var(--muted);
}

.roi-email-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  white-space: nowrap;
}

.roi-email-btn:hover:not(:disabled) {
  background: var(--accent-bright);
}

.roi-email-btn:disabled {
  opacity: 0.6;
}

.roi-email-disclaimer {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

.roi-email-err {
  font-size: 12px;
  color: var(--red);
  display: none;
  margin-top: 4px;
}

.roi-email-msg {
  font-size: 13px;
  color: var(--accent2);
  display: none;
  margin-top: 8px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .roi-inner {
    grid-template-columns: 1fr;
  }

  .roi-right {
    position: static;
  }

  .roi-results-grid {
    grid-template-columns: 1fr 1fr;
  }

  .roi-form-card {
    padding: 24px 20px;
  }
}

/* ═══════════════════════════════════════════════════════
   PROCESS HEALTH QUIZ PAGE
═══════════════════════════════════════════════════════ */
.quiz-page {
  padding: 60px 0 120px;
}

.quiz-container {
  max-width: 680px;
  margin: 0 auto;
}

.quiz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.quiz-header {
  padding: 28px 32px 0;
}

.quiz-progress-bar {
  height: 3px;
  background: var(--surface3);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  transition: width 0.4s var(--ease);
  width: 0%;
}

.quiz-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.quiz-body {
  padding: 28px 32px;
}

.quiz-question {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 28px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text2);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz-option::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-bright);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.2s;
}

.quiz-option:hover {
  border-color: rgba(79, 110, 247, 0.4);
  background: var(--accent-glow);
  color: var(--text);
}

.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--text);
}

.quiz-option.selected::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.quiz-footer {
  padding: 20px 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

.quiz-prev-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--muted2);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.quiz-prev-btn:hover {
  border-color: var(--border-bright);
  color: var(--text);
}

.quiz-next-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.quiz-next-btn:hover:not(:disabled) {
  background: var(--accent-bright);
}

.quiz-next-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Quiz result */
#quizResult {
  display: none;
  padding: 32px;
}

.quiz-result-score-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.quiz-score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--surface2);
  border: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz-score-number {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--text);
  line-height: 1;
}

.quiz-score-max {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.quiz-score-label {
  font-size: 24px;
  font-weight: 700;
}

.quiz-score-desc {
  font-size: 13px;
  color: var(--muted2);
  margin-top: 4px;
}

.quiz-result-bar {
  height: 6px;
  background: var(--surface3);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 24px;
}

.quiz-result-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s var(--ease);
}

.quiz-result-message {
  font-size: 15px;
  color: var(--muted2);
  line-height: 1.75;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.quiz-email-section {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.quiz-email-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.quiz-email-sub {
  font-size: 13px;
  color: var(--muted2);
  margin-bottom: 16px;
  line-height: 1.55;
}

.quiz-email-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.quiz-email-input {
  flex: 1;
  min-width: 160px;
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.quiz-email-input:focus {
  border-color: var(--accent);
}

.quiz-email-input::placeholder {
  color: var(--muted);
}

.quiz-email-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  white-space: nowrap;
}

.quiz-email-btn:hover:not(:disabled) {
  background: var(--accent-bright);
}

.quiz-email-btn:disabled {
  opacity: 0.6;
}

.quiz-email-disclaimer {
  font-size: 11px;
  color: var(--muted);
}

.quiz-email-err {
  font-size: 12px;
  color: var(--red);
  display: none;
  margin-top: 4px;
}

.quiz-email-msg {
  font-size: 13px;
  color: var(--accent2);
  display: none;
  margin-top: 8px;
  font-weight: 500;
}

.quiz-result-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.quiz-retake-btn {
  background: none;
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--muted2);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.quiz-retake-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 768px) {
  .quiz-body {
    padding: 20px;
  }

  .quiz-header {
    padding: 20px 20px 0;
  }

  .quiz-footer {
    padding: 16px 20px 20px;
  }

  #quizResult {
    padding: 20px;
  }

  .quiz-result-score-row {
    gap: 16px;
  }
}

/* ═══════════════════════════════════════════════════════
   PRIVACY POLICY & TERMS — SHARED LAYOUT
   No nav tag used inside sidebar to avoid style.css nav conflict
═══════════════════════════════════════════════════════ */

.meta-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  animation: fadeUp 0.5s ease 0.4s backwards;
}

.meta-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 18px;
  text-align: center;
}

.meta-pill-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  display: block;
  margin-bottom: 3px;
}

.meta-pill-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.policy-wrap {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 64px;
  align-items: start;
}

.policy-wrap>main {
  min-width: 0;
}

.toc-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  align-self: start;
  max-height: calc(100vh - var(--nav-h) - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.toc-sidebar::-webkit-scrollbar {
  display: none;
}

.toc-head {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.toc-links {
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.toc-links a {
  display: block;
  font-size: 12px;
  color: var(--muted);
  padding: 5px 10px;
  border-left: 2px solid transparent;
  transition: all 0.15s;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toc-links a:hover {
  color: var(--text);
  background: var(--surface);
  border-left-color: var(--border-bright);
}

.toc-links a.active {
  color: var(--accent-bright);
  border-left-color: var(--accent);
  background: var(--accent-glow);
}

.pol-section {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.pol-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.sec-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.pol-h {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.pol-h em {
  font-style: italic;
  color: var(--accent-bright);
}

.pol-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 22px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pol-sub::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--accent2);
  flex-shrink: 0;
}

.pol-p {
  color: var(--muted2);
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.75;
}

.pol-list {
  margin: 4px 0 16px;
}

.pol-list li {
  color: var(--muted2);
  font-size: 14px;
  padding: 8px 0 8px 22px;
  position: relative;
  line-height: 1.65;
  border-bottom: 1px solid var(--border);
}

.pol-list li:last-child {
  border-bottom: none;
}

.pol-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-family: var(--font-mono);
  font-size: 12px;
  top: 9px;
}

.pol-list li strong {
  color: var(--text);
  font-weight: 600;
}

.pol-callout {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 16px 0;
}

.pol-callout.c-green {
  border-left-color: var(--accent2);
}

.pol-callout.c-green .pol-callout-p {
  color: var(--accent2);
}

.pol-callout.c-red {
  border-left-color: var(--red);
}

.pol-callout.c-red .pol-callout-p {
  color: var(--red);
}

.pol-callout-p {
  margin: 0;
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.6;
}

.pol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.pol-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.pol-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.pol-card-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.pol-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.pol-table th {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-bright);
  background: var(--surface2);
}

.pol-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted2);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.pol-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

.pol-table tr:last-child td {
  border-bottom: none;
}

.pol-table tr:hover td {
  background: var(--surface2);
}

.pol-code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--accent-glow);
  color: var(--accent-bright);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(79, 110, 247, 0.2);
}

.pol-link {
  color: var(--accent-bright);
  border-bottom: 1px solid rgba(79, 110, 247, 0.3);
  transition: border-color 0.15s;
}

.pol-link:hover {
  border-color: var(--accent-bright);
}

.pol-contact {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  padding: 28px 32px;
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.pol-contact-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(79, 110, 247, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.pol-contact-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.pol-contact-body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.65;
}

.pol-contact-body a {
  color: var(--accent-bright);
}

.footer-links a.active-link {
  color: var(--accent-bright);
}

.footer-legal a.active-link {
  color: var(--accent-bright);
}

@media (max-width: 900px) {
  .policy-wrap {
    grid-template-columns: 1fr;
  }

  .toc-sidebar {
    display: none;
  }
}

@media (max-width: 480px) {
  .pol-grid {
    grid-template-columns: 1fr 1fr;
  }

  .meta-pills {
    gap: 8px;
  }

  .pol-contact {
    padding: 20px;
  }
}