/* ========================
   StrideHQ — Landing Page CSS
   Palette: #0A0A0A / #C8FF00 / #FAFAFA
   Type: Syne (display) + DM Sans (body)
   ======================== */

:root {
  --bg: #0A0A0A;
  --fg: #FAFAFA;
  --accent: #C8FF00;
  --muted: #6B6B6B;
  --card: #111111;
  --border: #1C1C1C;
  --card-hover: #161616;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 6%;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Subtle lime radial glow top-right */
.hero-bg-grid::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(ellipse at center, rgba(200,255,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* Horizontal grid lines */
.grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  opacity: 0.5;
}
.g1 { top: 16%; }
.g2 { top: 33%; }
.g3 { top: 50%; }
.g4 { top: 67%; }
.g5 { top: 83%; }
.g6 { top: 96%; }

/* Glowing nodes */
.node {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(200,255,0,0.4), 0 0 24px rgba(200,255,0,0.2);
  animation: pulse-node 4s ease-in-out infinite;
}

.n1 { width: 6px; height: 6px; top: 16%; left: 30%; animation-delay: 0s; }
.n2 { width: 4px; height: 4px; top: 33%; left: 55%; animation-delay: 1.2s; }
.n3 { width: 8px; height: 8px; top: 50%; left: 20%; animation-delay: 0.6s; }
.n4 { width: 5px; height: 5px; top: 50%; left: 80%; animation-delay: 1.8s; }
.n5 { width: 4px; height: 4px; top: 67%; left: 42%; animation-delay: 0.3s; }
.n6 { width: 6px; height: 6px; top: 83%; left: 65%; animation-delay: 1s; }

@keyframes pulse-node {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 100px 0;
}

/* Left column */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200,255,0,0.08);
  border: 1px solid rgba(200,255,0,0.2);
  padding: 6px 12px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-node 2s ease-in-out infinite;
}

.hero-h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(44px, 5.5vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: #999;
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 48px;
}

.hero-proof {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-num {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.proof-label {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 110px;
}

.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  align-self: center;
  flex-shrink: 0;
}

/* Right column — agent visual */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.agent-visual {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.av-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin-slow linear infinite;
}

.av-ring-1 {
  width: 280px;
  height: 280px;
  border-color: rgba(200,255,0,0.15);
  border-style: dashed;
  animation-duration: 20s;
}

.av-ring-2 {
  width: 200px;
  height: 200px;
  border-color: rgba(200,255,0,0.25);
  animation-duration: 14s;
  animation-direction: reverse;
}

.av-ring-3 {
  width: 130px;
  height: 130px;
  border-color: rgba(200,255,0,0.4);
  animation-duration: 9s;
}

@keyframes spin-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.av-core {
  position: absolute;
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(200,255,0,0.5), 0 0 60px rgba(200,255,0,0.2);
  z-index: 2;
}

.av-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #0A0A0A;
  letter-spacing: 0.1em;
}

/* Orbiters */
.av-orbiter {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg);
  animation: orbit 12s linear infinite;
  box-shadow: 0 0 12px rgba(200,255,0,0.1);
}

.av-orb-1 {
  animation-delay: 0s;
}

.av-orb-2 {
  animation-delay: -4s;
}

.av-orb-3 {
  animation-delay: -8s;
}

.orb-label {
  color: var(--accent);
  font-size: 10px;
}

@keyframes orbit {
  0% { transform: rotate(0deg) translateX(110px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(110px) rotate(-360deg); }
}

/* Status bar */
.status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.sb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
}

.sb-active {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(200,255,0,0.5);
  animation: pulse-node 2s ease-in-out infinite;
}

/* ── FEATURES ── */
.features {
  padding: 120px 6%;
  border-top: 1px solid var(--border);
  background: #0F0F0F;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 64px;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-card:hover {
  border-color: rgba(200,255,0,0.25);
  background: var(--card-hover);
}

.fc-icon {
  margin-bottom: 24px;
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: #888;
  line-height: 1.65;
  margin-bottom: 24px;
}

.fc-example {
  margin-top: auto;
  padding: 14px 16px;
  background: rgba(200,255,0,0.04);
  border: 1px solid rgba(200,255,0,0.1);
  border-radius: 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.ex-label {
  color: var(--accent);
  font-weight: 600;
  margin-right: 6px;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 120px 6%;
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.manifesto-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 64px;
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.vs-badge {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.vs-badge-new {
  color: var(--accent);
}

.vs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vs-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #888;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.vs-icon {
  font-size: 14px;
  color: var(--muted);
  flex-shrink: 0;
  width: 16px;
}

.vs-icon-new {
  color: var(--accent);
  font-weight: 700;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
}

.manifesto-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 32px;
  line-height: 1.6;
}

/* ── OUTCOMES ── */
.outcomes {
  padding: 100px 6%;
  border-top: 1px solid var(--border);
  background: #0C0C0C;
}

.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.outcome-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
}

.oc-number {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.outcome-card:hover .oc-number {
  color: rgba(200,255,0,0.15);
}

.outcome-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.outcome-card p {
  font-size: 15px;
  color: #777;
  line-height: 1.65;
}

/* ── CLOSING ── */
.closing {
  padding: 160px 6%;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center bottom, rgba(200,255,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.closing-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.closing-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.cta-block {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.waitlist-form { width: 100%; max-width: 420px; }

.form-row {
  display: flex;
  gap: 8px;
}

.waitlist-form input {
  flex: 1;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.waitlist-form input::placeholder { color: var(--muted); }
.waitlist-form input:focus { border-color: var(--accent); }
.waitlist-form input:invalid:not(:placeholder-shown) { border-color: #e53e3e; }

.cta-btn {
  background: var(--accent);
  color: #0A0A0A;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.cta-btn:active { transform: translateY(0); }

.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}

.form-error {
  font-size: 13px;
  color: #e53e3e;
  text-align: center;
}

.cta-secondary {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.cta-secondary:hover { color: var(--fg); }

/* ── FOOTER ── */
.footer {
  padding: 48px 6%;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
}

.footer-tagline {
  font-size: 12px;
  color: var(--muted);
}

.footer-note {
  font-size: 13px;
  color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 0;
  }

  .hero-right {
    order: -1;
  }

  .hero-proof {
    gap: 20px;
    flex-wrap: wrap;
  }

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

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

  .vs-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vs-divider {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 0 5%;
  }

  .features, .manifesto, .outcomes, .closing {
    padding: 80px 5%;
  }

  .agent-visual {
    width: 220px;
    height: 220px;
  }

  .av-ring-1 { width: 220px; height: 220px; }
  .av-ring-2 { width: 160px; height: 160px; }
  .av-ring-3 { width: 100px; height: 100px; }

  @keyframes orbit {
    0% { transform: rotate(0deg) translateX(85px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(85px) rotate(-360deg); }
  }
}