/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #050505;
  --surface: #0f0f0f;
  --surface2: #161616;
  --border: #1f1f1f;
  --amber: #f59e0b;
  --amber-dim: #92650a;
  --white: #f5f5f5;
  --muted: #888888;
  --dim: #444444;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 2px; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(12px);
}

.navbar-inner {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.navbar-logo {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

.navbar-tagline {
  font-size: 12px;
  color: var(--amber);
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 140px 48px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-overline {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 12px;
}

.hero-sub {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--amber);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

.hero-body {
  font-size: 17px;
  line-height: 1.7;
  color: #aaaaaa;
  max-width: 440px;
}

/* === TERMINAL === */
.terminal-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.06), 0 40px 80px rgba(0,0,0,0.6);
}

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

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

.terminal-title {
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--dim);
  margin-left: 8px;
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 24px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
}

.terminal-line { color: #888; }
.t-dim { color: #555; }
.t-amber { color: var(--amber); }
.t-white { color: var(--white); }
.terminal-spacer { height: 20px; }

/* === STATS === */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stats-inner {
  display: flex;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 48px;
}

.stat {
  flex: 1;
  padding: 0 40px;
}

.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }

.stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 14px;
  line-height: 1.6;
  color: #777;
}

/* === SECTION TYPOGRAPHY === */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: #777;
  margin-bottom: 56px;
}

/* === FEATURES === */
.features {
  padding: 100px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--surface2); }

.feature-icon {
  color: var(--amber);
  margin-bottom: 20px;
  display: flex;
}

.feature-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #666;
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-header {
  max-width: 1280px;
  margin: 0 auto 64px;
}

.how-steps {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: var(--amber);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.step-content h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-content p {
  font-size: 15px;
  line-height: 1.65;
  color: #666;
}

/* === PRICING === */
.pricing {
  padding: 100px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.pricing-header { margin-bottom: 56px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.pricing-tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
}

.tier-featured {
  border-color: var(--amber-dim);
  background: #0f0d09;
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--amber);
  color: #000;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-head);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tier-name {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 16px;
}

.tier-price {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
}

.tier-period {
  font-size: 18px;
  font-weight: 400;
  color: #666;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tier-features li {
  font-size: 14px;
  color: #888;
  padding-left: 20px;
  position: relative;
}

.tier-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 12px;
  top: 2px;
}

.pricing-note {
  text-align: center;
  font-size: 15px;
  color: #555;
}

/* === SIGNUP CTA === */
.signup-cta {
  margin-top: 48px;
  text-align: center;
}

.signup-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.signup-form input {
  flex: 1;
  min-width: 160px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.signup-form input:focus {
  border-color: var(--amber);
}

.signup-form input::placeholder {
  color: #555;
}

.btn-primary {
  padding: 12px 24px;
  background: var(--amber);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-head);
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn-primary:hover { opacity: 0.85; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.signup-success {
  color: #28c840;
  font-size: 15px;
  font-weight: 500;
}

.signup-error {
  color: #ff5f57;
  font-size: 14px;
}

/* === CLOSING === */
.closing {
  padding: 120px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
}

.closing-quote {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 16px;
  color: #555;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
}

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

.footer-brand {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.footer-copy {
  font-size: 12px;
  color: #444;
  font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 120px 24px 60px;
  }

  .stats-inner {
    flex-direction: column;
    gap: 40px;
    padding: 48px 24px;
  }

  .stat { padding: 0; }
  .stat-divider { display: none; }

  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }

  .howitworks { padding: 60px 24px; }
  .how-steps { grid-template-columns: 1fr; gap: 40px; }

  .pricing { padding: 60px 24px; }
  .pricing-grid { grid-template-columns: 1fr; }

  .closing { padding: 80px 24px; }
  .navbar { padding: 0 24px; }
}

@media (max-width: 480px) {
  .stat-number { font-size: 40px; }
  .hero-headline { font-size: 36px; }
  .hero-sub { font-size: 24px; }
}