/* Score.ai — marketing site
   Deep glossy purple + black, athletic. */

:root {
  --bg:      #08050E;
  --ink:     #FFFFFF;
  --muted:   rgba(236,230,247,0.64);
  --faint:   rgba(236,230,247,0.40);
  --line:    rgba(168,138,232,0.16);
  --line-2:  rgba(168,138,232,0.10);
  --card:    rgba(141,90,220,0.07);
  --card-2:  rgba(141,90,220,0.12);
  --purple:  #8B3DF5;
  --bright:  #A855F7;
  --glow:    #C77DFF;
  --ok:      #5BE3B0;
  --sans:    'Saira', system-ui, sans-serif;
  --cond:    'Saira Condensed', 'Saira', sans-serif;
  --semi:    'Saira Semi Condensed', 'Saira', sans-serif;
  --maxw:    1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ambient page glows */
.bg-glows { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-glows::before, .bg-glows::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.5;
}
.bg-glows::before {
  width: 760px; height: 760px; top: -260px; left: 50%; transform: translateX(-46%);
  background: radial-gradient(circle, #5A22B0 0%, transparent 68%);
}
.bg-glows::after {
  width: 620px; height: 620px; top: 1180px; left: -180px;
  background: radial-gradient(circle, #3A1480 0%, transparent 70%);
  opacity: 0.42;
}

.wrap { position: relative; z-index: 1; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ── eyebrow / shared ── */
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--glow);
}
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--glow); padding: 6px 12px; border-radius: 999px;
  background: var(--card-2); border: 1px solid var(--line); white-space: nowrap;
}

/* glossy purple button */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--semi); font-weight: 800; letter-spacing: 0.6px;
  text-transform: uppercase; cursor: pointer; border: none;
  white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease;
}
.btn-primary {
  height: 56px; padding: 0 28px; border-radius: 16px; font-size: 16px; color: #fff;
  background: linear-gradient(176deg, #B06BFF 0%, #8B3DF5 44%, #6A23C9 80%, #4E168F 100%);
  box-shadow: 0 16px 38px rgba(123,45,222,0.5), inset 0 2px 0 rgba(255,255,255,0.24), inset 0 -8px 18px rgba(50,10,90,0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(123,45,222,0.62), inset 0 2px 0 rgba(255,255,255,0.28); }
.btn-ghost {
  height: 56px; padding: 0 24px; border-radius: 16px; font-size: 15px; color: #fff;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--glow); }
.btn-sm { height: 44px; padding: 0 20px; border-radius: 12px; font-size: 14px; }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(8,5,14,0.62); border-bottom: 1px solid var(--line-2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--semi); font-weight: 800; font-size: 20px; letter-spacing: 0.2px; }
.brand .dot { color: var(--glow); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(176deg, #A85CFF, #8B3DF5 55%, #6320BE);
  box-shadow: 0 4px 14px rgba(110,40,200,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-logo { display: block; height: 44px; width: auto; }
.brand-logo-lg { height: 56px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ── hero ── */
.hero { padding: 96px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 {
  font-family: var(--cond); font-weight: 800; font-size: clamp(48px, 6.4vw, 88px);
  line-height: 0.92; letter-spacing: -1.2px; margin: 20px 0 0;
}
.grad {
  background: linear-gradient(100deg, #C77DFF 0%, #8B3DF5 60%, #6A23C9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
  font-size: 19px; line-height: 1.5; color: var(--muted); margin: 24px 0 0; max-width: 520px;
}
.hero-quote {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 10px 16px; border-radius: 12px; background: var(--card);
  border: 1px solid var(--line); font-size: 15px; color: var(--ink);
}
.hero-quote b { font-family: var(--cond); font-weight: 700; color: var(--glow); letter-spacing: 0.2px; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { margin-top: 20px; font-size: 13.5px; color: var(--faint); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--glow); }

/* phone cluster */
.phone-cluster { position: relative; display: flex; justify-content: center; align-items: center; min-height: 660px; }
.phone-cluster .bloom {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,61,245,0.45), transparent 64%);
  filter: blur(40px); z-index: 0;
}
.ph { position: relative; z-index: 1; }
.ph-front { z-index: 3; }
.ph-back { position: absolute; z-index: 2; }

/* phone scaler — clip the inner un-scaled 402px screen to the scaled frame
   so its layout box doesn't push horizontal page overflow */
.phone-frame { position: relative; overflow: hidden; }

/* ── steps ── */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 {
  font-family: var(--cond); font-weight: 800; font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.0; letter-spacing: -0.6px; margin: 16px 0 0;
}
.section-head p { font-size: 17px; line-height: 1.55; color: var(--muted); margin: 16px auto 0; max-width: 560px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; }
.step-phone { display: flex; justify-content: center; margin-bottom: 28px; position: relative; }
.step-phone .glow {
  position: absolute; bottom: 8%; width: 70%; height: 60%; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,61,245,0.4), transparent 70%); filter: blur(36px); z-index: 0;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; font-family: var(--cond); font-weight: 800; font-size: 18px;
  background: var(--card-2); border: 1px solid var(--line); color: var(--glow); margin-bottom: 14px;
}
.step h3 { font-family: var(--semi); font-weight: 700; font-size: 22px; margin: 0 0 10px; letter-spacing: -0.2px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0 auto; max-width: 300px; }

/* ── features ── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 26px; transition: border-color .2s, background .2s, transform .2s;
}
.feat:hover { border-color: rgba(199,125,255,0.4); background: var(--card-2); transform: translateY(-3px); }
.feat-ic {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(176deg, rgba(168,92,255,0.28), rgba(99,32,190,0.18));
  border: 1px solid var(--line);
}
.feat h3 { font-family: var(--semi); font-weight: 700; font-size: 19px; margin: 0 0 9px; letter-spacing: -0.2px; }
.feat p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ── showcase band ── */
.showcase {
  position: relative; border-radius: 32px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(141,90,220,0.18), rgba(28,12,52,0.4));
  padding: 64px 56px;
}
.showcase-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.showcase h2 {
  font-family: var(--cond); font-weight: 800; font-size: clamp(34px, 4vw, 52px);
  line-height: 1.0; letter-spacing: -0.6px; margin: 18px 0 0;
}
.showcase p { font-size: 17px; line-height: 1.55; color: var(--muted); margin: 18px 0 0; max-width: 460px; }
.showcase-stats { display: flex; gap: 36px; margin-top: 32px; }
.showcase-stats .num { font-family: var(--cond); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -1px; }
.showcase-stats .num .grad2 { color: var(--glow); }
.showcase-stats .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* confirm card replica */
.confirm-card {
  border-radius: 22px; padding: 22px;
  background: linear-gradient(180deg, rgba(46,20,82,0.92), rgba(28,12,52,0.92));
  border: 1px solid rgba(199,125,255,0.4);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
}
.confirm-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.confirm-head .heard { font-size: 14px; color: var(--muted); font-style: italic; }
.confirm-body { display: flex; align-items: center; gap: 16px; }
.jersey {
  width: 60px; height: 60px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(176deg, #A85CFF, #8B3DF5 50%, #6320BE);
  box-shadow: 0 6px 16px rgba(110,40,200,0.5), inset 0 1px 0 rgba(255,255,255,0.22);
  font-family: var(--cond); font-weight: 800; font-size: 30px; color: #fff;
}
.confirm-body .pname { font-size: 14px; color: var(--muted); font-weight: 600; }
.confirm-body .play { display: flex; align-items: baseline; gap: 9px; }
.confirm-body .play .big { font-family: var(--cond); font-weight: 800; font-size: 40px; letter-spacing: -0.5px; line-height: 1; }
.confirm-body .play .plus { font-family: var(--cond); font-weight: 700; font-size: 22px; color: var(--glow); }
.confirm-check {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; margin-left: auto;
  background: rgba(91,227,176,0.16); border: 1.5px solid rgba(91,227,176,0.6);
  display: flex; align-items: center; justify-content: center;
}
.confirm-undo {
  margin-top: 16px; height: 48px; border-radius: 14px; width: 100%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; white-space: nowrap;
}
.waveform { display: flex; align-items: center; gap: 5px; height: 28px; }
.waveform i {
  width: 4px; border-radius: 4px; background: linear-gradient(180deg, #C77DFF, #8B3DF5);
  animation: vu 0.8s ease-in-out infinite alternate;
}

/* ── final cta ── */
.cta {
  text-align: center; padding: 110px 0 100px; position: relative;
  overflow: hidden; /* contain the 600px centered glow below */
}
.cta::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,61,245,0.32), transparent 66%); filter: blur(50px);
}
.cta-inner { position: relative; }
.cta h2 {
  font-family: var(--cond); font-weight: 800; font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.96; letter-spacing: -1px; margin: 16px auto 0; max-width: 760px;
}
.cta p { font-size: 18px; color: var(--muted); margin: 22px auto 0; max-width: 480px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

/* ── footer ── */
.footer { border-top: 1px solid var(--line-2); padding: 44px 0 56px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .tag { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 14px; max-width: 280px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; font-weight: 700; }
.footer-col a { display: block; font-size: 14.5px; color: var(--muted); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-base {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--faint);
}

@keyframes vu { from { height: 8px; } to { height: 26px; } }

/* ── responsive ── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .phone-cluster { min-height: 560px; margin-top: 12px; }
  .showcase-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; gap: 56px; max-width: 420px; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 68px 0; }
  .features { grid-template-columns: 1fr; }
  .showcase { padding: 44px 24px; border-radius: 24px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  /* hero phone cluster: drop the offset back phone, center the front one
     (inline translate offsets were spilling past the viewport edge) */
  .phone-cluster { min-height: 0; padding: 8px 0 4px; }
  .ph-back { display: none; }
  .ph-front { position: relative; transform: none !important; z-index: 1; }
  .phone-cluster .bloom { width: 360px; height: 360px; }
  /* lighter ambient glows — big blur radii are costly on mobile GPUs */
  .bg-glows::before { width: 460px; height: 460px; top: -180px; filter: blur(90px); }
  .bg-glows::after { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .nav-inner { height: 60px; }
  .brand { font-size: 18px; }
  .btn-sm { padding: 0 16px; font-size: 13px; }
  .hero p.lede { font-size: 17px; }
  .showcase { padding: 36px 20px; }
  .showcase-stats { gap: 16px; }
  .showcase-stats > div { min-width: 0; flex: 1; }
  .showcase-stats .num { font-size: 32px; }
  .showcase-stats .lbl { font-size: 12px; }
  /* confirm card: shrink so its min-content fits a ~320px column */
  .confirm-card { padding: 18px; }
  .confirm-body { gap: 12px; }
  .jersey { width: 52px; height: 52px; font-size: 26px; }
  .confirm-body .play .big { font-size: 32px; }
  .confirm-body .play .plus { font-size: 19px; }
  .confirm-check { width: 42px; height: 42px; }
  .section-head { margin-bottom: 44px; }
  .footer-cols { gap: 36px; }
  .cta { padding: 84px 0 80px; }
  .phone-cluster { overflow: hidden; }
  .phone-cluster .bloom { width: 260px; height: 260px; }
}
