:root {
  --brand: #2f6fed;
  --brand-deep: #1d4ed8;
  --brand-soft: rgba(47, 111, 237, .12);
  --hero-dark: #0a1628;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #fff;
  --bg-soft: #f1f5f9;
  --shadow: 0 20px 50px rgba(15, 23, 42, .12);
  --shadow-soft: 0 8px 32px rgba(15, 23, 42, .08);
  --radius: 18px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --page-gutter: 20px;
  --page-max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.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;
}
.skip-link {
  position: absolute; left: -999px; top: 12px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 12px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap {
  width: min(var(--page-max), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background .25s, border-color .25s;
}
.nav.nav--dark {
  background: rgba(10, 22, 40, .82);
  border-bottom-color: rgba(255,255,255,.08);
}
.nav.nav--dark .logo,
.nav.nav--dark .nav-links > a { color: #e2e8f0; }
.nav.nav--dark .nav-links > a:hover,
.nav.nav--dark .nav-links > a.on { color: #fff; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-links > a {
  padding: 8px 12px; border-radius: 8px; color: #333; font-size: .93rem;
}
.nav-links > a:hover, .nav-links > a.on { color: var(--brand-deep); }
.nav.nav--dark .nav-links > a.on { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; color: #fff; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}
.nav.nav--dark .nav-toggle { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: .2s; font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-outline { background: #fff; border-color: var(--brand); color: var(--brand-deep); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Hero carousel */
.hero-carousel {
  position: relative;
  min-height: 82vh;
  color: #fff;
  overflow: hidden;
}
.hero-carousel > .wrap { position: relative; z-index: 2; }
.hero-bg-layer {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  transform: scale(1.04);
  transition: background-image .8s ease, transform 8s ease;
}
.hero-carousel.is-zoom .hero-bg-layer { transform: scale(1.08); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(6, 14, 28, .88) 0%, rgba(6, 14, 28, .45) 42%, rgba(6, 14, 28, .25) 100%),
    linear-gradient(180deg, transparent 55%, rgba(6, 14, 28, .85) 100%);
}
.hero-stage {
  padding: 132px 0 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}
.hero-kicker {
  margin: 0 0 16px;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8eb6ff;
  font-weight: 700;
}
.hero-carousel h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 900;
}
.hero-subline {
  margin: 0 0 32px;
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-nav {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.12);
  width: 100%;
}
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dots span {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255,255,255,.35);
  transition: width .3s ease, background .3s ease;
}
.hero-dots span.on { width: 28px; background: var(--brand); }
.hero-autoplay-hint {
  margin: 0;
  font-size: .75rem;
  color: rgba(255,255,255,.42);
}
.hero-nav button {
  border: none;
  background: transparent;
  color: rgba(255,255,255,.55);
  font: inherit;
  font-size: .88rem;
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  transition: color .25s;
}
.hero-nav button.on,
.hero-nav button:hover { color: #fff; }
.hero-nav button::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--brand);
  transition: width .3s ease;
}
.hero-nav button.on::after { width: 100%; }

.trust-strip {
  background: linear-gradient(90deg, #0a1628, #1a2d52);
  color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.trust-inner strong {
  display: block;
  font-size: 1.4rem;
  color: #8eb6ff;
  font-weight: 800;
}
.trust-inner span { font-size: .82rem; color: rgba(255,255,255,.72); }

.stats-wrap { margin-top: -48px; position: relative; z-index: 2; }
.stats {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow);
  padding: 28px 20px 24px; text-align: center;
}
.stats h2 { margin: 0 0 22px; font-size: 1.35rem; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat .num { font-size: 1.25rem; font-weight: 800; color: var(--brand-deep); line-height: 1.1; }
.stat p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
.stat-ico {
  width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; font-weight: 800;
}

section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.sec-title {
  text-align: center; margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.8vw, 2rem); letter-spacing: -.02em;
}
.sec-desc { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 42em; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-soft);
}
.card h3 { margin: 0 0 10px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }
.card:hover { border-color: rgba(47, 111, 237, .35); }

.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.ring {
  aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--brand) var(--p), #e9eef0 0);
  display: grid; place-items: center; position: relative;
}
.ring::after { content: ""; position: absolute; inset: 12%; background: #fff; border-radius: 50%; }
.ring span { position: relative; z-index: 1; font-weight: 800; color: var(--brand-deep); font-size: .9rem; }
.ring small { display: block; margin-top: 8px; color: var(--muted); font-size: .78rem; }

.metric-list { margin: 0; padding: 0; list-style: none; }
.metric-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .95rem;
}
.metric-list strong { color: var(--brand-deep); }

.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tabs button {
  border: 0; background: transparent; padding: 12px 22px; font: inherit;
  color: #888; cursor: pointer; border-radius: 12px; font-weight: 600;
}
.tabs button.on { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-soft); }
.panel {
  display: none; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center;
  background: #fff; border-radius: 20px; padding: 28px; border: 1px solid var(--line);
}
.panel.on { display: grid; }
.checks { margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding: 10px 0 10px 28px; color: #444; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; font-size: .75rem; font-weight: 800;
}

.shot-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #f8fafc;
}
.shot-frame img { width: 100%; height: auto; }

.scene-shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0a1628;
}
.scene-shot img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.scene-shot figcaption {
  padding: 10px 14px;
  font-size: .82rem;
  color: var(--muted);
  background: #f8fafc;
  text-align: center;
}

.mock-desk {
  background: #111; color: #e8eef4; border-radius: 12px; padding: 14px;
  box-shadow: var(--shadow); font-size: .78rem;
}
.mock-desk .bar { display: flex; gap: 6px; margin-bottom: 12px; }
.mock-desk .bar i { width: 8px; height: 8px; border-radius: 50%; background: #444; }
.mock-desk .bar i:first-child { background: #ff5f57; }
.mock-desk .bar i:nth-child(2) { background: #febc2e; }
.mock-desk .bar i:nth-child(3) { background: #28c840; }
.mock-row {
  display: grid; grid-template-columns: 1.2fr .6fr .5fr; gap: 8px;
  padding: 8px 10px; margin-bottom: 6px; background: rgba(255,255,255,.05); border-radius: 6px;
}
.pill {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: rgba(47,111,237,.25); color: #8eb6ff; font-size: .7rem;
}

.btn-sm { padding: 8px 16px; font-size: .88rem; }

/* Compare */
.compare-section { padding: 72px 0; background: #fff; }
.compare-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
}
.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare-table thead th {
  background: var(--bg-soft);
  font-weight: 700;
}
.compare-table tbody th { width: 18%; color: var(--ink); }
.compare-table td.win {
  color: var(--brand-deep);
  font-weight: 600;
  background: rgba(47, 111, 237, .04);
}
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: 0; }

/* Scenes — 对齐 sport-canguan case-track */
.case-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.case-track--6 { grid-template-columns: repeat(3, 1fr); }
.case-scene {
  position: relative;
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: none;
  background: var(--hero-dark) center / cover no-repeat;
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease;
}
.case-scene:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.case-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,18,36,.15) 0%, rgba(8,18,36,.88) 72%);
}
.case-body {
  position: relative;
  z-index: 1;
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
}
.case-scene .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #63b3ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.case-scene h4 { margin: 0 0 6px; font-size: 1.15rem; }
.case-scene .meta {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  margin-bottom: 10px;
}
.case-scene p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  line-height: 1.55;
}

/* Legacy case-grid (保留兼容) */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: .2s;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.case-scene .thumb {
  height: 160px;
  background: center / cover no-repeat #e8eefb;
  position: relative;
}
.case-card .thumb .badge {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(255,255,255,.92); color: var(--brand-deep);
  font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.case-card .body { padding: 16px; }
.case-card .tag {
  display: inline-block; background: var(--brand-soft); color: var(--brand-deep);
  border-radius: 999px; padding: 2px 8px; font-size: .75rem; margin-bottom: 8px;
}
.case-card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.case-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.ind { overflow: hidden; padding: 0; }
.feat-card .feat-img { height: 150px; overflow: hidden; background: #eef2fb; }
.feat-card .feat-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.ind .body { padding: 16px; }

.flow-item, .g-item { text-align: center; }

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.2rem; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.cta-visual {
  position: relative;
  overflow: hidden;
  background: var(--hero-dark) center / cover no-repeat url('../img/cta-gradient.jpg');
  border: 1px solid rgba(255,255,255,.12);
}
.cta-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,18,36,.78), rgba(47,111,237,.45));
}
.cta-visual h2,
.cta-visual p,
.cta-visual .hero-actions { position: relative; z-index: 1; }
.cta-band {
  color: #fff;
  border-radius: 28px;
  padding: 48px 32px;
  text-align: center;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { margin: 0 0 24px; opacity: .9; }
.cta-band .btn-primary { background: #fff; color: var(--brand-deep); }

/* Compare */
footer { background: #151515; color: #bbb; padding: 48px 0 28px; font-size: .88rem; }
footer a:hover { color: #fff; }
.foot-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 36px 40px;
  margin-bottom: 28px;
}
.foot-brand h4, .foot-cols h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.foot-brand p { margin: 0 0 8px; line-height: 1.6; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot-cols ul { margin: 0; padding: 0; list-style: none; }
.foot-cols li { margin: 8px 0; }
.foot-contact h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.foot-phone { margin: 0; line-height: 1.6; }
.foot-phone a {
  color: var(--brand);
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
}
.foot-phone a:hover { color: #fff; }
.foot-wecom { margin: 14px 0 0; text-align: center; }
.foot-wecom img {
  width: 112px; height: 112px;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  display: block;
  margin: 0 auto;
}
.foot-wecom figcaption {
  margin-top: 8px;
  font-size: .78rem;
  color: #888;
}
.copy {
  border-top: 1px solid #2a2a2a; padding-top: 16px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #777; font-size: .8rem;
}
.copy a { color: #999; text-decoration: none; }
.copy a:hover { color: #fff; text-decoration: underline; }

.demo-wm {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; overflow: hidden;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr);
  opacity: 0.1;
}
.demo-wm__item {
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #000; white-space: nowrap;
  transform: rotate(-28deg); user-select: none;
}

.dock {
  position: fixed; right: 16px; bottom: 24px; z-index: 60;
  display: flex; flex-direction: column; gap: 8px;
}
.dock a {
  width: 54px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 6px; text-align: center;
  font-size: .72rem; box-shadow: var(--shadow-soft); color: #333;
}
.dock a:hover { color: var(--brand-deep); border-color: var(--brand); }
.dock .ico { font-size: 1.1rem; display: block; margin-bottom: 4px; }

@media (max-width: 960px) {
  .hero-carousel { min-height: 72vh; }
  .hero-carousel h1 { white-space: normal; }
  .hero-subline { white-space: normal; }
  .hero-grid, .grid-2, .panel.on, .grid-4, .case-grid, .case-track, .case-track--6 { grid-template-columns: 1fr 1fr; }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .foot-contact { grid-column: 1 / -1; }
  .grid-3, .trust-inner { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: flex; color: #333; }
  .nav.nav--dark .nav-toggle { color: #fff; }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft);
  }
  .nav.nav--dark .nav-links { background: #0a1628; border-color: rgba(255,255,255,.1); }
  .nav-open .nav-links { display: flex; }
  .nav { position: sticky; }
  .nav-inner { position: relative; }
}
@media (max-width: 640px) {
  .hero-grid, .grid-2, .panel.on, .stats-grid, .grid-3, .grid-4, .case-grid, .case-track, .case-track--6, .foot-main, .foot-cols, .trust-inner {
    grid-template-columns: 1fr;
  }
  .foot-contact { grid-column: auto; }
  .dock { display: none; }
}
