:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a24;
  --accent: #ff6b2c;
  --accent-dim: rgba(255, 107, 44, 0.15);
  --text-primary: #f5f5f7;
  --text-secondary: #8b8b96;
  --text-muted: #5c5c66;
  --border: rgba(255, 255, 255, 0.06);
  --code-bg: #0d0d14;
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Manrope', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 44, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 44, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(255, 107, 44, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary) 0%, #a0a0a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lede {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* Code Window */
.code-window {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.code-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
  font-family: 'Manrope', monospace;
}

.code-body {
  padding: 24px;
  font-family: 'Manrope', monospace;
  font-size: 14px;
  line-height: 2;
}

.code-line { color: var(--text-secondary); }
.code-line .keyword { color: #c792ea; }
.code-line .arrow { color: var(--accent); margin-right: 8px; }
.code-line .highlight { color: var(--text-primary); font-weight: 600; }
.code-line.success { color: #98c379; }
.code-line.warning { color: #e5c07b; }

/* Features */
.features {
  padding: 120px 48px;
  background: var(--bg-secondary);
}

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}

.features-header h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.features-header p {
  color: var(--text-secondary);
  font-size: 18px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.feature-card:hover {
  border-color: rgba(255, 107, 44, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* Closing */
.closing {
  padding: 120px 48px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0d0d14 100%);
}

.closing-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 24px;
}

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

.closing-visual {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 48px;
  min-width: 160px;
}

.metric-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.metric-label {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer */
footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 60px 24px; }
  .features { padding: 80px 24px; }
  .closing { padding: 80px 24px; }
  footer { padding: 32px 24px; }
  .closing-visual { gap: 24px; }
  .metric-card { padding: 24px 32px; min-width: 140px; }
  .metric-value { font-size: 36px; }
}