:root {
  --background: #081019;
  --surface: #0f1a26;
  --surface-strong: #142334;
  --primary: #5eead4;
  --primary-strong: #2dd4bf;
  --secondary: #a78bfa;
  --text: #f1f5f9;
  --muted: #a9b4c2;
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  --radius: 18px;
  --small-radius: 10px;
  --container: 1120px;
  --transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  color: #042f2e;
  background: var(--primary);
  border-radius: var(--small-radius);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 84px 0; border-top: 1px solid var(--border); }
.section--compact { padding: 56px 0; }
.section--tinted { background: rgba(15, 26, 38, 0.7); }
.eyebrow { margin: 0 0 10px; color: var(--primary); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.section-heading { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.25; }
.section-heading p { margin: 0; color: var(--muted); }
.muted { color: var(--muted); }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.site-nav.is-scrolled { background: rgba(8, 16, 25, 0.94); border-color: var(--border); backdrop-filter: blur(12px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { color: var(--text); text-decoration: none; font-size: 1rem; font-weight: 800; }
.brand span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-toggle { display: none; min-width: 48px; min-height: 48px; color: var(--text); background: transparent; border: 1px solid var(--border); border-radius: var(--small-radius); font-size: 1.35rem; }

.hero { position: relative; overflow: hidden; padding: 142px 0 86px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 24% 20%, rgba(45, 212, 191, 0.16), transparent 38%), radial-gradient(circle at 78% 45%, rgba(167, 139, 250, 0.12), transparent 36%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; text-align: center; }
.hero h1 { margin: 0 0 20px; font-size: clamp(2.1rem, 7vw, 4.6rem); line-height: 1.08; letter-spacing: -0.035em; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero-lead { max-width: 710px; margin: 0 auto 30px; color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.2rem); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 28px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: 0.9rem; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--primary); font-weight: 800; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid var(--primary); border-radius: var(--small-radius); color: #032522; background: var(--primary); text-decoration: none; font-weight: 800; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.button:hover { transform: translateY(-2px); background: var(--primary-strong); box-shadow: 0 12px 28px rgba(45, 212, 191, 0.24); }
.button--secondary { color: var(--text); background: transparent; border-color: var(--border); }
.button--secondary:hover { background: var(--surface-strong); box-shadow: none; }
.button--block { width: 100%; }

.grid { display: grid; gap: 24px; }
.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 28px; background: linear-gradient(145deg, rgba(20, 35, 52, 0.94), rgba(15, 26, 38, 0.94)); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-card__top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.app-icon { width: 84px; height: 84px; flex: 0 0 auto; border-radius: 20px; }
.product-card h2, .product-card h3 { margin: 0; line-height: 1.2; }
.product-card p { color: var(--muted); }
.feature-list { display: grid; gap: 10px; margin: 18px 0 26px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 25px; color: var(--muted); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.product-card .button-row { justify-content: flex-start; margin-top: auto; }

.breadcrumb { padding-top: 92px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; color: var(--muted); list-style: none; font-size: 0.88rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #64748b; }
.breadcrumb a { color: var(--primary); }
.product-hero { padding: 52px 0 72px; }
.product-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr); gap: 42px; align-items: center; }
.product-identity { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.product-identity .app-icon { width: 96px; height: 96px; }
.product-hero h1 { margin: 0 0 18px; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.13; }
.product-hero p { color: var(--muted); }
.meta-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.meta-list li { padding: 7px 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-size: 0.85rem; }
.qr-card { padding: 24px; text-align: center; background: white; border-radius: var(--radius); color: #0f172a; }
.qr-card img { width: 220px; height: 220px; margin: 0 auto 12px; }
.qr-card p { margin: 0; color: #334155; font-size: 0.9rem; }
.steps { counter-reset: steps; }
.step { position: relative; padding-left: 70px; }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; color: #032522; background: var(--primary); border-radius: 50%; font-weight: 900; }
.step h3 { margin-top: 0; }

.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 920px; margin: 0 auto; }
.screenshot-card { margin: 0; min-width: 0; }
.screenshot-image { width: 100%; aspect-ratio: 1080 / 2376; object-fit: cover; background: var(--surface); border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); }
.screenshot-card figcaption { margin-top: 14px; color: var(--muted); text-align: center; font-size: 0.9rem; }

.faq-list { max-width: 880px; margin: 0 auto; }
details { padding: 18px 0; border-bottom: 1px solid var(--border); }
summary { cursor: pointer; color: var(--text); font-weight: 750; }
details p { margin: 12px 0 0; color: var(--muted); }

.download-panel { scroll-margin-top: 92px; }
.download-panel__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.download-panel .app-icon { width: 96px; height: 96px; }
.download-panel h2 { margin: 0 0 7px; }
.download-panel p { margin: 0; color: var(--muted); }
.file-data { margin: 20px 0; border-collapse: collapse; width: 100%; }
.file-data th, .file-data td { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.file-data th { width: 140px; color: var(--muted); font-weight: 600; }
.hash { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.82rem; }
.notice { padding: 18px 20px; color: #dbeafe; background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(96, 165, 250, 0.3); border-radius: var(--small-radius); }
.notice--warning { color: #fef3c7; background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.28); }
.prose { max-width: 860px; margin-inline: auto; }
.prose h2 { margin-top: 52px; line-height: 1.25; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--primary); }
.prose code { overflow-wrap: anywhere; }

.cta { padding: 42px; text-align: center; background: linear-gradient(135deg, rgba(45, 212, 191, 0.14), rgba(167, 139, 250, 0.12)); border: 1px solid var(--border); border-radius: var(--radius); }
.cta h2 { margin-top: 0; }
.cta p { color: var(--muted); }
.site-footer { padding: 38px 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; color: var(--muted); font-size: 0.84rem; }
.footer-links { display: flex; justify-content: flex-end; gap: 16px; }
.footer-links a, .site-footer a { color: var(--muted); }
.footer-links a:hover, .site-footer a:hover { color: var(--primary); }
.footer-icp { text-align: center; }

.reveal-ready { opacity: 0; transform: translateY(16px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal-ready.is-visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links { position: fixed; inset: 68px 0 auto; display: grid; gap: 0; max-height: 0; overflow: hidden; background: rgba(8, 16, 25, 0.98); border-bottom: 1px solid var(--border); transition: max-height var(--transition); }
  .nav-links.is-open { max-height: 420px; }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links a { display: block; padding: 14px 20px; }
  .grid--three, .screenshot-grid { grid-template-columns: 1fr; }
  .screenshot-grid { max-width: 320px; }
  .product-hero__grid, .download-panel__grid { grid-template-columns: 1fr; }
  .qr-card { max-width: 300px; }
  .download-panel__grid > .qr-card { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 64px 0; }
  .hero { padding: 118px 0 64px; }
  .grid--two { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .hero-actions .button, .product-hero .button-row .button { width: 100%; }
  .product-card__top { align-items: flex-start; }
  .app-icon { width: 72px; height: 72px; }
  .product-identity { align-items: flex-start; }
  .product-identity .app-icon { width: 78px; height: 78px; }
  .qr-card { display: none; }
  .file-data th { width: 108px; }
  .cta { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal-ready { opacity: 1; transform: none; }
}
