/* =========================================================
   链封 LinkWrap · 前台页面
   ========================================================= */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px) saturate(160%);
  background: color-mix(in srgb, var(--lw-bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-nav.scrolled {
  border-bottom-color: var(--lw-border);
  background: color-mix(in srgb, var(--lw-bg) 86%, transparent);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--lw-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 22px -8px var(--lw-primary), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--lw-muted);
  letter-spacing: 0.18em;
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 6px;
}

.nav-links a {
  font-size: 14px;
  color: var(--lw-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--lw-text);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links .mobile-cta {
  display: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--lw-border);
  background: transparent;
  color: var(--lw-text);
  cursor: pointer;
  place-items: center;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 74px 0 96px;
}

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

.hero-copy {
  max-width: 620px;
  min-width: 0;
}

.hero-badge {
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(38px, 5.1vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 720;
}

.hero-title span {
  display: block;
}

.hero-sub {
  margin-top: 22px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--lw-muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--lw-muted);
}

.hero-stats {
  display: flex;
  gap: 38px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--lw-border);
  flex-wrap: wrap;
}

.stat b {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 12.5px;
  color: var(--lw-muted);
}

/* 手机模型 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1400px;
}

.phone {
  position: relative;
  width: 292px;
  height: 590px;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, #2a3145, #0c1018 42%, #1a2030);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: rotateY(-9deg) rotateX(4deg) translateZ(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  animation: phone-float 9s ease-in-out infinite;
}

@keyframes phone-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateY(-9deg) rotateX(4deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotateY(-6deg) rotateX(2deg);
  }
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--lw-primary) 28%, #0a0e1a) 0%, #080b13 58%);
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.5px, transparent 0.5px);
  background-size: 14px 14px;
  opacity: 0.25;
  pointer-events: none;
}

.phone-notch {
  width: 100px;
  height: 24px;
  border-radius: 999px;
  background: #05070c;
  margin: 0 auto 4px;
  flex: none;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.62);
  padding: 0 6px;
  font-variant-numeric: tabular-nums;
}

.phone-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-top: 12px;
}

.phone-icon {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 38px -14px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  background: var(--lw-soft);
}

.phone-app h4 {
  font-size: 16px;
  font-weight: 650;
  margin-top: 2px;
}

.phone-app p {
  font-size: 11px;
  color: rgba(233, 238, 255, 0.5);
}

.phone-btn {
  width: 100%;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 650;
  color: #fff;
  background: var(--lw-gradient);
  box-shadow: 0 14px 28px -12px var(--lw-primary);
  margin-top: 6px;
}

.phone-rows {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 10.5px;
  color: rgba(233, 238, 255, 0.66);
}

.phone-row b {
  color: rgba(233, 238, 255, 0.92);
  font-weight: 600;
}

.phone-row .ok {
  color: #4ade80;
}

.phone-safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9.5px;
  color: rgba(233, 238, 255, 0.38);
  margin-top: 2px;
}

.phone-safe .ico {
  width: 12px;
  height: 12px;
}

/* 浮动卡片 */
.float-card {
  position: absolute;
  border-radius: 16px;
  background: color-mix(in srgb, var(--lw-surface) 82%, transparent);
  border: 1px solid var(--lw-border);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.9);
  padding: 13px 15px;
  z-index: 3;
}

.float-qr {
  right: -8px;
  bottom: 62px;
  width: 132px;
  text-align: center;
  animation: float-y 7s ease-in-out infinite;
}

.float-qr img {
  width: 100%;
  border-radius: 9px;
  background: #fff;
  padding: 7px;
}

.float-qr span {
  display: block;
  font-size: 10px;
  color: var(--lw-muted);
  margin-top: 7px;
  letter-spacing: 0.02em;
}

.float-badge {
  left: -26px;
  top: 96px;
  display: flex;
  align-items: center;
  gap: 9px;
  animation: float-y 8s ease-in-out infinite 0.6s;
}

.float-badge .ico {
  width: 26px;
  height: 26px;
  padding: 6px;
  border-radius: 9px;
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
}

.float-badge b {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.float-badge small {
  font-size: 10px;
  color: var(--lw-muted);
}

@keyframes float-y {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

/* ---------------- 通用 section ---------------- */
.section {
  padding: 84px 0;
  position: relative;
}

.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 首页四个主要区块标题居中放大 */
#features .section-head,
#steps .section-head,
#platforms .section-head,
#faq .section-head {
  max-width: 860px;
}

#features .section-title,
#steps .section-title,
#platforms .section-title,
#faq .section-title {
  font-size: clamp(32px, 4.2vw, 48px);
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.028em;
  font-weight: 700;
  margin-top: 14px;
}

.section-sub {
  margin-top: 14px;
  color: var(--lw-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* 能力矩阵 */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  padding: 26px;
  text-align: center;
  border-radius: var(--lw-radius-lg);
  background: color-mix(in srgb, var(--lw-surface) 88%, transparent);
  border: 1px solid var(--lw-border);
  overflow: hidden;
  transition: transform 0.35s var(--lw-ease), border-color 0.35s, background 0.35s;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--lw-primary) 55%, transparent), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: color-mix(in srgb, var(--lw-surface) 96%, transparent);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--lw-soft);
  border: 1px solid var(--lw-border);
  color: var(--lw-secondary);
  margin: 0 auto 18px;
}

.feature-icon .ico {
  width: 21px;
  height: 21px;
}

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--lw-muted);
}

/* 步骤 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 30px 26px 26px;
  text-align: center;
  border-radius: var(--lw-radius-lg);
  border: 1px solid var(--lw-border);
  background: color-mix(in srgb, var(--lw-surface) 70%, transparent);
  overflow: hidden;
}

.step-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--lw-soft);
  border: 1px solid var(--lw-border);
  color: var(--lw-secondary);
}

.step-icon .ico {
  width: 21px;
  height: 21px;
}

.step-card::after {
  content: "0" counter(step);
  counter-increment: step;
  position: absolute;
  right: 18px;
  top: 4px;
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--lw-primary);
  opacity: 0.09;
  font-variant-numeric: tabular-nums;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13.5px;
  color: var(--lw-muted);
  line-height: 1.8;
}

.step-line {
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--lw-gradient);
  margin-bottom: 18px;
}

/* 应用库 */
.apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: var(--lw-radius);
  background: color-mix(in srgb, var(--lw-surface) 88%, transparent);
  border: 1px solid var(--lw-border);
  transition: transform 0.3s var(--lw-ease), border-color 0.3s, background 0.3s;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--lw-primary) 46%, transparent);
  background: color-mix(in srgb, var(--lw-surface) 100%, transparent);
}

.app-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  flex: none;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.7);
}

.app-body {
  flex: 1;
  min-width: 0;
}

.app-body h3 {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-body p {
  font-size: 12px;
  color: var(--lw-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.app-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 10.5px;
  color: var(--lw-muted);
}

.app-tag {
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(148, 163, 184, 0.12);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.app-go {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(148, 163, 184, 0.1);
  color: var(--lw-text);
  flex: none;
  transition: background 0.25s, transform 0.25s;
}

.app-card:hover .app-go {
  background: var(--lw-gradient);
  color: #fff;
  transform: translateX(2px);
}

.apps-empty {
  padding: 40px;
  text-align: center;
  border: 1px dashed var(--lw-border);
  border-radius: var(--lw-radius);
  color: var(--lw-muted);
  font-size: 14px;
}

.apps-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* 平台 */
.platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.platform-card {
  position: relative;
  padding: 28px;
  text-align: center;
  border-radius: var(--lw-radius-lg);
  border: 1px solid var(--lw-border);
  background: linear-gradient(170deg, color-mix(in srgb, var(--lw-surface) 96%, transparent), color-mix(in srgb, var(--lw-surface) 60%, transparent));
  overflow: hidden;
}

.platform-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: var(--lw-soft);
  filter: blur(10px);
  pointer-events: none;
}

.platform-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.platform-tag {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.platform-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--lw-soft);
  border: 1px solid var(--lw-border);
  color: var(--lw-text);
}

.platform-tag {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--lw-secondary);
  border: 1px solid color-mix(in srgb, var(--lw-secondary) 34%, transparent);
  border-radius: 999px;
  padding: 3px 9px;
}

.platform-card h3 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.platform-card > p {
  font-size: 13px;
  color: var(--lw-muted);
  margin-top: 4px;
}

.platform-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.platform-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  color: color-mix(in srgb, var(--lw-text) 82%, transparent);
}

.platform-list .ico {
  width: 15px;
  height: 15px;
  color: var(--lw-success);
  stroke-width: 2.4;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--lw-border);
  border-radius: var(--lw-radius);
  background: color-mix(in srgb, var(--lw-surface) 72%, transparent);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 14.5px;
  font-weight: 550;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  border: 1px solid var(--lw-border);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.3s var(--lw-ease), background 0.3s;
}

.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--lw-ease), opacity 0.3s;
}

.faq-item summary .plus::before {
  width: 11px;
  height: 1.6px;
}

.faq-item summary .plus::after {
  width: 1.6px;
  height: 11px;
}

.faq-item[open] summary .plus {
  transform: rotate(90deg);
  background: var(--lw-soft);
}

.faq-item[open] summary .plus::after {
  opacity: 0;
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--lw-muted);
  max-width: 92%;
}

/* CTA */
.cta-section {
  padding: 40px 0 100px;
}

.cta-panel {
  position: relative;
  padding: 66px 40px;
  border-radius: 32px;
  text-align: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--lw-primary) 26%, transparent);
  background: radial-gradient(120% 140% at 50% -10%, color-mix(in srgb, var(--lw-primary) 30%, transparent) 0%, transparent 58%),
    color-mix(in srgb, var(--lw-surface) 80%, transparent);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%);
  pointer-events: none;
}

.cta-panel h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-weight: 700;
  position: relative;
}

.cta-panel p {
  color: var(--lw-muted);
  margin: 14px auto 30px;
  max-width: 460px;
  font-size: 14.5px;
  position: relative;
}

.cta-panel .btn {
  position: relative;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--lw-border);
  padding: 46px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand p {
  font-size: 13px;
  color: var(--lw-muted);
  max-width: 320px;
  margin-top: 12px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lw-muted);
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: color-mix(in srgb, var(--lw-text) 78%, transparent);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--lw-primary);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--lw-border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--lw-muted);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero-grid {
    gap: 40px;
  }
  .float-QR,
  .float-qr {
    right: -2px;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .site-nav.open .nav-links {
    display: flex;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px;
    border-radius: var(--lw-radius);
    background: color-mix(in srgb, var(--lw-surface) 96%, transparent);
    border: 1px solid var(--lw-border);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  }
  .site-nav.open .nav-links a {
    padding: 9px 6px;
    font-size: 15px;
    width: 100%;
  }
  .site-nav.open .nav-links .mobile-cta {
    display: block;
    color: var(--lw-primary);
    font-weight: 600;
    margin-top: 4px;
    border-top: 1px solid var(--lw-border);
    padding-top: 12px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-visual {
    margin-top: 6px;
  }
  .features,
  .steps,
  .apps,
  .platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section {
    padding: 66px 0;
  }
}

@media (max-width: 640px) {
  .lw-container {
    padding: 0 20px;
  }
  .hero {
    padding: 46px 0 70px;
  }
  .hero-title {
    font-size: clamp(34px, 10vw, 46px);
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-actions .btn {
    flex: 1;
    min-width: 140px;
  }
  .hero-stats {
    gap: 24px;
  }
  .stat b {
    font-size: 20px;
  }
  .phone {
    width: 268px;
    height: 542px;
    border-radius: 42px;
  }
  .float-qr {
    width: 108px;
    right: -4px;
    bottom: 30px;
  }
  .float-badge {
    left: -6px;
    top: 40px;
    padding: 10px 12px;
  }
  .features,
  .steps,
  .apps,
  .platforms {
    grid-template-columns: 1fr;
  }
  .section-head {
    margin-bottom: 34px;
  }
  .section-title {
    font-size: 27px;
  }
  .cta-panel {
    padding: 44px 22px;
    border-radius: 24px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 30px;
  }
  .footer-links {
    gap: 34px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* iOS / 触摸设备：关闭持续位移动画与动态模糊，避免 WebClip 首页插画抖动 */
@media (hover: none), (pointer: coarse) {
  .phone {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .float-card {
    animation: none !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: color-mix(in srgb, var(--lw-surface) 96%, transparent);
    will-change: auto;
  }

  .site-nav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: color-mix(in srgb, var(--lw-bg) 94%, transparent);
  }
}

@supports (-webkit-touch-callout: none) {
  @media (pointer: coarse) {
    .phone {
      animation: none;
      transform: none;
    }

    .float-card {
      animation: none !important;
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone,
  .float-card {
    animation: none !important;
  }
}

/* iOS 专用兜底：即使媒体查询未命中，也强制稳定首页插画 */
html.ios-stable .phone {
  animation: none !important;
  transform: none !important;
  will-change: auto;
}

html.ios-stable .float-card {
  animation: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: color-mix(in srgb, var(--lw-surface) 96%, transparent);
  will-change: auto;
}

html.ios-stable .site-nav {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: color-mix(in srgb, var(--lw-bg) 94%, transparent);
}

/* 首页广告主图（后台可替换） */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-ad {
  display: block;
  width: min(100%, 620px);
  margin: 6px 0 18px;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
}

.hero-ad img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .hero-ad {
    margin: 4px 0 12px;
  }
}

/* 首页广告轮播 */
.hero-ad-carousel {
  position: relative;
  width: min(100%, 620px);
  margin: 6px 0 18px;
}

.hero-ad-viewport {
  position: relative;
  aspect-ratio: 1200 / 340;
  border-radius: 16px;
  overflow: hidden;
}

.hero-ad-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.hero-ad-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-ad-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-ad-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-ad-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}

.hero-ad-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: var(--lw-muted);
  opacity: 0.35;
  cursor: pointer;
  transition: width 0.22s, opacity 0.22s, background 0.22s;
}

.hero-ad-dots button.active {
  width: 20px;
  background: var(--lw-primary);
  opacity: 1;
}

.hero-ad-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--lw-border);
  background: rgba(8, 12, 20, 0.55);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}

.hero-ad-nav.prev {
  left: 9px;
}

.hero-ad-nav.next {
  right: 9px;
}

.hero-ad-carousel:hover .hero-ad-nav {
  opacity: 0.85;
}

.hero-ad-nav:hover {
  background: rgba(8, 12, 20, 0.82);
}

@media (hover: none) {
  .hero-ad-nav {
    opacity: 0.65;
  }
}

@media (max-width: 760px) {
  .hero-ad-carousel {
    margin: 4px 0 12px;
  }

  .hero-ad-nav {
    width: 26px;
    height: 26px;
    font-size: 15px;
  }
}

/* 首页页脚客服联系与群聊二维码 */
.footer-service {
  margin-top: 34px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  border: 1px solid var(--lw-border);
  border-radius: 16px;
  background: rgba(148, 163, 184, 0.04);
}

.footer-service-qr {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-service-qr img {
  width: 88px;
  height: 88px;
  padding: 4px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}

.footer-service-qr small {
  color: var(--lw-muted);
  font-size: 11px;
}

.footer-service-info b {
  font-size: 13px;
  color: var(--lw-text);
}

.footer-service-info p {
  margin: 5px 0 0;
  color: var(--lw-muted);
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre-line;
}

@media (max-width: 760px) {
  .footer-service {
    align-items: flex-start;
    gap: 16px;
  }

  .footer-service-qr img {
    width: 76px;
    height: 76px;
  }
}

/* 页脚双二维码：位于品牌图标右侧，与产品/会员/支持栏顶部对齐 */
.footer-qrs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 2px;
}

.footer-qr-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-qr-frame {
  position: relative;
  display: block;
  width: 88px;
  height: 88px;
  padding: 3px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 12px;
  background: #0b0f17;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 20px rgba(34, 211, 238, 0.12);
}

.footer-qr-frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180%;
  aspect-ratio: 1;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0 12%,
    #22d3ee 20%,
    #6366f1 28%,
    transparent 36% 58%,
    #22d3ee 66%,
    #6366f1 74%,
    transparent 82% 100%
  );
  transform: translate(-50%, -50%) rotate(0deg);
  animation: footer-qr-spin 3.4s linear infinite;
}

.footer-qr-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px;
  border-radius: 9px;
  background: #fff;
  object-fit: contain;
}

.footer-qr-label {
  color: var(--lw-muted);
  font-size: 10.5px;
  text-align: center;
  white-space: nowrap;
}

@keyframes footer-qr-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* 页脚二维码跑马灯动画保持播放（iOS WebClip 不再因减少动态效果被关闭） */
.footer-qr-contact {
  color: var(--lw-muted);
  font-size: 10.5px;
  line-height: 1.6;
  text-align: center;
  white-space: pre-line;
}

@media (max-width: 760px) {
  .footer-qrs {
    width: 100%;
    align-items: center;
  }

  .footer-qr-row {
    justify-content: center;
    gap: 18px;
  }

  .footer-qr-frame {
    width: 82px;
    height: 82px;
  }
}

/* 二维码紧贴品牌图标右侧，产品/会员/支持栏保持右对齐 */
.footer-grid {
  justify-content: flex-start;
}

.footer-links {
  margin-left: auto;
}

@media (max-width: 760px) {
  .footer-links {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    gap: 28px;
    text-align: center;
  }

  .footer-col {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
  }

  .footer-col h4,
  .footer-col a {
    text-align: center;
  }
}

/* 首页顶部公告：彩色渐变光带旋转边框 */
.hero-notice {
  position: relative;
  display: flex;
  width: fit-content;
  max-width: 100%;
  padding: 1.5px;
  margin-bottom: 14px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  background: #0b0f17;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
}

.hero-notice::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220%;
  aspect-ratio: 1;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0 12%,
    #22d3ee 20%,
    #6366f1 30%,
    transparent 38% 55%,
    #22d3ee 63%,
    #6366f1 73%,
    transparent 81% 100%
  );
  transform: translate(-50%, -50%) rotate(0deg);
  animation: hero-notice-spin 4.2s linear infinite;
}

.hero-notice-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 7px 15px;
  border-radius: inherit;
  background: rgba(7, 10, 18, 0.93);
  color: var(--lw-text);
  font-size: 12.5px;
  line-height: 1.55;
}

.hero-notice-text b {
  flex: none;
  padding: 2px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  color: #081018;
  font-size: 10.5px;
  font-weight: 700;
}

.hero-notice-marquee {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.hero-notice-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: hero-notice-scroll 180s linear infinite normal;
}

.hero-notice-item {
  flex: none;
  padding-right: 56px;
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    #ff5f6d,
    #ffc371,
    #47e891,
    #22d3ee,
    #818cf8,
    #e879f9,
    #ff5f6d
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  animation: hero-notice-rainbow 24s linear infinite normal;
}

@keyframes hero-notice-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes hero-notice-rainbow {
  to {
    background-position: -220% 0;
  }
}

/* iPhone / iPad 安装版：公告文字滚到最慢，避免看不清 */
html.ios-stable .hero-notice-track {
  animation-duration: 240s !important;
}

html.ios-stable .hero-notice-item {
  animation-duration: 60s !important;
}

@keyframes hero-notice-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* 公告文字与光带动画保持播放（iOS WebClip 不再因减少动态效果被关闭） */

/* 公告位置：页面顶部 / 页脚上方 */
.top-notice-wrap {
  padding-top: 14px;
}

.bottom-notice-wrap {
  padding: 12px 0 26px;
}

.hero-notice-code {
  width: 100%;
}
