:root {
  --bg: #05080d;
  --ink: #f4fff9;
  --muted: rgba(214, 236, 226, 0.72);
  --line: rgba(110, 255, 190, 0.18);
  --brand: #12e696;
  --brand-deep: #0c8f5e;
  --brand-soft: rgba(18, 230, 150, 0.12);
  --gold: #ffd56a;
  --card: rgba(10, 22, 18, 0.92);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --shell: 100%;
  --pad-x: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100%;
  font-family: "PingFang SC", "Hiragino Sans GB", "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(18, 230, 150, 0.16), transparent 55%),
    radial-gradient(700px 360px at 0% 20%, rgba(255, 213, 106, 0.08), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: min(100%, var(--shell));
  margin: 0 auto;
  padding: 0 var(--pad-x) calc(28px + var(--safe-bottom));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + var(--safe-top)) 0 12px;
  backdrop-filter: blur(14px);
  background: rgba(5, 8, 13, 0.78);
  border-bottom: 1px solid transparent;
}
.topbar.is-solid { border-bottom-color: var(--line); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(18, 230, 150, 0.28);
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.nav-links a:hover { color: var(--brand); }
.nav-app {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18, 230, 150, 0.55);
  background: rgba(18, 230, 150, 0.12);
  color: #12e696 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  box-shadow: 0 0 12px rgba(18, 230, 150, 0.14);
}
.nav-app:hover {
  color: #7dffc4 !important;
  background: rgba(18, 230, 150, 0.2);
}

.hero { padding: 18px 0 8px; animation: rise 0.7s ease both; }
.hero-grid { display: grid; gap: 18px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}
.hero h1 {
  margin-top: 14px;
  font-size: clamp(32px, 8vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 38em;
}
.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:active { transform: scale(0.98); }
.btn small { display: block; font-size: 10px; font-weight: 600; opacity: 0.75; }
.btn-primary {
  background: linear-gradient(135deg, #14d98a, #0c8f5e);
  color: #04140e;
  box-shadow: 0 14px 28px rgba(18, 230, 150, 0.22);
}
.btn-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-poster {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #05080d;
  animation: floatIn 0.9s ease 0.1s both;
}
.hero-poster img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.section { margin-top: 34px; animation: rise 0.7s ease both; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(20px, 4vw, 28px); letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.section-head .more { color: var(--brand); font-size: 13px; font-weight: 700; white-space: nowrap; }

.feature-grid { display: grid; gap: 12px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.feature .num {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 13px; line-height: 1.7; }

.poster-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(78%, 320px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.poster-rail::-webkit-scrollbar { height: 6px; }
.poster-rail::-webkit-scrollbar-thumb { background: rgba(18, 230, 150, 0.35); border-radius: 999px; }
.poster-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: #05080d;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}
.poster-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #05080d;
}
.poster-card figcaption {
  padding: 14px 14px 16px;
  background: #0b1411;
  border-top: 1px solid var(--line);
}
.poster-card strong { display: block; font-size: 16px; margin-bottom: 4px; }
.poster-card span { font-size: 12px; color: var(--muted); line-height: 1.5; }

.detail-list {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}
.detail-list article { padding: 16px; border-bottom: 1px solid var(--line); }
.detail-list article:last-child { border-bottom: 0; }
.detail-list h3 { font-size: 15px; margin-bottom: 6px; }
.detail-list p { color: var(--muted); font-size: 13px; line-height: 1.75; }

.download-panel {
  margin-top: 28px;
  padding: 18px;
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(18, 230, 150, 0.16), transparent 46%),
    #07140f;
  border: 1px solid var(--line);
  color: #fff;
  box-shadow: var(--shadow);
}
.download-panel h2 { font-size: 22px; margin-bottom: 8px; }
.download-panel .sub { color: rgba(244, 255, 249, 0.72); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }

.footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.footer a { color: var(--brand); }

.page-guide .hero { padding-top: 8px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 720px) {
  :root { --shell: 720px; --pad-x: 24px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: center; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .poster-rail {
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }
  .detail-list { display: grid; grid-template-columns: 1fr 1fr; }
  .detail-list article:nth-child(odd) { border-right: 1px solid var(--line); }
  .page-guide .detail-list { grid-template-columns: 1fr; }
  .page-guide .detail-list article { border-right: 0; }
}

@media (min-width: 980px) {
  :root { --shell: 1120px; --pad-x: 28px; }
  .topbar { padding-top: 18px; padding-bottom: 14px; }
  .brand { font-size: 18px; }
  .brand img { width: 40px; height: 40px; }
  .nav-links { gap: 22px; font-size: 14px; }
  .nav-app { font-size: 14px; padding: 5px 12px; }
  .hero { padding: 28px 0 10px; }
  .hero-grid { gap: 40px; min-height: 460px; }
  .hero h1 { font-size: 56px; }
  .hero-lead { font-size: 16px; margin-top: 16px; }
  .cta-row { max-width: 420px; margin-top: 28px; }
  .hero-poster { border-radius: 28px; }
  .section { margin-top: 56px; }
  .download-panel { padding: 28px; border-radius: 32px; }
  .download-panel .cta-row { max-width: 420px; }
}

@media (max-width: 380px) {
  .cta-row { grid-template-columns: 1fr; }
  .nav-links { gap: 10px; font-size: 12px; }
}
