:root {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --ink: #121216;
  --muted: #5d5d68;
  --line: rgba(18, 18, 22, .1);
  --fs: #7b4dff;           /* FanSight violet */
  --fs-deep: #17132f;
  --fs-soft: #b9a6ff;
  --jr: #30d159;           /* JustReal green (the app's tint) */
  --jr-deep: #0b0b0c;
  --radius: 28px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --surface: #18181b;
    --ink: #f2f2f4;
    --muted: #a3a3ad;
    --line: rgba(255, 255, 255, .1);
    --fs-deep: #1a1535;
    --jr-deep: #141416;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-left));
}

.skip {
  position: absolute; left: 12px; top: -48px;
  background: var(--ink); color: var(--bg);
  padding: 8px 14px; border-radius: 10px; z-index: 10;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2.5px solid var(--fs); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: -.025em; text-decoration: none;
}
.mark { width: 28px; height: 20px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 550;
  padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--ink); background: var(--line); }

/* Hero */
.hero { padding-top: clamp(56px, 10vw, 120px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero h1 {
  margin: 0; max-width: 13ch;
  font-size: clamp(46px, 7.6vw, 96px); line-height: 1.0; font-weight: 800; letter-spacing: -.045em;
}
.hl-live { color: var(--fs); }
.hl-real { color: var(--jr); }
@media (prefers-color-scheme: light) { .hero .hl-real { color: #1fa845; } }
.lede {
  margin: 28px 0 0; max-width: 40em;
  font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted);
}

.jump { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.jump a {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px 10px 10px; min-width: 270px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.jump a:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -14px rgba(0,0,0,.35); }
.jump span { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); line-height: 1.3; flex: 1; }
.jump strong { color: var(--ink); font-size: 16px; }
.jump-icon { width: 40px; height: 40px; border-radius: 10px; }
.jump svg, .btn svg, .text-link svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.jump svg { color: var(--muted); }
.fs-icon { background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }

/* Product sections */
.product { padding: 0 max(12px, env(safe-area-inset-left)); margin-bottom: 16px; }
.product > .container {
  border-radius: var(--radius);
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
  padding-left: clamp(24px, 5vw, 72px);
  padding-right: clamp(24px, 5vw, 72px);
  max-width: 1240px;
}
.product-fs > .container {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(123, 77, 255, .35), transparent 60%),
    radial-gradient(80% 70% at 0% 100%, rgba(83, 74, 183, .3), transparent 60%),
    var(--fs-deep);
  color: #f3f1ff;
}
.product-jr > .container {
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(48, 209, 89, .16), transparent 60%),
    var(--jr-deep);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.product-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center;
}
.product-grid-flip .product-copy { order: 2; }
.product-grid-flip .product-visual { order: 1; }

.product-name {
  display: flex; align-items: center; gap: 12px; margin: 0 0 24px;
  font-weight: 750; font-size: 19px; letter-spacing: -.015em;
}
.product-name span { font-weight: 500; opacity: .6; }
.product-icon { width: 44px; height: 44px; border-radius: 11px; }

.product h2 {
  margin: 0; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; font-weight: 800; letter-spacing: -.04em;
  max-width: 14ch;
}
.product-jr h2 { font-family: var(--rounded); letter-spacing: -.03em; }
.product-lede { margin: 20px 0 0; font-size: 18px; line-height: 1.55; opacity: .78; max-width: 34em; }

.features { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.features li {
  position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5;
}
.features li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--dot); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 22%, transparent);
}
.product-fs .features li { --dot: var(--fs-soft); color: rgba(243, 241, 255, .7); }
.product-jr .features li { --dot: var(--jr); color: rgba(255, 255, 255, .64); }
.features strong { display: block; font-size: 16px; font-weight: 650; color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none;
  transition: transform .15s, filter .15s;
}
.btn-fs { background: var(--fs); color: #fff; box-shadow: 0 10px 30px -12px rgba(123, 77, 255, .9); }
.btn-fs:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-soon {
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.85);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); cursor: default;
}
.text-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15.5px;
  color: var(--jr); text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* FanSight mock */
.fs-mock { position: relative; }
.fs-stream {
  display: grid; grid-template-columns: 1fr 34%;
  border-radius: 18px; overflow: hidden;
  background: #0e0e12;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.7);
}
.fs-video {
  position: relative; aspect-ratio: 16 / 11;
  background:
    radial-gradient(40% 50% at 30% 70%, rgba(123, 77, 255, .55), transparent 70%),
    radial-gradient(35% 45% at 75% 35%, rgba(64, 150, 255, .45), transparent 70%),
    radial-gradient(60% 40% at 50% 100%, rgba(255, 90, 160, .25), transparent 70%),
    linear-gradient(160deg, #1c1640, #0d0b1d);
}
.fs-video::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%);
}
.fs-live {
  position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px;
  background: #e91916; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 7px; border-radius: 5px;
}
.fs-live i { width: 5px; height: 5px; background: #fff; border-radius: 50%; }
.fs-cam {
  position: absolute; right: 12px; top: 12px; width: 30%; aspect-ratio: 4 / 3; border-radius: 10px;
  background:
    radial-gradient(circle at 50% 40%, #2b2550 0 17%, transparent 18%),
    radial-gradient(ellipse 42% 36% at 50% 100%, #2b2550 0 98%, transparent 100%),
    linear-gradient(160deg, #5a3fd1, #2d2470);
  box-shadow: 0 0 0 1.5px rgba(185,166,255,.8);
}
.fs-lower {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(10, 8, 24, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(185,166,255,.35);
}
.fs-lower-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700; color: var(--fs-soft);
}
.fs-lower-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--fs-soft); animation: pulse 1.6s ease-in-out infinite; }
.fs-lower-title { grid-row: 2; font-weight: 700; font-size: 15px; color: #fff; }
.fs-lower-bid { grid-row: 1 / 3; grid-column: 2; align-self: center; font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -.02em; }

.fs-chat { padding: 12px 12px 14px; border-left: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; }
.fs-chat-head { margin: 0 0 10px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.5); }
.fs-chat ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 8px; font-size: 12px; line-height: 1.35; color: rgba(255,255,255,.82); }
.fs-chat b { font-weight: 700; margin-right: 4px; }
.fs-bot { background: rgba(123,77,255,.18); border-radius: 8px; padding: 6px 8px; margin: 0 -4px; }
.fs-bot b { color: var(--fs-soft); }

.fs-panel {
  position: relative; margin: -18px 0 0 -18px; width: min(300px, 64%);
  background: #fff; color: #17163a; border-radius: 18px; padding: 16px 16px 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(123,77,255,.2);
}
.fs-panel-tag { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #534ab7; }
.fs-panel-title { margin: 4px 0 12px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.fs-panel-stats { display: flex; gap: 22px; }
.fs-panel-stats span { display: flex; flex-direction: column; font-size: 20px; font-weight: 800; color: #5b2fe0; letter-spacing: -.02em; }
.fs-panel-stats small { font-size: 11px; font-weight: 600; color: #6c6a86; letter-spacing: 0; }
.fs-timer { height: 4px; border-radius: 4px; background: #eeedfe; margin: 12px 0; overflow: hidden; }
.fs-timer i { display: block; height: 100%; width: 100%; transform: scaleX(.4); transform-origin: left; background: linear-gradient(90deg, #7b4dff, #9146ff); border-radius: inherit; animation: drain 16s linear infinite; }
.fs-bid-row { display: flex; gap: 8px; }
.fs-input { flex: 1; height: 38px; border-radius: 10px; border: 1.5px solid #cecbf6; display: flex; align-items: center; padding: 0 12px; font-weight: 700; color: #17163a; }
.fs-btn { height: 38px; border-radius: 10px; background: linear-gradient(90deg, #6d35ff, #7b4dff); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; padding: 0 14px; }

/* JustReal mock */
.jr-mock { position: relative; display: flex; justify-content: center; padding: 8px 0 40px; }
.jr-phone {
  width: min(300px, 70%); aspect-ratio: 9 / 18.5;
  background: #000; border-radius: 44px; padding: 10px;
  box-shadow: 0 0 0 1.5px #2c2c2e, 0 0 0 5px #121214, 0 50px 90px -30px rgba(0,0,0,.9);
  transform: translateX(-14%);
}
.jr-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.jr-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.jr-verified {
  position: absolute; left: 50%; top: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 13px/1 var(--rounded); color: #fff;
  background: rgba(0,0,0,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 7px 11px 7px 8px; border-radius: 999px;
}
.jr-verified svg { width: 16px; height: 16px; }
.jr-verified circle { fill: var(--jr); }
.jr-verified path { fill: none; stroke: #000; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jr-watermark {
  position: absolute; right: 12px; bottom: 14px;
  font: 600 10.5px/1 var(--rounded); color: rgba(255,255,255,.85); letter-spacing: .01em;
  background: rgba(0,0,0,.4); padding: 5px 8px; border-radius: 7px;
}
.jr-watermark b { color: var(--jr); font-weight: 800; }

.jr-card {
  position: absolute; right: 0; bottom: 0; width: min(330px, 70%);
  display: flex; gap: 14px; align-items: center;
  background: #1c1c1e; border-radius: 22px; padding: 14px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px -20px rgba(0,0,0,.8);
}
.jr-qr { width: 92px; height: 92px; border-radius: 10px; flex: none; }
.jr-card-title { margin: 0; font: 800 17px/1.15 var(--rounded); color: #fff; }
.jr-card-body { margin: 5px 0 6px; font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.6); }
.jr-card-id { margin: 0; font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace; color: rgba(255,255,255,.4); }

/* Contact */
.contact { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); text-align: center; }
.contact h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.04em; }
.contact p { margin: 12px 0 24px; color: var(--muted); font-size: 18px; }
.contact-email {
  display: inline-block; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em;
  text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 4px; transition: border-color .15s;
}
.contact-email:hover { border-color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 max(32px, env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.copyright { margin: 0 auto 0 0; }
.site-footer nav { display: flex; gap: 14px; }
.site-footer nav span { color: var(--ink); font-weight: 600; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@keyframes pulse { 50% { opacity: .35; } }
@keyframes drain { from { transform: scaleX(.6); } to { transform: scaleX(.04); } }
@media (prefers-reduced-motion: reduce) {
  .fs-lower-tag i, .fs-timer i { animation: none; }
}

/* Narrow screens */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-grid-flip .product-copy { order: 1; }
  .product-grid-flip .product-visual { order: 2; }
  .fs-panel { margin-left: 12px; }
}
@media (max-width: 560px) {
  .site-nav a:not(:last-child) { display: none; }
  .jump a { min-width: 0; width: 100%; }
  .jump li { flex: 1 1 100%; }
  .fs-stream { grid-template-columns: 1fr; }
  .fs-chat { display: none; }
  .fs-panel { width: 86%; }
  .jr-phone { transform: none; width: 78%; }
  .jr-mock { flex-direction: column; align-items: center; gap: 0; padding-bottom: 0; }
  .jr-card { position: relative; width: 100%; margin-top: -60px; }
  .product > .container { border-radius: 22px; }
}
