/* ═══════════════════════════════════════════════════════════
   LEXDEFEND AI — DESIGN SYSTEM
   Rosewood Library palette · Poppins · Dark/Light mode
═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  /* Rosewood Library — Light Mode */
  --bg-primary:       #F2EDE4;
  --bg-secondary:     #EAE3D8;
  --bg-card:          #FFFFFF;
  --bg-card-hover:    #FBF8F4;
  --bg-nav:           rgba(242, 237, 228, 0.92);
  --bg-terminal:      #1A0D12;
  --bg-strip:         #4A1C2B;

  --text-primary:     #1C0D14;
  --text-secondary:   #5A3A45;
  --text-muted:       #8A6A75;
  --text-inverse:     #F2EDE4;

  --accent-gold:      #C9A87C;
  --accent-gold-light:#E8D5B0;
  --accent-rose:      #7D3C50;
  --accent-deep:      #4A1C2B;
  --accent-crimson:   #9B2335;

  --border-light:     rgba(74, 28, 43, 0.12);
  --border-medium:    rgba(74, 28, 43, 0.22);
  --border-gold:      rgba(201, 168, 124, 0.35);

  --shadow-sm:        0 2px 8px rgba(74, 28, 43, 0.08);
  --shadow-md:        0 8px 32px rgba(74, 28, 43, 0.12);
  --shadow-lg:        0 20px 60px rgba(74, 28, 43, 0.18);
  --shadow-gold:      0 8px 32px rgba(201, 168, 124, 0.25);

  --radius-sm:        6px;
  --radius-md:        12px;
  --radius-lg:        20px;
  --radius-xl:        28px;

  --transition:       0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  0.45s cubic-bezier(0.4, 0, 0.2, 1);

  /* Status colors */
  --green:  #1A7A4A;
  --green-bg: rgba(26, 122, 74, 0.1);
  --yellow: #B8860B;
  --yellow-bg: rgba(184, 134, 11, 0.1);
  --red:    #9B2335;
  --red-bg: rgba(155, 35, 53, 0.1);
}

[data-theme="dark"] {
  --bg-primary:       #0F0608;
  --bg-secondary:     #1A0D12;
  --bg-card:          #1F1015;
  --bg-card-hover:    #261419;
  --bg-nav:           rgba(15, 6, 8, 0.92);
  --bg-terminal:      #0A0508;
  --bg-strip:         #2A0F1A;

  --text-primary:     #F2EDE4;
  --text-secondary:   #C9A87C;
  --text-muted:       #8A6A75;
  --text-inverse:     #1C0D14;

  --accent-gold:      #C9A87C;
  --accent-gold-light:#7D5A3C;
  --accent-rose:      #9D5068;
  --accent-deep:      #C9A87C;
  --accent-crimson:   #C9485A;

  --border-light:     rgba(201, 168, 124, 0.1);
  --border-medium:    rgba(201, 168, 124, 0.2);
  --border-gold:      rgba(201, 168, 124, 0.3);

  --shadow-sm:        0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:        0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg:        0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-gold:      0 8px 32px rgba(201, 168, 124, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-deep);
  color: var(--accent-gold);
  border: 1.5px solid var(--accent-deep);
}
.btn-primary:hover {
  background: var(--accent-rose);
  border-color: var(--accent-rose);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
[data-theme="dark"] .btn-primary {
  background: var(--accent-gold);
  color: #1C0D14;
  border-color: var(--accent-gold);
}
[data-theme="dark"] .btn-primary:hover {
  background: #E8D5B0;
  border-color: #E8D5B0;
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-medium);
}
.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-rose);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid transparent;
  padding: 10px 16px;
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}
.btn-lg {
  padding: 14px 30px;
  font-size: 0.95rem;
}

/* ── Section Shared ── */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(201, 168, 124, 0.12);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.accent { color: var(--accent-gold); }

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 6px rgba(201, 168, 124, 0.4));
}
.logo-text { color: var(--text-primary); }
.logo-ai {
  color: var(--accent-gold);
  font-style: italic;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 100px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  transition: all var(--transition);
  overflow: hidden;
}
.theme-toggle:hover {
  border-color: var(--accent-gold);
}
.theme-icon {
  font-size: 0.7rem;
  z-index: 1;
  transition: opacity var(--transition);
  line-height: 1;
}
.theme-icon.sun { color: #F59E0B; }
.theme-icon.moon { color: #7C3AED; }
.toggle-track {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-gold);
  left: 4px;
  transition: transform var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
[data-theme="dark"] .toggle-track {
  transform: translateX(24px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-light);
  gap: 4px;
}
.nav-mobile a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-mobile a:hover { background: var(--bg-secondary); color: var(--text-primary); }
.nav-mobile .btn { margin-top: 8px; justify-content: center; }
.nav-mobile.open { display: flex; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74, 28, 43, 0.25) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201, 168, 124, 0.15) 0%, transparent 70%);
  bottom: 0; left: -50px;
}
[data-theme="dark"] .hero-orb-1 {
  background: radial-gradient(circle, rgba(201, 168, 124, 0.12) 0%, transparent 70%);
}
[data-theme="dark"] .hero-orb-2 {
  background: radial-gradient(circle, rgba(74, 28, 43, 0.4) 0%, transparent 70%);
}
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-title-accent {
  color: var(--accent-gold);
  font-style: italic;
  font-weight: 700;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.75;
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 40px;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-deep);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
[data-theme="dark"] .stat-number { color: var(--accent-gold); }
.stat-unit {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-left: 2px;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-light);
  flex-shrink: 0;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  transform: rotate(45deg);
  animation: scrollBounce 1.8s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(5px); opacity: 0.5; }
}

/* ═══════════════════════════════════════════
   PROBLEM STRIP
═══════════════════════════════════════════ */
.problem-strip {
  background: var(--bg-strip);
  padding: 56px 0;
}
.strip-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(201, 168, 124, 0.7);
  margin-bottom: 32px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201, 168, 124, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pain-card {
  background: rgba(74, 28, 43, 0.6);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: background var(--transition);
}
.pain-card:hover { background: rgba(74, 28, 43, 0.9); }
.pain-icon { font-size: 1.6rem; margin-bottom: 4px; }
.pain-before {
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(201, 168, 124, 0.6);
  text-decoration: line-through;
}
.pain-arrow { font-size: 1.2rem; color: var(--accent-gold); }
.pain-after {
  font-size: 1.5rem;
  font-weight: 800;
  color: #6EE7B7;
}
.pain-desc {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(242, 237, 228, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════ */
.features {
  padding: 100px 0;
  background: var(--bg-primary);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.feature-card-large {
  grid-column: 1 / -1;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}
.feature-card-inner {
  padding: 36px;
}
.feature-card-large .feature-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(201, 168, 124, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}
.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.feature-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(201, 168, 124, 0.1);
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  margin-top: 20px;
}

/* ═══════════════════════════════════════════
   AI MODEL
═══════════════════════════════════════════ */
.ai-model {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.ai-model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.ai-model-content .section-title { text-align: left; }
.ai-model-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.ai-model-content strong { color: var(--text-primary); font-weight: 600; }
.model-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.spec-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.spec-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.spec-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Terminal */
.demo-terminal {
  background: var(--bg-terminal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 168, 124, 0.2);
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(201, 168, 124, 0.1);
}
.terminal-dots { display: flex; gap: 6px; }
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }
.terminal-title {
  font-size: 0.78rem;
  color: rgba(242, 237, 228, 0.5);
  font-weight: 500;
  flex: 1;
  text-align: center;
}
.terminal-body {
  padding: 24px 20px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.terminal-line { display: flex; gap: 12px; align-items: flex-start; }
.t-prompt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(201, 168, 124, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}
.t-text {
  font-size: 0.85rem;
  color: rgba(242, 237, 228, 0.8);
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}
.t-response { color: #6EE7B7; }
.t-cursor {
  color: var(--accent-gold);
  animation: blink 1s infinite;
  font-size: 0.9rem;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.terminal-queries {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid rgba(201, 168, 124, 0.1);
  flex-wrap: wrap;
}
.tq-label {
  font-size: 0.72rem;
  color: rgba(242, 237, 228, 0.4);
  font-weight: 500;
}
.tq-btn {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(242, 237, 228, 0.6);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201, 168, 124, 0.15);
  padding: 4px 10px;
  border-radius: 100px;
  transition: all var(--transition);
  font-family: 'Poppins', sans-serif;
}
.tq-btn:hover, .tq-btn.active {
  background: rgba(201, 168, 124, 0.15);
  border-color: rgba(201, 168, 124, 0.4);
  color: var(--accent-gold);
}

/* Training Coverage */
.training-coverage {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}
.training-coverage h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.coverage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.coverage-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  width: 180px;
  flex-shrink: 0;
}
.coverage-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 100px;
  overflow: hidden;
}
.coverage-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-gold));
  border-radius: 100px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.coverage-pct {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-gold);
  width: 24px;
}
.coverage-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* ═══════════════════════════════════════════
   MODULES TABS
═══════════════════════════════════════════ */
.modules {
  padding: 100px 0;
  background: var(--bg-primary);
}
.modules-tabs {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-secondary);
}
.tab-btn {
  flex: 1;
  padding: 18px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  text-align: center;
}
.tab-btn:hover { color: var(--text-primary); background: var(--bg-card); }
.tab-btn.active {
  color: var(--accent-deep);
  border-bottom-color: var(--accent-gold);
  background: var(--bg-card);
}
[data-theme="dark"] .tab-btn.active { color: var(--accent-gold); }
.tab-content { padding: 0; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.tab-panel-info {
  padding: 40px;
  border-right: 1px solid var(--border-light);
}
.tab-panel-visual { padding: 40px; }
.module-risk {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.module-risk.low {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(26, 122, 74, 0.2);
}
.module-risk.medium {
  background: var(--yellow-bg);
  color: var(--yellow);
  border: 1px solid rgba(184, 134, 11, 0.2);
}
.tab-panel-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.tab-panel-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.module-timeline {
  margin-bottom: 20px;
}
.timeline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}
.tl-phase {
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(201, 168, 124, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}
.tl-weeks { color: var(--text-muted); }
.tl-desc { color: var(--text-secondary); font-weight: 500; }
.module-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.module-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}
.module-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 0.75rem;
}

/* Mock Dashboard */
.mock-dashboard, .mock-billing, .mock-opinion {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-card);
}
.mock-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}
.mock-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.mock-btn {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(201, 168, 124, 0.1);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}
.mock-matter-list { padding: 8px; }
.mock-matter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mock-matter:hover { background: var(--bg-card); }
.mm-status {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mm-status.green { background: var(--green); }
.mm-status.yellow { background: var(--yellow); }
.mm-status.red { background: var(--red); }
.mm-info { flex: 1; }
.mm-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}
.mm-meta {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.mm-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--green-bg);
  color: var(--green);
}
.mm-badge.warn { background: var(--yellow-bg); color: var(--yellow); }
.mm-badge.danger { background: var(--red-bg); color: var(--red); }

/* Billing Table */
.mock-billing-table { padding: 8px; }
.billing-row {
  display: grid;
  grid-template-columns: 44px 1fr 80px 40px 24px;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  font-size: 0.78rem;
}
.billing-green { background: var(--green-bg); }
.billing-yellow { background: var(--yellow-bg); }
.billing-red { background: var(--red-bg); }
.br-date { color: var(--text-muted); font-weight: 600; }
.br-desc { color: var(--text-primary); font-weight: 500; }
.br-code {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(201, 168, 124, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  text-align: center;
}
.br-hours { color: var(--text-secondary); font-weight: 600; text-align: right; }
.billing-green .br-status { color: var(--green); font-weight: 700; }
.billing-yellow .br-status { color: var(--yellow); font-weight: 700; }
.billing-red .br-status { color: var(--red); font-weight: 700; }
.billing-summary {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--border-light);
}
.bs-item {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}
.bs-item.green { background: var(--green-bg); color: var(--green); }
.bs-item.yellow { background: var(--yellow-bg); color: var(--yellow); }
.bs-item.red { background: var(--red-bg); color: var(--red); }

/* Opinion Stages */
.privilege-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(201, 168, 124, 0.1);
  border: 1px solid var(--border-gold);
  padding: 3px 8px;
  border-radius: 4px;
}
.opinion-stages { padding: 16px; }
.stage {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 0.82rem;
}
.stage.done {
  background: var(--green-bg);
  color: var(--green);
}
.stage.active {
  background: rgba(201, 168, 124, 0.1);
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
}
.stage.pending {
  background: var(--bg-card);
  color: var(--text-muted);
}
.stage-icon { font-size: 0.9rem; font-weight: 700; flex-shrink: 0; }
.stage-icon.spin {
  display: inline-block;
  animation: spin 1.2s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.opinion-progress {
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
}
.progress-bar {
  height: 6px;
  background: var(--bg-card);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-gold));
  border-radius: 100px;
  width: 65%;
  animation: progressPulse 2s ease-in-out infinite;
}
@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.progress-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   PIPELINE
═══════════════════════════════════════════ */
.pipeline {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.pipeline-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 40px;
}
.pipeline-step {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  position: relative;
}
.pipeline-step:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ps-number {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 8px;
}
.ps-icon { font-size: 1.6rem; margin-bottom: 8px; }
.ps-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.ps-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.pipeline-arrow {
  font-size: 1.2rem;
  color: var(--accent-gold);
  padding: 0 4px;
  flex-shrink: 0;
  align-self: center;
  margin-top: -20px;
}
.async-note {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  border-left: 4px solid var(--accent-gold);
}
.async-icon { font-size: 1.5rem; flex-shrink: 0; }
.async-content strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.async-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.async-content code {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-family: 'Courier New', monospace;
}

/* ═══════════════════════════════════════════
   TECH STACK
═══════════════════════════════════════════ */
.tech-stack {
  padding: 100px 0;
  background: var(--bg-primary);
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.stack-category {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.stack-category:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}
.stack-category h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stack-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 5px 12px;
  border-radius: 100px;
  transition: all var(--transition);
}
.stack-tag:hover {
  border-color: var(--border-gold);
  color: var(--text-primary);
}
.stack-tag.free {
  color: var(--green);
  background: var(--green-bg);
  border-color: rgba(26, 122, 74, 0.2);
}

/* ═══════════════════════════════════════════
   TIMELINE
═══════════════════════════════════════════ */
.timeline-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.timeline-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.tl-phase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.tl-phase-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tl-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-gold));
  align-self: center;
  margin-top: -20px;
  flex-shrink: 0;
}
.tl-phase-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 4px;
}
.tl-phase-weeks {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.tl-phase-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.tl-phase-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.tl-phase-items li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-left: 12px;
  position: relative;
}
.tl-phase-items li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}
.tl-phase-goal {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════
   PRICING
═══════════════════════════════════════════ */
.pricing {
  padding: 100px 0;
  background: var(--bg-primary);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: all var(--transition);
}
.pricing-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}
.pricing-card-featured {
  background: var(--accent-deep);
  border-color: var(--accent-gold);
  transform: scale(1.02);
  box-shadow: var(--shadow-gold);
}
.pricing-card-featured:hover { transform: scale(1.04); }
.pricing-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-card-featured .pricing-label { color: rgba(201, 168, 124, 0.7); }
.pricing-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card-featured .pricing-amount { color: var(--accent-gold); }
.pricing-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.pricing-card-featured .pricing-period { color: rgba(201, 168, 124, 0.6); }
.pricing-highlight {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(201, 168, 124, 0.1);
  border: 1px solid rgba(201, 168, 124, 0.2);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  line-height: 1.4;
}
.pricing-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}
.pricing-card-featured .pricing-items { border-bottom-color: rgba(201, 168, 124, 0.2); }
.pricing-items li {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.pricing-card-featured .pricing-items li { color: rgba(242, 237, 228, 0.7); }
.pricing-items li span:last-child {
  font-weight: 600;
  color: var(--text-primary);
}
.pricing-card-featured .pricing-items li span:last-child { color: var(--accent-gold); }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════
   RISKS
═══════════════════════════════════════════ */
.risks {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.risks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.risk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-left: 4px solid transparent;
  transition: all var(--transition);
}
.risk-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.risk-high { border-left-color: var(--red); }
.risk-medium { border-left-color: var(--yellow); }
.risk-low { border-left-color: var(--green); }
.risk-level {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 10px;
}
.risk-high .risk-level { background: var(--red-bg); color: var(--red); }
.risk-medium .risk-level { background: var(--yellow-bg); color: var(--yellow); }
.risk-low .risk-level { background: var(--green-bg); color: var(--green); }
.risk-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.risk-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.risk-mitigation {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.5;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* ═══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
.cta-section {
  padding: 120px 0;
  background: var(--bg-strip);
  position: relative;
  overflow: hidden;
}
.cta-bg-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 124, 0.1) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-content .section-tag { margin-bottom: 20px; }
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-inverse);
  margin-bottom: 20px;
}
[data-theme="dark"] .cta-title { color: var(--text-primary); }
.cta-title .accent { color: var(--accent-gold); }
.cta-subtitle {
  font-size: 1rem;
  color: rgba(242, 237, 228, 0.65);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
[data-theme="dark"] .cta-subtitle { color: var(--text-muted); }
.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto 24px;
  flex-wrap: wrap;
}
.cta-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(201, 168, 124, 0.3);
  background: rgba(242, 237, 228, 0.08);
  color: var(--text-inverse);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition);
}
[data-theme="dark"] .cta-input { color: var(--text-primary); }
.cta-input::placeholder { color: rgba(242, 237, 228, 0.4); }
.cta-input:focus {
  border-color: var(--accent-gold);
  background: rgba(242, 237, 228, 0.12);
}
.cta-note {
  font-size: 0.72rem;
  color: rgba(242, 237, 228, 0.4);
  line-height: 1.5;
}
[data-theme="dark"] .cta-note { color: var(--text-muted); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  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: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-model {
  font-size: 0.75rem !important;
  margin-top: 8px !important;
}
.footer-model a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-links h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent-gold); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-disclaimer {
  color: var(--yellow) !important;
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ai-model-grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tl-connector {
    width: 2px;
    height: 24px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--accent-deep), var(--accent-gold));
  }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: 1; }
  .feature-card-large .feature-card-inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { transform: none; }
  .risks-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-actions { gap: 8px; }
  .nav-hamburger { display: flex; }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }
  .stat-divider { width: 80px; height: 1px; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .tab-nav { flex-direction: column; }
  .tab-panel-grid { grid-template-columns: 1fr; }
  .tab-panel-info { border-right: none; border-bottom: 1px solid var(--border-light); }
  .pipeline-flow { flex-direction: column; }
  .pipeline-arrow { transform: rotate(90deg); align-self: center; }
  .stack-grid { grid-template-columns: 1fr; }
  .risks-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .model-specs { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .cta-input { min-width: unset; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .hero-stats { padding: 20px 16px; }
  .stat-item { padding: 0 16px; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 100px;
  opacity: 0.5;
}
::-webkit-scrollbar-thumb:hover { opacity: 1; }

/* ── Selection ── */
::selection {
  background: rgba(201, 168, 124, 0.3);
  color: var(--text-primary);
}