/* ── Variables ── */
:root {
  --bg: #0E1A0F;
  --surface: #141F14;
  --surface-2: #1B2D1B;
  --gold: #D4A843;
  --gold-dim: #A8822E;
  --cream: #F5F0E8;
  --cream-dim: #C8C0B4;
  --text-primary: #F5F0E8;
  --text-secondary: #9EA89A;
  --border: rgba(212, 168, 67, 0.18);
  --compliance-color: #5BBF8A;
  --marketing-color: #D4A843;
  --community-color: #7FB3E8;
  --ops-color: #C97FD4;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(14, 26, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--cream); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  padding: 120px 80px 80px;
  overflow: hidden;
}

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

.hero-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-orb-1 {
  width: 500px; height: 500px;
  top: -100px; left: -150px;
  background: rgba(27, 61, 31, 0.5);
}

.hero-orb-2 {
  width: 350px; height: 350px;
  bottom: -50px; right: 20%;
  background: rgba(212, 168, 67, 0.04);
}

.hero-content {
  position: relative;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 100px;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  padding: 0 32px;
}

.stat:first-child { padding-left: 0; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
  letter-spacing: 0.01em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Agent Feed (Hero Right) ── */
.hero-feed {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  overflow: hidden;
}

.hero-feed::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.feed-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.feed-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--compliance-color);
  letter-spacing: 0.05em;
}

.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--compliance-color);
  animation: pulse 1.5s infinite;
}

.feed-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feed-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feed-icon.compliance { background: rgba(91, 191, 138, 0.15); color: var(--compliance-color); }
.feed-icon.marketing { background: rgba(212, 168, 67, 0.15); color: var(--marketing-color); }
.feed-icon.community { background: rgba(127, 179, 232, 0.15); color: var(--community-color); }
.feed-icon.ops { background: rgba(201, 127, 212, 0.15); color: var(--ops-color); }

.feed-body { flex: 1; }

.feed-action {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-primary);
  font-weight: 500;
}

.feed-time {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* ── Manifesto ── */
.manifesto {
  padding: 120px 80px;
  position: relative;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.manifesto-label, .section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 28px;
}

.manifesto-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 20px;
}

.manifesto-contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.contrast-block {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid;
}

.contrast-old {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.08);
}

.contrast-new {
  background: rgba(212, 168, 67, 0.04);
  border-color: rgba(212, 168, 67, 0.2);
}

.contrast-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contrast-label.old { color: var(--text-secondary); }
.contrast-label.new { color: var(--gold); }

.contrast-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contrast-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.contrast-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
}

.contrast-old .contrast-list li::before { background: rgba(255,255,255,0.2); }
.contrast-new .contrast-list li::before { background: var(--gold); opacity: 0.6; }

/* ── How It Works ── */
.howitworks {
  padding: 120px 80px;
  position: relative;
  background: var(--surface);
}

.howitworks::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.howitworks-header {
  max-width: 560px;
  margin-bottom: 72px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-card {
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.how-card:hover {
  border-color: rgba(212, 168, 67, 0.35);
  transform: translateY(-4px);
}

.how-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  color: rgba(212, 168, 67, 0.15);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.how-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.how-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ── Agents ── */
.agents {
  padding: 120px 80px;
  position: relative;
}

.agents::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.agent-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}

.agent-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px);
}

.agent-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.agent-icon-wrap.compliance { background: rgba(91, 191, 138, 0.12); color: var(--compliance-color); }
.agent-icon-wrap.marketing { background: rgba(212, 168, 67, 0.12); color: var(--marketing-color); }
.agent-icon-wrap.community { background: rgba(127, 179, 232, 0.12); color: var(--community-color); }
.agent-icon-wrap.ops { background: rgba(201, 127, 212, 0.12); color: var(--ops-color); }

.agent-meta { margin-bottom: 12px; }

.agent-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.agent-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.agent-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.agent-tasks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.agent-tasks li {
  font-size: 12px;
  color: var(--text-secondary);
  padding-left: 12px;
  position: relative;
}

.agent-tasks li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(212, 168, 67, 0.5);
  font-size: 10px;
}

/* ── Closing ── */
.closing {
  padding: 140px 80px 120px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.closing-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212, 168, 67, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.closing-statement {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--gold);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ── Mobile Responsive ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 100px 40px 60px; }
  .hero-feed { display: none; }
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .manifesto-contrast { grid-template-columns: 1fr; }
  .manifesto, .howitworks, .agents, .closing { padding: 80px 40px; }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 90px 24px 60px; }
  .hero-headline { font-size: 40px; }
  .manifesto, .howitworks, .agents, .closing { padding: 60px 24px; }
  .footer { padding: 48px 24px 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-direction: column; gap: 32px; }
  .agent-grid { grid-template-columns: 1fr; }
  .closing-headline { font-size: 32px; }
}
