@charset "UTF-8";

:root {
  --night: #161326;
  --lane: #221c38;
  --amber: #f0b429;
  --amber-deep: #c48414;
  --foam: #f7f1e4;
  --mute: #b7a98f;
  --nav-height: 74px;
  --nav-shadow: 2px 2px 0 rgba(16, 12, 28, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  padding-top: var(--nav-height);
  background: var(--night);
  color: var(--foam);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.nav-shell, .section-wrap {
  width: min(calc(100% - 36px), 1120px);
  margin: 0 auto;
}

.icon::before {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background: center / contain no-repeat;
}
.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-search::before { background-image: url("../icons/search.svg"); }
.icon-bookmark::before { background-image: url("../icons/bookmark.svg"); }
.icon-chat::before { background-image: url("../icons/chat.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }

.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  height: var(--nav-height);
  background: rgba(22, 19, 38, 0.94);
  border-bottom: 1px solid #3a3358;
}
.nav-shell {
  display: flex;
  height: var(--nav-height);
  align-items: center;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img {
  width: 40px; height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--nav-shadow);
}
.brand strong { display: block; font-size: 18px; }
.brand small { color: var(--mute); font-size: 12px; }
.primary-nav ul { display: flex; gap: 20px; font-size: 14px; font-weight: 800; }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--amber); }
.nav-download {
  margin-left: auto;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  color: var(--night);
  background: var(--amber);
  font-weight: 800;
  font-size: 13px;
  box-shadow: var(--nav-shadow);
}
.nav-download .icon::before { filter: brightness(0); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid #3a3358; }
.menu-toggle .icon::before { filter: invert(1); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 24px;
  align-items: center;
  padding: 48px 0 56px;
}
.eyebrow { margin: 0 0 10px; color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
h1 { margin: 0; font-size: clamp(48px, 7vw, 78px); line-height: 0.95; }
.hero-title { margin: 12px 0 14px; font-size: clamp(22px, 3vw, 30px); font-weight: 900; }
.hero-summary { margin: 0 0 22px; color: var(--mute); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  min-height: 50px;
  min-width: 148px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  font-weight: 900;
}
.button-primary { color: var(--night); background: var(--amber); box-shadow: 5px 5px 0 #0d0a18; }
.button-primary:hover { transform: translate(-2px, -2px); }
.button-ghost { border: 2px solid var(--amber); color: var(--amber); }
.button-ghost:hover { background: var(--amber); color: var(--night); }
.button-ghost.dark { border-color: var(--night); color: var(--night); }
.button-ghost.dark:hover { background: var(--night); color: var(--amber); }
.button-ink { color: var(--foam); background: var(--night); }
.page-cap { margin: 14px 0 0; color: var(--mute); font-size: 12px; }

.hero-visual { position: relative; min-height: 420px; display: flex; justify-content: flex-end; align-items: center; }
.phone-frame {
  width: min(100%, 220px);
  margin: 0 8px 0 0;
  padding: 10px;
  background: #0d0a18;
  border: 2px solid var(--amber);
  box-shadow: 10px 12px 0 rgba(196, 132, 20, 0.28);
}
.phone-frame img { width: 100%; height: auto; max-height: 400px; object-fit: cover; }
.idea-panel {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 230px;
  padding: 14px;
  background: var(--lane);
  border-top: 3px solid var(--amber);
}
.idea-panel h2 { margin: 0 0 10px; font-size: 16px; }
.idea-panel article { display: flex; gap: 8px; margin-top: 10px; font-size: 13px; }
.idea-panel strong { display: block; }
.idea-panel small { color: var(--mute); }
.idea-panel .icon::before { filter: invert(0.8) sepia(1) saturate(4) hue-rotate(5deg); }

.features { padding: 64px 0; }
.section-head { margin-bottom: 28px; max-width: 640px; }
.section-head p { margin: 0 0 8px; color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.section-head h2 { margin: 0 0 8px; font-size: 32px; }
.section-head span { color: var(--mute); }
.section-head.split { display: flex; justify-content: space-between; gap: 16px; max-width: none; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card {
  min-height: 180px;
  padding: 22px 18px;
  background: var(--lane);
  border-left: 4px solid var(--amber);
  transition: transform 180ms ease;
}
.feature-card.alt { background: #2b2348; border-left-color: #fff; }
.feature-card:hover { transform: translateY(-4px); }
.feature-card p { margin: 0 0 8px; color: var(--amber); font-size: 12px; font-weight: 800; }
.feature-card h3 { margin: 0 0 8px; font-size: 18px; }
.feature-card span { color: var(--mute); font-size: 14px; }

.screens { padding: 64px 0; background: #100d1c; }
.screen-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.screen-grid figure { margin: 0; padding: 10px; background: var(--lane); }
.screen-grid img { width: 188px; height: auto; margin: 0 auto; }
.screen-grid figcaption { display: flex; gap: 8px; margin-top: 8px; font-weight: 800; font-size: 13px; }
.screen-grid b { color: var(--amber); }

.help { padding: 64px 0; background: #3a2a12; }
.faq-list { display: grid; gap: 8px; }
.faq-list button, .official button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  padding: 0 16px;
  text-align: left;
  font-weight: 800;
  background: #4a3718;
  border: 1px solid #6a4e20;
}
.faq-list button:hover { color: var(--amber); }
.faq-list div, .official div { padding: 0 16px 16px; color: #f3e2c0; background: #4a3718; }
.official { margin-top: 12px; }
.official a { color: var(--amber); }

.reviews { padding: 64px 0; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review-grid article {
  padding: 18px 16px;
  background: var(--lane);
  border-top: 3px solid var(--amber);
}
.review-grid time { display: block; margin-bottom: 8px; color: var(--amber); font-size: 12px; font-weight: 800; }
.review-grid p { margin: 0 0 12px; }
.review-grid span { font-size: 13px; font-weight: 800; }

.download { padding: 28px 0 48px; }
.download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  color: var(--night);
  background: var(--amber);
  border: 2px solid #0d0a18;
}
.download-bar .eyebrow { color: #6a4708; }
.download-bar h2 { margin: 0 0 6px; }
.download-bar p { margin: 0; }

.site-footer { padding: 32px 0 18px; background: #0a0812; }
.footer-row { display: flex; align-items: center; justify-content: space-between; height: auto; padding: 8px 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; font-weight: 800; }
.site-footer nav a:hover { color: var(--amber); }
.copyright { width: min(calc(100% - 36px), 1120px); margin: 12px auto 0; color: #8a7f68; font-size: 12px; }

@media (max-width: 900px) {
  .nav-download { display: none; }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; }
  .primary-nav {
    position: fixed;
    top: var(--nav-height);
    right: 0; left: 0;
    display: none;
    background: var(--lane);
    border-bottom: 1px solid #3a3358;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 8px 18px 16px; }
  .primary-nav a { display: block; padding: 12px 0; border-bottom: 1px solid #3a3358; }
  .hero { display: flex; flex-direction: column; gap: 28px; }
  .hero-copy { text-align: center; }
  .hero-summary { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 0; justify-content: center; }
  .phone-frame { margin: 0 auto; }
  .idea-panel { position: static; width: min(100%, 360px); margin: 16px auto 0; }
  .feature-grid, .review-grid, .download-bar, .footer-row, .section-head.split {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions, .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature-card, .button-primary { transition: none; }
}
