/* =============================================
   MICROFUND – STYLES
   Dark neon theme matching the logo aesthetic
   ============================================= */

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

:root {
  --bg:          #0a0b0f;
  --bg-card:     #111318;
  --bg-card-2:   #16191f;
  --border:      rgba(255,255,255,0.08);
  --border-glow: rgba(56,189,107,0.35);

  --green:       #38bd6b;
  --green-dark:  #27a356;
  --cyan:        #22d3ee;
  --purple:      #7c3aed;
  --yellow:      #fbbf24;
  --orange:      #f97316;

  --text:        #f0f2f5;
  --text-muted:  #8b8fa8;
  --text-dim:    #4b5066;

  --font:        'Inter', -apple-system, sans-serif;
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 60px rgba(56,189,107,0.15);
}

html { scroll-behavior: smooth; }

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

/* ---- UTILITIES ---- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(56,189,107,0.12);
  border: 1px solid rgba(56,189,107,0.3);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

.section { padding: 96px 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  font-family: var(--font);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  color: #0a0b0f;
  padding: 12px 24px;
  box-shadow: 0 0 24px rgba(56,189,107,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(56,189,107,0.5);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 12px 24px;
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-outline {
  background: transparent;
  color: var(--green);
  padding: 10px 22px;
  border: 1px solid rgba(56,189,107,0.4);
}
.btn-outline:hover {
  background: rgba(56,189,107,0.1);
  border-color: var(--green);
}

.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-donate {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #0a0b0f;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  transition: all 0.2s;
  box-shadow: 0 0 16px rgba(56,189,107,0.35);
}
.btn-donate:hover { transform: scale(1.04); box-shadow: 0 0 28px rgba(56,189,107,0.55); }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,11,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo img { width: 36px; height: 36px; border-radius: 8px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-cta { margin-left: 8px; padding: 10px 20px; font-size: 14px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
}
.nav-mobile .btn { margin-top: 8px; text-align: center; }

.nav-mobile.open { display: flex; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
}
.hero-glow-1 {
  width: 500px; height: 500px;
  background: var(--green);
  top: -120px; left: -100px;
  opacity: 0.12;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: var(--cyan);
  top: 10%; right: -80px;
  opacity: 0.1;
}
.hero-glow-3 {
  width: 300px; height: 300px;
  background: var(--purple);
  bottom: 10%; left: 30%;
  opacity: 0.08;
}

.hero-content { text-align: center; position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: rgba(56,189,107,0.1);
  border: 1px solid rgba(56,189,107,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ---- DEMO CARD ---- */
.hero-demo { max-width: 480px; margin: 0 auto; }

.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card), 0 0 40px rgba(56,189,107,0.08);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.demo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.demo-label { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.demo-timer { font-size: 13px; color: var(--orange); font-weight: 600; }
.demo-goal { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.gauge-track {
  height: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}

.gauge-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 16px rgba(56,189,107,0.5);
}

.gauge-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.demo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demo-donors { font-size: 13px; color: var(--text-muted); }

/* ---- HERO SCROLL ---- */
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 48px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---- PROBLEM ---- */
.problem-section { background: var(--bg); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.problem-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); }

.problem-icon { font-size: 36px; margin-bottom: 16px; }
.problem-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.problem-card p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }

/* ---- SOLUTION ---- */
.solution-section { background: linear-gradient(180deg, var(--bg) 0%, #0d0f14 100%); }

.rule-box {
  background: linear-gradient(135deg, rgba(56,189,107,0.1), rgba(34,211,238,0.08));
  border: 1px solid rgba(56,189,107,0.25);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  text-align: center;
  margin-bottom: 64px;
}
.rule-text {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.rule-text strong { color: var(--green); }
.rule-sub { font-size: 16px; color: var(--text-muted); }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.step-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 24px rgba(56,189,107,0.1);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #0a0b0f;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 14px;
}

.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.step-connector {
  display: flex;
  align-items: center;
  padding: 0 8px;
  margin-top: 60px;
  color: var(--text-dim);
  font-size: 20px;
}
.step-connector::before { content: '→'; }

/* ---- FEATURES ---- */
.features-section { background: #0d0f14; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: rgba(56,189,107,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

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

/* Place large cards in specific positions */
.features-grid > .feature-card:nth-child(1) { grid-column: 1 / 2; }
.features-grid > .feature-card:nth-child(2) { grid-column: 2 / 3; }
.features-grid > .feature-card:nth-child(3) { grid-column: 3 / 4; }
.features-grid > .feature-card:nth-child(4) { grid-column: 1 / 2; }
.features-grid > .feature-card:nth-child(5) { grid-column: 2 / 3; }
.features-grid > .feature-card:nth-child(6) { grid-column: 3 / 4; }

.feature-card-dark {
  background: linear-gradient(135deg, #0f1a13, #0d151f);
  border-color: rgba(56,189,107,0.2);
}

.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.feature-list li { font-size: 13px; color: var(--green); font-weight: 600; }
.feature-list-light li { color: var(--cyan); }

/* ---- CREDIT PACKS ---- */
.credits-section { background: var(--bg); }
.credits-section .section-sub { margin: 0 auto 48px; text-align: center; }
.credits-section .section-tag, .credits-section .section-title { display: block; text-align: center; }

.packs-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.pack-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  width: 180px;
  transition: all 0.2s;
  position: relative;
  flex-shrink: 0;
}
.pack-card:hover { border-color: rgba(56,189,107,0.3); transform: translateY(-4px); }

.pack-card-featured {
  background: linear-gradient(160deg, #0f1e14, #0d1620);
  border-color: rgba(56,189,107,0.5);
  box-shadow: 0 0 32px rgba(56,189,107,0.12);
  transform: scale(1.05);
}
.pack-card-featured:hover { transform: scale(1.05) translateY(-4px); }

.pack-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--green), var(--cyan));
  color: #0a0b0f;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.pack-credits {
  font-size: 52px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.pack-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pack-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.pack-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 32px;
  line-height: 1.5;
}

/* ---- USE CASES ---- */
.use-cases-section { background: #0d0f14; text-align: center; }
.use-cases-section .section-tag, .use-cases-section .section-title { display: block; }
.use-cases-section .section-sub { margin: 0 auto 48px; }

.use-cases-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.use-case {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: default;
}
.use-case:hover {
  border-color: rgba(56,189,107,0.35);
  background: rgba(56,189,107,0.06);
  transform: translateY(-2px);
}
.use-case-icon { font-size: 22px; }

/* ---- WHY ---- */
.why-section { background: var(--bg); }

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(56,189,107,0.15);
  border: 1px solid rgba(56,189,107,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.why-list li strong { display: block; font-size: 16px; margin-bottom: 4px; }
.why-list li p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

.math-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: 0 0 60px rgba(56,189,107,0.08);
}

.math-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 12px 0;
}
.math-num {
  font-size: 52px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.math-label { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.math-op { font-size: 28px; color: var(--text-dim); font-weight: 300; margin: 4px 0; }

.math-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.math-result-num {
  font-size: 72px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.math-result-label { font-size: 16px; color: var(--text-muted); margin-top: 4px; font-weight: 600; }
.math-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--green);
  font-weight: 600;
}

/* ---- CTA ---- */
.cta-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cta-glow-1 {
  width: 500px; height: 500px;
  background: var(--green);
  opacity: 0.07;
  top: -100px; left: -100px;
}
.cta-glow-2 {
  width: 400px; height: 400px;
  background: var(--cyan);
  opacity: 0.06;
  bottom: -80px; right: -80px;
}

.cta-inner { position: relative; }

.cta-logo img {
  width: 90px; height: 90px;
  border-radius: 20px;
  margin-bottom: 28px;
  box-shadow: 0 0 40px rgba(56,189,107,0.25);
}

.cta-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-input {
  flex: 1;
  min-width: 220px;
  height: 52px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0 20px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}
.cta-input::placeholder { color: var(--text-dim); }
.cta-input:focus { border-color: rgba(56,189,107,0.5); }

.cta-fine {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 56px;
}

.cta-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-stat span { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.cta-stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ---- FOOTER ---- */
.footer {
  background: #070809;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner { text-align: center; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 10px;
}
.footer-logo img { width: 30px; height: 30px; border-radius: 6px; }

.footer-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}
.footer-links a {
  text-decoration: none;
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }

.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 24px rgba(56,189,107,0.2);
  z-index: 999;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s;
  opacity: 0;
  white-space: nowrap;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ---- SUCCESS STATE ---- */
.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
}
.form-success.show { display: flex; }
.form-success-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(56,189,107,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-connector { transform: rotate(90deg); margin: 0 auto; }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .features-grid > .feature-card:nth-child(1) { grid-column: 1 / 2; }
  .features-grid > .feature-card:nth-child(2) { grid-column: 2 / 3; }
  .features-grid > .feature-card:nth-child(3) { grid-column: 1 / 3; }
  .features-grid > .feature-card:nth-child(4) { grid-column: 1 / 2; }
  .features-grid > .feature-card:nth-child(5) { grid-column: 2 / 3; }
  .features-grid > .feature-card:nth-child(6) { grid-column: 1 / 3; }

  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .math-card { max-width: 360px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .section { padding: 64px 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .features-grid > .feature-card { grid-column: 1 / 2 !important; }

  .rule-box { padding: 28px 24px; }
  .pack-card { width: 140px; }
  .pack-card-featured { transform: none; }
  .pack-card-featured:hover { transform: translateY(-4px); }

  .cta-form { flex-direction: column; }
  .cta-input { min-width: unset; width: 100%; }
  .cta-stats { gap: 20px; }
  .cta-stat-divider { display: none; }
}
