:root {
  color-scheme: light;
  --ink: #0c1222;
  --ink-muted: #5c6578;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --bg-page: #eef1f8;
  --bg-band: #f6f8fc;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.09);
  --accent-ring: rgba(37, 99, 235, 0.45);
  --violet-soft: rgba(124, 58, 237, 0.07);
  --line: rgba(12, 18, 34, 0.07);
  --line-strong: rgba(12, 18, 34, 0.11);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow-nav: 0 4px 24px rgba(12, 18, 34, 0.06);
  --shadow-card: 0 4px 20px rgba(12, 18, 34, 0.05);
  --shadow-card-hover: 0 12px 36px rgba(12, 18, 34, 0.09);
  --shadow-hero: 0 24px 56px rgba(12, 18, 34, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-phone img {
    animation: none !important;
  }
}

body.site {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--bg-page);
  background-image: radial-gradient(
      ellipse 120% 80% at 12% -12%,
      rgba(37, 99, 235, 0.14),
      transparent 52%
    ),
    radial-gradient(
      ellipse 90% 60% at 88% 8%,
      rgba(124, 58, 237, 0.1),
      transparent 48%
    ),
    linear-gradient(180deg, #eef1f8 0%, #f4f6fb 45%, #eef1f8 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

/* —— 顶栏 —— */
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.65rem 1rem 0;
  margin: 0 auto;
  max-width: 1120px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  padding: 0.55rem 1rem 0.55rem 1.1rem;
  border-radius: 100px;
  background: var(--surface-glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-nav);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.brand-mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.nav-links {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-link--cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.35);
}

.nav-link--cta:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent-hover), #4338ca);
}

/* —— 首屏 —— */
.hero {
  position: relative;
  padding: 0 1rem 3rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  left: 50%;
  top: 4rem;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.09) 0%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 1.15rem auto 0;
  padding: 2rem 1.5rem 2.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hero);
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: linear-gradient(
    135deg,
    var(--accent-soft),
    var(--violet-soft)
  );
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
}

.hero-desc {
  margin: 0;
  color: var(--ink-muted);
  max-width: 38ch;
  font-size: 1.04rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.42);
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.45rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  padding: 0.38rem 0.78rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--bg-band);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-phone {
  position: relative;
  justify-self: center;
  padding-bottom: 0.25rem;
}

.hero-phone-frame {
  position: absolute;
  width: min(100%, 300px);
  aspect-ratio: 1;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.18) 0%,
    rgba(124, 58, 237, 0.05) 45%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-phone img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 300px);
  height: auto;
  max-width: 100%;
  border-radius: 36px;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    0 12px 0 rgba(0, 0, 0, 0.04) inset, 0 28px 56px rgba(12, 18, 34, 0.15);
  animation: hero-float 8s ease-in-out infinite;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* —— 通用区块 —— */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.25rem 1rem 2.5rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.028em;
  font-weight: 800;
  color: var(--ink);
}

.section > h2 {
  margin-bottom: 0.35rem;
}

.section p {
  margin: 0.45rem 0;
  color: var(--ink-muted);
}

.section-head {
  margin-bottom: 0.2rem;
}

.section-head h2 {
  margin-bottom: 0.45rem;
}

.section-head p {
  margin: 0;
  font-size: 1rem;
  max-width: 36ch;
}

.features {
  position: relative;
  z-index: 0;
  border: none;
  background: transparent;
}

.features::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background: var(--bg-band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.features > h2::before {
  content: "功能亮点";
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.preview .section-head h2::before {
  content: "界面预览";
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.faq .section-head h2::before {
  content: "帮助";
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.tip {
  font-size: 0.9rem;
  opacity: 0.92;
}

.feature-grid {
  counter-reset: feat;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.55rem;
}

.feature-card {
  position: relative;
  padding: 1.4rem 1.35rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.feature-card::before {
  counter-increment: feat;
  content: counter(feat, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(37, 99, 235, 0.35);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: var(--shadow-card-hover);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  padding-right: 2.5rem;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--ink-muted);
}

.preview-grid {
  display: grid;
  gap: 1.05rem;
  margin-top: 1.45rem;
}

.preview-card {
  margin: 0;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.preview-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-card-hover);
}

.preview-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.preview-card figcaption {
  margin-top: 0.7rem;
  padding: 0 0.15rem;
  color: var(--ink-muted);
  font-size: 0.87rem;
  font-weight: 500;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.45rem;
}

.faq-item {
  margin: 0;
  padding: 1.32rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-card-hover);
  border-left-color: #4f46e5;
}

.faq-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.68;
  color: var(--ink-muted);
}

.download {
  padding-bottom: 3rem;
}

.download-card {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: 1.65rem 1.55rem;
  background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(248, 250, 255, 0.98) 100%
    )
    padding-box,
    linear-gradient(135deg, var(--accent), #6366f1, #7c3aed) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hero);
  overflow: hidden;
}

.download-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  top: -100px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.download-copy {
  position: relative;
  z-index: 1;
}

.download-copy h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.download-copy h2::before {
  content: "开始体验";
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.download-copy p {
  margin: 0.4rem 0 0;
}

.download-qrcode {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1rem;
  width: fit-content;
  justify-self: center;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.download-qrcode img {
  display: block;
  width: 168px;
  height: 168px;
  border-radius: 12px;
}

.download-qrcode figcaption {
  margin-top: 0.65rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-align: center;
}

.footer {
  margin-top: 0;
  padding: 2rem 1rem 2.5rem;
  text-align: center;
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer p {
  margin: 0.28rem 0;
}

.icp a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.18s ease;
}

.icp a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.beian-mps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
}

.beian-mps-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.beian-mps-link img {
  display: block;
  flex-shrink: 0;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .nav-shell {
    padding: 0.85rem 1.5rem 0;
  }

  .nav-links {
    display: flex;
  }

  .hero {
    padding: 0 1.5rem 3.75rem;
  }

  .hero-content {
    padding: 2.75rem 3rem 3rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.25rem;
    align-items: center;
  }

  .hero-phone img {
    width: min(100%, 310px);
  }

  .hero-phone-frame {
    width: min(100%, 310px);
  }

  .section {
    padding: 2.75rem 1.5rem 3rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .download-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 2rem 2.25rem;
    gap: 2rem;
  }

  .download-qrcode {
    justify-self: end;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    margin-top: 1.35rem;
  }

  .feature-card,
  .preview-card {
    padding: 1.45rem;
  }

  .preview-card {
    padding: 0.85rem;
  }
}
