/* X4 Digital — Landing Page Design System
   "Dark Gold" — near-black foundation + gold energy accents
   Fonts: Space Grotesk (body) + Sora (display)
   Separate from chat.html/dashboard.html styles */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Sora:wght@300;400;600;700;800&display=swap');

/* ─── TOKENS ────────────────────────────────────────── */
:root {
  --bg:           #080810;
  --bg-2:         #0d0d1a;
  --bg-3:         #111124;
  --bg-card:      #13132a;
  --accent:       #6366f1;
  --accent-bright:#818cf8;
  --accent-glow:  rgba(99, 102, 241, 0.25);
  --accent-border:rgba(99, 102, 241, 0.35);
  --accent-soft:  rgba(99, 102, 241, 0.08);
  --green:        #22C55E;
  --green-soft:   rgba(34, 197, 94, 0.08);
  --green-border: rgba(34, 197, 94, 0.20);
  --text:         #f8fafc;
  --text-muted:   #cbd5e1;
  --text-dim:     #64748b;
  --border:       rgba(255,255,255,0.08);
  --shadow:       0 4px 32px rgba(0,0,0,0.6);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.6);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head:    'Sora', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;

  /* Dark section variant (deeper than base) */
  --dark-bg:      #050508;
  --dark-bg-2:    #0a0a14;
  --dark-text:    #f8fafc;
  --dark-muted:   #94a3b8;
  --dark-border:  rgba(255,255,255,0.08);
}

/* ─── RESET & BASE ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body.landing-page {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── LAYOUT ────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ─── NAVIGATION ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(8, 8, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: 0 1px 12px rgba(0,0,0,0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--text); }
.nav__links a.active { color: var(--accent); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-toggle button {
  padding: 4px 8px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  transition: all var(--transition);
}
.lang-toggle button.active { background: var(--accent); color: #fff; }
.lang-toggle button:disabled { opacity: 0.4; cursor: not-allowed; }
.lang-toggle button:not(:last-child) { border-right: 1px solid var(--border); }

.lang-tooltip {
  position: relative;
}
.lang-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  background: var(--dark-bg);
  color: var(--dark-text);
  font-size: 0.65rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.lang-tooltip:hover::after { opacity: 1; }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 24px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

/* ─── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--accent);
  color: #000;
}
.btn--primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.05rem;
  border-radius: 10px;
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 28px var(--accent-glow);
}

/* ─── BADGES ────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge--gold {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.badge--green {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid var(--green-border);
}

.badge--dot::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* ─── HERO ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Animated electric gold grid */
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.10) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  animation: grid-pulse 4s ease-in-out infinite;
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Traveling light pulse along grid lines */
.hero__grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.20) 50%, transparent 100%);
  background-size: 200px 100%;
  animation: grid-flow 6s linear infinite;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

@keyframes grid-flow {
  from { background-position: -200px 0; }
  to   { background-position: calc(100% + 200px) 0; }
}

.hero__glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__glow-2 {
  position: absolute;
  bottom: -300px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow { margin-bottom: 24px; }

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--text);
}
.hero__headline span { color: var(--accent); }

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero__stat-value {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 3px;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ─── CHAT DEMO WIDGET ──────────────────────────────── */
.chat-demo {
  background: var(--dark-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 80px rgba(201, 168, 76, 0.06), var(--shadow-lg);
  position: relative;
  color: var(--dark-text);
}

.chat-demo__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(201, 168, 76, 0.06);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.chat-demo__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-demo__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
}
.chat-demo__status::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.chat-demo__messages {
  padding: 24px 20px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: msg-in 0.3s ease-out both;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-msg__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.chat-msg--user .chat-msg__avatar { background: rgba(255,255,255,0.1); color: var(--dark-muted); }
.chat-msg--ai .chat-msg__avatar { background: var(--accent); color: #fff; }

.chat-msg__bubble {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 80%;
}

.chat-msg--user .chat-msg__bubble {
  background: rgba(255,255,255,0.06);
  color: var(--dark-text);
  border-radius: 10px 10px 2px 10px;
}

.chat-msg--ai .chat-msg__bubble {
  background: rgba(201, 168, 76, 0.1);
  color: var(--dark-text);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px 10px 10px 2px;
}

.chat-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 14px;
  background: rgba(201, 168, 76, 0.07);
  border-radius: 10px 10px 10px 2px;
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.chat-typing span {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-demo__progress { padding: 0 20px 16px; }
.chat-demo__progress-bar { height: 3px; background: var(--dark-bg-2); border-radius: 2px; overflow: hidden; }
.chat-demo__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: 2px;
  width: 0%;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px var(--accent-glow);
}

.chat-demo__input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--dark-bg-2);
  border-top: 1px solid var(--dark-border);
}

.chat-demo__input {
  flex: 1;
  background: none;
  border: none;
  color: var(--dark-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.chat-demo__send {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  transition: all var(--transition);
  flex-shrink: 0;
}
.chat-demo__send:hover { background: var(--accent-bright); transform: scale(1.05); }

/* ─── TICKER ────────────────────────────────────────── */
.ticker {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.ticker__track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 32s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticker__item span { color: var(--accent); font-size: 1rem; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SECTION HEADERS ───────────────────────────────── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 72px; }
.section-eyebrow { margin-bottom: 20px; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: var(--text);
}
.section-title span { color: var(--accent); }
.section-sub { font-size: 1.05rem; color: var(--text-muted); line-height: 1.65; }

/* ─── HOW IT WORKS ──────────────────────────────────── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.how-step {
  background: var(--bg-card);
  padding: 48px 36px;
  position: relative;
}

.how-step__num {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(201, 168, 76, 0.12);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.how-step__icon {
  width: 48px; height: 48px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.how-step__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.how-step__desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.how-step__time {
  margin-top: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── BENTO FEATURES GRID ───────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto; gap: 16px; }

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.bento-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.08);
}

.bento-card--span-7 { grid-column: span 7; }
.bento-card--span-5 { grid-column: span 5; }
.bento-card--span-4 { grid-column: span 4; }
.bento-card--span-8 { grid-column: span 8; }

.bento-card__icon { font-size: 2rem; margin-bottom: 20px; display: block; }
.bento-card__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.bento-card__desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.bento-card__big-number {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.bento-card--accent {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
  border-color: var(--accent-border);
}

.bento-card--dark {
  background: var(--dark-bg);
  color: var(--dark-text);
  border-color: var(--dark-border);
}
.bento-card--dark .bento-card__title { color: var(--dark-text); }
.bento-card--dark .bento-card__desc { color: var(--dark-muted); }

.bento-glow {
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── COMPARISON TABLE ──────────────────────────────── */
.compare-section { background: var(--dark-bg); color: var(--dark-text); }

.compare-section .section-title { color: var(--dark-text); }
.compare-section .section-sub { color: var(--dark-muted); }

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  background: var(--dark-bg-2);
  border-radius: 12px;
  overflow: hidden;
}

.compare-table th {
  padding: 16px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-muted);
  background: var(--dark-bg);
  border-bottom: 1px solid var(--dark-border);
}

/* X4 column highlight */
.compare-table th.x4-col {
  color: var(--accent);
  background: rgba(201, 168, 76, 0.06);
}

.compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--dark-border);
  color: var(--dark-muted);
  vertical-align: middle;
}

.compare-table td.x4-col {
  background: rgba(201, 168, 76, 0.04);
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tbody tr { transition: background var(--transition); }
.compare-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.compare-table td:first-child { font-weight: 600; color: var(--dark-text); }
.compare-table td.yes { color: var(--accent); font-weight: 700; }
.compare-table td.no  { color: var(--dark-muted); opacity: 0.6; }
.compare-table tr.highlight-row td { background: rgba(201, 168, 76, 0.04); }
.compare-table tr.highlight-row td.x4-col { background: rgba(201, 168, 76, 0.08); }

/* Subtle highlight animation when scrolling into view */
@keyframes table-highlight {
  0% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
  50% { box-shadow: 0 0 40px rgba(201, 168, 76, 0.15); }
  100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
}
.compare-table.animate-in { animation: table-highlight 1.5s ease-out; }

/* ─── BUILD STATS (replaces testimonials) ───────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}
.stat-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.stat-card__value {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  display: block;
}

.stat-card__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(201, 168, 76, 0.06), var(--bg-card));
  box-shadow: 0 0 60px rgba(201, 168, 76, 0.08);
}
.pricing-card--featured:hover {
  box-shadow: 0 0 80px rgba(201, 168, 76, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-price {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sup {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 32px; }
.pricing-divider { height: 1px; background: var(--border); margin: 28px 0; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.pricing-feature::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── FEATURE COMPARISON TABLE (pricing page) ───────── */
.feature-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-table th {
  padding: 14px 20px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.feature-table th:first-child { text-align: left; }
.feature-table th.featured { color: var(--accent); }

.feature-table td {
  padding: 12px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.feature-table td:first-child { text-align: left; font-weight: 500; color: var(--text); }
.feature-table tr:last-child td { border-bottom: none; }
.feature-table .check { color: var(--accent); font-weight: 700; }
.feature-table .dash { color: var(--text-dim); }

/* ─── FAQ ───────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--accent-border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  user-select: none;
}
.faq-question:hover { color: var(--accent); }

.faq-toggle {
  font-size: 1.3rem;
  color: var(--text-dim);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ─── CTA SECTION ───────────────────────────────────── */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  color: var(--dark-text);
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

.cta-box {
  position: relative;
  background: var(--dark-bg-2);
  border: 1px solid var(--accent-border);
  border-radius: 24px;
  padding: 80px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 100px rgba(201, 168, 76, 0.04);
}

.cta-box__glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--dark-text);
}
.cta-title span { color: var(--accent); }

.cta-sub {
  font-size: 1.1rem;
  color: var(--dark-muted);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.cta-note { margin-top: 18px; font-size: 0.82rem; color: var(--dark-muted); }

/* ─── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 64px 0 40px;
  color: var(--dark-text);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 14px;
}
.footer__logo span { color: var(--accent); }

.footer__tagline {
  font-size: 0.85rem;
  color: var(--dark-muted);
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: 24px;
}

.footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 20px;
}

.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a { font-size: 0.875rem; color: var(--dark-muted); transition: color var(--transition); }
.footer__links a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--dark-border);
  font-size: 0.8rem;
  color: var(--dark-muted);
}

.footer__currency {
  font-size: 0.75rem;
  color: var(--dark-muted);
  opacity: 0.6;
}

/* ─── SCROLL ANIMATIONS ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── PAGE HERO (inner pages) ───────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent);
}

.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
}
.page-hero__title span { color: var(--accent); }

.page-hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
  position: relative;
}

/* ─── NEED-MORE ROW (pricing page) ──────────────────── */
.need-more-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.need-more-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.need-more-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.need-more-card__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ─── ACTIVATION BOX ────────────────────────────────── */
.activation-box {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), rgba(201, 168, 76, 0.02));
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-top: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.activation-box h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.activation-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* ─── RESPONSIVE — TABLET (<=1024px) ────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__headline { font-size: clamp(2rem, 6vw, 3rem); }
  .chat-demo { max-width: 540px; }
  .how-steps { grid-template-columns: 1fr; }
  .bento-card--span-7,
  .bento-card--span-5,
  .bento-card--span-8 { grid-column: span 12; }
  .bento-card--span-4 { grid-column: span 6; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-box { padding: 56px 40px; }
  .need-more-row { grid-template-columns: 1fr; }
}

/* ─── RESPONSIVE — MOBILE (<=768px) ─────────────────── */
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav__links, .nav__cta, .nav__right { display: none; }
  .nav__hamburger { display: flex; }
  .hero { padding: 100px 0 64px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .btn--large { width: 100%; justify-content: center; }
  .how-step { padding: 36px 24px; }
  .bento-card--span-4 { grid-column: span 12; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-box { padding: 48px 28px; border-radius: 16px; }
  .section-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .page-hero__title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 12px 16px; }
}

/* ─── REDUCE MOTION ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__grid-bg,
  .hero__grid-bg::after,
  .ticker__track,
  .badge--dot::before,
  .chat-typing span,
  .chat-demo__status::before {
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}
