/* ===== KickMatch — style.css v4 · KickMatch Official Palette · Bebas Neue + Syne ===== */

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

:root {
  /* ── Brand palette ───────────────────────────── */
  --primary:        #7c3aed;
  --primary-dim:    rgba(124,58,237,.1);
  --primary-border: rgba(124,58,237,.22);
  --primary-glow:   rgba(124,58,237,.18);
  --secondary:      #1AAA1A;
  --accent:         #f97316;
  --pink:           #ec4899;
  --brand-gradient: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #f97316 100%);
  /* ── Surfaces ────────────────────────────────── */
  --bg:             #fafafa;
  --bg2:            #ffffff;
  --bg3:            #f5f3ff;
  --bg4:            #ede9fe;
  /* ── Text ────────────────────────────────────── */
  --text:           #0f172a;
  --muted:          #64748b;
  --muted-2:        #94a3b8;
  /* ── Borders ─────────────────────────────────── */
  --border:         rgba(0,0,0,.08);
  --border-hl:      rgba(124,58,237,.22);
  /* ── Misc ────────────────────────────────────── */
  --radius:         10px;
  --font:           'Syne', system-ui, sans-serif;
  --font-display:   'Bebas Neue', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

/* Subtle ambient mesh */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 10%  5%,  rgba(124,58,237,.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 15%,  rgba(249,115,22,.04) 0%, transparent 50%),
    radial-gradient(ellipse 60% 70% at 80% 95%,  rgba(236,72,153,.04) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}

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

/* ============================
   NAV
   ============================ */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  height: 62px;
  background: rgba(250,250,250,.9);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.15rem; letter-spacing: .06em;
  color: var(--text); text-decoration: none;
}
.nav-logo img { height: 36px; width: 36px; border-radius: 9px; }
.nav-logo em {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.nav-links {
  display: flex; gap: 1.8rem; list-style: none; align-items: center;
}
.nav-links a {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  color: var(--muted); transition: color .2s; text-transform: uppercase;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-links .nav-cta {
  color: #fff;
  background: var(--primary);
  padding: .32rem .9rem;
  border-radius: 4px;
  font-weight: 800; letter-spacing: .08em;
  transition: background .15s, box-shadow .2s, transform .1s;
}
.nav-links .nav-cta:hover {
  background: #6d28d9;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px var(--primary-glow);
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative; z-index: 1;
  min-height: calc(100svh - 62px);
  display: flex; align-items: center;
  padding: 5rem 2.5rem 4rem;
  overflow: hidden;
}

/* Left ambient glow */
.hero::before {
  content: '';
  position: absolute; top: -180px; left: -180px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(124,58,237,.07) 0%, transparent 65%);
  pointer-events: none;
}
/* Right ambient glow */
.hero::after {
  content: '';
  position: absolute; bottom: -120px; right: -80px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(249,115,22,.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}

/* ---- Hero copy ---- */
.hero-copy { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .7rem; font-weight: 800; letter-spacing: .16em;
  color: var(--primary); text-transform: uppercase;
  margin-bottom: 1.4rem;
  animation: fade-up .6s cubic-bezier(.22,1,.36,1) both;
}

.eyebrow-pulse {
  width: 8px; height: 8px;
  background: var(--primary); border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-glow);
  animation: pulse-dot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--primary-glow); }
  50%       { opacity: .35; box-shadow: 0 0 3px var(--primary-glow); }
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7.5vw, 7.2rem);
  line-height: .92;
  letter-spacing: .025em;
  color: var(--text);
  margin-bottom: 1.8rem;
  animation: fade-up .7s .1s cubic-bezier(.22,1,.36,1) both;
}

.h1-grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sport pills inline in hero */
.hero-sports {
  display: flex; gap: .55rem; flex-wrap: wrap;
  margin-bottom: 1.8rem;
  animation: fade-up .7s .18s cubic-bezier(.22,1,.36,1) both;
}

.sport-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--muted);
  white-space: nowrap;
  transition: border-color .2s, color .2s, background .2s;
}
.sport-pill:hover {
  border-color: var(--primary-border);
  color: var(--primary);
  background: var(--primary-dim);
}
.sport-pill.sp-soccer  { border-color: rgba(124,58,237,.25); color: var(--primary); background: rgba(124,58,237,.06); }
.sport-pill.sp-tennis  { border-color: rgba(249,115,22,.25); color: var(--accent);  background: rgba(249,115,22,.06); }
.sport-pill.sp-padel   { border-color: rgba(236,72,153,.25); color: var(--pink);    background: rgba(236,72,153,.06); }
.sport-pill.sp-volley  { border-color: rgba(26,170,26,.25);  color: var(--secondary); background: rgba(26,170,26,.06); }

.hero-desc {
  font-size: .98rem; font-weight: 400;
  color: var(--muted);
  max-width: 430px;
  line-height: 1.78;
  margin-bottom: 2.5rem;
  animation: fade-up .7s .28s cubic-bezier(.22,1,.36,1) both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.store-badges {
  display: flex; gap: .75rem; flex-wrap: wrap;
  animation: fade-up .7s .38s cubic-bezier(.22,1,.36,1) both;
}

.badge-btn {
  display: flex; align-items: center; gap: .65rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .8rem 1.4rem;
  border-radius: var(--radius);
  font-size: .84rem; font-weight: 600;
  transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
}
.badge-btn:hover {
  border-color: var(--primary-border);
  background: var(--primary-dim);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--primary-glow);
}
.badge-btn svg { color: var(--primary); flex-shrink: 0; }
.badge-btn small { display: block; font-size: .62rem; font-weight: 400; color: var(--muted); }

.hero-note {
  margin-top: 1.5rem; font-size: .73rem;
  color: var(--muted-2); letter-spacing: .05em;
  animation: fade-up .7s .5s cubic-bezier(.22,1,.36,1) both;
}

/* ---- Hero visual / AI network ---- */
.hero-visual {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  animation: fade-up .9s .16s cubic-bezier(.22,1,.36,1) both;
}

.ai-net-wrap {
  position: relative;
  width: min(500px, 100%);
  aspect-ratio: 1;
}

.ai-net { width: 100%; height: 100%; overflow: visible; }

/* Floating AI micro-labels */
.ai-tag {
  position: absolute;
  font-family: var(--font);
  font-size: .63rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .7rem;
  border-radius: 3px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1.4;
  box-shadow: 0 2px 12px var(--primary-glow);
}

.at-1 { top: 22%; right: 4%;  animation: tag-float 5.2s ease-in-out infinite; }
.at-2 { top: 47%; left: 1%;  animation: tag-float 6.4s ease-in-out infinite reverse; }
.at-3 { bottom: 22%; right: 8%; animation: tag-float 4.6s ease-in-out infinite 1s; }

@keyframes tag-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* ============================
   SPORT TICKER
   ============================ */
.sport-ticker {
  position: relative; z-index: 1;
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}

.ticker-track {
  display: flex; gap: 2.5rem; align-items: center;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing: .1em;
  color: var(--muted);
}
.ticker-track span { white-space: nowrap; }
.ticker-track .t-sep { color: var(--primary); font-size: .6rem; opacity: .5; }

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

/* ============================
   STATS STRIP
   ============================ */
.stats-strip {
  position: relative; z-index: 1;
  padding: 5rem 2.5rem;
  background: var(--bg);
}

.stats-inner {
  max-width: 1040px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 4rem;
  flex: 1; min-width: 160px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3.8rem; line-height: 1; letter-spacing: .03em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .4rem;
}

.stat-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  color: var(--muted); text-transform: uppercase;
}

.stat-div {
  width: 1px; align-self: stretch;
  background: var(--border);
  margin: 1.5rem 0;
  flex-shrink: 0;
}

/* ============================
   SECTION COMMONS
   ============================ */
section { padding: 6rem 2.5rem; position: relative; z-index: 1; }
.container { max-width: 1040px; margin: 0 auto; }

.section-label {
  font-size: .65rem; font-weight: 800; letter-spacing: .18em;
  color: var(--primary); text-transform: uppercase;
  margin-bottom: .75rem;
  display: inline-flex; align-items: center; gap: .5rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 14px; height: 2px;
  background: var(--brand-gradient); border-radius: 1px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 400; letter-spacing: .04em;
  line-height: .92;
  margin-bottom: 1rem; color: var(--text);
}

.section-sub {
  color: var(--muted); font-size: .88rem;
  max-width: 420px; margin-bottom: 3.5rem;
  line-height: 1.78;
}

/* ============================
   FEATURES
   ============================ */
.features { background: var(--bg2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: var(--bg2);
  padding: 2.2rem 1.9rem;
  position: relative; overflow: hidden;
  transition: background .2s;
}

/* Animated gradient top-border on hover */
.feature-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brand-gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.feature-card:hover::after { transform: scaleX(1); }
.feature-card:hover { background: var(--bg3); }

/* Hero (first/featured) feature card */
.fc-hero {
  background: var(--bg3);
  padding: 2.8rem 2.2rem;
}
.fc-hero::after { transform: scaleX(1); }

.fc-tag {
  display: inline-block;
  font-size: .58rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  border-radius: 3px;
  margin-bottom: 1.4rem;
}

.feature-icon {
  font-size: 1.7rem;
  margin-bottom: 1.1rem;
  display: block;
  transition: transform .2s;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 400; letter-spacing: .06em;
  margin-bottom: .5rem; color: var(--text);
}
.feature-card p { font-size: .84rem; color: var(--muted); line-height: 1.68; }

/* ============================
   HOW IT WORKS
   ============================ */
.steps { background: var(--bg); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  padding: 2.8rem 2rem;
  background: var(--bg2);
  position: relative;
  transition: background .2s;
}
.step + .step { border-left: 1px solid var(--border); }
.step:hover { background: var(--bg3); }

.step-num {
  font-family: var(--font-display);
  font-size: 3.8rem; line-height: 1; letter-spacing: .02em;
  color: rgba(124,58,237,.1);
  margin-bottom: 1rem;
  transition: color .25s;
  display: block;
}
.step:hover .step-num { color: rgba(124,58,237,.25); }

.step h3 {
  font-size: .82rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: .55rem; color: var(--text);
}
.step p { font-size: .83rem; color: var(--muted); line-height: 1.65; }

/* ============================
   PREMIUM
   ============================ */
#premium { background: var(--bg3); }

.premium-card {
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  padding: 4.5rem 4rem;
  display: grid; grid-template-columns: 1fr auto;
  gap: 4rem; align-items: center;
  position: relative; overflow: hidden;
  background: var(--bg2);
  box-shadow: 0 4px 40px rgba(124,58,237,.08);
}

.premium-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 80% at 100% 50%, rgba(124,58,237,.05) 0%, transparent 60%);
  pointer-events: none;
}

.premium-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 400; letter-spacing: .04em; line-height: .92;
  margin-bottom: 2.2rem; color: var(--text);
}

.perks { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.perks li {
  display: flex; align-items: center; gap: .75rem;
  font-size: .88rem; color: var(--muted); font-weight: 500;
}
.perks li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary); border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 7px var(--primary-glow);
}

.premium-price-block {
  text-align: right; position: relative; z-index: 1;
}

.price-pre {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .15rem;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 6rem; line-height: 1; letter-spacing: .02em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-dec { font-size: 3.2rem; vertical-align: text-top; }
.price-cur { font-size: 2.4rem; vertical-align: text-top; }

.price-period {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-top: .3rem;
}
.price-note { font-size: .7rem; color: var(--muted-2); margin-top: .4rem; }

/* ============================
   FOOTER
   ============================ */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2.5rem;
  background: var(--bg);
  position: relative; z-index: 1;
}

.footer-inner {
  max-width: 1040px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
}

.footer-logo {
  display: flex; align-items: center; gap: .45rem;
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing: .07em; color: var(--text);
}
.footer-logo img { height: 24px; width: 24px; border-radius: 6px; }
.footer-logo em {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.footer-links {
  display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.footer-links a { color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); text-decoration: none; }

.footer-copy { font-size: .7rem; color: var(--muted-2); letter-spacing: .05em; }

/* ============================
   LEGAL PAGES
   ============================ */
.legal-page {
  max-width: 760px; margin: 0 auto;
  padding: 4.5rem 2.5rem 7rem;
  position: relative; z-index: 1;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400; letter-spacing: .04em;
  margin-bottom: .5rem;
}

.legal-page .meta {
  font-size: .82rem; color: var(--muted); margin-bottom: 2.5rem;
}

.legal-page .highlight {
  background: var(--primary-dim);
  border-left: 2px solid var(--primary);
  padding: 1.1rem 1.4rem;
  border-radius: 0 8px 8px 0;
  font-size: .9rem; color: var(--muted);
  margin-bottom: 3rem; line-height: 1.72;
}

.legal-page h2 {
  font-size: .88rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase;
  margin: 2.2rem 0 .65rem; color: var(--text);
}

.legal-page p  { font-size: .9rem; color: var(--muted); margin-bottom: .85rem; line-height: 1.72; }
.legal-page ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-page ul li { font-size: .9rem; color: var(--muted); margin-bottom: .5rem; line-height: 1.65; }
.legal-page a  { color: var(--primary); }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-visual { order: -1; }
  .ai-net-wrap { width: min(340px, 80vw); }
  .at-1, .at-2, .at-3 { display: none; }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .step + .step:nth-child(odd) { border-left: none; }
  .step:nth-child(3),
  .step:nth-child(4) { border-top: 1px solid var(--border); }
}

@media (max-width: 768px) {
  nav { padding: 0 1.4rem; }
  .nav-links { display: none; }
  .hero { padding: 3.5rem 1.4rem; min-height: auto; }
  .stats-strip { padding: 3.5rem 1.4rem; }
  .stat-div { display: none; }
  .stat-item { padding: 1rem 1.5rem; }
  .stat-num { font-size: 2.8rem; }
  section { padding: 4.5rem 1.4rem; }
  .premium-card { padding: 3rem 2rem; grid-template-columns: 1fr; gap: 2.5rem; }
  .premium-price-block { text-align: left; }
  footer { padding: 2.5rem 1.4rem; }
  .legal-page { padding: 3.5rem 1.4rem 5rem; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: 1px solid var(--border); }
  .hero-h1 { font-size: clamp(3.2rem, 14vw, 5rem); }
  .hero-sports { gap: .4rem; }
  .sport-pill { font-size: .62rem; padding: .25rem .6rem; }
}
