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

:root {
  --bg: #0A0A0B;
  --bg-elevated: #111113;
  --bg-card: #18181B;
  --fg: #F0EBE3;
  --fg-muted: #7A746E;
  --accent: #C8A96E;
  --accent-dim: rgba(200, 169, 110, 0.12);
  --border: rgba(240, 235, 227, 0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Navbar ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark { color: var(--accent); font-size: 1.2rem; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 3rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200, 169, 110, 0.04) 0%, transparent 50%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  color: var(--fg);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bg-elevated);
  max-width: 680px;
  margin: 0 auto;
}

.hero-stat {
  flex: 1;
  padding: 1.5rem 1rem;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--fg-muted);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.hero-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── The Gap ──────────────────────────────────────────── */
.thegap {
  padding: 7rem 3rem;
  border-top: 1px solid var(--border);
}

.thegap-inner {
  max-width: 900px;
  margin: 0 auto;
}

.thegap-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.thegap-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.thegap-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 600px;
}

.thegap-comparison {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.comparison-old, .comparison-new { flex: 1; min-width: 240px; }

.comparison-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.old-label { color: var(--fg-muted); }
.new-label { color: var(--accent); }

.app-pills, .agent-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.pill-agent {
  background: var(--accent-dim);
  border: 1px solid rgba(200, 169, 110, 0.25);
  border-radius: 2rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  color: var(--accent);
}

.comparison-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-style: italic;
}

.comparison-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* ─── Agents ───────────────────────────────────────────── */
.agents {
  padding: 7rem 3rem;
  border-top: 1px solid var(--border);
}

.agents-inner { max-width: 1100px; margin: 0 auto; }

.agents-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.agents-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.agents-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 3.5rem;
  max-width: 520px;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.2s;
}

.agent-card:hover { border-color: rgba(200, 169, 110, 0.3); }

.agent-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.agent-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.agent-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.agent-tasks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.agent-tasks li {
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding-left: 1.2rem;
  position: relative;
}

.agent-tasks li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* ─── Outcomes ─────────────────────────────────────────── */
.outcomes {
  padding: 7rem 3rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.outcomes-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}

.outcome-block {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.outcome-block:last-child { border-right: none; }

.outcome-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.outcome-text {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ─── Proof ────────────────────────────────────────────── */
.proof {
  padding: 7rem 3rem;
  border-top: 1px solid var(--border);
}

.proof-inner { max-width: 760px; margin: 0 auto; }

.proof-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.proof-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.founder-block {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.founder-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(200, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-initials {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.founder-info { flex: 1; }

.founder-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.founder-cred {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.founder-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-muted);
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
}

/* ─── Closing ──────────────────────────────────────────── */
.closing {
  padding: 8rem 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner { max-width: 680px; margin: 0 auto; }

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.closing-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
}

/* ─── Footer ───────────────────────────────────────────── */
.footer {
  padding: 3rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
  .navbar { padding: 1rem 1.5rem; }
  .nav-tagline { display: none; }

  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-stat-row { flex-direction: column; }
  .hero-divider { width: 60px; height: 1px; }

  .thegap, .agents, .outcomes, .proof, .closing { padding: 5rem 1.5rem; }

  .thegap-comparison { flex-direction: column; gap: 1.5rem; }
  .comparison-arrow { display: none; }

  .agent-grid { grid-template-columns: 1fr; }

  .outcomes-inner { grid-template-columns: 1fr; }
  .outcome-block { border-right: none; border-bottom: 1px solid var(--border); }
  .outcome-block:last-child { border-bottom: none; }

  .founder-block { flex-direction: column; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}