/* === DRIFTLINE THEME === */
:root {
  --bg: #0A0F1E;
  --bg-2: #0F1629;
  --fg: #E8EFF9;
  --fg-muted: #6B7A99;
  --accent: #B4FF4B;
  --accent-dim: rgba(180, 255, 75, 0.12);
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --terminal-bg: #050911;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
}
.nav-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(180,255,75,0.2);
}

/* SECTION EYEBROW */
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 120px 80px 80px;
  gap: 80px;
}
.hero-content {
  max-width: 660px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 36px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* HERO VISUAL */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pulse-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(180,255,75,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(180,255,75,0.08);
  animation: ring-expand 3s ease-out infinite;
}
@keyframes ring-expand {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.pulse-core {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(180,255,75,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulse-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* PRODUCT SECTION */
.product {
  padding: 100px 80px;
  background: var(--bg-2);
}
.product-header {
  max-width: 600px;
  margin-bottom: 64px;
}
.product-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.product-cycle {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}
.cycle-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex: 0 0 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.cycle-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(180,255,75,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.cycle-text {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.cycle-text strong {
  display: block;
  color: var(--fg);
  margin-bottom: 4px;
  font-size: 15px;
}
.cycle-arrow {
  flex-shrink: 0;
  color: var(--fg-muted);
  padding: 0 8px;
  opacity: 0.5;
}

/* FEATURES */
.features {
  padding: 100px 80px;
}
.features-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 640px;
  margin-bottom: 60px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-card--tall {
  grid-row: span 2;
}
.feature-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(180,255,75,0.15);
  width: fit-content;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}
.feature-metric {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.metric-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
}
.metric-desc {
  font-size: 13px;
  color: var(--fg-muted);
}

/* TERMINAL */
.terminal {
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin: 0 80px 100px;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--red { background: #FF5F57; }
.dot--yellow { background: #FFBD2E; }
.dot--green { background: #28CA41; }
.terminal-title {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: 'DM Sans', sans-serif;
}
.terminal-body {
  padding: 28px 32px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13px;
  line-height: 1.8;
}
.terminal-line { min-height: 1.8em; }
.t-blank { height: 0.5em; }
.t-prompt { color: var(--accent); font-weight: 600; }
.t-colon { color: var(--fg-muted); }
.t-path { color: #7A8FBF; }
.t-cmd { color: var(--fg); }
.t-comment { color: #4A5F80; }
.t-success { color: #28CA41; }
.t-result { color: #E8EFF9; font-weight: 500; }

/* CLOSING */
.closing {
  padding: 100px 80px 80px;
}
.closing-inner { max-width: 760px; }
.closing-statement {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.closing-statement em { color: var(--accent); font-style: normal; }
.closing-divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0 32px;
}
.closing-meta {
  display: flex;
  gap: 48px;
}
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-label { font-size: 11px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.meta-value { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 600; color: var(--fg); }

/* FOOTER */
.footer {
  padding: 28px 80px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
}
.footer-note { font-size: 13px; color: var(--fg-muted); }
.footer-note a { color: var(--fg-muted); text-decoration: none; }
.footer-note a:hover { color: var(--fg); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
  }
  .hero-visual { display: none; }
  .hero-stats { gap: 20px; }
  .stat-value { font-size: 22px; }
  .product { padding: 60px 24px; }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--tall { grid-row: span 1; }
  .terminal { margin: 0 24px 60px; }
  .terminal-body { padding: 20px; }
  .closing { padding: 60px 24px 40px; }
  .footer { padding: 20px 24px; flex-direction: column; gap: 8px; align-items: flex-start; }
  .product-cycle { flex-direction: column; }
  .cycle-arrow { transform: rotate(90deg); }
  .nav { padding: 0 24px; }
}