:root {
  --bg: #05070f;
  --bg-2: #0a0e1c;
  --panel: rgba(18, 24, 44, 0.62);
  --panel-solid: #0e1428;
  --line: rgba(120, 150, 220, 0.14);
  --line-strong: rgba(130, 170, 255, 0.28);
  --text: #eaf0ff;
  --muted: #8b97b8;
  --brand: #35e0ff;
  --brand-2: #7a6bff;
  --brand-3: #ff5fa2;
  --gold: #ffce6b;
  --grad: linear-gradient(120deg, #35e0ff 0%, #7a6bff 55%, #ff5fa2 100%);
  --grad-soft: linear-gradient(120deg, rgba(53, 224, 255, 0.16), rgba(122, 107, 255, 0.16));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --glow: 0 0 40px -8px rgba(53, 224, 255, 0.55);
  --font: "Outfit", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: 0.2px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(53, 224, 255, 0.14), transparent 60%),
    radial-gradient(900px 620px at 92% 4%, rgba(122, 107, 255, 0.16), transparent 58%),
    radial-gradient(800px 700px at 50% 110%, rgba(255, 95, 162, 0.10), transparent 60%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(130, 170, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 170, 255, 0.05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(1200px, 92vw); margin: 0 auto; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 15, 0.62);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 7, 15, 0.86);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.24rem; letter-spacing: 3px; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 1.05rem; font-weight: 800; color: #05070f;
  box-shadow: var(--glow);
}
.logo small { display:block; font-size: .58rem; letter-spacing: 2.5px; color: var(--muted); font-weight: 500; letter-spacing: 2px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: .95rem; color: var(--muted); position: relative; padding: 6px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); transition: width .3s; border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid var(--line-strong); color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 12px 34px -14px rgba(53, 224, 255, .8); }
.btn.primary {
  background: var(--grad); color: #05070f; border-color: transparent;
  box-shadow: 0 16px 44px -18px rgba(122, 107, 255, .95);
}
.btn.primary:hover { box-shadow: 0 22px 54px -18px rgba(53, 224, 255, .95); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }

.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--grad-soft);
  font-size: .78rem; letter-spacing: 1.5px; color: var(--text);
  text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px var(--brand); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .4; transform: scale(.7);} }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.12; font-weight: 800; margin: 26px 0 22px;
  letter-spacing: -.5px;
}
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 40px; margin-top: 54px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 2rem; font-weight: 800; }
.hero-stats .stat span { font-size: .82rem; color: var(--muted); letter-spacing: .5px; }

/* Hero visual card */
.hero-visual { position: relative; }
.glass-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(24, 32, 58, .9), rgba(10, 14, 28, .9));
  box-shadow: var(--shadow);
  padding: 26px;
  overflow: hidden;
}
.glass-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 220px at 100% 0%, rgba(122, 107, 255, .22), transparent 70%);
  pointer-events: none;
}
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; position: relative; }
.card-head .title { font-size: .82rem; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; color: var(--brand); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); animation: pulse 1.5s infinite; }

.match-row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 14px; margin-bottom: 12px;
  background: rgba(255, 255, 255, .025); border: 1px solid var(--line);
  position: relative;
}
.match-row .team { display: flex; flex-direction: column; gap: 3px; }
.match-row .team.right { align-items: flex-end; text-align: right; }
.match-row .team b { font-size: 1rem; }
.match-row .team span { font-size: .72rem; color: var(--muted); }
.match-row .score { font-weight: 800; font-size: 1.1rem; color: var(--muted); letter-spacing: 1px; }

.prob { position: relative; margin-top: 6px; }
.prob-labels { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-bottom: 8px; }
.prob-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; display: flex; }
.prob-bar i { height: 100%; display: block; }
.prob-bar .p1 { background: linear-gradient(90deg, #35e0ff, #4f8bff); }
.prob-bar .p2 { background: linear-gradient(90deg, #7a6bff, #b06bff); }
.prob-bar .p3 { background: linear-gradient(90deg, #ff5fa2, #ff8a5f); }

.ai-note {
  margin-top: 18px; padding: 14px 16px; border-radius: 14px;
  background: var(--grad-soft); border: 1px solid var(--line-strong);
  font-size: .86rem; color: var(--text); display: flex; gap: 12px; align-items: flex-start;
}
.ai-note .ico { color: var(--brand); font-size: 1.1rem; line-height: 1.2; }

.floating {
  position: absolute; border-radius: 16px; border: 1px solid var(--line-strong);
  background: rgba(10, 14, 28, .88); backdrop-filter: blur(12px);
  padding: 12px 16px; box-shadow: var(--shadow); font-size: .8rem;
}
.floating.f1 { top: -22px; right: -14px; animation: float 5s ease-in-out infinite; }
.floating.f2 { bottom: -18px; left: -20px; animation: float 6s ease-in-out infinite .8s; }
.floating b { display: block; font-size: 1.05rem; }
.floating .up { color: #4dffb0; font-size: .78rem; }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0; overflow: hidden; background: rgba(255,255,255,.015);
}
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scroll 28s linear infinite; }
.marquee-track span { color: var(--muted); font-size: .95rem; letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; }
.marquee-track span.sep { color: var(--brand); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 62px; }
.section-head .kicker {
  font-size: .78rem; letter-spacing: 3px; text-transform: uppercase; color: var(--brand);
  display: inline-block; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; line-height: 1.2; letter-spacing: -.4px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.02rem; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
  backdrop-filter: blur(12px);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.feature::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(380px 160px at 50% -20%, rgba(53, 224, 255, .14), transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.feature:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(53, 224, 255, .5); }
.feature:hover::after { opacity: 1; }
.feature .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 20px;
  background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--brand);
}
.feature h3 { font-size: 1.18rem; margin-bottom: 12px; font-weight: 700; }
.feature p { color: var(--muted); font-size: .94rem; }
.feature ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.feature ul li { font-size: .86rem; color: var(--muted); padding-left: 20px; position: relative; }
.feature ul li::before { content: "›"; position: absolute; left: 4px; color: var(--brand); font-weight: 700; }

/* Steps / process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.step .num {
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9;
}
.step h3 { font-size: 1.08rem; margin: 16px 0 10px; }
.step p { color: var(--muted); font-size: .9rem; }

/* Tech / big feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.chip-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chip {
  padding: 9px 18px; border-radius: 999px; font-size: .84rem; color: var(--text);
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
}

.panel-visual {
  border-radius: 22px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, rgba(24,32,58,.9), rgba(10,14,28,.95));
  box-shadow: var(--shadow); padding: 20px;
}
.bars { display: flex; align-items: flex-end; gap: 12px; height: 190px; padding: 20px 6px 0; }
.bars .bar {
  flex: 1; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #35e0ff, rgba(53,224,255,.15));
  position: relative; animation: grow 1.4s ease both;
}
.bars .bar:nth-child(2) { background: linear-gradient(180deg, #7a6bff, rgba(122,107,255,.15)); }
.bars .bar:nth-child(3) { background: linear-gradient(180deg, #4f8bff, rgba(79,139,255,.15)); }
.bars .bar:nth-child(4) { background: linear-gradient(180deg, #ff5fa2, rgba(255,95,162,.15)); }
.bars .bar:nth-child(5) { background: linear-gradient(180deg, #ffce6b, rgba(255,206,107,.15)); }
@keyframes grow { from { height: 0 !important; opacity: 0; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; border-radius: 26px; padding: 66px 50px; text-align: center; overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(130deg, rgba(53,224,255,.14), rgba(122,107,255,.16) 50%, rgba(255,95,162,.12));
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, rgba(53,224,255,.25), transparent 70%);
}
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; position: relative; }
.cta p { color: var(--muted); max-width: 560px; margin: 18px auto 34px; position: relative; }
.cta .hero-actions { justify-content: center; position: relative; }

/* ---------- Tables (about) ---------- */
.info-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.info-table th, .info-table td { padding: 16px 22px; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--line); }
.info-table th { color: var(--muted); font-weight: 600; width: 220px; background: rgba(255,255,255,.02); }
.info-table tr:last-child td, .info-table tr:last-child th { border-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--brand); font-size: 1.2rem; flex: none; }
.contact-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p { color: var(--muted); font-size: .9rem; }

.form-card { padding: 38px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .84rem; color: var(--muted); margin-bottom: 9px; letter-spacing: .5px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; font-family: inherit; font-size: .95rem;
  background: rgba(0,0,0,.28); border: 1px solid var(--line); color: var(--text);
  transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(53,224,255,.15); }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 14px; }
.form-msg { margin-top: 16px; font-size: .88rem; color: #4dffb0; display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 66px 0 30px; background: rgba(3,5,11,.7); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: .9rem; margin-top: 18px; max-width: 320px; }
.footer-col h4 { font-size: .9rem; margin-bottom: 18px; letter-spacing: 1px; }
.footer-col a { display: block; color: var(--muted); font-size: .88rem; margin-bottom: 11px; transition: color .25s, padding-left .25s; }
.footer-col a:hover { color: var(--brand); padding-left: 4px; }
.footer-bottom {
  margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  color: var(--muted); font-size: .82rem;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 96px 0 56px; text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; margin: 20px 0 18px; letter-spacing: -.5px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.crumbs { font-size: .82rem; color: var(--muted); letter-spacing: 1px; }
.crumbs a:hover { color: var(--brand); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(5,7,15,.97); backdrop-filter: blur(20px);
    padding: 12px 0; border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform .35s; align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 15px 24px; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
  .nav .btn { display: none; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta { padding: 48px 26px; }
  .hero { padding: 70px 0 60px; }
  section { padding: 70px 0; }
  .hero-stats { gap: 26px; }
  .form-card { padding: 26px; }
}

.logo .mark { background: transparent !important; box-shadow: none !important; padding: 0 !important; object-fit: cover; }
