/* ============================================================
   Promo on Demand — Public Site Stylesheet
   Aesthetic: Dark Luxury | Gold Accents | Editorial Typography
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --gold:          #C4952A;
  --gold-light:    #E2B44A;
  --gold-pale:     #F5E0A8;
  --gold-glow:     rgba(196, 149, 42, 0.15);
  --gold-border:   rgba(196, 149, 42, 0.28);

  --bg-base:       #09090C;
  --bg-surface:    #0F0F14;
  --bg-elevated:   #16161F;
  --bg-card:       #1C1C28;

  --border-subtle: rgba(255, 255, 255, 0.055);
  --border-mid:    rgba(255, 255, 255, 0.10);

  --text-primary:  #EDE9E0;
  --text-secondary:#A09C94;
  --text-muted:    #5A5753;

  --accent-red:    #B83030;

  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Outfit', system-ui, sans-serif;

  --nav-h:         72px;
  --r-sm:          6px;
  --r-md:          12px;
  --r-lg:          20px;
  --r-xl:          32px;

  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ─── GRAIN TEXTURE OVERLAY ─────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ─── SCROLLBAR ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ──────────────────────────────────────────────────────────
   NAVIGATION
   ────────────────────────────────────────────────────────── */
.pod-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 80px);
  transition: background 0.45s var(--ease-out),
              border-color 0.45s var(--ease-out),
              backdrop-filter 0.45s var(--ease-out);
}
.pod-nav.scrolled {
  background: rgba(9, 9, 12, 0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #000;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.15;
}
.nav-logo-text .nav-logo-sub {
  display: block;
  font-size: 9.5px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.nav-links .nav-signin {
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 7px 20px;
  border-radius: var(--r-sm);
  font-weight: 500;
  margin-left: 8px;
}
.nav-links .nav-signin:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(9, 9, 12, 0.97);
  backdrop-filter: blur(20px);
  padding: 40px clamp(20px, 5vw, 60px);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}
.nav-mobile a:hover { color: var(--gold); }

/* ──────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/authentication/background.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(9,9,12,0.94) 0%, rgba(9,9,12,0.72) 50%, rgba(9,9,12,0.90) 100%),
    radial-gradient(ellipse at 15% 60%, rgba(196,149,42,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(184,48,48,0.07) 0%, transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px clamp(20px, 5vw, 80px) 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,149,42,0.09);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 5px 16px 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.7s 0.1s var(--ease-out) forwards;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.2s var(--ease-out) forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 460px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.35s var(--ease-out) forwards;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.5s var(--ease-out) forwards;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #000;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(196,149,42,0.32), 0 1px 4px rgba(0,0,0,0.4);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196,149,42,0.45), 0 2px 8px rgba(0,0,0,0.4);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-primary);
  padding: 13px 24px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  border: 1px solid var(--border-mid);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}
.btn-secondary:focus-visible { outline: 2px solid var(--border-mid); outline-offset: 3px; }

.btn-docs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-glow);
  color: var(--gold-light);
  padding: 13px 24px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  border: 1px solid var(--gold-border);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn-docs:hover {
  background: rgba(196,149,42,0.14);
  border-color: rgba(196,149,42,0.45);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-docs:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-play-circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.btn-secondary:hover .btn-play-circle { background: rgba(255,255,255,0.18); }

/* Hero Visual */
.hero-visual {
  position: relative;
  opacity: 0;
  transform: translateX(32px);
  animation: fadeLeft 1s 0.55s var(--ease-out) forwards;
}
@keyframes fadeLeft {
  to { opacity: 1; transform: translateX(0); }
}
.hero-mockup {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.65),
    0 0 0 1px var(--border-subtle),
    0 0 60px var(--gold-glow);
}
.hero-mockup img { width: 100%; display: block; }
.hero-mockup-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,149,42,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-float {
  position: absolute;
  background: rgba(18,18,28,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.hero-float.float-bottom {
  bottom: -18px;
  left: -22px;
  animation: floatY 6s ease-in-out infinite;
}
.hero-float.float-top {
  top: 24px;
  right: -22px;
  animation: floatY 6s 2.5s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}
.float-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.float-icon.gold { background: var(--gold-glow); color: var(--gold); }
.float-icon.green { background: rgba(72,184,120,0.12); color: #7ADB9E; }
.float-label {
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 3px;
}
.float-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Hero scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 0.7s 1.4s ease forwards;
}
.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-bar {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBar 2.2s ease-in-out infinite;
}
@keyframes scrollBar {
  0%    { transform: scaleY(0); transform-origin: top; }
  49%   { transform: scaleY(1); transform-origin: top; }
  50%   { transform: scaleY(1); transform-origin: bottom; }
  100%  { transform: scaleY(0); transform-origin: bottom; }
}

/* ──────────────────────────────────────────────────────────
   TRUST STRIP
   ────────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px clamp(20px, 5vw, 80px);
  overflow: hidden;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.trust-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 24px;
  border-right: 1px solid var(--border-subtle);
  margin-right: 24px;
}
.trust-scroll {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.trust-track {
  display: flex;
  gap: 48px;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.trust-track span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0.65;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────────────────────
   SECTION COMMONS
   ────────────────────────────────────────────────────────── */
.pod-section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--gold);
  opacity: 0.65;
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.78;
  max-width: 520px;
}

/* ──────────────────────────────────────────────────────────
   FEATURES GRID
   ────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-top: 56px;
}
.feature-card {
  background: var(--bg-surface);
  padding: 36px 30px;
  transition: background 0.35s ease;
}
.feature-card:hover { background: var(--bg-elevated); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 22px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ──────────────────────────────────────────────────────────
   HOW IT WORKS / STEPS
   ────────────────────────────────────────────────────────── */
.steps-wrap { margin-top: 64px; display: flex; flex-direction: column; gap: 96px; }
.step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.step-row.flip { direction: rtl; }
.step-row.flip > * { direction: ltr; }
.step-num {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 700;
  color: rgba(196,149,42,0.95);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: -18px;
}
.step-row h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.step-row p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 20px;
}
.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step-list li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 9px;
  flex-shrink: 0;
}
.step-visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 32px 64px rgba(0,0,0,0.55),
    0 0 0 1px var(--border-subtle);
}
.step-visual img { width: 100%; display: block; }
.step-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,149,42,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────
   STATS
   ────────────────────────────────────────────────────────── */
.stats-band {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.stats-band::after {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(196,149,42,0.055) 0%, transparent 70%);
  pointer-events: none;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) clamp(20px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.stats-text .section-h2 { max-width: 380px; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}
.stat-block:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.stat-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────
   GAME GALLERY SCROLL
   ────────────────────────────────────────────────────────── */
.gallery-overflow {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  margin-top: 52px;
}
.gallery-track {
  display: flex;
  gap: 20px;
  animation: galleryScroll 30s linear infinite;
  width: max-content;
}
.gallery-track:hover { animation-play-state: paused; }
@keyframes galleryScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.game-thumb {
  width: 280px;
  height: 188px;
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--border-subtle);
}
.game-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}
.game-thumb:hover img { transform: scale(1.06); }
.game-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 55%);
}

/* ──────────────────────────────────────────────────────────
   VIDEO SECTION
   ────────────────────────────────────────────────────────── */
.video-band {
  position: relative;
  overflow: hidden;
}
.video-band-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/sales/stage.png');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  filter: grayscale(1);
}
.video-band-fade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(196,149,42,0.055) 0%, transparent 65%),
    linear-gradient(to bottom, var(--bg-base) 0%, transparent 18%, transparent 82%, var(--bg-base) 100%);
}
.video-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 80px);
  text-align: center;
}
.video-content .section-eyebrow { justify-content: center; }
.video-content .section-eyebrow::before { display: none; }
.video-thumb {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 48px;
  cursor: pointer;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.65),
    0 0 0 1px var(--border-subtle);
}
.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.42), transparent 55%);
  transition: background 0.3s ease;
}
.video-thumb:hover::after {
  background: linear-gradient(to top, rgba(0,0,0,0.22), transparent 55%);
}
.video-thumb img {
  width: 100%;
  display: block;
  transition: transform 0.55s var(--ease-out);
}
.video-thumb:hover img { transform: scale(1.025); }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(196,149,42,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 0 0 0 rgba(196,149,42,0.4);
  animation: pulse-ring 2s ease-in-out infinite;
  transition: background 0.2s ease, transform 0.2s var(--ease-spring);
}
.play-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(196,149,42,0.45); }
  100% { box-shadow: 0 0 0 28px rgba(196,149,42,0); }
}
.video-thumb:hover .play-btn {
  background: var(--gold-light);
  transform: translate(-50%, -50%) scale(1.08);
}
.play-btn svg { width: 26px; height: 26px; fill: #000; margin-left: 5px; }

/* Video Modal */
.vmodal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9990;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
}
.vmodal.open { display: flex; }
.vmodal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
}
.vmodal-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.vmodal-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
  border-radius: var(--r-md);
}
.vmodal-close {
  position: absolute;
  top: -52px; right: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1px solid var(--border-mid);
  color: var(--text-primary);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: var(--font-body);
  line-height: 1;
}
.vmodal-close:hover { background: rgba(255,255,255,0.18); }
.vmodal-close:focus-visible { outline: 2px solid var(--gold); }

/* ──────────────────────────────────────────────────────────
   FINAL CTA
   ────────────────────────────────────────────────────────── */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}
.cta-glow {
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(196,149,42,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.final-cta .section-h2 { max-width: 580px; margin: 0 auto 16px; }
.final-cta .section-sub { margin: 0 auto 44px; }
.final-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ──────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────── */
.pod-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 60px clamp(20px, 5vw, 80px) 36px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.15;
}
.footer-brand-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
  margin-top: 1px;
}
.footer-brand-copy {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 240px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-col-links a:hover { color: var(--text-primary); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--text-primary); }

/* ──────────────────────────────────────────────────────────
   SCROLL ANIMATIONS
   ────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.26s; }
.reveal-d4 { transition-delay: 0.36s; }
.reveal-d5 { transition-delay: 0.46s; }
.reveal-d6 { transition-delay: 0.56s; }

/* ──────────────────────────────────────────────────────────
   DOCUMENTATION PAGE
   ────────────────────────────────────────────────────────── */
.docs-hero-wrap {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.docs-hero-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 380px;
  background: radial-gradient(ellipse, rgba(196,149,42,0.065) 0%, transparent 70%);
  pointer-events: none;
}
.docs-hero-wrap .section-h2 { max-width: 560px; margin: 0 auto 16px; }
.docs-hero-wrap .section-sub { margin: 0 auto; }

.docs-search-wrap {
  max-width: 480px;
  margin: 36px auto 0;
  position: relative;
}
.docs-search {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 13px 48px 13px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.docs-search::placeholder { color: var(--text-muted); }
.docs-search:focus {
  border-color: var(--gold-border);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.docs-search-icon {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.docs-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.docs-tab {
  padding: 7px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.docs-tab:hover { border-color: var(--border-mid); color: var(--text-primary); }
.docs-tab.active { background: var(--gold); color: #000; border-color: var(--gold); }

.docs-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.doc-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.doc-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.45), 0 0 0 1px var(--gold-border);
}
/* Stretch the read-link over the entire card so the whole card is clickable */
.doc-card { position: relative; }
.doc-read-link::after {
  content: '';
  position: absolute;
  inset: 0;
}
.doc-thumb {
  width: 100%; height: 200px;
  object-fit: cover;
  background: var(--bg-card);
  display: block;
}
.doc-body { padding: 24px; flex: 1; }
.doc-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.doc-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.doc-tag.guide   { background: var(--gold-glow); color: var(--gold-light); border: 1px solid var(--gold-border); }
.doc-tag.setup   { background: rgba(60,140,220,0.09); color: #88C4E8; border: 1px solid rgba(60,140,220,0.22); }
.doc-tag.tips    { background: rgba(72,184,120,0.09); color: #88DBA8; border: 1px solid rgba(72,184,120,0.22); }
.doc-tag.feature { background: rgba(200,80,120,0.09); color: #E89AB4; border: 1px solid rgba(200,80,120,0.22); }
.doc-date { font-size: 12px; color: var(--text-muted); }
.doc-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.25;
}
.doc-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.68; }
.doc-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.doc-read-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease-spring);
}
.doc-card:hover .doc-read-link { gap: 12px; }
.doc-read-time { font-size: 12px; color: var(--text-muted); }

/* ──────────────────────────────────────────────────────────
   ARTICLE PAGE
   ────────────────────────────────────────────────────────── */
.art-hero {
  position: relative;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.art-hero-img {
  width: 100%;
  height: clamp(280px, 38vw, 480px);
  object-fit: cover;
  display: block;
}
.art-hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--bg-base));
}
.art-meta-wrap {
  max-width: 1200px;
  margin: -72px auto 0;
  padding: 0 clamp(20px, 5vw, 80px);
  position: relative;
  z-index: 2;
}
.art-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.art-breadcrumb a {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.art-breadcrumb a:hover { color: var(--gold-light); }
.art-breadcrumb span { font-size: 12px; color: var(--text-muted); }
.art-h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  max-width: 820px;
  margin-bottom: 24px;
}
.art-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 48px;
}
.art-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.art-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}
.art-author-name { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.art-meta-sep { color: var(--text-muted); }
.art-meta-item { font-size: 13px; color: var(--text-muted); }

.art-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px) 100px;
  display: grid;
  grid-template-columns: 1fr 288px;
  gap: 64px;
  align-items: start;
}

/* Article body typography */
.art-body { min-width: 0; }
.art-body h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 52px 0 16px;
  line-height: 1.2;
}
.art-body h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 36px 0 12px;
}
.art-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: 20px;
}
.art-body ul, .art-body ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}
.art-body ul li, .art-body ol li {
  font-size: 15.5px;
  color: var(--gold);
  line-height: 1.75;
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}
.art-body ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 18px;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.art-body ol { counter-reset: art-steps; }
.art-body ol li { counter-increment: art-steps; }
.art-body ol li::before {
  content: counter(art-steps);
  position: absolute;
  left: 0; top: 10px;
  width: 20px; height: 20px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  line-height: 20px;
  font-family: var(--font-body);
}
.art-method {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 28px 32px;
  margin: 36px 0;
}
.art-method h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.method-pill {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  background: var(--gold-glow);
  color: var(--gold);
  border-radius: 4px;
  border: 1px solid var(--gold-border);
}
.art-method p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin: 12px 0 8px; }
.art-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(196,149,42,0.07), rgba(196,149,42,0.03));
  border: 1px solid var(--gold-border);
  border-radius: var(--r-md);
  padding: 24px 28px;
  margin: 32px 0;
}
.art-callout-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.art-callout p { margin: 0; font-size: 15px; color: var(--gold-pale); }
.art-img-block {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin: 32px 0;
}
.art-img-block img { width: 100%; display: block; }
.art-img-caption {
  padding: 11px 16px;
  background: var(--bg-elevated);
  font-size: 13px;
  color: var(--gold);
  font-style: italic;
}

/* Article sidebar */
.art-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.toc-box, .related-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-list a {
  display: block;
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1.45;
}
.toc-list a:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }
.toc-list a.toc-active { background: var(--gold-glow); color: var(--gold-light); }
.related-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
}
.related-item:last-child { border-bottom: none; padding-bottom: 0; }
.related-item:first-child { padding-top: 0; }
.related-item:hover .rel-title { color: var(--gold); }
.rel-thumb {
  width: 54px; height: 54px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-card);
}
.rel-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}
.rel-meta { font-size: 12px; color: var(--text-muted); }

/* ──────────────────────────────────────────────────────────
   KNOWLEDGE BASE
   ────────────────────────────────────────────────────────── */
.kb-topic-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.kb-topic-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  margin-right: 4px;
}
.kb-topic-btn {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.kb-topic-btn:hover { border-color: var(--border-mid); color: var(--text-primary); }
.kb-topic-btn.active { background: var(--bg-elevated); border-color: var(--border-mid); color: var(--text-primary); }
.kb-topic-btn.active[data-topic="all"] { background: var(--gold); border-color: var(--gold); color: #000; }

/* Accordion cards */
.kb-list { display: flex; flex-direction: column; gap: 10px; }

.kb-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.kb-card:hover { border-color: var(--border-mid); }
.kb-card.kb-open { border-color: var(--gold-border); }

.kb-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.kb-card-header::-webkit-details-marker { display: none; }

.kb-role-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.kb-role-badge.admin   { background: var(--gold-glow); color: var(--gold-light); border: 1px solid var(--gold-border); }
.kb-role-badge.frontend { background: rgba(72,184,120,0.09); color: #88DBA8; border: 1px solid rgba(72,184,120,0.22); }
.kb-role-badge.both    { background: rgba(60,140,220,0.09); color: #88C4E8; border: 1px solid rgba(60,140,220,0.22); }

.kb-question {
  flex: 1;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.35;
}

.kb-topic-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.kb-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.kb-chevron {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), color 0.2s ease;
  font-size: 13px;
}
.kb-card.kb-open .kb-chevron { transform: rotate(180deg); color: var(--gold); }

.kb-card-body {
  display: none;
  padding: 0 22px 24px 22px;
  border-top: 1px solid var(--border-subtle);
}
.kb-card.kb-open .kb-card-body { display: block; }

.kb-card-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 18px;
  margin-bottom: 12px;
}
.kb-card-body ol, .kb-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.kb-card-body ol { counter-reset: kb-steps; }
.kb-card-body ol li { counter-increment: kb-steps; }
.kb-card-body li {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 9px 0 9px 30px;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}
.kb-card-body li:last-child { border-bottom: none; }
.kb-card-body ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 19px;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.kb-card-body ol li::before {
  content: counter(kb-steps);
  position: absolute;
  left: 0; top: 10px;
  width: 20px; height: 20px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  line-height: 20px;
  font-family: var(--font-body);
}
.kb-card-body .kb-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(196,149,42,0.07), rgba(196,149,42,0.03));
  border: 1px solid var(--gold-border);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  margin-top: 16px;
}
.kb-card-body .kb-note-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.kb-card-body .kb-note p { margin: 0; font-size: 13.5px; color: var(--gold-pale); }
.kb-card-body strong { color: var(--text-primary); font-weight: 600; }
.kb-card-body code {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13px;
  color: var(--gold-light);
  font-family: monospace;
}

/* KB empty state */
.kb-empty {
  display: none;
  text-align: center;
  padding: 80px 20px;
}
.kb-empty.visible { display: block; }
.kb-empty-icon { font-size: 40px; margin-bottom: 16px; opacity: 0.35; }
.kb-empty h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.kb-empty p { font-size: 15px; color: var(--text-muted); }

/* ──────────────────────────────────────────────────────────
   DOCS — FILTER / PAGINATION UI
   ────────────────────────────────────────────────────────── */
.docs-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  min-height: 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.docs-count {
  font-size: 13px;
  color: var(--text-muted);
}
.docs-count strong { color: var(--text-secondary); }

.docs-empty {
  display: none;
  text-align: center;
  padding: 80px 20px;
}
.docs-empty.visible { display: block; }
.docs-empty-icon { font-size: 40px; margin-bottom: 16px; opacity: 0.35; }
.docs-empty h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.docs-empty p { font-size: 15px; color: var(--text-muted); }

/* Grid fade on re-render */
.docs-card-grid.filtering {
  opacity: 0;
  transition: opacity 0.15s ease;
}
.docs-card-grid.rendered {
  opacity: 1;
  transition: opacity 0.25s ease;
}

/* Pagination */
.docs-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.page-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.page-btn:hover:not(:disabled):not(.active) {
  background: var(--bg-card);
  border-color: var(--border-mid);
  color: var(--text-primary);
}
.page-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  font-weight: 600;
}
.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.page-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.page-ellipsis {
  color: var(--text-muted);
  font-size: 14px;
  padding: 0 4px;
  line-height: 36px;
}

/* ──────────────────────────────────────────────────────────
   ARTICLE — MODEL COMPARISON TABLE
   ────────────────────────────────────────────────────────── */
.compare-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--bg-card);
  min-width: 640px;
}
.compare-table thead tr {
  background: var(--bg-elevated);
  border-bottom: 2px solid var(--gold-border);
}
.compare-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.compare-table th:first-child { color: var(--gold); }
.compare-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s ease;
}
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.compare-table td {
  padding: 13px 16px;
  color: var(--text-secondary);
  vertical-align: middle;
  line-height: 1.5;
}
.compare-table td:first-child {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 13px;
  white-space: nowrap;
}
.compare-table .ct-yes {
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
}
.compare-table .ct-no {
  color: var(--text-muted);
  font-size: 15px;
}
.compare-table .ct-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  white-space: nowrap;
}
.compare-table .ct-badge.ct-badge-blue {
  background: rgba(99,179,237,0.08);
  border-color: rgba(99,179,237,0.25);
  color: #90cdf4;
}
.compare-rec {
  background: linear-gradient(135deg, rgba(196,149,42,0.09), rgba(196,149,42,0.03));
}
.compare-rec td:first-child { color: var(--gold); }
/* Transposed compare table — row header cells */
.compare-table tbody th {
  padding: 13px 16px;
  font-weight: 700;
  color: var(--gold);
  text-align: left;
  white-space: nowrap;
  font-size: 13px;
  border-bottom: 1px solid var(--border-subtle);
}
/* Product thumbnail in compare table header */
.compare-table .ct-model-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 4px auto 0;
}

/* ──────────────────────────────────────────────────────────
   CONTACT MODAL
   ────────────────────────────────────────────────────────── */
.cmodal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9990;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
}
.cmodal.open { display: flex; }
.cmodal-inner {
  position: relative;
  width: 100%;
  max-width: 660px;
}
.cmodal-close {
  position: absolute;
  top: -48px; right: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1px solid var(--border-mid);
  color: var(--text-primary);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: var(--font-body);
  line-height: 1;
}
.cmodal-close:hover { background: rgba(255,255,255,0.18); }
.cmodal-close:focus-visible { outline: 2px solid var(--gold); }
.cmodal-frame {
  background: var(--bg-elevated);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 600px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--border-subtle);
}
.cmodal-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ──────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-desc { max-width: 560px; }
  .stats-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .art-layout { grid-template-columns: 1fr; }
  .art-sidebar { display: none; }
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .step-row, .step-row.flip { grid-template-columns: 1fr; direction: ltr; }
  .docs-card-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; }
  .final-cta-btns { flex-direction: column; align-items: center; }
}

/* ──────────────────────────────────────────────────────────
   ARTICLE TOOLS  (Print / Download PDF buttons)
   ────────────────────────────────────────────────────────── */
.art-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.art-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-sans);
  line-height: 1;
  white-space: nowrap;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-2);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.art-action-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  background: var(--gold-glow);
}
.art-action-btn--gold {
  background: var(--gold-glow);
  border-color: var(--gold-border);
  color: var(--gold);
}
.art-action-btn--gold:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.art-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
@media (max-width: 600px) {
  .art-actions { margin-left: 0; width: 100%; }
  .art-action-btn { flex: 1; justify-content: center; }
}

/* ──────────────────────────────────────────────────────────
   PRINT STYLES  (documentation articles)
   ────────────────────────────────────────────────────────── */
@media print {
  @page { margin: 18mm 20mm; }

  /* Hide everything that isn't the article */
  .pod-nav,
  .pod-footer,
  .cmodal,
  .art-hero,
  .art-breadcrumb,
  .art-actions,
  .art-sidebar,
  .related-section,
  .art-avatar,
  .toc-list {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    /* Fallback margins for browsers that ignore @page */
    padding: 18mm 20mm !important;
    margin: 0 !important;
  }

  /* Meta wrap — flush to page edges */
  .art-meta-wrap {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .art-h1 {
    font-size: 22pt !important;
    color: #000 !important;
    line-height: 1.2 !important;
    margin-bottom: 8pt !important;
  }

  .art-meta-row {
    border-bottom: 0.5pt solid #ccc !important;
    margin-bottom: 16pt !important;
    padding-bottom: 8pt !important;
    gap: 10pt !important;
  }

  .art-author-name,
  .art-meta-item,
  .art-meta-sep {
    color: #555 !important;
    font-size: 9pt !important;
  }

  .doc-tag {
    background: transparent !important;
    border: 0.5pt solid #ccc !important;
    color: #555 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Layout — collapse sidebar, full-width body */
  .art-layout {
    display: block !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .art-body {
    max-width: 100% !important;
  }

  /* Body typography */
  .art-body p,
  .art-body li {
    color: #000 !important;
    font-size: 11pt !important;
    orphans: 3;
    widows: 3;
  }

  .art-body strong { color: #000 !important; }
  .art-body em     { color: #222 !important; }
  .art-body a      { color: #1a56db !important; }

  /* Headings */
  .art-body h2 {
    font-size: 15pt !important;
    color: #000 !important;
    border-bottom: 0.5pt solid #ccc !important;
    padding-bottom: 4pt !important;
    margin-top: 18pt !important;
    page-break-after: avoid;
  }

  .art-body h3 {
    font-size: 12pt !important;
    color: #000 !important;
    page-break-after: avoid;
  }

  /* Lists — force dark bullet/counter colors */
  .art-body ul li::before {
    background: #000 !important;
    border-color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .art-body ol li::before {
    background: #eee !important;
    color: #000 !important;
    border-color: #bbb !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Callout boxes */
  .art-callout {
    background: #f7f7f7 !important;
    border-left: 3pt solid #888 !important;
    page-break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .art-callout * { color: #333 !important; }

  /* Images */
  .art-body img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Tables */
  table { page-break-inside: avoid; }

  th {
    background: #f0f0f0 !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  td, th {
    color: #000 !important;
    border-color: #ccc !important;
  }
}
