/* ============================================================
   PADEL PAL – Marketing Page v2 (index2.html)
   Changes vs styles.css:
   - Hero: animated scoreboard + watch mockup, brand-color glow,
     no viewport clipping (mobile composition rebuilt)
   - Brand-color pass: pink/cyan section labels, colored stats
   - Inter for body copy (mono kept for labels/eyebrows)
   ============================================================ */

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

:root {
  --green: #C9FD69;
  --team1: #F05AA5;
  --team2: #5AF0F0;
  --orange: #FF9F0A;
  --serve: #CCFF00;
  --bg: #000000;
  --surface: #1C1C1E;
  --border: #3A3A3C;
  --text: #FFFFFF;
  --muted: #A1A1A6;
  --radius: 16px;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

html { scroll-behavior: smooth; }

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

/* =================== SKIP LINK / FOCUS =================== */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--green); color: #000; padding: 12px 24px;
  border-radius: 0 0 8px 8px; font-weight: 700; font-size: 14px;
  text-decoration: none; z-index: 200; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.btn-primary:focus-visible, .btn-secondary:focus-visible,
.btn-dark:focus-visible, .nav-cta:focus-visible {
  outline-offset: 4px; box-shadow: 0 0 0 4px rgba(201,253,105,0.3);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* =================== NAV =================== */
nav[aria-label="Main"] {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(0,0,0,0.78);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-ball { width: 26px; height: 26px; flex-shrink: 0; }
.logo-ball img { width: 100%; height: 100%; display: block; border-radius: 6px; }
.logo-text { font-weight: 900; font-size: 20px; letter-spacing: -0.5px; color: #fff; }
.logo-text span { color: var(--green); }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
  color: var(--muted); transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--green) !important; color: #000 !important;
  padding: 10px 22px; border-radius: 100px; font-weight: 700 !important;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 40px; height: 40px; cursor: pointer; color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* =================== HERO =================== */
.hero {
  max-width: 1200px; margin: 0 auto; padding: 140px 32px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-content { max-width: 520px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 16px 6px 8px; margin-bottom: 28px;
}
.hero-badge-dot {
  width: 8px; height: 8px; background: var(--green);
  border-radius: 50%; animation: pulse 2s infinite;
}
.hero-badge span {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero h1 {
  font-size: clamp(40px, 4.6vw, 60px); font-weight: 900;
  line-height: 1.05; letter-spacing: -2px; margin-bottom: 24px;
}
.hero h1 .accent { color: var(--green); }

.hero p {
  font-size: 17px; line-height: 1.7;
  color: var(--muted); margin-bottom: 40px; max-width: 460px;
}

.hero-actions { display: flex; gap: 14px; align-items: center; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: #000; padding: 16px 32px;
  border-radius: 100px; font-weight: 800; font-size: 15px;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(201,253,105,0.2); }
.btn-primary svg { width: 18px; height: 18px; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); color: var(--text); padding: 16px 28px;
  border-radius: 100px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--muted); }

/* =================== HERO VISUALS =================== */
.hero-visual { position: relative; min-height: 580px; }

/* brand-color glow behind the device composition */
.hero-visual::before {
  content: ''; position: absolute; inset: -40px -20px;
  background:
    radial-gradient(420px 320px at 30% 25%, rgba(240,90,165,0.14), transparent 70%),
    radial-gradient(420px 320px at 75% 65%, rgba(90,240,240,0.12), transparent 70%),
    radial-gradient(360px 280px at 55% 90%, rgba(201,253,105,0.10), transparent 70%);
  pointer-events: none;
}

.phone-frame {
  width: 260px; background: #050506; border-radius: 46px; padding: 11px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 4px 18px rgba(0,0,0,0.4);
  position: relative; z-index: 1;
}
/* titanium rail */
.phone-frame::before {
  content: ''; position: absolute; inset: 0; border-radius: 46px;
  padding: 3px; pointer-events: none;
  background: linear-gradient(155deg, #8a8a90 0%, #3a3a3e 18%, #131315 42%,
              #0a0a0b 58%, #46464b 82%, #9a9aa0 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
}
/* inner glass edge */
.phone-frame::after {
  content: ''; position: absolute; inset: 8px; border-radius: 38px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); pointer-events: none;
}
.phone-frame img { width: 100%; height: auto; display: block; border-radius: 35px; }

/* Dynamic Island */
.p-island {
  position: absolute; top: 21px; left: 50%; transform: translateX(-50%);
  width: 27%; height: 24px; background: #000; border-radius: 14px; z-index: 2;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.055), inset 0 0 6px rgba(0,0,0,0.9);
}
.p-island::after {
  content: ''; position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1d2c3a, #05080c 70%);
}

/* side buttons */
.p-btn {
  position: absolute; background: linear-gradient(90deg, #5a5a60, #2c2c30);
  border-radius: 2px; z-index: 0;
}
.p-action { left: -2px; top: 96px;  width: 3px; height: 22px; }
.p-volup  { left: -2px; top: 138px; width: 3px; height: 42px; }
.p-voldn  { left: -2px; top: 192px; width: 3px; height: 42px; }
.p-power  { right: -2px; top: 158px; width: 3px; height: 66px;
            background: linear-gradient(90deg, #2c2c30, #5a5a60); }

/* Animated live scoreboard (replaces the static landscape PNG) */
.landscape-frame {
  width: 470px; background: #050506; border-radius: 46px; padding: 9px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  position: absolute; bottom: 150px; right: -16px; z-index: 2;
}
/* titanium rail */
.landscape-frame::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 2.5px; pointer-events: none; z-index: 3;
  background: linear-gradient(155deg, #8a8a90 0%, #3a3a3e 18%, #131315 42%,
              #0a0a0b 58%, #46464b 82%, #9a9aa0 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
}
/* Dynamic Island — vertical pill on the left in landscape */
.landscape-frame::after {
  content: ''; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 33%; border-radius: 10px; z-index: 3;
  background: radial-gradient(circle at 50% 16%, #1d2c3a 0 3.5px, transparent 4.5px), #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), inset 0 0 5px rgba(0,0,0,0.9);
}
/* landscape edge buttons (device rotated left: power top, volumes bottom) */
.lb {
  position: absolute; background: linear-gradient(180deg, #5a5a60, #2c2c30);
  border-radius: 2px; height: 3px;
}
.lb-p  { top: -2px; left: 21%; width: 52px;
         background: linear-gradient(180deg, #5a5a60, #2c2c30); }
.lb-vu { bottom: -2px; left: 16%; width: 34px;
         background: linear-gradient(0deg, #5a5a60, #2c2c30); }
.lb-vd { bottom: -2px; left: 16%; margin-left: 44px; width: 34px;
         background: linear-gradient(0deg, #5a5a60, #2c2c30); }

.scoreboard {
  position: relative; display: flex; gap: 5px;
  border-radius: 14px; overflow: visible; height: 210px;
}
.score-panel {
  flex: 1; border-radius: 16px; position: relative;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.score-panel.pink { background: var(--team1); border-radius: 37px 16px 16px 37px; }
.score-panel.cyan { background: var(--team2); border-radius: 16px 37px 37px 16px; }
.score-panel.serving { box-shadow: 0 0 0 5px var(--serve); }
.score-num {
  font-weight: 900; font-size: 96px; color: #000; line-height: 1;
  letter-spacing: -3px; font-variant-numeric: tabular-nums;
}
.score-num.pop { animation: scorepop 0.45s ease; }
@keyframes scorepop { 0%{transform:scale(1)} 35%{transform:scale(1.16)} 100%{transform:scale(1)} }
.score-team {
  position: absolute; bottom: 12px; font-weight: 800; font-size: 12px;
  letter-spacing: 1px; color: rgba(0,0,0,0.45);
}
.set-pill {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: rgba(10,10,12,0.82); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 4px 12px; z-index: 4; text-align: center;
}
.set-pill .s-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px;
  color: var(--muted); display: block;
}
.set-pill .s-score { font-weight: 800; font-size: 14px; }
.set-pill .s-score .p { color: var(--team1); }
.set-pill .s-score .c { color: var(--team2); }

/* Apple Watch mockup */
.watch-mock {
  position: absolute; left: -28px; bottom: 18px; z-index: 3;
  width: 160px; transform: rotate(-5deg);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.6));
}
/* slim dark band stubs */
.watch-band {
  width: 86px; height: 36px; margin: 0 auto -12px;
  background: linear-gradient(180deg, #262629 0%, #1b1b1e 60%, #131315 100%);
  border-radius: 16px 16px 10px 10px; position: relative;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.06);
}
.watch-band.bottom {
  margin: -12px auto 0;
  background: linear-gradient(180deg, #131315 0%, #1b1b1e 40%, #262629 100%);
  border-radius: 10px 10px 16px 16px;
  box-shadow: inset 0 -1px 1px rgba(255,255,255,0.05);
}
/* black case, iPhone-style */
.watch-body {
  position: relative; width: 160px; height: 184px;
  background: #050506;
  border-radius: 52px; padding: 8px; z-index: 1;
}
/* titanium rail — same treatment as the phone */
.watch-body::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 2.5px; pointer-events: none;
  background: linear-gradient(155deg, #8a8a90 0%, #3a3a3e 18%, #131315 42%,
              #0a0a0b 58%, #46464b 82%, #9a9aa0 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
}
/* inner glass edge — same as the phone */
.watch-body::after {
  content: ''; position: absolute; inset: 6px; border-radius: 46px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); pointer-events: none;
}
/* digital crown: subtle */
.watch-crown {
  position: absolute; right: -4px; top: 42px; width: 6px; height: 32px;
  border-radius: 3px;
  background: linear-gradient(90deg, #5a5a60, #2c2c30);
}
.watch-btn {
  position: absolute; right: -3px; top: 92px; width: 4px; height: 40px;
  background: linear-gradient(90deg, #44444a, #222226);
  border-radius: 2px;
}
/* near edge-to-edge screen, slim bezel */
.watch-screen {
  position: relative; width: 100%; height: 100%; background: #000; border-radius: 44px;
  display: flex; flex-direction: column; gap: 5px; padding: 14px 11px 11px;
  overflow: hidden;
}
/* faint glass reflection */
.watch-screen::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 75% at 20% -6%, rgba(255,255,255,0.06), transparent 40%);
}
.watch-status {
  display: flex; align-items: center; gap: 5px; padding: 0 6px 1px;
}
.watch-status .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--serve); }
.watch-status .t {
  font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.5px; color: var(--muted);
}
.watch-status .wtime {
  margin-left: auto; font-size: 11px; font-weight: 700; color: #fff; letter-spacing: 0;
}
.watch-panels { display: flex; gap: 5px; flex: 1; }
.watch-panel {
  flex: 1; border-radius: 14px; display: flex; align-items: center; justify-content: center;
}
.watch-panel.pink { background: var(--team1); }
.watch-panel.cyan { background: var(--team2); }
.watch-panel.serving { box-shadow: 0 0 0 3px var(--serve); }
.watch-panel .wnum { font-weight: 900; font-size: 30px; color: #000; letter-spacing: -1px; }

/* =================== SCREENS SHOWCASE =================== */
.showcase { max-width: 1200px; margin: 0 auto; padding: 80px 32px 100px; }
.showcase .section-label, .features-section .section-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px;
}
.section-label.lbl-pink { color: var(--team1); }
.section-label.lbl-cyan { color: var(--team2); }
.section-label.lbl-green { color: var(--green); }
.showcase h2 {
  font-size: clamp(32px, 4vw, 46px); font-weight: 900;
  letter-spacing: -1.5px; line-height: 1.1; max-width: 500px; margin-bottom: 48px;
}

.screen-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.screen-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.screen-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(201,253,105,0.06);
  border-color: #4a4a4e;
}

.screen-phone {
  background: #050506; margin: 20px 20px 0; border-radius: 36px; padding: 7px;
  display: flex; flex-direction: column; position: relative;
}
/* titanium rail */
.screen-phone::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 2px; pointer-events: none; z-index: 2;
  background: linear-gradient(155deg, #8a8a90 0%, #3a3a3e 18%, #131315 42%,
              #0a0a0b 58%, #46464b 82%, #9a9aa0 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
}
/* Dynamic Island */
.screen-phone::after {
  content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 26%; height: 19px; background: #000; border-radius: 11px; z-index: 2;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.055), inset 0 0 5px rgba(0,0,0,0.9);
}
.screen-phone-img { width: 100%; height: auto; display: block; border-radius: 29px; }
.screen-phone.img-frame { position: relative; }

/* card phone side buttons */
.pb {
  position: absolute; background: linear-gradient(90deg, #5a5a60, #2c2c30);
  border-radius: 2px; width: 3px;
}
.pb-a  { left: -2px; top: 14%; height: 18px; }
.pb-vu { left: -2px; top: 21%; height: 34px; }
.pb-vd { left: -2px; top: 30%; height: 34px; }
.pb-p  { right: -2px; top: 24%; height: 54px;
         background: linear-gradient(90deg, #2c2c30, #5a5a60); }

.screen-card-info { padding: 20px; }
.screen-card-info h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.3px; }
.screen-card-info p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* =================== LIVE SHARING =================== */
.live-steps {
  grid-column: span 2;
  display: flex; flex-direction: column; gap: 28px; justify-content: center;
}
.live-step { display: flex; align-items: flex-start; gap: 16px; }
.live-step-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #000;
}
.live-step-icon svg { width: 20px; height: 20px; fill: currentColor; }
.live-step-icon.pink-bg { background: var(--team1); }
.live-step-icon.cyan-bg { background: var(--team2); }
.live-step-icon.green-bg { background: var(--green); }
.live-step-title { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.live-step-desc { font-size: 15px; color: #B0B0B4; line-height: 1.65; }

@media (max-width: 1024px) { .live-steps { grid-column: span 1; } }
@media (max-width: 600px) { .live-steps { grid-column: span 1; } }

/* =================== TOURNAMENTS =================== */
.tournaments { padding-top: 0; }
.section-intro {
  font-family: var(--font-mono); font-size: 14px; line-height: 1.8;
  color: var(--muted); max-width: 560px; margin: -32px 0 48px;
}
.tourney-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tourney-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.tourney-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(201,253,105,0.06);
}
.tourney-mock {
  background: #000; margin: 20px; border-radius: 14px;
  border: 1px solid var(--border); padding: 24px 20px;
  min-height: 230px; display: flex;
}
.tourney-card-info { padding: 0 20px 24px; }
.tourney-card-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.3px; }
.tourney-card-info p { font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: var(--muted); }

/* --- Bracket mockup --- */
.bracket-mock { align-items: center; justify-content: space-between; gap: 14px; }
.bk-round { display: flex; flex-direction: column; gap: 28px; flex: 1; justify-content: center; }
.bk-final { gap: 0; }
.bk-match {
  background: #1C1C1E; border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; display: flex; flex-direction: column;
}
.bk-team {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--muted); padding: 7px 10px; white-space: nowrap;
}
.bk-team + .bk-team { border-top: 1px solid var(--border); }
.bk-team.win { color: #fff; background: rgba(201,253,105,0.08); }
.bk-champ { flex: 0 0 auto; align-items: center; gap: 8px; }
.bk-trophy { color: var(--green); }
.bk-trophy svg { width: 28px; height: 28px; display: block; }
.bk-champ .bk-team.win {
  background: var(--green); color: #000; border-radius: 8px;
  font-weight: 700; padding: 8px 12px;
}

/* --- King of the Court mockup --- */
.king-mock { flex-direction: column; gap: 14px; justify-content: center; }
.king-court { display: flex; align-items: stretch; gap: 8px; }
.king-player {
  flex: 1; border-radius: 10px; padding: 14px 12px; text-align: center;
  display: flex; flex-direction: column; gap: 6px; position: relative;
}
.king-player.pink { background: var(--team1); }
.king-player.cyan { background: var(--team2); }
.king-player .kp-name { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #000; }
.king-player .kp-pts { font-size: 30px; font-weight: 900; color: #000; line-height: 1; }
.king-player.serving::after {
  content: ''; position: absolute; top: 8px; right: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--serve); box-shadow: 0 0 0 2px rgba(0,0,0,0.25);
}
.king-vs {
  align-self: center; font-family: var(--font-mono); font-size: 11px;
  font-weight: 700; color: var(--muted); padding: 0 2px;
}
.king-rest {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  display: flex; align-items: center; gap: 8px; justify-content: center;
}
.king-rest .kr-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.king-standings {
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
.ks-row {
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center;
  gap: 10px; padding: 8px 12px;
  font-family: var(--font-mono); font-size: 12px;
}
.ks-row + .ks-row { border-top: 1px solid var(--border); }
.ks-rank { color: var(--green); font-weight: 700; text-align: center; }
.ks-name { color: #fff; font-weight: 600; }
.ks-wins { color: var(--muted); }
.ks-wins::after { content: ' W'; font-size: 10px; }
/* Americano board shows points, not wins */
.ks-wins.pts::after { content: ' PTS'; }

/* ---- Social session formats (Americano / Mexicano / League) ---- */
.session-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 20px;
}
.session-grid .tourney-mock { min-height: 250px; }

.rot-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1.4px; color: var(--muted);
}
.rot-head .rot-court { color: var(--green); }

.rot-mock, .mex-mock, .league-mock {
  flex-direction: column; gap: 12px; justify-content: flex-start;
}

.rot-pairs { display: flex; align-items: stretch; gap: 8px; }
.rot-pair {
  flex: 1; border-radius: 12px; padding: 10px 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 800;
  letter-spacing: 0.8px; color: #000;
}
.rot-pair.pink { background: var(--team1); }
.rot-pair.cyan { background: var(--team2); }
.rot-vs {
  align-self: center; font-family: var(--font-mono); font-size: 11px;
  font-weight: 700; color: var(--muted);
}
.rot-note {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  line-height: 1.5;
}

/* Mexicano re-pairing list */
.mex-list { position: relative; display: grid; gap: 4px; padding-right: 22px; }
.mex-row {
  display: grid; grid-template-columns: 18px 1fr auto; align-items: center;
  gap: 8px; padding: 7px 10px; border-radius: 8px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 12px;
}
.mex-row .mex-pos { color: var(--muted); font-weight: 700; text-align: center; }
.mex-row .mex-name { color: #fff; font-weight: 600; }
.mex-row .mex-pts { color: var(--muted); }
.mex-row.t-a { border-color: rgba(240,90,165,0.55); }
.mex-row.t-b { border-color: rgba(90,240,240,0.45); }
/* Brackets joining 1+4 and 2+3 */
.mex-link {
  position: absolute; right: 4px; border-radius: 0 8px 8px 0;
  border: 1px solid; border-left: 0;
}
/* Row is ~33px tall + 4px gap, so centres sit at 16.5 / 53.5 / 90.5 / 127.5 */
.mex-link.link-a { top: 16px; height: 112px; width: 14px; border-color: rgba(240,90,165,0.55); }
.mex-link.link-b { top: 53px; height: 38px; width: 7px; border-color: rgba(90,240,240,0.45); }

/* League table */
.lg-table { display: grid; gap: 3px; }
.lg-row {
  display: grid; grid-template-columns: 18px 1fr 24px 24px 30px;
  align-items: center; gap: 6px; padding: 7px 8px; border-radius: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  background: rgba(255,255,255,0.03);
}
.lg-row.lg-head {
  background: none; font-size: 9px; letter-spacing: 1.2px;
  color: var(--muted); padding-bottom: 2px;
}
.lg-row .lg-pos { color: var(--green); font-weight: 700; text-align: center; }
.lg-row .lg-team { color: #fff; font-weight: 600; }
.lg-row .lg-pts { color: var(--green); font-weight: 700; text-align: right; }

@media (max-width: 900px) {
  .session-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .tourney-grid { grid-template-columns: 1fr; }
  .session-grid { grid-template-columns: 1fr; }
  .section-intro { margin-top: -24px; }
}

/* =================== FEATURES =================== */
.features-section { max-width: 1200px; margin: 0 auto; padding: 0 32px 100px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(201,253,105,0.04); }
.feature-card.accent-card { background: var(--green); border-color: var(--green); }
.feature-card.accent-card .feature-label,
.feature-card.accent-card h3,
.feature-card.accent-card p { color: #000; }
.feature-card.accent-card .feature-label { color: #3d5a00; opacity: 1; }

.feature-label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 22px;
}
.feature-icon svg { width: 24px; height: 24px; fill: currentColor; }
.feature-icon.green-bg { background: var(--green); color: #000; }
.feature-icon.pink-bg { background: var(--team1); color: #000; }
.feature-icon.cyan-bg { background: var(--team2); color: #000; }
.feature-icon.dark-bg { background: #8E8E93; color: #000; }

.feature-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.3px; }
.feature-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* =================== STATS BANNER =================== */
.stats-banner { max-width: 1200px; margin: 0 auto 0; padding: 0 32px 100px; }
.stats-inner {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 60px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  position: relative; overflow: hidden;
}
.stats-inner::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 280px; height: 280px; background: var(--green);
  border-radius: 50%; opacity: 0.04;
}
.stats-inner::after {
  content: ''; position: absolute; bottom: -90px; left: -90px;
  width: 260px; height: 260px; background: var(--team1);
  border-radius: 50%; opacity: 0.05;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 48px; font-weight: 900; color: var(--green);
  letter-spacing: -2px; line-height: 1; margin-bottom: 8px;
}
.stat-number.n-pink { color: var(--team1); }
.stat-number.n-cyan { color: var(--team2); }
.stat-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
}

/* =================== PRO CHIP =================== */
.pro-chip {
  display: inline-block; vertical-align: middle;
  margin-left: 7px; padding: 2px 8px; border-radius: 100px;
  background: var(--green); color: #000;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  line-height: 1.5; white-space: nowrap;
}
.section-label .pro-chip { margin-left: 8px; }

/* Invisible alias target so old #tournaments links still resolve */
.anchor-alias { display: block; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =================== PRICING =================== */
.pricing-section { max-width: 1200px; margin: 0 auto; padding: 0 32px 100px; }
.pricing-section .section-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
}
.pricing-section h2 {
  font-size: clamp(34px, 4.4vw, 56px); font-weight: 900;
  line-height: 1.05; letter-spacing: -1.6px; margin-bottom: 20px;
}
.pricing-section .section-intro { max-width: 720px; margin-bottom: 40px; }
.pricing-section .section-intro strong { color: var(--text); font-weight: 700; }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.tier-card {
  position: relative; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px 26px; display: flex; flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.tier-card:hover { transform: translateY(-4px); border-color: #4a4a4d; }
.tier-card.tier-featured {
  border-color: var(--green);
  box-shadow: 0 16px 60px rgba(201,253,105,0.07);
}
.tier-flag {
  position: absolute; top: -11px; left: 26px;
  background: var(--green); color: #000; padding: 4px 12px; border-radius: 100px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
}
.tier-name {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.tier-featured .tier-name { color: var(--green); }
.tier-price { display: flex; align-items: baseline; gap: 6px; }
.tier-amount { font-size: 44px; font-weight: 900; letter-spacing: -2px; line-height: 1; }
.tier-period { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.tier-sub {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  margin-top: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.tier-list { list-style: none; display: grid; gap: 12px; padding: 20px 0 24px; flex: 1; }
.tier-list li {
  position: relative; padding-left: 24px;
  font-size: 14px; line-height: 1.6; color: var(--muted);
}
.tier-list li strong { color: var(--text); font-weight: 700; }
.tier-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg);
  background: var(--border);
}
.tier-pro .tier-list li::before { background: var(--green); }
.tier-cta {
  display: block; text-align: center; text-decoration: none;
  background: var(--green); color: #000; padding: 14px 20px;
  border-radius: 100px; font-weight: 800; font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tier-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,253,105,0.18); }
.tier-cta-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--border);
}
.tier-cta-ghost:hover { border-color: var(--muted); box-shadow: none; }

/* ---- Comparison table ---- */
.compare-wrap {
  margin-top: 28px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 15px 20px; text-align: left; }
.compare thead th {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.compare thead th.col-pro { color: var(--green); }
.compare tbody th {
  font-size: 14.5px; font-weight: 500; color: var(--text); line-height: 1.5;
}
.compare tbody td {
  width: 96px; text-align: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid rgba(58,58,60,0.55); }
.compare td.yes { color: var(--green); }
.compare td.no { color: #6a6a6e; }
.compare td.col-pro { background: rgba(201,253,105,0.04); }

/* ---- Objection lines + small print ---- */
.pricing-answers {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 28px;
}
.pricing-answers li {
  position: relative; padding-left: 24px;
  font-size: 14.5px; line-height: 1.65; color: var(--muted);
}
.pricing-answers li strong { color: var(--text); font-weight: 700; }
.pricing-answers li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg);
  background: var(--green);
}
.pricing-fineprint {
  margin-top: 28px; max-width: 900px;
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.8; color: #77777c;
}
.pricing-fineprint a { color: var(--muted); }

@media (max-width: 900px) {
  .tier-grid { grid-template-columns: 1fr; }
  .tier-featured { order: -1; }
  .pricing-answers { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
  .pricing-section { padding: 0 16px 80px; }
  .compare th, .compare td { padding: 12px 12px; }
  .compare tbody th { font-size: 13.5px; }
  .compare tbody td { width: 62px; font-size: 10px; }
}

/* =================== CTA =================== */
.cta-section { max-width: 1200px; margin: 0 auto; padding: 0 32px 120px; }
.cta-inner {
  background: var(--green); border-radius: 24px;
  padding: 80px 60px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; bottom: -100px; left: -100px;
  width: 300px; height: 300px; background: #000;
  border-radius: 50%; opacity: 0.06;
}
.cta-inner h2 {
  font-size: clamp(36px, 4vw, 52px); font-weight: 900;
  letter-spacing: -2px; line-height: 1.1; margin-bottom: 20px;
  color: #000; position: relative;
}
.cta-inner p {
  font-size: 16px; color: #2f4500;
  margin-bottom: 36px; max-width: 480px;
  margin-left: auto; margin-right: auto; line-height: 1.7; position: relative;
}
.cta-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #2f4500; border: 1.5px solid rgba(0,0,0,0.35); border-radius: 100px;
  padding: 7px 18px; margin-bottom: 24px; position: relative;
}
.btn-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; padding: 18px 36px;
  border-radius: 100px; font-weight: 800; font-size: 16px;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.btn-dark svg { width: 20px; height: 20px; }
.cta-note {
  margin-top: 18px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 1px; color: #2f4500; position: relative;
}

/* =================== FOOTER =================== */
footer { border-top: 1px solid var(--border); padding: 40px 32px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-left { display: flex; align-items: center; gap: 24px; }
.footer-copy { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* =================== LEGAL PAGES =================== */
.legal { max-width: 760px; margin: 0 auto; padding: 130px 32px 100px; }
.legal h1 { font-size: 36px; font-weight: 900; letter-spacing: -1px; margin-bottom: 8px; }
.legal .updated {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 40px;
}
.legal h2 { font-size: 20px; font-weight: 800; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; color: var(--muted); }
.legal ul { padding-left: 22px; margin: 12px 0; }
.legal a { color: var(--green); }

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .screen-cards { grid-template-columns: repeat(2, 1fr); }
  .hero { gap: 32px; padding: 130px 24px 60px; }
  .phone-frame { width: 220px; }
  .landscape-frame { width: 380px; right: 0; bottom: 150px; }
  .scoreboard { height: 172px; }
  .score-num { font-size: 76px; }
  .watch-mock { width: 132px; left: -12px; }
  .watch-body { width: 132px; height: 152px; border-radius: 43px; padding: 7px; }
  .watch-body::after { inset: 5px; border-radius: 38px; }
  .watch-screen { border-radius: 36px; padding: 12px 9px 9px; }
  .watch-band { width: 72px; height: 30px; margin: 0 auto -10px; }
  .watch-band.bottom { margin: -10px auto 0; }
  .watch-crown { right: -4px; top: 34px; width: 5px; height: 27px; }
  .watch-btn { right: -3px; top: 76px; width: 4px; height: 33px; }
  .watch-panel .wnum { font-size: 24px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(0,0,0,0.95); border-bottom: 1px solid var(--border); padding: 16px 32px; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; }
  .nav-toggle { display: flex; }

  .hero { grid-template-columns: 1fr; padding: 120px 24px 40px; gap: 40px; }
  .hero-content { max-width: 600px; }

  .hero-visual { min-height: 480px; }
  .phone-frame { width: 250px; }
  .landscape-frame { width: 420px; right: 0; bottom: 120px; }
  .scoreboard { height: 190px; }
  .score-num { font-size: 84px; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 40px; }
  .cta-inner { padding: 48px 24px; }
}

/* Phone: stacked composition, nothing bleeds off-screen */
@media (max-width: 600px) {
  .hero { padding: 100px 16px 32px; gap: 28px; }

  .hero-visual {
    min-height: 0;
    display: flex; flex-direction: column; align-items: center;
  }
  .hero-visual::before { inset: -40px 0; }
  .phone-frame { width: 56vw; max-width: 230px; }
  .landscape-frame {
    position: relative; right: auto; bottom: auto;
    width: 100%; max-width: 420px; margin-top: -64px;
  }
  .scoreboard { height: 44vw; max-height: 185px; }
  .score-num { font-size: clamp(48px, 19vw, 80px); }
  .watch-mock {
    width: 100px; left: auto; right: 16px; bottom: -58px;
    transform: rotate(8deg);
  }
  .watch-panel .wnum { font-size: 18px; }
  .watch-body { width: 106px; height: 122px; border-radius: 34px; padding: 6px; }
  .watch-body::before { padding: 2px; }
  .watch-body::after { inset: 4px; border-radius: 30px; }
  .watch-screen { border-radius: 28px; padding: 9px 8px 8px; }
  .watch-band { width: 58px; height: 26px; margin: 0 auto -9px; }
  .watch-band.bottom { margin: -9px auto 0; }
  .watch-status .wtime { font-size: 9px; }
  .watch-crown { top: 28px; height: 22px; width: 4px; right: -3px; }
  .watch-btn { top: 60px; height: 26px; width: 3px; right: -2px; }

  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .screen-cards { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 700px) {
  .features-grid { grid-template-columns: 1fr; }
}
