:root {
  --bg: #f4f5f9;
  --bg-oklch: oklch(0.965 0.008 275);
  --panel: #fbfbfd;
  --text: #1c2033;
  --muted: #4d5568;
  --line: #d9dee8;
  --accent: #4e57f0;
  --accent-ink: #343bc4;
  --accent-soft: color-mix(in srgb, #4e57f0 12%, white);
  --ink: #121526;
  --ink-muted: #a8b0c4;
  --radius: 12px;
  --shell: min(1120px, calc(100% - 40px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --header-h: 60px;
  --mobile-cta-h: 0px;
}

@supports (color: oklch(0.5 0.1 275)) {
  :root {
    --bg: oklch(0.965 0.008 275);
    --panel: oklch(0.99 0.004 275);
    --text: oklch(0.24 0.03 275);
    --muted: oklch(0.42 0.025 275);
    --line: oklch(0.88 0.012 275);
    --accent: oklch(0.55 0.2 275);
    --accent-ink: oklch(0.42 0.18 275);
    --ink: oklch(0.18 0.025 275);
    --ink-muted: oklch(0.72 0.02 275);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--mobile-cta-h);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong { font-weight: 700; color: var(--text); }
code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92em;
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 80%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 2;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-word {
  font-size: 1.12rem;
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 700;
}

.brand-lite { color: var(--text); }
.brand-video { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}

.nav a:hover {
  color: var(--text);
  background: color-mix(in oklch, var(--panel) 70%, var(--line));
}

.nav-cta {
  color: #fff !important;
  background: var(--accent) !important;
  font-weight: 600;
  margin-left: 6px;
}

.nav-cta:hover {
  background: var(--accent-ink) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 32, 0.4);
  z-index: 40;
}

body.nav-open { overflow: hidden; }

.hero {
  position: relative;
  padding: clamp(28px, 5vw, 48px) 0 clamp(36px, 6vw, 56px);
  overflow: clip;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.94 0.012 275) 0%, var(--bg) 72%),
    radial-gradient(ellipse 50% 40% at 90% 0%, color-mix(in oklch, var(--accent) 8%, transparent), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding-bottom: 8px;
}

.hero-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
}

.hero-promo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef1f6;
  box-shadow: 0 18px 40px rgba(26, 31, 54, 0.1);
}

.hero-promo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  font-weight: 650;
  text-transform: uppercase;
}

.section-kicker.on-dark { color: var(--ink-muted); }

.brand-lockup { margin: 0 0 8px; }

.hero-brand {
  display: inline-block;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.05em;
}

.hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.25;
  font-weight: 750;
}

.lede {
  margin: 14px 0 0;
  font-size: clamp(1.02rem, 1.6vw, 1.12rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-trust {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.hero-shot {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  width: 100%;
}

.hero-shot-shell {
  width: var(--shell);
  margin-inline: auto;
}

.hero-shot-frame {
  border-radius: 16px;
  overflow: hidden;
  background: #0f1320;
  border: 1px solid color-mix(in srgb, white 18%, var(--line));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 28px 64px rgba(26, 31, 54, 0.2);
}

.hero-shot-zoom {
  display: block;
  cursor: zoom-in;
}

.hero-shot-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #1f2937, #111827);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-shot-chrome em {
  font-style: normal;
  font-size: 0.72rem;
  color: #9ca3af;
}

.win-controls {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.win-controls i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 1px;
  border: 1px solid #6b7280;
  background: transparent;
}

.win-controls i:nth-child(3) {
  background: #4b5563;
  border-color: #4b5563;
}

.hero-shot-hint {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-shot-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1870 / 1025;
  object-fit: contain;
  object-position: top left;
  background: #0f1320;
}

/* 窄屏保持与下方内容同宽；细节可点开大图 */
@media (max-width: 1024px) {
  .hero-shot-shell { width: var(--shell); }
}

.shot-lightbox {
  border: 0;
  padding: 0;
  width: min(96vw, 1400px);
  max-width: 96vw;
  max-height: 92vh;
  background: #0f1320;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  overflow: auto;
}

.shot-lightbox::backdrop {
  background: rgba(10, 12, 22, 0.72);
}

.shot-lightbox-inner {
  position: relative;
  margin: 0;
}

.shot-lightbox img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-lightbox-close {
  position: sticky;
  top: 10px;
  float: right;
  margin: 10px 10px 0 0;
  z-index: 2;
  min-width: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #121526;
  font-size: 1.2rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.94rem;
  cursor: pointer;
  transition:
    transform 140ms var(--ease),
    background 160ms var(--ease),
    border-color 160ms var(--ease),
    color 160ms var(--ease);
}

.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost {
  background: var(--panel);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: color-mix(in oklch, var(--accent) 35%, var(--line));
}

.section {
  padding: clamp(48px, 7vw, 80px) 0;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 28px;
}

.section-head h2,
.local-copy h2,
.download-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  letter-spacing: -0.035em;
  line-height: 1.22;
  font-weight: 750;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 48ch;
}

.pain-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
}

.pain-row p {
  margin: 0;
  padding: 18px 16px;
  background: var(--panel);
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}

.pain-row strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  margin-bottom: 40px;
}

.feature:last-child { margin-bottom: 0; }
.feature-reverse .feature-copy { order: 2; }
.feature-reverse .feature-media { order: 1; }

.feature-copy h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 42ch;
}

.feature-copy ul,
.local-checks {
  margin: 14px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.feature-copy li,
.local-checks li { margin: 0.35rem 0; }

.feature-media,
.local-media,
.download-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: color-mix(in oklch, var(--line) 40%, var(--panel));
}

.feature-media img,
.local-media img,
.download-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps li {
  padding-top: 14px;
  border-top: 2px solid var(--text);
}

.step-no {
  display: block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cases {
  background: color-mix(in oklch, var(--bg) 70%, oklch(0.93 0.012 275));
  border-block: 1px solid var(--line);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.case-card {
  display: grid;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 160ms var(--ease), border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.case-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklch, var(--accent) 30%, var(--line));
  box-shadow: 0 14px 28px rgba(26, 31, 54, 0.08);
}

.case-card figure {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--ink);
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms var(--ease);
}

.case-card:hover img { transform: scale(1.03); }

.case-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.28));
  pointer-events: none;
}

.case-play svg {
  width: 44px;
  height: 44px;
  padding: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-ink);
}

.case-body { padding: 12px 14px 16px; }
.case-tag {
  margin: 0 0 4px;
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.case-body h3 {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.local-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: center;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 16px;
  background: var(--ink);
  color: oklch(0.96 0.01 275);
}

.local-copy p:not(.section-kicker) {
  color: var(--ink-muted);
  margin: 0;
  max-width: 42ch;
}

.local-checks { color: var(--ink-muted); }
.local-media { border-color: transparent; }

.faq-layout .section-head { margin-bottom: 20px; }

.faq-list {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 4px 4px 16px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  letter-spacing: -0.01em;
  min-height: 48px;
  display: flex;
  align-items: center;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list details[open] summary {
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.faq-list p {
  margin: 0;
  padding: 0 12px 14px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.download-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.download-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 42ch;
}

.download-note {
  margin: 12px 0 0 !important;
  font-size: 0.88rem !important;
  max-width: 48ch !important;
}

.site-footer {
  border-top: 1px solid color-mix(in oklch, var(--accent) 18%, var(--line));
  background: var(--ink);
  color: var(--ink-muted);
  padding: 20px 0;
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.footer-legal a,
.footer-links a,
.linkish {
  color: oklch(0.82 0.02 275);
  text-decoration: none;
}

.footer-legal a:hover,
.footer-links a:hover,
.linkish:hover { color: #fff; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.footer-meta {
  opacity: 0.55;
  font-size: 0.8rem;
}

.linkish {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}

.mobile-cta .btn { width: 100%; }

.cookie-dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  width: min(420px, calc(100% - 32px));
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 24px 60px rgba(26, 31, 54, 0.18);
}

.cookie-dialog::backdrop { background: rgba(15, 18, 32, 0.45); }
.cookie-dialog form { padding: 22px; }
.cookie-dialog h2 { margin: 0 0 8px; font-size: 1.15rem; }
.cookie-dialog p { margin: 0; color: var(--muted); }
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.legal-page {
  padding: 64px 0 88px;
  max-width: 720px;
}

.legal-page h1 {
  margin: 0 0 14px;
  letter-spacing: -0.04em;
}

.legal-page p { color: var(--muted); }

@keyframes reveal-up {
  from {
    opacity: 0.01;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .steps,
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-row { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero-top,
  .feature,
  .local-band,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .feature-reverse .feature-copy,
  .feature-reverse .feature-media { order: initial; }

  .hero-copy { max-width: none; }
  .lede { max-width: none; }
  .hero-shot { margin-top: 22px; }
  .hero-promo { max-width: 520px; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100dvh;
    margin: 0;
    padding: calc(var(--header-h) + 16px) 18px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--panel);
    border-left: 1px solid var(--line);
    box-shadow: -16px 0 40px rgba(26, 31, 54, 0.12);
    transform: translateX(105%);
    transition: transform 240ms var(--ease);
    z-index: 45;
  }

  body.nav-open .nav { transform: none; }

  .nav a {
    min-height: 48px;
    font-size: 1rem;
    color: var(--text);
  }

  .nav-cta {
    margin: 12px 0 0;
    justify-content: center;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-cta { display: block; }
  :root { --mobile-cta-h: 68px; }
}

@media (max-width: 560px) {
  :root { --shell: min(100%, calc(100% - 28px)); }
  .steps,
  .case-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .case-card,
  .case-card img,
  .nav { transition: none; }
}
