:root {
  --bg: #07080d;
  --surface: #0d0f18;
  --surface-2: #131722;
  --border: #1c2030;
  --gold: #D4A843;
  --gold-dim: rgba(212, 168, 67, 0.12);
  --gold-glow: rgba(212, 168, 67, 0.08);
  --text: #f0eee8;
  --text-2: #9995a0;
  --text-3: #5a5568;
  --code-green: #4ade80;
  --code-blue: #93c5fd;
  --code-amber: #fbbf24;
  --code-muted: #6b7280;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Atmosphere */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 168, 67, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Noise overlay */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(7, 8, 13, 0.85);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--code-green);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
}

.hero-inner {
  max-width: 760px;
  width: 100%;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(212, 168, 67, 0.25);
  background: var(--gold-dim);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 5px var(--gold);
  animation: pulse-dot 2s infinite;
}

.hero-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-sub {
  display: block;
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--text-2);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 4px;
}

.hero-main {
  display: block;
  background: linear-gradient(135deg, #f0eee8 30%, #D4A843 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: 18px;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Terminal */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(212, 168, 67, 0.05), 0 40px 80px rgba(0,0,0,0.5);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.t-dot.red { background: #ff5f56; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green { background: #27c93f; }

.t-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  margin-left: 6px;
}

.terminal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.t-line {
  display: flex;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 12.5px;
  line-height: 1.6;
}

.t-ts {
  color: var(--text-3);
  flex-shrink: 0;
  width: 44px;
}

.t-cmd { color: var(--text-2); }
.t-ok { color: var(--code-green); }
.t-info { color: var(--code-blue); }
.t-sleepy .t-muted { color: var(--text-3); font-style: italic; }
.t-file { color: var(--code-amber); }

/* Sections */
.features, .how-it-works, .workflow, .difference, .closing-section {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
}

.features-inner, .how-inner, .workflow-inner, .diff-inner, .closing-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
  box-shadow: 0 0 30px var(--gold-glow);
}

.feature-icon {
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

.feature-tag {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(212, 168, 67, 0.15);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* How it works - steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-number {
  font-family: 'Instrument Serif', serif;
  font-size: 56px;
  color: rgba(212, 168, 67, 0.15);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
}

.step-content h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 520px;
}

/* Workflow timeline */
.workflow {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.wt-event {
  display: flex;
  gap: 32px;
  align-items: baseline;
  padding: 20px 0;
}

.wt-time {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  width: 120px;
  padding-top: 3px;
}

.wt-text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

.wt-text code {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  background: var(--gold-dim);
  color: var(--gold);
  padding: 2px 6px;
  border-radius: 4px;
}

.wt-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin-left: 150px;
}

/* Comparison */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comp-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.comp-col.comp-old { border-color: rgba(255,255,255,0.05); }
.comp-col.comp-new { border-color: rgba(212, 168, 67, 0.3); box-shadow: 0 0 30px var(--gold-glow); }

.comp-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 20px;
}

.comp-new .comp-label { color: var(--gold); }

.comp-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-col ul li {
  font-size: 14px;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
}

.comp-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-3);
}

.comp-new ul li::before { background: var(--gold); }

/* Closing */
.closing-section {
  text-align: center;
}

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(212, 168, 67, 0.25);
  background: var(--gold-dim);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.closing-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.closing-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.closing-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: 52px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Instrument Serif', serif;
  font-size: 16px;
}

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

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar { padding: 14px 24px; }
  .hero { padding: 100px 24px 60px; }
  .features, .how-it-works, .workflow, .difference, .closing-section { padding: 60px 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .comparison { grid-template-columns: 1fr; }
  .closing-stats { flex-direction: column; gap: 32px; }
  .step { gap: 20px; }
  .step-number { font-size: 40px; width: 56px; }
  .wt-event { flex-direction: column; gap: 4px; }
  .wt-divider { margin-left: 0; }
  .feature-grid { grid-template-columns: 1fr; }
}