:root {
  --ink: #121826;
  --muted: #4a5568;
  --line: rgba(18, 24, 38, 0.12);
  --bg: #f0f3f8;
  --panel: #ffffff;
  --indigo: #2f4eb8;
  --indigo-deep: #1e357f;
  --saffron: #d9920d;
  --saffron-deep: #b87608;
  --mist: #d9e2f2;
  --glow: #8aa4e8;
  --header-h: 72px;
  --ads-h: 0px;
  --radius: 16px;
  --shadow: 0 20px 44px rgba(18, 24, 38, 0.12);
  --font-display: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "IBM Plex Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(47, 78, 184, 0.16), transparent 58%),
    radial-gradient(780px 380px at 100% 4%, rgba(217, 146, 13, 0.14), transparent 52%),
    linear-gradient(165deg, #e9eef7 0%, var(--bg) 42%, #f7f8fb 100%);
  line-height: 1.8;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-deep); text-decoration: none; }
a:hover { color: var(--saffron-deep); }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(240, 243, 248, 0.9);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 8px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: 0.03em;
  font-weight: 700;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(47, 78, 184, 0.28);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  justify-content: flex-end;
}
.nav a {
  color: var(--muted);
  font-size: 0.94rem;
  padding: 6px 2px;
  position: relative;
}
.nav a:hover,
.nav a.active { color: var(--indigo-deep); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--saffron));
  border-radius: 2px;
}

.hero {
  padding: 42px 0 28px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.hero-copy h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
}
.lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  box-shadow: 0 12px 28px rgba(47, 78, 184, 0.28);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(47, 78, 184, 0.36);
}
.btn-ghost {
  color: var(--indigo-deep);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(47, 78, 184, 0.22);
}
.btn-ghost:hover {
  background: #fff;
  transform: translateY(-2px);
}

.phone-stage {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone {
  position: absolute;
  width: min(250px, 46vw);
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, #1a2336, #0d1320);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 9 / 19.2;
  object-fit: cover;
}
.phone-back {
  transform: translate(-58px, 18px) rotate(-8deg);
  z-index: 1;
  animation: floatBack 5.5s ease-in-out infinite;
}
.phone-front {
  transform: translate(52px, -10px) rotate(5deg);
  z-index: 2;
  animation: floatFront 4.8s ease-in-out infinite;
}
@keyframes floatBack {
  0%, 100% { transform: translate(-58px, 18px) rotate(-8deg); }
  50% { transform: translate(-58px, 8px) rotate(-7deg); }
}
@keyframes floatFront {
  0%, 100% { transform: translate(52px, -10px) rotate(5deg); }
  50% { transform: translate(52px, 0px) rotate(4deg); }
}

.section {
  padding: 48px 0;
}
.section-head {
  margin-bottom: 24px;
  max-width: 48em;
}
.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

.prose h2, .prose h3 {
  font-family: var(--font-display);
  line-height: 1.4;
}
.prose h2 { margin: 1.6em 0 0.7em; font-size: 1.45rem; }
.prose h3 { margin: 1.35em 0 0.55em; font-size: 1.15rem; }
.prose p { margin: 0 0 1em; color: #243044; }
.prose ul, .prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
  color: #243044;
}
.prose li { margin: 0.35em 0; }
.prose strong { color: var(--ink); }

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 24, 38, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature .shot {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  background: #111827;
}
.feature .body { padding: 16px 16px 18px; }
.feature h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}
.mosaic-copy {
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(233,238,247,.88));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.shot-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.shot-stack img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(18, 24, 38, 0.12);
}
.shot-stack img:nth-child(2) { margin-top: 28px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), #5a74d6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-family: var(--font-display);
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.gallery figcaption {
  padding: 10px 12px 12px;
  font-size: 0.86rem;
  color: var(--muted);
}

.duo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: center;
}
.duo-shot img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(47, 78, 184, 0.08);
  color: var(--indigo-deep);
  font-size: 0.84rem;
  border: 1px solid rgba(47, 78, 184, 0.14);
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}
.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.page-hero {
  padding: 36px 0 8px;
}
.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42em;
}

.error-wrap {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 40px 0 60px;
  text-align: center;
}
.error-wrap h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
}
.error-wrap p {
  margin: 0 0 22px;
  color: var(--muted);
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 28px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}
.site-footer h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1rem;
}
.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer a {
  display: inline-block;
  margin: 4px 10px 4px 0;
}
.site-footer a:hover { color: var(--indigo-deep); }
.copyright {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .mosaic,
  .duo,
  .footer-grid { grid-template-columns: 1fr; }
  .feature-rail { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .phone-stage { height: 460px; margin-top: 8px; }
  .duo-shot img { max-width: 280px; }
}

@media (max-width: 760px) {
  .header-inner {
    position: relative;
    flex-wrap: wrap;
    min-height: 64px;
    padding: 10px 0;
  }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(18, 24, 38, 0.1);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1rem;
  }
  .nav a:hover,
  .nav a.active { background: rgba(47, 78, 184, 0.08); }
  .nav a.active::after { display: none; }
  .feature-rail,
  .steps,
  .gallery { grid-template-columns: 1fr; }
  .phone-stage { height: 400px; }
  .phone { width: min(190px, 42vw); }
  .phone-back {
    transform: translate(-42px, 16px) rotate(-7deg);
    animation: none;
  }
  .phone-front {
    transform: translate(40px, -6px) rotate(4deg);
    animation: none;
  }
  .shot-stack img:nth-child(2) { margin-top: 0; }
  .section { padding: 36px 0; }
}
