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

:root {
  --bg: #0d0f14;
  --surface: #141720;
  --surface-2: #1c2030;
  --border: #252a38;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --text: #e8eaf0;
  --text-muted: #7a8499;
  --text-dim: #4a5168;
  --green: #22c55e;
  --mono: 'DM Mono', monospace;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

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

/* === TYPOGRAPHY === */
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-headline {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 56px;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.nav-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* === HERO === */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-proof {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
}

.proof-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* === AGENT CARD === */
.agent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,158,11,0.08) inset;
}

.agent-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.agent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.agent-name {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.agent-status {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
}

.agent-terminal {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.terminal-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

.t-time {
  color: var(--text-dim);
  min-width: 40px;
  flex-shrink: 0;
}

.t-label {
  color: var(--amber);
  min-width: 56px;
  font-weight: 500;
  flex-shrink: 0;
}

.t-msg {
  color: var(--text-muted);
}

.terminal-line.success .t-msg {
  color: var(--text);
}

/* === DEMO SECTION === */
.demo {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}

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

.demo-flow {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

.flow-step {
  flex: 1;
}

.flow-icon {
  width: 48px;
  height: 48px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 16px;
}

.flow-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.flow-arrow {
  color: var(--text-dim);
  flex-shrink: 0;
  margin-top: 16px;
}

/* === FEATURES === */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 32px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === HOW === */
.how {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 24px;
}

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

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

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

.step-num {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 500;
  color: var(--border);
  line-height: 1;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === PRICING === */
.pricing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: left;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(245,158,11,0.08) 0%, var(--surface) 60%);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--amber);
  color: #0d0f14;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-for {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.price-num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.pricing-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}

/* === CLOSING === */
.closing {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 100px 24px;
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}

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

.footer-brand {
  font-size: 14px;
  font-weight: 700;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 56px 24px 72px; }
  .hero-right { order: -1; }
  .hero-proof { flex-wrap: wrap; gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .demo-flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); align-self: center; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 36px; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 20px 56px; }
  .features, .how, .pricing, .closing { padding: 64px 20px; }
  .demo { padding: 64px 20px; }
  .agent-card { font-size: 11px; }
}