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

:root {
  --bg: #0d0f14;
  --surface: #161b25;
  --border: #222b3a;
  --accent: #3b82f6;
  --accent-dim: #1d4ed8;
  --green: #22c55e;
  --text: #e2e8f0;
  --muted: #64748b;
  --heading: #f1f5f9;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── NAV ─────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13,15,20,0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
}
.logo {
  flex: 0 0 auto;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex: 1 1 auto;
}
nav ul li a { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
nav ul li a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  flex: 0 0 auto;
  background: var(--accent);
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-dim); }

@media (max-width: 720px) {
  nav {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0.85rem 1rem;
  }
  .logo {
    font-size: 1rem;
    line-height: 1.9;
  }
  nav ul {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
    gap: 0.5rem;
    overflow-x: auto;
    padding-top: 0.35rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  nav ul::-webkit-scrollbar { display: none; }
  nav ul li a {
    display: block;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(22,27,37,0.85);
    font-size: 0.78rem;
  }
  .nav-cta {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .logo { font-size: 0.95rem; }
  .nav-cta { padding: 0.42rem 0.6rem; font-size: 0.76rem; }
  nav ul li a { font-size: 0.75rem; padding: 0.4rem 0.55rem; }
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
h1 em { color: var(--accent); font-style: normal; }
.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ─── EMAIL CAPTURE ───────────────────────────────────────── */
.email-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.email-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}
.email-form input[type="email"]:focus {
  border-color: var(--accent);
}
.btn-primary {
  padding: 0.7rem 1.4rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--accent-dim); }
.hero-note { font-size: 0.8rem; color: var(--muted); }

/* ─── SOCIAL PROOF ────────────────────────────────────────── */
.social-strip {
  text-align: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
.social-strip strong { color: var(--text); }

/* ─── FEATURES ────────────────────────────────────────────── */
.section { max-width: 1000px; margin: 0 auto; padding: 4rem 2rem; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-sub { color: var(--muted); max-width: 540px; margin-bottom: 3rem; font-size: 1rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.4rem;
}
.card p { font-size: 0.875rem; color: var(--muted); }

/* ─── FREEBIE ─────────────────────────────────────────────── */
.freebie-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.freebie-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}
.freebie-copy { flex: 1; min-width: 240px; }
.freebie-copy .section-label { margin-bottom: 0.75rem; }
.freebie-copy h2 { margin-bottom: 0.75rem; }
.freebie-copy p { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.freebie-box {
  flex: 0 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  min-width: 240px;
  max-width: 280px;
}
.freebie-box h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.freebie-file {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  text-decoration: none;
}
.freebie-file:hover { border-color: var(--accent); text-decoration: none; }
.freebie-file .file-icon { font-size: 1.25rem; }
.freebie-file .file-info { flex: 1; }
.freebie-file .file-name { font-size: 0.875rem; color: var(--text); font-weight: 500; display: block; }
.freebie-file .file-meta { font-size: 0.75rem; color: var(--muted); }
.btn-outline {
  width: 100%;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  text-align: center;
  display: block;
}
.btn-outline:hover { background: rgba(59,130,246,0.1); text-decoration: none; }

/* ─── PRICING ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}
.price-card.featured {
  border-color: var(--accent);
  position: relative;
}
.featured-badge {
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.plan-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.plan-price sup { font-size: 1rem; vertical-align: super; }
.plan-price sub { font-size: 0.875rem; color: var(--muted); font-weight: 400; }
.plan-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; }
.plan-features { list-style: none; margin-bottom: 1.5rem; }
.plan-features li {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.3rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.plan-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.plan-cta {
  display: block;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.plan-cta-primary {
  background: var(--accent);
  color: #fff;
  border: none;
}
.plan-cta-primary:hover { background: var(--accent-dim); text-decoration: none; color: #fff; }
.plan-cta-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.plan-cta-secondary:hover { border-color: var(--muted); text-decoration: none; color: var(--text); }

/* ─── EMAIL CAPTURE BOTTOM ────────────────────────────────── */
.capture-bottom {
  background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(13,15,20,0) 60%);
  border-top: 1px solid var(--border);
}
.capture-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}
.capture-inner h2 { margin-bottom: 0.75rem; }
.capture-inner p { color: var(--muted); margin-bottom: 2rem; }

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
footer .footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 0.75rem; flex-wrap: wrap; }
footer .footer-links a { color: var(--muted); }
footer .footer-links a:hover { color: var(--text); }

/* ─── SUCCESS STATE ───────────────────────────────────────── */
.success-msg {
  display: none;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--green);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
