:root {
  --bg: #0a0a0c;
  --bg-elevated: #111116;
  --bg-card: #16161c;
  --fg: #e8e6e3;
  --fg-muted: #8a8880;
  --accent: #f59e0b;
  --accent-dim: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --green: #22c55e;
  --border: #2a2a30;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
}

.hero-grid {
  max-width: 800px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  background: var(--accent-glow);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #fff;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-visual {
  margin-top: 64px;
}

.route-line {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  position: relative;
  z-index: 2;
}

.connector {
  width: 80px;
  height: 2px;
  background: var(--border);
  position: relative;
}

.connector.optimized {
  background: linear-gradient(90deg, var(--accent-dim), var(--green));
  height: 3px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

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

.stat-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-top: 8px;
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}

.features-header p {
  font-size: 1.1rem;
  color: var(--fg-muted);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--accent-dim);
}

.feature-card.card-large {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.04) 100%);
  border-color: var(--accent-dim);
}

.card-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== HOW / TARGET MARKET ===== */
.how {
  padding: 120px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.how-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 64px;
}

.how-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.how-item:first-child {
  border-top: 1px solid var(--border);
}

.how-number {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  min-width: 40px;
  padding-top: 2px;
}

.how-content h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.how-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 24px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
}

.closing-content {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}

.closing p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== PRICING PAGE ===== */
.pricing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-links .nav-active {
  color: var(--accent);
  font-weight: 500;
}

.nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: #000 !important;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent-dim);
}

/* Pricing Header */
.pricing-header {
  text-align: center;
  padding: 80px 24px 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
}

.pricing-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  background: var(--accent-glow);
}

.pricing-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}

.pricing-header p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Pricing Grid */
.pricing-section {
  padding: 40px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

/* Plan Cards */
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.plan-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.plan-card--featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.04) 100%);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.1);
}

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

.plan-header {
  margin-bottom: 28px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-period {
  font-size: 1rem;
  color: var(--fg-muted);
}

.plan-description {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--fg);
}

.feature-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  padding-top: 1px;
}

.plan-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.plan-cta:hover {
  background: var(--bg-elevated);
  border-color: var(--fg-muted);
}

.plan-cta--featured {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.plan-cta--featured:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  color: #000;
}

/* FAQ */
.faq-section {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-section h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 48px;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Pricing Closing */
.pricing-closing {
  text-align: center;
  padding: 80px 24px;
  background: radial-gradient(ellipse at 50% 100%, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
}

.pricing-closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pricing-closing p {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.closing-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #000;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
}

.closing-cta:hover {
  background: var(--accent-dim);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .feature-card.card-large {
    grid-column: span 1;
  }

  .how-item {
    flex-direction: column;
    gap: 12px;
  }

  .node {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }

  .connector {
    width: 40px;
  }

  .hero {
    min-height: 70vh;
    padding: 80px 20px 60px;
  }
}

/* ===== RESPONSIVE PRICING ===== */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .plan-card--featured {
    order: -1;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .pricing-nav {
    padding: 16px 20px;
  }

  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

@media (max-width: 480px) {
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}