/* === TOKENS === */
:root {
  --bg: #0d0d0d;
  --bg-surface: #141414;
  --bg-elevated: #1c1c1c;
  --fg: #f2efe8;
  --fg-muted: #8a8a8a;
  --accent: #c8f238;
  --accent-dim: rgba(200, 242, 56, 0.12);
  --border: rgba(242, 239, 232, 0.08);
  --border-accent: rgba(200, 242, 56, 0.3);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Figtree', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

/* === NAV === */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

/* === HERO === */
.hero {
  padding: 80px 24px 64px;
  max-width: 1140px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}
.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
}

/* === AGENT VIZ === */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.agent-viz {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.av-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: av-rotate 40s linear infinite;
}
@keyframes av-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.av-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}
.av-core-label {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}
.av-core-inner {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(200,242,56,0.4);
}
.av-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  animation: av-pulse 2s ease-in-out infinite;
}
@keyframes av-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.av-orbit { position: absolute; }
.av-node {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.av-node-label { font-size: 0.72rem; font-weight: 500; color: var(--fg); white-space: nowrap; }
.av-node-status {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 2px;
  flex-shrink: 0;
}
.status-done { background: rgba(200,242,56,0.15); color: var(--accent); }
.status-active { background: rgba(200,242,56,0.25); color: var(--accent); animation: status-blink 1.5s ease-in-out infinite; }
@keyframes status-blink { 0%,100%{opacity:1} 50%{opacity:0.5} }
.status-pending { background: rgba(242,239,232,0.08); color: var(--fg-muted); }

.av-orbit-1 { top: 10%; left: 50%; transform: translateX(-50%); }
.av-orbit-2 { top: 40%; right: 0%; }
.av-orbit-3 { bottom: 15%; left: 50%; transform: translateX(-50%); }
.av-orbit-4 { top: 40%; left: 0%; }

/* === STATS === */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stat { padding: 0 48px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.78rem; color: var(--fg-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); margin-right: 48px; flex-shrink: 0; }

/* === SECTIONS === */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 48px;
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 80px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding-right: 32px;
}
.step-arrow {
  flex-shrink: 0;
  color: var(--fg-muted);
  padding-top: 28px;
  padding-right: 32px;
}
.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.step-content h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fg);
  margin-bottom: 10px;
}
.step-content p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* === FEATURES === */
.features {
  padding: 80px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 32px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--border-accent); }
.feature-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.87rem; color: var(--fg-muted); line-height: 1.65; }

/* === DIFFERENCE === */
.difference {
  padding: 80px 24px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.diff-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.diff-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-top: 16px;
}
.comparison { display: flex; gap: 32px; }
.comp-col { flex: 1; }
.comp-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.comp-item {
  font-size: 0.87rem;
  color: var(--fg-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}
.comp-new .comp-item { color: var(--fg); }

/* === CLOSING === */
.closing {
  padding: 100px 24px;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}
.closing-vision {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.5;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--fg);
  margin-bottom: 4px;
}
.footer-desc { font-size: 0.8rem; color: var(--fg-muted); }
.footer-note { font-size: 0.78rem; color: var(--fg-muted); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-stats { flex-direction: column; gap: 24px; align-items: flex-start; }
  .stat { padding: 0; }
  .stat-divider { width: 40px; height: 1px; margin: 0; }
  .steps { flex-direction: column; gap: 32px; }
  .step-arrow { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; gap: 48px; }
  .comparison { flex-direction: column; gap: 24px; }
  .section-headline { margin-bottom: 32px; }
}
@media (max-width: 480px) {
  .hero { padding: 60px 20px 48px; }
  .howitworks, .features, .closing { padding: 60px 20px; }
}