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

:root {
  /* Midnight Navy & Neon Theme (Ocean) */
  --bg:           #050b14;
  --bg-card:      #0d1829;
  --bg-card-hover:#15243b;
  --border:       #1e3250;
  --text:         #f0f4f8;
  --text-sec:     #94a3b8;
  --purple:       #a855f7;
  --purple-light: #c084fc;
  --purple-dk:    #7e22ce;
  --purple-bg:    #3b0764;
  --purple-border:#9333ea;
  --blue:         #0ea5e9;
  --blue-light:   #38bdf8;
  --green:        #10b981;
  --orange:       #f97316;
  --red:          #f43f5e;
  --yellow:       #eab308;

  --gradient:     linear-gradient(135deg, #a855f7 0%, #0ea5e9 100%);
  --gradient-r:   linear-gradient(135deg, #0ea5e9 0%, #a855f7 100%);

  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 8px 32px rgba(0,0,0,.5);
  --max-w:        1140px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--purple-light); text-decoration: none; }
a:hover { color: var(--blue-light); }

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

/* ── Utilities ─────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Animations ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, .4); }
  50%      { box-shadow: 0 0 40px rgba(168, 85, 247, .7); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Navigation ────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5, 11, 20, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 50, 80, .5);
  transition: background .3s;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo { height: 28px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-sec);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--gradient);
  color: #ffffff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .85rem;
  transition: opacity .2s, transform .2s;
}
.nav-cta:hover { opacity: .9; transform: translateY(-1px); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}

/* ── Hero ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(168, 85, 247, .15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -20%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(14, 165, 233, .1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 760px;
  position: relative;
  z-index: 1;
  animation: fadeUp .8s ease both;
}
.hero-logo {
  height: 56px;
  margin: 0 auto 32px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-sec);
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, .4);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(168, 85, 247, .6);
  color: #ffffff;
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--purple);
  color: var(--text);
}

/* TINTED HERO BADGE */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-bg);
  border: 1px solid var(--purple-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--purple-light);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
  box-shadow: none;
}

/* ── Section shared ────────────────────────────── */
section { padding: 100px 0; }

.section-eyebrow {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--purple-light);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-sec);
  max-width: 600px;
  margin-bottom: 56px;
}
.section-desc.center { margin-left: auto; margin-right: auto; }

/* ── Feature Grid ──────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  box-shadow: 0 8px 32px rgba(168, 85, 247, .2);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* Tinted Icons */
.feature-icon.purple { background: rgba(168, 85, 247, .15); color: var(--purple-light); }
.feature-icon.blue   { background: rgba(14, 165, 233, .15); color: var(--blue-light); }
.feature-icon.green  { background: rgba(16, 185, 129, .15); color: var(--green); }
.feature-icon.orange { background: rgba(249, 115, 22, .15); color: var(--orange); }
.feature-icon.red    { background: rgba(244, 63, 94, .15); color: var(--red); }
.feature-icon.yellow { background: rgba(234, 179, 8, .15); color: var(--yellow); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-card p {
  font-size: .9rem;
  color: var(--text-sec);
  line-height: 1.55;
}

/* ── Showcase (alternating) ────────────────────── */
.showcase {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 100px;
}
.showcase:last-child { margin-bottom: 0; }
.showcase.reverse { flex-direction: row-reverse; }
.showcase-text { flex: 1; }
.showcase-visual {
  flex: 1;
  position: relative;
}

.showcase-visual .phone-frame {
  width: 100%;
  max-width: 340px;
  min-height: 600px;
  margin: 0 auto;
  aspect-ratio: 9 / 18;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.phone-frame .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-sec);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(34, 54, 84, .6) 100%);
}
.placeholder-label {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .75rem;
  color: var(--text);
  background: rgba(5, 11, 20, .8);
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.showcase-text .badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* TINTED MINI BADGES */
.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text);
}

/* ── Carousel Styles (Phone Frame) ──────────────── */
.carousel-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(34, 54, 84, .6) 100%);
  z-index: 1;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
}
.carousel-slide .placeholder, .carousel-slide .placeholder-label {
  position: relative;
  z-index: 1;
}
.carousel-slide .placeholder-label {
  bottom: -15px;
}
.carousel-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.carousel-indicators .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-indicators .dot.active {
  background: var(--blue);
  width: 20px;
  border-radius: 4px;
}

/* ── Sport Types Bar ───────────────────────────── */
.sport-types {
  padding: 60px 0;
}
.sport-bar {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.sport-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: .9rem;
  font-weight: 600;
  transition: border-color .2s, transform .2s;
}
.sport-pill:hover {
  border-color: var(--purple-light);
  transform: translateY(-2px);
}
.sport-pill span.emoji { font-size: 1.2rem; }

/* ── Stats Row ─────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 80px 0;
}
.stat-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .85rem;
  color: var(--text-sec);
}

/* ── CTA Section ───────────────────────────────── */
.cta-section {
  padding: 100px 0;
  position: relative;
}
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}
.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-box p {
  color: var(--text-sec);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ── Footer ────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { height: 22px; opacity: .6; }
.footer-text {
  font-size: .8rem;
  color: var(--text-sec);
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  color: var(--text-sec);
  font-size: .8rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }

/* ── Mobile ────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { flex-direction: column !important; gap: 40px; }
  .showcase-visual { width: 100%; }
  .showcase-visual .phone-frame { max-width: 300px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(5, 11, 20, .97);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .cta-box { padding: 40px 24px; }
  section { padding: 64px 0; }
  .hero { padding: 100px 20px 60px; }
}
