:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a28;
  --fg: #f0f0f5;
  --fg-muted: #7a7a8c;
  --fg-subtle: #4a4a5c;
  --accent: #6ee7b7;
  --accent-dim: #34d399;
  --accent-glow: rgba(110, 231, 183, 0.15);
  --border: rgba(240, 240, 245, 0.08);
  --font-head: 'Space Grotesk', system-ui, sans-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;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(110,231,183,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid rgba(110, 231, 183, 0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero .lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 0;
}

/* WINDOW */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.pilot-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fg-subtle);
}

.dot:first-child { background: #ff5f57; }
.dot:nth-child(2) { background: #febc2e; }
.dot:nth-child(3) { background: #28c840; }

.window-title {
  margin-left: auto;
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
}

.window-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
}

.msg-ai {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px;
  padding: 12px 14px;
}

.msg-user {
  background: rgba(110, 231, 183, 0.1);
  border: 1px solid rgba(110, 231, 183, 0.2);
  color: var(--accent);
  border-radius: 12px 12px 4px 12px;
  padding: 10px 14px;
  margin-left: 24px;
}

.msg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

/* FEATURES */
.features {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%);
}

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

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.features h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  max-width: 500px;
}

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

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(110, 231, 183, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}

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

/* CLOSING */
.closing {
  padding: 100px 24px;
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

.closing-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  position: relative;
}

.pulse-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(110, 231, 183, 0.3);
  animation: pulse 3s ease-out infinite;
}

.pulse-ring-2 {
  width: 200px;
  height: 200px;
  animation-delay: 1s;
  border-color: rgba(110, 231, 183, 0.15);
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.pulse-core {
  width: 64px;
  height: 64px;
  background: var(--accent-glow);
  border: 1px solid rgba(110, 231, 183, 0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  z-index: 1;
}

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

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner,
  .feature-grid,
  .closing-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 20px 40px;
    text-align: center;
  }

  .hero h1 br { display: none; }
  .hero .lede { margin: 0 auto; }
  .hero-visual { justify-content: center; }
  .pilot-window { max-width: 100%; }

  .features { padding: 60px 20px; }
  .feature-grid { gap: 16px; }
  .feature-card { padding: 24px; }

  .closing { padding: 60px 20px; }
  .closing-visual { display: none; }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .window-content { padding: 14px; }
  .msg { font-size: 12.5px; }
}