/* ===========================================================================
   Apex Ballistics — SEO / marketing page CONTENT styles (generated pages).
   Chrome (header, buttons, footer) is the canonical site chrome from
   styles.css (.site-header, .btn-primary/.btn-secondary, .site-footer) — this
   file only styles page CONTENT (hero, sections, prose, cards). Scoped under
   .seo-page so it never touches the home splash or the app.
   =========================================================================== */

.seo-page {
  --apex-accent: #83e35d;
  --apex-accent-dim: #5bb43f;
  --seo-bg-0: #0c0f0e;
  --seo-bg-1: #151b18;
  --seo-panel: #0f1712;
  --seo-line: rgba(120, 143, 126, 0.22);
  --seo-line-strong: rgba(120, 143, 126, 0.4);
  --seo-text: #f2f7f2;
  --seo-muted: #9fb1a3;
  --seo-dim: #74897c;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--seo-bg-0);
  color: var(--seo-text);
}

.seo-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at top, rgba(74, 222, 128, 0.16), transparent 28%),
    linear-gradient(180deg, var(--seo-bg-1), var(--seo-bg-0));
}

.seo-page a { color: inherit; text-decoration: none; }
.seo-main { position: relative; z-index: 1; }

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.seo-breadcrumb {
  width: min(1120px, 92vw);
  margin: 18px auto 0;
  font-size: 0.82rem;
  color: var(--seo-dim);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.seo-breadcrumb a:hover { color: var(--apex-accent); }
.seo-breadcrumb span[aria-current] { color: var(--seo-muted); }

/* ── Page hero ───────────────────────────────────────────────────────── */
.seo-hero {
  width: min(1120px, 92vw);
  margin: 38px auto 12px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--seo-line);
}
.seo-eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--apex-accent);
  margin-bottom: 14px;
}
.seo-h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 16px;
  max-width: 18ch;
}
.seo-h1 .accent { color: var(--apex-accent); }
.seo-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--seo-muted);
  max-width: 62ch;
  margin: 0 0 22px;
}
.seo-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── Content sections ────────────────────────────────────────────────── */
.seo-section { width: min(1120px, 92vw); margin: 44px auto; }
.seo-section-head { margin-bottom: 22px; }
.seo-kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--seo-dim);
}
.seo-h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 6px 0 0;
}
.seo-h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 6px; }
.seo-p { color: var(--seo-muted); line-height: 1.62; margin: 0 0 14px; max-width: 70ch; }
.seo-p strong { color: var(--seo-text); }

/* feature rows (alternating) */
.seo-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--seo-line);
}
.seo-feature.is-reversed .seo-feature-media { order: -1; }
.seo-feature-list { list-style: none; padding: 0; margin: 16px 0 0; }
.seo-feature-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--seo-muted);
  line-height: 1.5;
}
.seo-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--apex-accent);
}
.seo-feature-media img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--seo-line);
  display: block;
}

/* link / capability cards */
.seo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seo-card {
  display: block;
  background: var(--seo-panel);
  border: 1px solid var(--seo-line);
  border-radius: 14px;
  padding: 22px;
  transition: border-color 0.15s ease, transform 0.12s ease;
}
.seo-card:hover { border-color: var(--apex-accent); transform: translateY(-2px); }
.seo-card-link { color: var(--apex-accent); font-weight: 700; font-size: 0.9rem; }

/* pricing tiers */
.seo-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 6px; }
.seo-tier {
  display: flex;
  flex-direction: column;
  background: var(--seo-panel);
  border: 1px solid var(--seo-line);
  border-radius: 16px;
  padding: 26px 22px;
}
.seo-tier--featured {
  border-color: var(--apex-accent);
  box-shadow: inset 0 0 0 1px var(--apex-accent), 0 14px 40px rgba(0, 0, 0, 0.35);
}
.seo-tier-badge {
  align-self: flex-start;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--apex-accent);
  border: 1px solid var(--seo-line-strong);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 16px;
}
.seo-tier--featured .seo-tier-badge { border-color: var(--apex-accent); }
.seo-tier-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.3rem;
  margin: 0 0 6px;
}
.seo-tier-price { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 12px; }
.seo-tier-amount {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--seo-text);
}
.seo-tier-period { color: var(--seo-muted); font-size: 0.95rem; font-weight: 600; }
.seo-tier-note { color: var(--seo-muted); font-size: 0.9rem; line-height: 1.5; margin: 0 0 20px; }
.seo-tier .btn-primary,
.seo-tier .btn-secondary { margin-top: auto; justify-content: center; text-align: center; }

/* cross-pillar bridge callout */
.seo-bridge {
  width: min(1120px, 92vw);
  margin: 44px auto;
  background: linear-gradient(180deg, rgba(131, 227, 93, 0.06), rgba(131, 227, 93, 0.02));
  border: 1px solid var(--seo-line-strong);
  border-radius: 16px;
  padding: 26px 28px;
}

/* closing CTA band */
.seo-cta-band {
  width: min(1120px, 92vw);
  margin: 50px auto;
  text-align: center;
  padding: 40px 24px;
  background: var(--seo-panel);
  border: 1px solid var(--seo-line);
  border-radius: 18px;
}
.seo-cta-band .seo-h2 { margin-bottom: 16px; }
.seo-cta-band .seo-cta-row { justify-content: center; }

/* ── Article / prose (Learning Center) ───────────────────────────────── */
.seo-prose { width: min(720px, 92vw); margin: 32px auto 0; }
.seo-prose h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.seo-prose h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 34px 0 10px;
  color: var(--seo-text);
}
.seo-prose p { color: #cdd7cf; line-height: 1.7; margin: 0 0 16px; }
.seo-prose strong { color: var(--seo-text); }
.seo-prose ul, .seo-prose ol { color: #cdd7cf; line-height: 1.7; margin: 0 0 16px; padding-left: 22px; }
.seo-prose li { margin-bottom: 7px; }
.seo-prose .seo-disclaimer {
  font-size: 0.9rem;
  color: var(--seo-muted);
  font-style: italic;
  border-left: 2px solid var(--seo-line-strong);
  padding: 8px 0 8px 14px;
  margin: 0 0 22px;
}
.seo-prose .seo-pullcta {
  margin: 28px 0 0;
  padding: 18px 20px;
  background: var(--seo-panel);
  border: 1px solid var(--seo-line);
  border-radius: 12px;
  color: var(--seo-muted);
}
.seo-prose .seo-pullcta a { color: var(--apex-accent); font-weight: 700; }

/* ── Responsive (content only) ───────────────────────────────────────── */
@media (max-width: 880px) {
  .seo-feature { grid-template-columns: 1fr; gap: 22px; }
  .seo-feature.is-reversed .seo-feature-media { order: 0; }
  .seo-cards { grid-template-columns: 1fr; }
  .seo-tiers { grid-template-columns: 1fr; }
}
