:root {
  --lan: #2167d5;
  --lan-deep: #0b2f8f;
  --lan-ink: #071a4a;
  --ju: #ff730f;
  --bg: #f3f6fb;
  --ink: #0f172a;
  --muted: #5b6b84;
  --line: #dbe3f0;
  --white: #ffffff;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Sora", "Noto Sans SC", "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(7, 26, 74, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.22);
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  text-decoration: none;
  background: #fff;
  color: var(--lan-deep);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 28px) clamp(20px, 4vw, 48px) 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(255,255,255,0.2), transparent 55%),
    radial-gradient(720px 480px at 88% 72%, rgba(255,115,15,0.22), transparent 50%),
    linear-gradient(165deg, #071a4a 0%, #2167d5 48%, #0b2f8f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-copy {
  max-width: 560px;
  animation: rise 0.9s var(--ease) both;
}
.hero-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px;
}
.hero-logo {
  width: clamp(56px, 10vw, 72px);
  height: clamp(56px, 10vw, 72px);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}
.hero-brand {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.hero-sub {
  margin: 16px 0 0;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.86);
  max-width: 22em;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
}
.btn-primary {
  background: #fff;
  color: var(--lan-deep);
}
.btn-primary[aria-disabled="true"] {
  opacity: 0.72;
  pointer-events: none;
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}
.btn-ghost.dark {
  border-color: var(--line);
  color: var(--ink);
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  align-self: center;
  animation: rise 1s var(--ease) 0.12s both;
}
.hero-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28), transparent 68%);
  filter: blur(8px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: min(220px, 42vw);
  max-height: min(460px, 62vh);
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(160deg, #1a1f2e, #0c1220);
  box-shadow:
    0 28px 56px rgba(0,0,0,0.32),
    inset 0 0 0 1px rgba(255,255,255,0.12);
}
.phone.float { animation: floaty 5.5s ease-in-out infinite; }
.phone-shot {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(444px, calc(62vh - 16px));
  object-fit: contain;
  border-radius: 22px;
  vertical-align: top;
}

/* ---- Sections ---- */
.section {
  padding: clamp(64px, 10vw, 112px) clamp(20px, 4vw, 48px);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.nengli { background: var(--white); }
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tab {
  border: 0;
  background: #eef3fb;
  color: var(--muted);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.tab.on {
  background: var(--lan);
  color: #fff;
  transform: translateY(-1px);
}
.tab-panels {
  width: min(1080px, 100%);
  margin: 0 auto;
}
.panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  min-height: 340px;
  animation: fadein 0.45s var(--ease);
}
.panel[hidden] { display: none; }
.panel-copy {
  padding: 8px 8px 8px 0;
}
.panel-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}
.panel-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}
.panel-copy ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.panel-copy li {
  padding-left: 18px;
  position: relative;
  color: var(--ink);
}
.panel-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ju);
}
.panel-shot {
  display: flex;
  justify-content: center;
  align-items: center;
}
.panel-shot img {
  width: min(200px, 48vw);
  max-height: 420px;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(15, 40, 90, 0.2);
}

/* steps */
.ruhe { background: var(--bg); }
.steps {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}
.steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 0; }
.num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lan);
  letter-spacing: 0.04em;
}
.steps h3 { margin: 0 0 6px; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); line-height: 1.65; }

/* story */
.gushi {
  background:
    radial-gradient(700px 380px at 85% 20%, rgba(255,115,15,0.16), transparent 50%),
    linear-gradient(160deg, #071a4a, #2167d5 60%, #0b2f8f);
  color: #fff;
}
.gushi-inner {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}
.gushi h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.3;
}
.gushi-inner > p {
  margin: 18px auto 0;
  color: rgba(255,255,255,0.86);
  line-height: 1.8;
  font-size: 1.05rem;
  max-width: 36em;
}
.gushi-name {
  margin-top: 28px !important;
  font-weight: 600;
  color: #fff !important;
}

/* download */
.xiazai { background: var(--white); }
.xiazai-inner {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}
.xiazai h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
}
.xiazai p {
  margin: 12px 0 0;
  color: var(--muted);
}
.xiazai-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.site-foot {
  padding: 36px clamp(20px, 4vw, 48px) 48px;
  background: #071a4a;
  color: rgba(255,255,255,0.72);
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}
.foot-brand {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.18em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.foot-brand img {
  border-radius: 9px;
  display: block;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.foot-links a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.95rem;
}
.foot-links a:hover { color: #fff; text-decoration: underline; }
.site-foot p { margin: 0; font-size: 0.9rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 64px;
  }
  .hero-stage { order: -1; margin: 8px 0 12px; }
  .phone { width: min(180px, 46vw); max-height: 380px; }
  .phone-shot { max-height: 364px; }
  .panel-shot img { width: min(180px, 46vw); max-height: 380px; }
  .panel { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .phone.float, .hero-copy, .hero-stage, .panel { animation: none; }
}
