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

:root {
  --bg: #0A0E1A;
  --bg-alt: #0F1525;
  --surface: #131929;
  --surface-2: #1A2336;
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.15);
  --text: #F0F4FF;
  --text-muted: #8896B3;
  --border: rgba(255,255,255,0.08);
  --font-head: 'Sora', sans-serif;
  --font-body: 'Figtree', sans-serif;
  --max-w: 1160px;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

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

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 96px 24px 80px;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.overline {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.manifesto-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.manifesto-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Stack Viz */
.manifesto-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-viz {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 260px;
}

.stack-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.stack-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}

.stack-1 { width: 100%; }
.stack-2 { width: 88%; margin-left: auto; }
.stack-3 { width: 76%; margin-left: auto; }
.stack-4 { width: 64%; margin-left: auto; border-color: var(--accent); }

.block-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.block-value {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.stack-glow {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== STATS ===== */
.stats {
  padding: 0 24px 80px;
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== PRICING ===== */
.pricing {
  padding: 96px 24px;
  background: var(--bg-alt);
}

.pricing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 56px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.pricing-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1100px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.2s ease;
}

.pricing-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
}

.pricing-card.featured {
  border-color: rgba(245, 166, 35, 0.4);
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
}

.pricing-card.card-pro {
  border-color: rgba(245, 166, 35, 0.25);
  background: var(--surface);
}

.card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0A0E1A;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.card-header {
  margin-bottom: 16px;
}

.card-tier {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-amount {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.card-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  background: var(--surface-2);
  border: 1px solid rgba(245, 166, 35, 0.25);
  color: var(--accent);
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.buy-btn:hover {
  background: rgba(245, 166, 35, 0.12);
  border-color: rgba(245, 166, 35, 0.5);
  transform: translateY(-1px);
}

.buy-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0A0E1A;
}

.buy-btn-primary:hover {
  background: #f0b84a;
  border-color: #f0b84a;
}

.best-for {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== PROCESS ===== */
.process {
  padding: 96px 24px;
}

.process-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 56px;
}

.step {
  flex: 1;
  position: relative;
}

.step-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(245, 166, 35, 0.15);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(245, 166, 35, 0.2));
  margin-top: 28px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 28px;
}

/* ===== CLOSING ===== */
.closing {
  padding: 96px 24px 120px;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 56px;
}

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

.closing-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.cs-number {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.cs-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 140px;
}

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

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-sep {
  color: var(--border);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(136, 150, 179, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .manifesto-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .manifesto-visual {
    order: -1;
  }

  .stack-viz {
    width: 100%;
  }

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

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .process-steps {
    flex-direction: column;
    gap: 40px;
  }

  .step-connector {
    display: none;
  }

  .closing-stats {
    gap: 32px;
  }

  .header-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .manifesto { padding: 64px 20px 56px; }
  .pricing { padding: 64px 20px; }
  .process { padding: 64px 20px; }
  .closing { padding: 64px 20px 80px; }

  .pricing-card { padding: 28px 24px; }
  .price-amount { font-size: 2.4rem; }

  .closing-stats { flex-direction: column; gap: 24px; }
}