/* ===========================
   Color system (edit here)
   =========================== */
:root {
  --color-accent: #51FF00; /* Main accent color */
  --color-bg: #001E53;     /* Primary background */
  --color-bg-alt: #02153b; /* Slightly darker alt background */
  --color-surface: #041f5f;/* Cards / panels background */
  --color-text: #FFFFFF;   /* Main text color */
  --color-muted: #8EA3D7;  /* Muted text */
  --color-border: rgba(255, 255, 255, 0.08);
}

/* ===========================
   Base
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #032b7b 0, var(--color-bg) 40%);
  color: var(--color-text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  padding-top: 72px;
}

/* Layout helpers */
.wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===========================
   Top nav
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(0, 10, 32, 0.96),
    rgba(0, 10, 32, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0, #a6ff75, var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(81, 255, 0, 0.6);
  position: relative;
  overflow: hidden;
}

/* Simple custom SVG wave pitch lines */
.brand-mark svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #001e53;
  stroke-width: 2;
  stroke-linecap: round;
}

.brand-text-main {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-text-sub {
  font-size: 11px;
  color: var(--color-muted);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(81, 255, 0, 0.5);
  background: linear-gradient(
    135deg,
    rgba(81, 255, 0, 0.15),
    rgba(81, 255, 0, 0.02)
  );
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 24px;
  height: 24px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 999px;
}

/* ===========================
   Hero
   =========================== */
.hero {
  padding: 32px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at 0 0, rgba(81, 255, 0, 0.3), #001e53);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(81, 255, 0, 0.8);
}

.hero-title {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  margin: 0 0 12px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.hero-description {
  font-size: 15px;
  color: var(--color-text);
  opacity: 0.9;
  max-width: 40rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid var(--color-accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: radial-gradient(
    circle at 0 0,
    rgba(81, 255, 0, 0.4),
    rgba(81, 255, 0, 0.05)
  );
  color: var(--color-text);
  box-shadow: 0 0 24px rgba(81, 255, 0, 0.5);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--color-muted);
}

/* Hero: visual side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-pitch-orbit {
  position: absolute;
  inset: -40px;
  background: radial-gradient(
      circle at 10% 0%,
      rgba(81, 255, 0, 0.3),
      transparent 60%
    ),
    radial-gradient(circle at 80% 100%, rgba(81, 255, 0, 0.26), transparent 70%);
  opacity: 0.8;
  filter: blur(36px);
}

.hero-frame {
  position: relative;
  width: 260px;
  border-radius: 36px;
  padding: 14px;
  background: radial-gradient(circle at 0 0, #0c2a72, #02153b);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.hero-frame-inner {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(to bottom, #041f5f, #020b29);
}

/* Phone notch / signal */
.hero-frame-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
}

/* Fake app top bar */
.hero-sim-header {
  padding: 16px 14px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--color-muted);
}

.hero-sim-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9px;
}

.sim-match-title {
  font-size: 13px;
  color: var(--color-text);
}

.hero-sim-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.signal-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--color-accent);
}

/* Mini SVG timeline */
.mini-timeline {
  width: 40px;
  height: 22px;
}

.mini-timeline path {
  stroke: var(--color-accent);
  stroke-width: 1.8;
  fill: none;
}

/* Simulated match story area */
.hero-sim-body {
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sim-tag {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}

.sim-card {
  background: radial-gradient(circle at 0 0, #0a265e, #020b29);
  border-radius: 16px;
  padding: 10px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.sim-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.sim-card-title {
  font-size: 11px;
  font-weight: 600;
}

.sim-card-minute {
  font-size: 10px;
  color: var(--color-muted);
}

.sim-card-body {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

/* Screenshot strip (real PNGs to be added) */
.hero-screenshots-strip {
  margin: 12px 0 10px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.hero-screenshot {
  width: 78px;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  background: #020a22;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.hero-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder text for screenshots */
.hero-screenshot-placeholder {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  padding: 8px;
  text-align: center;
  color: var(--color-muted);
}

/* Match storyline bar */
.hero-storyline {
  margin-top: 6px;
  padding: 6px 10px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-storyline-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
}

.hero-storyline-bar {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.15),
    var(--color-accent),
    rgba(81, 255, 0, 0.3)
  );
  position: relative;
  overflow: hidden;
}

.hero-storyline-indicator {
  position: absolute;
  top: -2px;
  left: 40%;
  width: 18px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  background: var(--color-accent);
  box-shadow: 0 0 18px rgba(81, 255, 0, 0.7);
}

/* ===========================
   "Why this app" section
   =========================== */
.section {
  padding: 40px 0;
}

.section-header {
  margin-bottom: 24px;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.section-title {
  font-size: 22px;
  margin: 0 0 6px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--color-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, #082259, #04133a);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.feature-pill-indicator {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, var(--color-accent), #aaff7a);
}

.feature-title {
  font-size: 15px;
  margin-bottom: 6px;
}

.feature-description {
  font-size: 13px;
  color: var(--color-muted);
}

/* subtle svg background shape inside feature card */
.feature-svg {
  position: absolute;
  right: -24px;
  bottom: -24px;
  opacity: 0.22;
}

/* ===========================
   Timeline / How it works
   =========================== */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.how-steps {
  border-radius: 18px;
  padding: 16px 16px 10px;
  background: radial-gradient(circle at 0 0, #0a265e, #021031);
  border: 1px solid var(--color-border);
}

.how-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
}

.how-step:not(:last-child) {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.how-step-index {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-accent);
  margin-top: 2px;
}

.how-step-title {
  font-size: 14px;
  margin-bottom: 4px;
}

.how-step-text {
  font-size: 13px;
  color: var(--color-muted);
}

.how-side {
  border-radius: 18px;
  padding: 16px 16px 14px;
  background: linear-gradient(160deg, #021031, #041f5f);
  border: 1px dashed rgba(81, 255, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.how-side svg {
  position: absolute;
  right: -40px;
  bottom: -40px;
  opacity: 0.25;
}

/* ===========================
   Match insight pattern strip
   (repeating visual filler)
   =========================== */
.match-strip {
  margin: 8px 0 32px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  background: radial-gradient(circle at 0 0, #0f2d77, #021031);
  font-size: 11px;
}

.match-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--color-muted);
}

.match-strip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.match-strip-dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: var(--color-accent);
}

/* ===========================
   FAQ / Insight grid
   =========================== */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
}

.faq-card {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: radial-gradient(circle at 0 0, #082259, #04133a);
  font-size: 13px;
}

.faq-q {
  font-weight: 600;
  margin-bottom: 4px;
}

/* ===========================
   Shared "legal" page styles
   =========================== */
.page-legal-header {
  padding: 32px 0 8px;
}

.page-title {
  font-size: 26px;
  margin: 0 0 6px;
}

.page-subtitle {
  font-size: 13px;
  color: var(--color-muted);
}

.legal-meta {
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.legal-block {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, #082259, #04133a);
  border: 1px solid var(--color-border);
}

.legal-block h2 {
  font-size: 16px;
  margin: 0 0 6px;
}

.legal-block p {
  font-size: 13px;
  color: var(--color-text);
  opacity: 0.9;
  margin: 0 0 8px;
}

.legal-block ul {
  padding-left: 18px;
  margin: 6px 0 0;
}

.legal-block li {
  font-size: 13px;
  color: var(--color-text);
  opacity: 0.9;
  margin-bottom: 4px;
}

/* ===========================
   Contact page
   =========================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
}

.contact-card,
.contact-form-card {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, #082259, #04133a);
  border: 1px solid var(--color-border);
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}

.contact-value {
  font-size: 14px;
  margin-bottom: 10px;
}

.contact-form-card h2 {
  margin-top: 0;
  font-size: 18px;
  margin-bottom: 4px;
}

.contact-form-card p {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 0;
  margin-bottom: 14px;
}

.form-field {
  margin-bottom: 10px;
}

.form-field label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.25);
  color: var(--color-text);
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(81, 255, 0, 0.3);
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0 24px;
  margin-top: 32px;
  font-size: 12px;
  color: var(--color-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-grid,
  .faq-grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    padding: 10px 16px 14px;
    background: radial-gradient(circle at 0 0, #032565, #000a20);
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links.is-open {
    transform: translateY(0%);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 20px;
  }

  .match-strip {
    border-radius: 16px;
  }
}

/* tiny helper for visually hidden text if needed */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

