/* ============================================================
   SESHN — styles.css
   ============================================================ */

/* ---- Variables ---- */
:root {
  --primary:       #12ADEE;
  --primary-dark:  #0D96D1;
  --primary-light: #E0F5FD;
  --primary-glow:  rgba(18, 173, 238, 0.18);

  --dark:          #0F172A;
  --text:          #1E293B;
  --text-2:        #64748B;
  --border:        #E2E8F0;

  --bg:            #FFFFFF;
  --bg-tint:       #F0F9FF;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 100px;

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-card:  0 4px 24px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-phone: 0 32px 80px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.10);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --nav-h:    72px;
  --section-y: clamp(80px, 10vw, 128px);
  --max-w:    1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ---- Utility ---- */
.bg-tint { background: var(--bg-tint); }

.text-accent { color: var(--primary); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 13px 26px;
  font-size: 0.9375rem;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 17px 40px;
  font-size: 1.0625rem;
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---- Logo ---- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  height: 38px;
  width: auto;
}

.logo-wordmark {
  height: 26px;
  width: auto;
}

/* ---- Eyebrow / Labels ---- */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.section-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 28px;
}

.feature-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 40px;
  background:
    radial-gradient(ellipse 70% 55% at 70% -5%, rgba(18,173,238,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 5% 80%, rgba(18,173,238,0.06) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 460px;
}

.inline-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin-bottom: 12px;
}

.inline-form input {
  flex: 1;
  padding: 13px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.9375rem;
  outline: none;
  color: var(--text);
  transition: border-color 0.2s;
}

.inline-form input:focus {
  border-color: var(--primary);
}

.inline-form input::placeholder {
  color: #94A3B8;
}

.form-note {
  font-size: 0.8125rem;
  color: #94A3B8;
}

/* Hero phones */
.hero-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.phone-float {
  position: relative;
}

.phone-back {
  transform: rotate(-2deg) translateY(16px);
  z-index: 1;
}

.phone-back .phone-mockup {
  width: 250px;
  opacity: 0.88;
}

.phone-front {
  transform: rotate(2deg) translateY(-16px);
  z-index: 2;
}

.phone-front .phone-mockup {
  width: 270px;
}

/* ---- Phone Mockup ---- */
.phone-mockup {
  width: 138px;
}

.phone-mockup.phone-lg {
  width: 225px;
}

.phone-screen {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: high-quality;
}

/* Depth shadow on hero phones */
.phone-float .phone-mockup {
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.20)) drop-shadow(0 4px 14px rgba(0,0,0,0.10));
}

/* ---- Sports Strip ---- */
.sports-section {
  padding: calc(var(--section-y) / 2) 0 var(--section-y);
  background: var(--bg);
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.sport-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: default;
}

.sport-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  image-rendering: high-quality;
}

.sport-card:hover img {
  transform: scale(1.06);
}

.sport-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68) 0%, transparent 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- Feature Sections ---- */
.feature {
  padding: var(--section-y) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* "reverse" flips the text/phone order without changing DOM */
.feature-grid.reverse {
  direction: rtl;
}
.feature-grid.reverse > * {
  direction: ltr;
}

.feature-phone {
  display: flex;
  justify-content: center;
}

.feature-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.875rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: 18px;
}

.feature-text p {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 440px;
}

/* ---- Beta Section ---- */
.beta-section {
  background: var(--dark);
  padding: var(--section-y) 0;
}

.beta-content {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.beta-content h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 14px;
}

.beta-sub {
  font-size: 1.0625rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 44px;
}

.beta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.beta-form input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.beta-form input::placeholder {
  color: #475569;
}

.beta-form input:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.10);
}

/* Sport pill checkboxes */
.sport-pills-label {
  font-size: 0.875rem;
  color: #94A3B8;
  text-align: center;
  margin-bottom: 4px;
}

.sport-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.sport-pill {
  cursor: pointer;
}

.sport-pill input {
  display: none;
}

.sport-pill span {
  display: block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  color: #94A3B8;
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.sport-pill input:checked + span {
  border-color: var(--primary);
  background: rgba(18,173,238,0.15);
  color: #fff;
}

.beta-form .btn {
  align-self: center;
  margin-top: 4px;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.8125rem;
  color: #475569;
  margin-top: 2px;
}

/* Beta success state */
.beta-success {
  padding: 48px 24px;
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 24px;
}

.beta-success h3 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.beta-success p {
  font-size: 1.0625rem;
  color: #94A3B8;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-2);
  margin-top: 8px;
}

.footer-contact {
  font-size: 0.9375rem;
  color: var(--text-2);
  transition: color 0.2s;
}

.footer-contact:hover {
  color: var(--primary);
}

.footer-copy {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 0.8125rem;
  color: #94A3B8;
}

/* ---- Scroll Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay {
  transition-delay: 0.12s;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.14s;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub,
  .feature-text p {
    max-width: 100%;
  }

  .inline-form {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .eyebrow-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-phones {
    gap: 14px;
  }

  .phone-back .phone-mockup {
    width: 190px;
  }

  .phone-front .phone-mockup {
    width: 210px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .feature-grid.reverse {
    direction: ltr;
  }

  .feature-grid.reverse .feature-phone {
    order: -1;
  }

  .feature-text p {
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .sports-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .sports-grid::-webkit-scrollbar {
    display: none;
  }

  .sport-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
    border-radius: 16px;
  }

  .phone-mockup {
    width: 113px;
  }

  .phone-mockup.phone-lg {
    width: 163px;
  }

  .phone-back .phone-mockup {
    width: 150px;
  }

  .phone-front .phone-mockup {
    width: 165px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .inline-form {
    flex-direction: column;
  }

  .inline-form .btn {
    width: 100%;
  }
}
