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

:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface-2: #18181f;
  --border: #1e1e2a;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --amber-glow: rgba(245, 158, 11, 0.08);
  --text: #e8e8f0;
  --text-dim: #6b6b80;
  --text-muted: #3a3a4a;
  --green: #22c55e;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--text);
}

.nav-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

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

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-headline-accent {
  display: block;
  background: linear-gradient(135deg, var(--amber) 0%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 440px;
}

/* === AGENT DASHBOARD === */
.agent-dash {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  font-family: var(--font-display);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.05), 0 24px 64px rgba(0,0,0,0.5);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dash-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agent-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--amber) 0%, #fb923c 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #0a0a0f;
}

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

.agent-status {
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
}

.dash-balance {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.balance-label {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-dim);
}

.dash-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.dash-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  margin-bottom: 6px;
  transition: background 0.15s;
}

.dash-tool:hover {
  background: var(--surface-2);
}

.dash-tool-active {
  background: var(--amber-glow);
  border-color: rgba(245,158,11,0.2);
}

.tool-icon {
  width: 34px;
  height: 34px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  flex-shrink: 0;
}

.tool-icon-on {
  background: var(--amber-dim);
  border-color: rgba(245,158,11,0.3);
  color: var(--amber);
}

.tool-info { flex: 1; }

.tool-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.tool-meta {
  font-size: 11px;
  color: var(--text-dim);
}

.tool-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.2);
  padding: 3px 8px;
  border-radius: 20px;
}

.tool-badge-on {
  background: var(--amber-dim);
  color: var(--amber);
}

.dash-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dash-action {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
}

.action-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.action-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* === WHY === */
.why {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}

.section-header {
  max-width: 600px;
  margin-bottom: 56px;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
}

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

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: border-color 0.2s;
}

.why-card:hover {
  border-color: rgba(245,158,11,0.2);
}

.why-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.why-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.why-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.why-accent {
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-dim);
  padding: 2px 8px;
  border-radius: 20px;
}

.why-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* === HOW === */
.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.how-body {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 20px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item:last-child::before {
  display: none;
}

.tl-icon {
  width: 36px;
  height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}

.tl-content { flex: 1; padding-top: 6px; }

.tl-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.tl-body {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* === FEATURES === */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feat:hover {
  border-color: rgba(245,158,11,0.2);
  transform: translateY(-2px);
}

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

.feat-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.feat-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* === CLOSING === */
.closing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 24px;
}

.closing-body {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 40px;
}

.closing-cta {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 32px;
}

.cta-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.cta-note {
  font-size: 13px;
  color: var(--text-dim);
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

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

.footer-legal {
  font-size: 12px;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 48px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .how {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero { padding: 40px 20px 48px; }
  .why, .how, .features, .closing { padding-left: 20px; padding-right: 20px; }
  .why-card, .feat { padding: 20px; }
  .dash-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}