@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-glow: rgba(34, 197, 94, 0.45);
  --yellow: #facc15;
  --bg: #0b1220;
  --bg-card: #111827;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: #1e293b;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  font-family: 'Nunito', system-ui, sans-serif;
}

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

body {
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.08), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(250, 204, 21, 0.06), transparent 30%);
  z-index: 0;
}

.page { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 0 1.5rem 3rem; }

h1, h2, .section-title { font-family: 'Bangers', cursive; letter-spacing: 0.03em; }

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

.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 0.5rem; color: var(--text); font-weight: 800; text-decoration: none; }
.brand-mark { font-size: 1.25rem; }
.nav-links { display: flex; gap: 1rem; margin-left: auto; flex-wrap: wrap; }
.nav-links a { color: var(--muted); }
.header-cta, .btn-green, .btn-secondary {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.header-cta, .btn-green { background: var(--green); color: #052e16; }
.btn-green:hover, .header-cta:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
.btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1.05rem; }

.hero { text-align: center; padding: 2.5rem 0 2rem; }
.badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; margin-bottom: 1rem; }
.badge-green { background: rgba(34, 197, 94, 0.15); color: var(--green); border: 1px solid rgba(34, 197, 94, 0.35); }
.badge-yellow { background: rgba(250, 204, 21, 0.15); color: var(--yellow); border: 1px solid rgba(250, 204, 21, 0.35); }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); line-height: 1.1; margin-bottom: 1rem; }
.subtitle { color: var(--muted); max-width: 640px; margin: 0 auto 1.5rem; font-size: 1.1rem; }
.cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-note { color: var(--muted); font-size: 0.9rem; }

.hero-video {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}
.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-title {
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  margin-bottom: 0.5rem;
  color: var(--green);
  text-shadow: 0 0 24px var(--green-glow);
}
.section-sub { color: var(--muted); margin-bottom: 1.25rem; }
.section-sub strong { color: var(--text); }

.sizzle {
  text-align: center;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
}
.sizzle-lead { max-width: 680px; margin: 0 auto 1.75rem; font-size: 1.05rem; line-height: 1.7; }
.sizzle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.sizzle-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.sizzle-card h3 { margin-bottom: 0.55rem; font-size: 1.05rem; }
.sizzle-card p { color: var(--muted); font-size: 0.95rem; }
.sizzle-sizzle {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
}
.sizzle-sizzle h3 { color: var(--green); }

.professor-quote {
  max-width: 560px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--green);
  background: rgba(34, 197, 94, 0.06);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #cbd5e1;
  font-size: 0.95rem;
  text-align: left;
}
.professor-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: 700;
  color: var(--yellow);
  font-size: 0.88rem;
}

.speed-compare {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.speed-compare .section-title { color: var(--yellow); text-shadow: none; }
.speed-bars {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.speed-row {
  display: grid;
  grid-template-columns: minmax(110px, 130px) 1fr 56px;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.9rem;
}
.speed-row-highlight .speed-label { color: var(--green); font-weight: 700; }
.speed-label { color: var(--muted); text-align: right; }
.speed-label small { display: block; font-size: 0.72rem; font-weight: 600; opacity: 0.85; }
.speed-track {
  height: 14px;
  background: rgba(30, 41, 59, 0.9);
  border-radius: 999px;
  overflow: hidden;
}
.speed-fill {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: 999px;
}
.speed-slow { background: linear-gradient(90deg, #64748b, #94a3b8); }
.speed-mid { background: linear-gradient(90deg, #ca8a04, var(--yellow)); }
.speed-fast {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  box-shadow: 0 0 12px var(--green-glow);
}
.speed-val { font-weight: 800; text-align: right; color: var(--text); }
.speed-val-fast { color: var(--green); }
.speed-note {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}
.speed-note code {
  color: var(--green);
  font-size: 0.8em;
}

.network-adaptive {
  text-align: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.network-lead {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  font-size: 1.02rem;
  line-height: 1.7;
}
.platform-list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 auto 1.5rem;
  padding: 0;
}
.platform-list li {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.features, .download, .partner { padding: 2.5rem 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

.steps { color: var(--muted); margin: 1rem 0 1.5rem 1.25rem; }
.steps li { margin-bottom: 0.5rem; }

.site-footer { text-align: center; color: var(--muted); padding-top: 2rem; border-top: 1px solid var(--border); font-size: 0.9rem; }

@media (max-width: 600px) {
  .speed-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
  }
  .speed-label { text-align: left; }
  .speed-val { text-align: left; }
  .sizzle-grid { grid-template-columns: 1fr; }
}