/* ===================================================================
   OperAI Landing v2.0 — Design System
   =================================================================== */

:root {
  --bg: #0B1221;
  --bg-elevated: #111B2E;
  --bg-hover: rgba(255, 255, 255, 0.04);
  --surface: #1A2540;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.15);

  --text: #FAF9F6;
  --text-dim: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);
  --text-faint: rgba(255, 255, 255, 0.2);

  --gold: #C9A04A;
  --gold-light: #D4AD5A;
  --gold-dim: rgba(201, 160, 74, 0.1);
  --gold-glow: rgba(201, 160, 74, 0.3);

  --green: #22C55E;
  --red: #EF4444;
  --yellow: #EAB308;
  --blue: #60A5FA;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --wrap: 1200px;
  --wrap-narrow: 900px;
  --wrap-wide: 1400px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'ss02', 'cv01', 'cv11';
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 18, 33, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: border-color var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border-strong);
}

.header-inner {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo b { color: var(--gold); }

.logo-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(201, 160, 74, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color var(--transition);
}

.site-nav a:hover { color: var(--text); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.4rem;
  color: var(--text);
  padding: 0.25rem 0.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #A8842E);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(201, 160, 74, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 160, 74, 0.45);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

/* ===== LAYOUT PRIMITIVES ===== */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 2rem;
}

.wrap-narrow {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section-sm { padding: 5rem 0; }
.section-lg { padding: 9rem 0; }

/* Section tag (eyebrow) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
}

.eyebrow-pulse .eyebrow-dot {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--gold);
}

.h-display {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.h-xl {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.h-lg {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.h-md {
  font-size: 1.3rem;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.75;
}

p.large {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text);
}

p strong { color: var(--text); font-weight: 600; }

/* ===== HERO ===== */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--gold-dim) 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 0.55rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(201, 160, 74, 0.25);
  margin-bottom: 2.25rem;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
  animation: pulse 2.4s infinite;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.hero-stat {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--border);
}

.hero-stat:last-child { border-right: none; }

.hero-stat-value {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
  font-style: italic;
}

.hero-stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== PROBLEM SECTION ===== */
.problem {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.problem-grid {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.problem p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.problem p:last-of-type strong {
  color: var(--gold);
  font-weight: 500;
}

/* ===== AGENTS SECTION ===== */
.agents {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agents-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.agent-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.agent-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: var(--surface);
}

.agent-card:hover::before { opacity: 1; }

.agent-icon {
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
}

.agent-name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.agent-role {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.agent-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.agents-foot {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.arch-pills {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.arch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.arch-pill strong {
  color: var(--gold);
  font-weight: 600;
}

/* ===== HONEST ROI SECTION ===== */
.roi {
  padding: 8rem 0;
}

.roi-head {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.roi-callout {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.roi-callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.roi-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.roi-table caption {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.roi-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
  color: var(--text-dim);
}

.roi-table td:first-child { color: var(--text); }

.roi-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--gold);
}

.roi-table tr.total td {
  font-weight: 600;
  color: var(--text);
  padding-top: 1.25rem;
  border-bottom: none;
  border-top: 2px solid rgba(201, 160, 74, 0.3);
}

.roi-table tr.total td:last-child {
  font-size: 1.05rem;
  color: var(--gold);
}

.roi-math {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.roi-math .highlight {
  color: var(--gold);
  font-weight: 600;
}

.roi-math .ratio-line {
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px dashed var(--border);
  font-size: 1rem;
  color: var(--text);
}

.roi-math .ratio-line strong {
  color: var(--gold);
  font-weight: 700;
}

.roi-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ===== LIVE PROOF SECTION ===== */
.live-proof {
  padding: 7rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.live-proof::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse, var(--gold-dim) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.live-proof-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.live-proof h2 {
  margin-bottom: 1.25rem;
}

.live-proof p {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.live-proof-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.live-proof-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.live-proof-feature::before {
  content: '●';
  color: var(--green);
  font-size: 0.8rem;
}

/* ===== CAPABILITIES SECTION ===== */
.capabilities {
  padding: 8rem 0;
}

.caps-head {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.cap-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
}

.cap-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.cap-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.cap-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.cap-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.caps-more {
  text-align: center;
  margin-top: 3rem;
}

/* ===== PATTERN LIBRARY / NETWORK EFFECT SECTION ===== */
.network {
  padding: 8rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.network-wrap {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.network h2 {
  margin-bottom: 1.5rem;
}

.network-progression {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.progression-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  position: relative;
}

.progression-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.progression-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.progression-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.network-moat {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
  margin: 3rem 0 1.5rem;
  line-height: 1.4;
}

.network-moat em {
  color: var(--gold);
}

.network-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* ===== WHAT WE'RE NOT SECTION ===== */
.not {
  padding: 7rem 0;
}

.not-head {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.not-list {
  max-width: 720px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.not-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text-dim);
}

.not-list li:last-child { border-bottom: none; }

.not-list li::before {
  content: '✗';
  color: var(--red);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.6;
}

.not-list strong { color: var(--text); }

.not-foot {
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 160, 74, 0.2);
  border-radius: var(--radius);
  text-align: center;
}

.not-foot p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.not-foot strong { color: var(--gold); }

/* ===== PRICING SECTION ===== */
.pricing {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1240px;
  margin: 0 auto;
  align-items: stretch;
}

.tier {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
  position: relative;
}

.tier:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.tier.featured {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border-color: rgba(201, 160, 74, 0.3);
  box-shadow: 0 8px 40px rgba(201, 160, 74, 0.1);
}

.tier.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  white-space: nowrap;
}

.tier-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.tier-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.tier-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  min-height: 3.8em;
}

.tier-price {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
  font-style: italic;
}

.tier-price small {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 0.3rem;
  font-weight: 500;
}

.tier-price.custom {
  font-size: 1.8rem;
  font-style: italic;
}

.tier-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 0.45rem 0;
  line-height: 1.5;
}

.tier-features li::before {
  content: '✓';
  color: var(--gold);
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}

.tier .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.pricing-foot {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-foot a {
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 160, 74, 0.4);
}

/* ===== FAQ SECTION ===== */
.faq {
  padding: 7rem 0;
}

.faq-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition);
}

.faq-q:hover { color: var(--gold); }

.faq-q::after {
  content: '+';
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.open .faq-a {
  max-height: 600px;
}

.faq-a-inner {
  padding: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 700px;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 9rem 0;
  text-align: center;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, var(--gold-dim) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.final-cta p {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.final-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--gold); }

/* ===================================================================
   SCROLL ANIMATIONS
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s 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; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */

/* Tablet */
@media (max-width: 1100px) {
  .agents-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Small tablet */
@media (max-width: 900px) {
  .section { padding: 5rem 0; }
  .section-lg { padding: 6rem 0; }
  .hero { padding: 4rem 0 3rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .hero-stat { padding: 1rem; }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { padding-top: 1.5rem; }

  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .network-progression { grid-template-columns: 1fr; gap: 1rem; }
  .roi-callout { padding: 2rem 1.5rem; }
}

/* Mobile */
@media (max-width: 700px) {
  .header-inner { padding: 0.85rem 1.25rem; gap: 1rem; }
  .site-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .logo-tag { display: none; }
  .header-cta .btn-sm { padding: 0.5rem 0.9rem; font-size: 0.78rem; }

  .hero { padding: 3rem 0 2rem; }
  .hero-content { padding: 0 1.25rem; }
  .hero-tag { font-size: 0.6rem; padding: 0.45rem 0.85rem; margin-bottom: 1.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; margin-bottom: 3rem; }
  .hero-cta .btn { justify-content: center; }

  .section, .section-lg { padding: 4rem 0; }
  .wrap, .wrap-narrow { padding: 0 1.25rem; }

  .agents-grid { grid-template-columns: 1fr; }
  .caps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
    #pricing [style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 1.5rem !important; }

  .roi-callout { padding: 1.5rem 1.25rem; }
  .roi-math { padding: 1rem 1.25rem; font-size: 0.78rem; }
  .roi-table td { padding: 0.6rem 0; font-size: 0.85rem; }

  .tier { padding: 1.75rem 1.5rem; }
  .tier.featured::before { top: -9px; font-size: 0.58rem; }

  .final-cta { padding: 6rem 0; }
  .final-cta-buttons { flex-direction: column; align-items: stretch; }

  .footer-inner { flex-direction: column; text-align: center; }
}

/* Mobile nav menu */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 200;
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  display: block;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 500;
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.8rem;
  color: var(--text);
}
