/* ===== 变量与基础 ===== */
:root {
  --ink: #062a33;
  --ink-2: #4a6a74;
  --sea: #0e7c86;
  --sea-deep: #0a5b66;
  --sky: #2f7fe0;
  --mint: #7fe3d0;
  --sand: #f0d9a8;
  --bg: #f6fbfc;
  --tint: #eaf4f6;
  --card: #ffffff;
  --line: rgba(6, 42, 51, .08);
  --shadow: 0 20px 45px -28px rgba(6, 42, 51, .45);
  --radius: 20px;
  --maxw: 1120px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.28; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--ink-2); }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--sea);
  font-weight: 600;
}

.muted { color: var(--ink-2); font-size: 15px; }

/* 滚动出现 */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sea), var(--sky));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 14px 30px -16px rgba(14, 124, 134, .8);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -16px rgba(14, 124, 134, .85); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-ghost {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .32);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .2); box-shadow: none; }
.btn-light {
  background: #fff;
  color: var(--sea-deep);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5);
}

/* ===== 导航 ===== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 10px 30px -24px rgba(6, 42, 51, .6);
}
.nav-inner { display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sea), var(--sky));
  color: #fff;
  flex: none;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; letter-spacing: .02em; }
.brand-text em { font-style: normal; font-size: 12px; opacity: .7; }
.nav-links { display: flex; gap: 26px; font-size: 15px; }
.nav-links a { opacity: .82; transition: opacity .2s ease; }
.nav-links a:hover { opacity: 1; }
.nav.is-scrolled .btn-sm { background: linear-gradient(135deg, var(--sea), var(--sky)); color: #fff; }
.nav:not(.is-scrolled) .btn-sm { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); box-shadow: none; }

/* ===== 首屏 ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 80px) 0 140px;
  background: linear-gradient(160deg, #062a33 0%, #0a5b66 45%, #106e9c 100%);
  color: #fff;
}
.hero-glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(127, 227, 208, .38), rgba(127, 227, 208, 0) 68%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px;
  letter-spacing: .06em;
}
.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(127, 227, 208, .22);
}
.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: .01em;
}
.hero .hl {
  background: linear-gradient(100deg, var(--mint), var(--sand) 58%, #9ecbff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { max-width: 520px; font-size: 17px; color: rgba(255, 255, 255, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--mint);
  transform: rotate(45deg);
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; z-index: 1; }
.hero-wave path { fill: var(--bg); }

/* 手机示意 */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  z-index: 2;
  width: 300px;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.phone-bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 14px 10px; font-size: 12px; color: rgba(255, 255, 255, .8); }
.phone-dots { width: 46px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .35); }
.phone-body {
  padding: 18px 16px 20px;
  border-radius: 32px;
  background: #f7fbfc;
  color: var(--ink);
}
.p-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.p-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.p-search-text { flex: 1; font-size: 12px; color: #9bb0b7; }
.p-search-btn { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--sea); color: #fff; flex: none; }
.p-search-btn svg { width: 16px; height: 16px; }
.p-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px -22px rgba(6, 42, 51, .8);
}
.p-word { font-size: 30px; font-weight: 600; letter-spacing: .06em; }
.p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.p-tags span {
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef4f6;
  color: #6d8a93;
  font-size: 11px;
}
.p-tags span.on { background: rgba(14, 124, 134, .12); color: var(--sea-deep); font-weight: 600; }
.p-play { display: flex; align-items: center; gap: 10px; color: var(--sea); }
.p-play-btn svg { width: 24px; height: 24px; }
.p-wave { display: flex; align-items: center; gap: 3px; flex: 1; height: 24px; }
.p-wave i {
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--mint), var(--sea));
  animation: wave 1.4s ease-in-out infinite;
}
.p-wave i:nth-child(odd) { height: 10px; }
.p-wave i:nth-child(even) { height: 18px; }
.p-wave i:nth-child(3n) { height: 22px; }
.p-wave i:nth-child(n+1) { animation-delay: calc(.1s * var(--i, 1)); }
.p-wave i:nth-child(1) { animation-delay: .05s; }
.p-wave i:nth-child(2) { animation-delay: .12s; }
.p-wave i:nth-child(3) { animation-delay: .19s; }
.p-wave i:nth-child(4) { animation-delay: .26s; }
.p-wave i:nth-child(5) { animation-delay: .33s; }
.p-wave i:nth-child(6) { animation-delay: .4s; }
.p-wave i:nth-child(7) { animation-delay: .47s; }
.p-wave i:nth-child(8) { animation-delay: .54s; }
.p-wave i:nth-child(9) { animation-delay: .61s; }
.p-wave i:nth-child(10) { animation-delay: .68s; }
.p-wave i:nth-child(11) { animation-delay: .75s; }
.p-wave i:nth-child(12) { animation-delay: .82s; }
@keyframes wave {
  0%, 100% { transform: scaleY(.5); opacity: .55; }
  50% { transform: scaleY(1); opacity: 1; }
}
.p-card-alt { padding: 12px 14px 14px; }
.p-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; }
.p-tip { font-size: 11px; font-weight: 500; color: var(--sea); background: rgba(14, 124, 134, .1); padding: 2px 8px; border-radius: 999px; }
.p-bar { height: 6px; margin: 10px 0 12px; border-radius: 999px; background: #e8f0f2; overflow: hidden; }
.p-bar i { display: block; width: 72%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--mint), var(--sea)); }
.p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-grid span {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f1f7f8;
  font-size: 12px;
  color: var(--ink-2);
  text-align: center;
}
.phone-shadow {
  position: absolute;
  bottom: -26px;
  width: 260px;
  height: 40px;
  border-radius: 50%;
  background: rgba(253, 240, 220, .16);
  filter: blur(18px);
}

/* ===== 卡片网格 ===== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(14, 124, 134, .28); }
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 124, 134, .14), rgba(47, 127, 224, .14));
  color: var(--sea);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }

.tech-card {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f4fafb);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.tech-card:hover { transform: translateY(-6px); }
.tech-card h3 { font-size: 17px; margin-bottom: 10px; color: var(--sea-deep); }
.tech-card p { color: var(--ink-2); font-size: 14.5px; }

/* ===== 口音 ===== */
.accents-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.accents-copy h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 18px; }
.accents-copy p { color: var(--ink-2); margin-bottom: 14px; }
.accents-panel {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.accents-group + .accents-group { margin-top: 26px; padding-top: 24px; border-top: 1px dashed var(--line); }
.accents-group h3 { font-size: 14px; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  background: #f1f7f8;
  color: #7d959d;
  border: 1px solid transparent;
}
.chip-on {
  background: linear-gradient(135deg, rgba(14, 124, 134, .12), rgba(47, 127, 224, .12));
  color: var(--sea-deep);
  border-color: rgba(14, 124, 134, .25);
  font-weight: 600;
}

/* ===== 步骤 ===== */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 56px; }
.steps li {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.step-no {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sea), var(--sky));
  color: #fff;
  font-weight: 700;
}
.steps h3 { font-size: 18px; margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 15px; }

/* ===== CTA ===== */
.cta {
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 40px;
  padding: 46px;
  border-radius: 28px;
  background: linear-gradient(135deg, #062a33, #0a5b66 55%, #12709f);
  color: #fff;
  box-shadow: 0 40px 80px -50px rgba(6, 42, 51, 1);
}
.cta h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, .8); margin-bottom: 24px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cta-name {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, .45);
  font-size: 15px;
  letter-spacing: .16em;
}
.qr { text-align: center; }
.qr-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 200px;
  height: 200px;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.qr-img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.qr-fallback {
  position: absolute;
  inset: 12px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  border-radius: 12px;
  background: #f4fafb;
  color: var(--sea-deep);
  text-align: center;
}
.qr-fallback-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px; border-radius: 10px; background: rgba(14, 124, 134, .12); }
.qr-fallback-icon svg { width: 20px; height: 20px; }
.qr-fallback-title { font-size: 12px; letter-spacing: .16em; color: var(--ink-2); }
.qr-fallback-name { font-size: 21px; font-weight: 700; letter-spacing: .1em; }
.qr-fallback-hint { font-size: 11px; color: #7d959d; }
.qr.is-empty .qr-img { visibility: hidden; }
.qr:not(.is-empty) .qr-fallback { display: none; }
.qr.is-empty .qr-fallback { display: grid; }
.qr-caption { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .7); }

/* ===== 页脚 ===== */
.footer { padding: 44px 0; border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { font-size: 16px; }
.footer-brand p { font-size: 13px; color: var(--ink-2); }
.footer-meta { font-size: 13px; color: var(--ink-2); }

/* ===== 提示条 ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 80;
  padding: 13px 24px;
  border-radius: 999px;
  background: rgba(6, 42, 51, .92);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 20px 40px -20px rgba(6, 42, 51, .9);
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero { padding: calc(var(--nav-h) + 60px) 0 120px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: left; }
  .accents-inner { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; text-align: left; padding: 34px 26px; }
  .qr { justify-self: center; }
  .section { padding: 72px 0; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .brand-text em { display: none; }
  .hero h1 { font-size: 32px; }
  .hero-actions .btn { width: 100%; }
  .phone { width: 100%; max-width: 300px; }
  .card, .tech-card, .steps li { padding: 24px 20px; }
  .cta { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .p-wave i { animation: none; }
  .btn, .card, .tech-card { transition: none; }
}
