:root {
  color-scheme: dark;
  --bg: #07100d;
  --surface: #0c1814;
  --surface-strong: #12241e;
  --surface-soft: rgba(15, 31, 26, 0.72);
  --border: rgba(196, 255, 222, 0.12);
  --border-strong: rgba(76, 236, 152, 0.34);
  --text: #f1f8f4;
  --muted: #96aaa0;
  --green: #42e890;
  --green-strong: #20c974;
  --yellow: #dcff67;
  --orange: #ffad5b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(rgba(150, 255, 193, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 255, 193, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.hidden { display: none !important; }

.page-glow {
  position: fixed;
  z-index: -1;
  width: 540px;
  height: 540px;
  border-radius: 999px;
  filter: blur(140px);
  opacity: 0.13;
  pointer-events: none;
}
.page-glow-one { top: -180px; right: -130px; background: var(--green); }
.page-glow-two { top: 900px; left: -300px; background: #00a7a1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1220px, calc(100% - 32px));
  height: 76px;
  margin: 16px auto 0;
  padding: 0 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(7, 16, 13, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 760; letter-spacing: -0.02em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: var(--green); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark.small { width: 30px; height: 30px; border: 1px solid var(--border-strong); border-radius: 9px; font-size: 13px; }
.site-nav { display: flex; gap: 34px; color: var(--muted); font-size: 14px; }
.site-nav a { transition: color 160ms ease; }
.site-nav a:hover { color: var(--text); }
.header-download { padding: 10px 16px; border: 1px solid var(--border-strong); border-radius: 11px; color: var(--green); font-size: 13px; font-weight: 700; }

.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hero { min-height: 780px; padding: 118px 0 94px; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 72px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--green); font-size: 12px; font-weight: 760; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow span { width: 24px; height: 1px; background: currentColor; box-shadow: 8px 0 currentColor; }
.hero h1, .section-heading h2, .download-copy h2, .privacy-callout h2, .document-shell h1, .admin-title-row h1, .admin-login h1 {
  margin: 0;
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.055em;
}
.hero h1 { font-size: clamp(48px, 5.2vw, 76px); }
.hero h1 em { color: var(--green); font-style: normal; text-shadow: 0 0 34px rgba(66, 232, 144, 0.2); }
.hero-lead { max-width: 570px; margin: 28px 0 32px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; }
.button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 760; transition: transform 160ms ease, background 160ms ease, opacity 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button svg, .download-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: #04100a; background: var(--green); box-shadow: 0 12px 30px rgba(50, 220, 133, 0.2); }
.button-primary:hover { background: #65f4a7; }
.button-secondary { color: var(--text); background: rgba(255,255,255,0.045); border: 1px solid var(--border); }
.button.disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; box-shadow: none; }
.hero-meta { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 18px; color: #80968b; font-size: 12px; }
.hero-meta span { display: flex; align-items: center; gap: 7px; }
.hero-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.product-stage { position: relative; min-width: 660px; overflow: hidden; border: 1px solid rgba(133, 250, 185, 0.2); border-radius: 18px; background: #0b1210; box-shadow: var(--shadow), 0 0 80px rgba(47, 210, 126, 0.06); transform: perspective(1300px) rotateY(-4deg) rotateX(1deg); }
.product-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 1px rgba(255,255,255,0.05); border-radius: inherit; }
.stage-toolbar { height: 54px; padding: 0 16px; display: flex; align-items: center; gap: 21px; border-bottom: 1px solid #1e2925; color: #75847d; font-size: 10px; }
.stage-toolbar span { height: 54px; display: grid; place-items: center; }
.stage-toolbar .stage-logo { margin-right: 4px; color: #dce8e1; font-size: 12px; font-weight: 700; }
.stage-toolbar .active { position: relative; color: var(--green); }
.stage-toolbar .active::after { content: ""; position: absolute; bottom: 0; left: 5px; right: 5px; height: 2px; background: var(--green); }
.stage-main { height: 325px; display: grid; grid-template-columns: 210px 1fr; }
.stage-panel { padding: 20px 14px; border-right: 1px solid #1e2925; background: #0d1713; }
.stage-panel small { display: block; color: var(--green); font-size: 9px; }
.stage-panel > strong { display: block; margin: 5px 0 16px; font-size: 14px; }
.analysis-item { position: relative; margin: 9px 0; padding: 10px; display: grid; gap: 2px; border: 1px solid rgba(66,232,144,0.14); border-radius: 8px; background: rgba(66,232,144,0.035); }
.analysis-item b { font-size: 10px; }
.analysis-item span { color: #778b81; font-size: 8px; }
.analysis-item em { position: absolute; top: 9px; right: 8px; color: var(--green); font-size: 7px; font-style: normal; }
.stage-preview { display: grid; grid-template-rows: 1fr 36px; background: #070b0a; }
.court { position: relative; margin: 24px; overflow: hidden; background: linear-gradient(142deg, #1a865f, #0e6048 54%, #0d4938); box-shadow: inset 0 0 70px rgba(0,0,0,0.35); }
.court::before, .court::after { content: ""; position: absolute; border: 2px solid rgba(255,255,255,0.78); transform: perspective(420px) rotateX(45deg); }
.court::before { inset: 33% 11% -9%; }
.court::after { inset: 52% 25% -18%; }
.court-line { position: absolute; z-index: 2; background: rgba(255,255,255,0.78); }
.court-horizontal { left: 11%; right: 11%; top: 60%; height: 2px; transform: rotate(-1deg); }
.court-vertical { top: 34%; bottom: 2%; left: 50%; width: 2px; }
.court-player { position: absolute; z-index: 3; width: 13px; height: 32px; border-radius: 8px 8px 4px 4px; background: #e8f4ec; box-shadow: 0 5px 12px rgba(0,0,0,0.35); }
.court-player::before { content: ""; position: absolute; top: -8px; left: 2px; width: 9px; height: 9px; border-radius: 50%; background: #e9b18d; }
.player-one { left: 38%; top: 63%; transform: scale(1.15); }
.player-two { right: 34%; top: 39%; transform: scale(0.8); background: #16231f; }
.stage-controls { padding: 0 12px; display: flex; align-items: center; justify-content: space-between; color: #76867e; border-top: 1px solid #1b2521; font-size: 8px; }
.stage-controls b { color: #e6efea; }
.stage-timeline { height: 137px; padding: 16px 18px; border-top: 1px solid #1e2925; background: #0a100e; }
.timeline-ruler { display: flex; justify-content: space-between; color: #52635a; font-size: 7px; }
.timeline-track { position: relative; height: 72px; margin-top: 8px; overflow: hidden; border-top: 1px solid #26332e; }
.timeline-clip { position: absolute; left: 0; right: 0; top: 25px; height: 28px; border-radius: 4px; background: repeating-linear-gradient(90deg, #164736 0 34px, #1f5d47 34px 68px); }
.rally { position: absolute; top: 3px; height: 16px; padding: 1px 5px; border: 1px solid rgba(220,255,103,0.46); border-radius: 3px; color: var(--yellow); background: rgba(220,255,103,0.1); font-size: 6px; }
.rally-one { left: 7%; width: 20%; }.rally-two { left: 35%; width: 16%; }.rally-three { left: 59%; width: 24%; }
.playhead { position: absolute; z-index: 3; top: 0; bottom: 0; left: 52%; width: 1px; background: #37b8ff; box-shadow: 0 0 8px rgba(55,184,255,0.6); }

.trust-strip { min-height: 90px; display: flex; align-items: center; justify-content: center; gap: 32px; border-block: 1px solid var(--border); color: #789086; font-size: 12px; letter-spacing: 0.08em; }
.trust-strip b { color: var(--green); }
.section-block { padding-block: 124px; }
.section-heading { max-width: 680px; margin-bottom: 54px; }
.section-heading.compact { max-width: 480px; }
.section-heading h2, .download-copy h2, .privacy-callout h2 { font-size: clamp(38px, 4.4vw, 58px); }
.section-heading > p:last-child { max-width: 610px; margin-top: 22px; color: var(--muted); font-size: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-card { position: relative; min-height: 280px; padding: 34px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg, rgba(18,36,30,0.82), rgba(8,18,14,0.68)); }
.feature-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -90px; bottom: -100px; border-radius: 50%; background: var(--green); filter: blur(80px); opacity: 0.06; }
.feature-card-wide { grid-column: 1 / -1; min-height: 300px; display: grid; grid-template-columns: 70px 0.75fr 1.25fr; gap: 22px; align-items: center; }
.feature-number { color: var(--green); font: 700 12px/1 ui-monospace, monospace; }
.feature-card h3 { margin: 15px 0 12px; font-size: 24px; letter-spacing: -0.03em; }
.feature-card p { max-width: 520px; margin: 0; color: var(--muted); }
.mini-timeline { position: relative; height: 116px; border-block: 1px solid #263a31; background: repeating-linear-gradient(90deg, transparent 0 49px, rgba(255,255,255,0.035) 50px); }
.mini-timeline::after { content: ""; position: absolute; top: 48%; left: 0; right: 0; height: 16px; border-radius: 4px; background: #163f31; }
.mini-timeline span { position: absolute; z-index: 2; top: 21%; left: var(--left); width: var(--width); height: 18px; border: 1px solid var(--green); border-radius: 4px; background: rgba(66,232,144,0.14); }

.workflow { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 90px; border-top: 1px solid var(--border); }
.workflow-list { margin: 0; padding: 0; list-style: none; }
.workflow-list li { padding: 29px 0; display: grid; grid-template-columns: 46px 1fr; gap: 16px; border-bottom: 1px solid var(--border); }
.workflow-list li > span { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--green); font-size: 12px; }
.workflow-list h3 { margin: 0 0 7px; font-size: 19px; }
.workflow-list p { margin: 0; color: var(--muted); font-size: 14px; }

.download-section { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 100px; align-items: center; }
.download-copy > p:not(.eyebrow) { margin: 22px 0; color: var(--muted); }
.download-copy ul { padding: 0; list-style: none; color: #b8c8bf; font-size: 14px; }
.download-copy li { margin: 9px 0; }
.download-copy li::before { content: "✓"; margin-right: 10px; color: var(--green); }
.download-card { min-height: 420px; padding: 42px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid var(--border-strong); border-radius: 22px; background: radial-gradient(circle at 85% 5%, rgba(66,232,144,0.13), transparent 38%), var(--surface); box-shadow: var(--shadow); }
.download-icon { width: 56px; height: 56px; margin-bottom: 30px; display: grid; place-items: center; border-radius: 16px; color: var(--green); background: rgba(66,232,144,0.1); }
.download-icon svg { width: 27px; }
.release-label { color: var(--muted); font-size: 12px; }
.download-card strong { margin: 4px 0 12px; font-size: 26px; }
.download-card p { min-height: 52px; margin: 0 0 24px; color: var(--muted); font-size: 13px; }
.download-card .button { width: 100%; }
.download-card small { margin-top: 14px; align-self: center; color: #71867c; }

.privacy-callout { margin-bottom: 120px; padding: 70px; display: grid; grid-template-columns: 1fr 0.9fr; gap: 80px; align-items: center; border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(120deg, rgba(15,34,27,0.92), rgba(7,16,13,0.7)); }
.privacy-callout > p { color: var(--muted); }
.privacy-callout a { display: inline-block; margin-top: 12px; color: var(--green); }
.site-footer { min-height: 170px; padding: 42px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.site-footer > p { text-align: center; }.site-footer > div { display: flex; gap: 20px; }.site-footer > small { grid-column: 1 / -1; text-align: center; color: #566a60; }

.document-page { background-color: #08100e; }
.document-shell { width: min(800px, calc(100% - 40px)); margin: 100px auto 140px; }
.document-shell h1 { margin-bottom: 18px; font-size: clamp(40px, 7vw, 68px); }
.document-lead { padding-bottom: 34px; border-bottom: 1px solid var(--border); color: var(--muted); }
.document-shell section { margin-top: 52px; }
.document-shell h2 { margin-bottom: 12px; font-size: 22px; }
.document-shell p, .document-shell li { color: #a6b8af; }
.document-shell li { margin: 8px 0; }
.document-notice { margin-top: 56px; padding: 22px; border: 1px solid rgba(255,173,91,0.28); border-radius: 14px; color: #d8b590; background: rgba(255,173,91,0.05); }
.compact-footer { min-height: 100px; display: flex; justify-content: space-between; }

.admin-page { min-height: 100vh; background-color: #08100e; }
.admin-header { height: 74px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: rgba(7,16,13,0.84); }
.admin-header > div { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.admin-shell { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 66px 0 100px; }
.admin-login { max-width: 620px; margin: 8vh auto; padding: 50px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface-soft); }
.admin-login h1 { font-size: 43px; }.admin-login > p { color: var(--muted); }
.admin-login form { margin-top: 34px; }.admin-login label { display: block; margin-bottom: 8px; font-size: 12px; color: #b8c7c0; }
.admin-login form > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.admin-login input { min-width: 0; height: 48px; padding: 0 15px; border: 1px solid var(--border); border-radius: 11px; outline: none; color: var(--text); background: rgba(0,0,0,0.2); }
.admin-login input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(66,232,144,0.1); }
#login-error { display: block; min-height: 24px; margin-top: 10px; color: #ff8f82; }
.admin-title-row { margin-bottom: 35px; display: flex; align-items: flex-end; justify-content: space-between; }
.admin-title-row h1 { font-size: 48px; }.admin-title-row > div > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.range-picker { padding: 4px; display: flex; border: 1px solid var(--border); border-radius: 11px; background: rgba(0,0,0,0.12); }
.range-picker button { padding: 8px 13px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; }
.range-picker button.active { color: #07100d; background: var(--green); font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric-card { min-height: 138px; padding: 22px; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-soft); }
.metric-card span { color: var(--muted); font-size: 12px; }.metric-card strong { margin: 8px 0 auto; font-size: 30px; letter-spacing: -0.04em; }.metric-card small { color: #63766d; }
.dashboard-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dashboard-card { min-height: 340px; padding: 26px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-soft); }
.chart-card { grid-column: 1 / -1; min-height: 390px; }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start; }
.card-heading h2 { margin: 0; font-size: 18px; }.card-heading p, .card-heading > span { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.activity-chart { height: 260px; margin-top: 32px; display: flex; align-items: flex-end; gap: clamp(2px, 0.5vw, 8px); border-bottom: 1px solid var(--border); }
.chart-column { position: relative; height: 100%; min-width: 3px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.chart-column i { width: 72%; min-height: 4px; display: block; border-radius: 3px 3px 0 0; background: linear-gradient(var(--green), rgba(66,232,144,0.18)); transition: opacity 150ms ease; }.chart-column:hover i { opacity: 0.72; }
.chart-column small { position: absolute; top: calc(100% + 6px); color: #61736a; white-space: nowrap; font-size: 9px; }
.chart-value { margin-bottom: 4px; color: #84a093; font-size: 8px; }
.empty-chart { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); }
.distribution-list { margin-top: 26px; display: grid; gap: 17px; }
.distribution-row > div { margin-bottom: 6px; display: flex; justify-content: space-between; color: #b8c8c0; font-size: 12px; }.distribution-row strong { color: var(--text); }
.distribution-row > i { height: 5px; display: block; overflow: hidden; border-radius: 5px; background: rgba(255,255,255,0.055); }.distribution-row b { height: 100%; display: block; border-radius: inherit; background: var(--green); }
.empty-list { color: var(--muted); }.admin-footnote { margin-top: 28px; color: #60746a; text-align: center; font-size: 11px; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 90px; }.hero-copy { max-width: 760px; }.product-stage { min-width: 0; transform: none; }
  .download-section { grid-template-columns: 1fr 0.9fr; gap: 50px; }.privacy-callout { grid-template-columns: 1fr; gap: 28px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .site-header { height: 64px; margin-top: 8px; }.site-nav { display: none; }.header-download { padding: 8px 11px; }
  .hero { min-height: 0; padding: 78px 0; gap: 54px; }.hero h1 { font-size: 46px; }.hero-actions { flex-direction: column; align-items: stretch; }
  .product-stage { overflow-x: auto; }.product-stage > * { min-width: 620px; }
  .trust-strip { padding: 24px; flex-wrap: wrap; gap: 13px; }
  .section-block { padding-block: 86px; }.feature-grid { grid-template-columns: 1fr; }.feature-card-wide { grid-column: auto; grid-template-columns: 1fr; }.mini-timeline { margin-top: 18px; }
  .workflow, .download-section { grid-template-columns: 1fr; gap: 35px; }.privacy-callout { margin-bottom: 70px; padding: 36px 25px; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; text-align: center; }.site-footer > p { text-align: center; }.site-footer > div, .site-footer .brand { justify-content: center; }.site-footer > small { grid-column: auto; }
  .admin-login { padding: 30px 22px; }.admin-login form > div { grid-template-columns: 1fr; }.admin-title-row { align-items: flex-start; flex-direction: column; gap: 20px; }
  .metric-grid, .dashboard-grid { grid-template-columns: 1fr; }.chart-card { grid-column: auto; }.activity-chart { overflow-x: auto; }.chart-column { min-width: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.button { transition: none; } }
