/* ============================================================
   SPOTR — thespotrapp.com
   ============================================================ */

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

:root {
  --black:   #0a0a0a;
  --dark:    #111116;
  --card:    #16161d;
  --border:  #252530;
  --purple:  #8B5CF6;
  --purple2: #7C3AED;
  --white:   #ffffff;
  --muted:   #6b7280;
  --muted2:  #9ca3af;

  --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.625rem;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}

.wordmark .s { color: var(--purple); }

.nav-contact {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-contact:hover { color: var(--white); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 5rem;
  overflow: hidden;
}

/* radial purple glow — matches the app splash screen */
.glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%,
      rgba(139, 92, 246, 0.22) 0%,
      rgba(139, 92, 246, 0.08) 40%,
      transparent 70%);
  pointer-events: none;
}

/* subtle noise texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-bottom: 2.25rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 1.75rem;
}

.hero-headline .purple { color: var(--purple); }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.75;
  color: var(--muted2);
  max-width: 520px;
  margin: 0 auto 2.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 1rem 2.25rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  border-radius: 0;
}

.btn-primary:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 1.25rem;
  animation: bounce 2s infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SHARED
   ============================================================ */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.05;
  margin-bottom: 1rem;
}

/* ============================================================
   WHAT IS SPOTR
   ============================================================ */

.what {
  padding: 6rem 0 5rem;
  border-top: 1px solid var(--border);
}

.what .section-title { margin-bottom: 3rem; }

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.card {
  background: var(--card);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card-accent {
  background: #0f0f18;
  position: relative;
}

.card-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%,
    rgba(139, 92, 246, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  width: fit-content;
}

.card-tag.athletes {
  background: rgba(255,255,255,0.06);
  color: var(--muted2);
  border: 1px solid var(--border);
}

.card-tag.coaches {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--white);
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted2);
}

.card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.card ul li {
  font-size: 0.875rem;
  color: var(--muted2);
  padding-left: 1.5rem;
  position: relative;
}

.card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

/* ============================================================
   COMING SOON BAND
   ============================================================ */

.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--dark);
  overflow: hidden;
  padding: 1rem 0;
}

.band-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
  width: max-content;
}

.band-inner span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.band-inner .dot {
  color: var(--purple);
  font-size: 1rem;
  letter-spacing: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   WAITLIST
   ============================================================ */

.waitlist {
  padding: 6rem 0 7rem;
  border-top: 1px solid var(--border);
}

.waitlist-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted2);
  text-align: center;
  max-width: 440px;
  margin: 0.5rem auto 3rem;
}

/* form */
.form {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field-empty { visibility: hidden; }

.form-field label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.optional {
  font-weight: 400;
  letter-spacing: 0;
  font-size: 0.65rem;
  text-transform: lowercase;
  color: #444;
}

.form-field input {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.875rem 1rem;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}

.form-field input::placeholder { color: #383845; }

.form-field input:focus {
  border-color: var(--purple);
}

.btn-submit {
  width: 100%;
  background: var(--purple);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 1.125rem 2rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border-radius: 0;
  margin-top: 0.375rem;
}

.btn-submit:hover:not(:disabled) {
  background: var(--purple2);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* success state */
.success {
  max-width: 480px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.success-check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.success h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  letter-spacing: 0.05em;
}

.success p {
  color: var(--muted2);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 3.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer .wordmark { font-size: 1.375rem; }

.footer-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--muted);
}

.footer-email {
  font-size: 0.875rem;
  color: var(--purple);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}

.footer-email:hover { opacity: 0.75; }

.footer-copy {
  font-size: 0.75rem;
  color: #333;
  margin-top: 0.25rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .nav { padding: 1rem 1.25rem; }
  .nav-contact { display: none; }

  .hero { padding: 7rem 1.5rem 5rem; }

  .cards { grid-template-columns: 1fr; }
  .card { padding: 2.25rem 1.75rem; }

  .form-row { grid-template-columns: 1fr; }
  .form-field-empty { display: none; }

  .what { padding: 4rem 0; }
  .waitlist { padding: 4rem 0 5rem; }
}

@media (max-width: 480px) {
  .hero-headline { line-height: 0.92; }
  .card { padding: 2rem 1.5rem; }
}
