:root {
  --bg: #0d0618;
  --bg-mid: #140a28;
  --bg-card: #1c0f38;
  --fg: #f0e6ff;
  --fg-muted: #9b8abf;
  --accent: #ff6b4a;
  --accent-glow: rgba(255, 107, 74, 0.35);
  --violet: #7c3aed;
  --violet-deep: #4c1d95;
  --surface: #231545;
  --border: rgba(124, 58, 237, 0.25);
  --radius: 12px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 6, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* HERO */
.hero {
  padding: 160px 48px 100px;
  background: linear-gradient(160deg, #1a0a2e 0%, #0d0618 60%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--fg);
}
.hero-headline em {
  color: var(--accent);
  font-style: italic;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
}

/* AGENT WINDOW */
.agent-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 58, 237, 0.15);
}
.agent-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.agent-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.agent-dot.red { background: #ff5f57; }
.agent-dot.yellow { background: #febc2e; }
.agent-dot.green { background: #28c840; }
.agent-title {
  font-size: 13px;
  color: var(--fg-muted);
  margin-left: 8px;
}
.agent-status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: #28c840;
  background: rgba(40, 200, 64, 0.15);
  padding: 3px 10px;
  border-radius: 20px;
}
.agent-feed {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feed-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--fg-muted);
  animation: fadein 0.6s ease forwards;
}
.feed-item.done .feed-text { color: var(--fg); }
.feed-icon {
  font-size: 11px;
  color: var(--violet);
  margin-top: 2px;
  min-width: 16px;
}
.feed-item.done .feed-icon { color: var(--accent); }
.feed-text { line-height: 1.5; }
@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SECTIONS */
.section-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* HOW */
.how {
  padding: 100px 48px;
  background: var(--bg-mid);
}
.how-header {
  text-align: center;
  margin-bottom: 72px;
}
.how-header .section-sub { margin: 0 auto; }
.steps {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step { padding: 0; }
.step-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: var(--violet-deep);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.step p { font-size: 15px; color: var(--fg-muted); line-height: 1.7; }

/* FEATURES */
.features {
  padding: 100px 48px;
  background: var(--bg);
}
.features-header { text-align: center; margin-bottom: 64px; }
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature:hover { background: var(--bg-card); }
.feature-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* PRICING */
.pricing {
  padding: 100px 48px;
  background: var(--bg-mid);
}
.pricing-header { text-align: center; margin-bottom: 64px; }
.pricing-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
}
.plan.featured {
  background: var(--violet-deep);
  border-color: var(--violet);
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.3);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.plan.featured .plan-label { color: rgba(240, 230, 255, 0.6); }
.plan-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.plan-price {
  font-size: 48px;
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 28px;
  line-height: 1;
}
.plan-price span { font-size: 20px; font-weight: 400; color: var(--fg-muted); }
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 24px;
  position: relative;
}
.plan-features li::before {
  content: '\u2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.plan.featured .plan-features li { color: rgba(240, 230, 255, 0.85); }

/* MANIFESTO */
.manifesto {
  padding: 120px 48px;
  background: linear-gradient(135deg, var(--violet-deep) 0%, #2d0a5a 100%);
  text-align: center;
}
.manifesto-inner { max-width: 800px; margin: 0 auto; }
.manifesto-quote {
  font-family: var(--font-display);
  font-size: 32px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 40px;
}
.manifesto-tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
}

/* FOOTER */
.footer {
  padding: 48px;
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-copy {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 120px 24px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-headline { font-size: 40px; }
  .hero-sub { font-size: 16px; }
  .how { padding: 80px 24px; }
  .steps { grid-template-columns: 1fr; }
  .features { padding: 80px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing { padding: 80px 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 80px 24px; }
  .manifesto-quote { font-size: 24px; }
}
@media (max-width: 600px) {
  .hero-headline { font-size: 32px; }
  .section-title { font-size: 28px; }
}