/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:    #0a0612;
  --bg-card:    #120d1e;
  --bg-elevated:#1a1228;
  --purple:     #6b21a8;
  --purple-mid: #7c3aed;
  --purple-glow:rgba(124, 58, 237, 0.25);
  --yellow:     #facc15;
  --yellow-dim: #ca8a04;
  --text:       #e2e0ea;
  --text-muted: #9b95a8;
  --border:     rgba(124, 58, 237, 0.2);
  --radius:     12px;
  --font-head:  'Bebas Neue', Impact, sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(107, 33, 168, 0.35), transparent),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(124, 58, 237, 0.12), transparent);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, .headline {
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: var(--yellow);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: #fde047;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(250, 204, 21, 0.35);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
}

.btn-outline:hover {
  background: var(--yellow);
  color: var(--bg-deep);
}

/* ── Header ───────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 6, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.75rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
}

.logo span { color: var(--yellow); }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

.nav .btn { padding: 0.6rem 1.4rem; font-size: 0.95rem; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero .tagline { margin-bottom: 1.5rem; }

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.hero .sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 3rem 0;
}

.stat {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat .value {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--yellow);
  letter-spacing: 0.04em;
}

.stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ── Intel Feed Table ─────────────────────────────────────── */
.intel-section {
  padding: 4rem 0;
}

.intel-section .section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.intel-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.intel-section .section-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

.intel-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 60px var(--purple-glow);
}

.intel-table {
  width: 100%;
  border-collapse: collapse;
}

.intel-table thead {
  background: var(--bg-elevated);
}

.intel-table th {
  padding: 1rem 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
}

.intel-table td {
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

.intel-table tbody tr {
  transition: background 0.15s;
}

.intel-table tbody tr:hover {
  background: rgba(124, 58, 237, 0.08);
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-high {
  background: rgba(250, 204, 21, 0.15);
  color: var(--yellow);
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.badge-med {
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.intel-footer {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* ── Section Shared ───────────────────────────────────────── */
.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── Challenge Stats ──────────────────────────────────────── */
.challenge-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.challenge-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.challenge-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-mid), var(--yellow));
}

.challenge-stat .num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.challenge-stat p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Feature Cards ──────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: var(--purple-mid);
  box-shadow: 0 0 40px var(--purple-glow);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--yellow);
}

.card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.card ul {
  list-style: none;
}

.card li {
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.45rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* ── How It Works ─────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  color: var(--purple-mid);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA / Form Section ─────────────────────────────────────── */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent, rgba(107, 33, 168, 0.1));
  border-top: 1px solid var(--border);
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3.5rem 3rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 0 80px var(--purple-glow);
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-align: center;
  margin-bottom: 1rem;
}

.cta-box > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-features span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}

.cta-features span::before {
  content: '✓ ';
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 3px var(--purple-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-error {
  color: #f87171;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.5rem;
}

.lead-form .btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1.2rem;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-inner a:hover { color: var(--yellow); }

.footer-sep { opacity: 0.3; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }

  .stats-bar,
  .challenge-stats,
  .cards-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .intel-table th:nth-child(3),
  .intel-table td:nth-child(3) {
    display: none;
  }

  .cta-box { padding: 2.5rem 1.5rem; }
}

@media (max-width: 600px) {
  .hero { padding: 4rem 0 3rem; }

  .header .container { padding: 0.75rem 0; }
}
