:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg-2: #101014;
  --panel: #161618;
  --stroke: #2a2a2e;
  --accent: #e23d3d;
  --accent-soft: rgba(226, 61, 61, 0.16);
  --text: #f4f4f5;
  --muted: #9a9aa0;
  --dim: #6e6e74;
  --white: #fff;
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(226, 61, 61, 0.18), transparent 60%),
    radial-gradient(700px 380px at 0% 20%, rgba(80, 80, 120, 0.18), transparent 55%),
    var(--bg);
}
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  pointer-events: none;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(11, 11, 13, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.03em;
  font-size: 17px;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover { color: var(--text); }
.lang {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-size: 12px;
}
.lang a {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--muted);
}
.lang a.is-on {
  background: #fff;
  color: #111;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 40px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 680;
}
.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  max-width: 34em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
}
.btn-primary {
  background: #fff;
  color: #111;
}
.btn-primary:hover { background: #eee; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--stroke);
}
.btn-ghost:hover { border-color: #fff; }
.store-note {
  margin-top: 14px;
  color: var(--dim);
  font-size: 13px;
}

.stage {
  position: relative;
  min-height: 540px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  width: 280px;
  height: 560px;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(180deg, #2c2c32, #121214);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
}
.phone-screen {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.45)),
    linear-gradient(160deg, #3a4a5c 0%, #1b242e 42%, #12161c 100%);
}
.scene-sky {
  position: absolute;
  inset: 0 0 42% 0;
  background: linear-gradient(180deg, #6b849c 0%, #3e5366 100%);
}
.scene-road {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 44%;
  height: 2px;
  background: rgba(255,255,255,0.18);
}
.rec {
  position: absolute;
  top: 18px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}
.rec i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.pip {
  position: absolute;
  right: 18px;
  bottom: 78px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #c9a7a0;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  overflow: hidden;
}
.pip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 28%;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  border-radius: 50%;
  background: #f3d2c2;
  box-shadow: 0 28px 0 10px #f3d2c2;
}
.tabs {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tab {
  text-align: center;
  font-size: 11px;
  padding: 8px 0;
  border-radius: 999px;
  color: #ddd;
  background: rgba(0,0,0,0.35);
}
.tab.on {
  background: #fff;
  color: #111;
  font-weight: 650;
}

.section {
  padding: 72px 0;
}
.section h2 {
  margin: 0 0 10px;
  font-size: 32px;
  letter-spacing: -0.04em;
}
.section .sub {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 38em;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  min-height: 168px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  padding: 8px 8px 8px 0;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-weight: 650;
}

.download {
  background: linear-gradient(180deg, rgba(226,61,61,0.08), transparent);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: 42px 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.download h2 { margin-bottom: 8px; }
.download p { margin: 0; color: var(--muted); }

.footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--stroke);
  color: var(--dim);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer strong { display: block; color: var(--text); margin-bottom: 10px; font-size: 14px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.copy { color: var(--dim); }

@media (max-width: 900px) {
  .hero, .download, .footer-grid, .grid, .steps {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .hero { padding-top: 36px; gap: 36px; }
  .stage { min-height: 0; }
  .phone { width: 230px; height: 460px; }
  .section { padding: 52px 0; }
}
