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

:root {
  --bg: #0D0D14;
  --surface: #14141F;
  --surface-2: #1C1C2A;
  --amber: #F4A226;
  --amber-dim: rgba(244, 162, 38, 0.12);
  --cream: #F5F0E8;
  --muted: #7A7A8C;
  --border: rgba(255,255,255,0.06);
}

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

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; }

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(13,13,20,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--cream); letter-spacing: 0.02em; }
.nav-tagline { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 600px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(244,162,38,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 800px; text-align: center; position: relative; z-index: 1; }
.hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 24px; font-weight: 500; }
.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 28px;
}
.hero-headline em { font-style: italic; color: var(--amber); }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 580px; margin: 0 auto 52px; line-height: 1.7; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 0; }
.stat { display: flex; flex-direction: column; align-items: center; padding: 0 36px; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--amber); }
.stat-label { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* --- HOW IT WORKS --- */
.how-it-works { padding: 100px 40px; background: var(--surface); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; font-weight: 500; }
.section-heading { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--cream); margin-bottom: 64px; line-height: 1.25; }
.steps { display: flex; align-items: center; gap: 0; flex-wrap: wrap; justify-content: center; }
.step { max-width: 280px; padding: 0 24px; }
.step-arrow { display: flex; align-items: center; flex-shrink: 0; }
.step-number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: var(--amber-dim); line-height: 1; margin-bottom: 16px; }
.step-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--cream); margin-bottom: 10px; }
.step-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* --- FEATURES --- */
.features { padding: 100px 40px; background: var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.feature-card { background: var(--surface); padding: 40px 36px; border: 1px solid var(--border); transition: border-color 0.2s; }
.feature-card:hover { border-color: rgba(244,162,38,0.2); }
.feature-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--amber-dim); border-radius: 8px; margin-bottom: 24px; }
.feature-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--cream); margin-bottom: 10px; }
.feature-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* --- THE AGENT --- */
.the-agent { padding: 100px 40px; background: var(--surface); }
.agent-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.agent-heading { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; color: var(--cream); line-height: 1.3; margin-bottom: 24px; }
.agent-body { font-size: 0.95rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.agent-terminal { background: #09090F; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; }
.terminal-header { background: var(--surface-2); padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-amber { background: #FFBD2E; }
.dot-green { background: #28CA42; }
.terminal-title { font-size: 0.72rem; color: var(--muted); margin-left: 8px; font-family: 'DM Sans', monospace; }
.terminal-body { padding: 20px 24px; font-family: 'DM Sans', 'Courier New', monospace; font-size: 0.8rem; line-height: 1.9; }
.terminal-line { color: #8A8AA0; }
.terminal-time { color: var(--amber); }
.terminal-success { color: #28CA42; }
.terminal-warning { color: #FFBD2E; }
.terminal-muted { color: #4A4A5C; }

/* --- CLOSING --- */
.closing { padding: 120px 40px; background: var(--bg); text-align: center; }
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.15; color: var(--cream); margin-bottom: 28px; }
.closing-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.7; }

/* --- FOOTER --- */
.footer { padding: 28px 40px; border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--cream); font-size: 0.9rem; }
.footer-copy { font-size: 0.75rem; color: var(--muted); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav-tagline { display: none; }
  .hero { padding: 100px 20px 60px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-divider { width: 40px; height: 1px; }
  .steps { flex-direction: column; gap: 40px; }
  .step-arrow { transform: rotate(90deg); }
  .feature-grid { grid-template-columns: 1fr; }
  .agent-inner { grid-template-columns: 1fr; gap: 40px; }
  .how-it-works, .features, .the-agent, .closing { padding: 60px 20px; }
  .section-heading { margin-bottom: 40px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}