:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --bg-3: #1a1a1a;
  --fg: #f0ede8;
  --fg-muted: #7a7a7a;
  --fg-dim: #4a4a4a;
  --accent: #ff9500;
  --accent-dim: rgba(255, 149, 0, 0.15);
  --border: #222222;
  --terminal-bg: #0a0a0a;
  --terminal-border: #2a2a2a;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  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;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 20px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,149,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,149,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,149,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  width: 100%;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid rgba(255,149,0,0.3);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 36px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 52px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* TERMINAL */
.hero-terminal {
  background: var(--terminal-bg);
  border: 1px solid var(--terminal-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  text-align: left;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,149,0,0.08);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #111;
  border-bottom: 1px solid var(--terminal-border);
}
.tb { width: 12px; height: 12px; border-radius: 50%; }
.tb.red { background: #ff5f56; }
.tb.yellow { background: #ffbd2e; }
.tb.green { background: #27c93f; }
.tb-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--fg-dim);
  margin-left: 8px;
}
.terminal-body {
  padding: 20px 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  line-height: 1.8;
}
.tline { display: flex; gap: 12px; }
.tprompt { color: var(--accent); }
.tcmd { color: var(--fg); }
.muted { color: var(--fg-muted); }
.accent { color: #6ee7b7; }
.blink { animation: blink 1s step-end infinite; color: var(--fg); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* PRICES */
.hero-prices {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.price-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 6px;
}

/* HOW */
.how {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}
.how-inner { max-width: 900px; margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 72px; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.how-header h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 480px;
  margin: 0 auto;
}
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.step-icon { margin-bottom: 16px; }
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--fg-muted); line-height: 1.6; }
.step-connector {
  display: flex;
  align-items: center;
  padding: 0 8px;
  padding-top: 32px;
  flex-shrink: 0;
}
.step-arrow { display: none; }

/* FEATURES */
.features {
  padding: 100px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-header { margin-bottom: 64px; }
.features-header h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.features-header p { color: var(--fg-muted); font-size: 17px; max-width: 500px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: #333; }
.fc-icon { margin-bottom: 20px; }
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* PRICING */
.pricing {
  padding: 120px 40px;
}
.pricing-inner { max-width: 960px; margin: 0 auto; }
.pricing-header { text-align: center; margin-bottom: 72px; }
.pricing-header h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), inset 0 0 40px rgba(255,149,0,0.04);
}
.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}
.pc-label {
  font-size: 13px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 12px;
}
.pc-price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.pc-price span { font-size: 20px; color: var(--fg-muted); font-weight: 400; }
.pc-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-muted);
}

/* MANIFESTO */
.manifesto {
  padding: 120px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.manifesto-inner { max-width: 720px; margin: 0 auto; }
.manifesto-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 40px;
}
.manifesto-body p {
  font-size: 22px;
  line-height: 1.7;
  color: var(--fg);
  margin-bottom: 24px;
}
.manifesto-body p:last-of-type { color: var(--fg-muted); }
.manifesto-quote {
  margin-top: 48px;
  padding: 32px;
  border-left: 3px solid var(--accent);
  font-size: 18px;
  font-style: italic;
  color: var(--fg-muted);
  background: var(--bg-3);
  border-radius: 0 8px 8px 0;
}

/* CLOSING */
.closing {
  padding: 120px 40px;
  text-align: center;
}
.closing-inner { max-width: 640px; margin: 0 auto; }
.closing h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing p {
  font-size: 18px;
  color: var(--fg-muted);
}

.closing-cta-wrap {
  margin-top: 36px;
}

.closing-cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.closing-cta-btn:hover {
  background: #ffaa33;
  transform: translateY(-1px);
}

/* FOOTER */
.footer {
  padding: 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.footer-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-dim);
}

/* BNPL / PAYMENT TOGGLE */
.bnpl-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #22c55e;
  font-weight: 500;
}

.pay-method-toggle {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.pay-method-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--fg-muted);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.pay-method-btn:hover { border-color: #444; color: var(--fg); }

.pay-method-btn.active {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--fg);
}

.pay-method-btn.active svg { stroke: var(--accent); }

.pc-cta {
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.pc-cta:hover { background: #ffaa33; transform: translateY(-1px); }
.pc-cta:active { transform: translateY(0); }
.pc-cta:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.featured-cta { background: #fff; color: var(--bg); }
.featured-cta:hover { background: #f0ede8; }

.pc-installment {
  height: 24px;
  margin-bottom: 4px;
}

.install-breakdown {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 6px;
  padding: 4px 10px;
  display: inline-block;
}

.pc-install4-note {
  text-align: center;
  font-size: 11px;
  color: #22c55e;
  margin-top: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 100px 24px 60px; }
  .how-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .how, .features, .pricing, .manifesto, .closing { padding: 80px 24px; }
  .nav { padding: 0 24px; }
}
@media (max-width: 480px) {
  .hero-prices { flex-direction: column; align-items: center; }
}
