/* Material Symbols 图标（与后台一致用图标） */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  display: inline-block;
  vertical-align: middle;
}

:root {
  --brand-purple: #5B41E1;
  --bg: #F5F6FA;
  --card: #ffffff;
  --text: #14151a;
  --subtle: #666a76;
  --line: #e6e8ee;
}

body {
  margin: 0;
  font-family: Inter, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.landing-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.landing-brand {
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.landing-brand:hover {
  color: var(--text);
}

.landing-brand__logo {
  height: 2rem;
  width: auto;
  display: block;
}

.landing-brand__name {
  letter-spacing: 0.02em;
}

/* 右上角操作按钮：深色模式、登录（与后台 header-action 一致） */
.landing-header__action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--bs-gray-200, #e9ecef);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.landing-header__action:hover {
  background: #212529;
  color: #edecff;
}

.landing-header__action--theme {
  padding: 0.5rem;
}
.landing-header__action--theme .landing-header__icon {
  font-size: 22px;
  width: 22px;
  height: 22px;
}

.landing-header__label {
  white-space: nowrap;
}

.landing {
  min-height: 100vh;
}

.section-title {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.2rem;
  letter-spacing: 0.01em;
}

.hero {
  padding: 5rem 0 4.5rem;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 992px) {
  .hero__container {
    grid-template-columns: 0.95fr 1.15fr;
  }

  .hero__visual {
    min-height: 26rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
  }

  .hero-desk {
    transform: scale(1.3);
    transform-origin: center center;
  }
}

.hero__kicker {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--brand-purple);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.hero__subtitle {
  color: var(--subtle);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.hero__actions .btn {
  min-width: 9.8rem;
}

/* hero 与 安全与隐私 的主下载按钮：图标与文字垂直居中 */
a.js-primary-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__btn-icon-wrap {
  display: inline-flex;
  align-items: center;
  margin-right: 0.4rem;
}

.hero__btn-icon-wrap .hero__btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: middle;
}

.hero__btn-label {
  display: inline-block;
  line-height: 1;
}

.hero__download-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid #d6dbec;
  background: #fff;
  color: #232535;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  position: relative;
}

.hero__download-icon:hover {
  border-color: #b0b8d0;
  color: #232535;
  background: #f8f9fc;
}

.hero__download-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.hero__download-icon[title]::after {
  content: attr(title);
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, -0.5rem);
  padding: 0.35rem 0.6rem;
  border-radius: 0.4rem;
  background: #232535;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero__download-icon[title]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  margin-bottom: -0.25rem;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #232535;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.hero__download-icon:hover[title]::after,
.hero__download-icon:focus[title]::after,
.hero__download-icon:hover[title]::before,
.hero__download-icon:focus[title]::before {
  opacity: 1;
}

.hero__download-icon:hover[title]::after {
  transform: translate(-50%, -0.6rem);
}

.hero__download-icon.is-current-platform {
  display: none;
}

.hero__visual {
  position: relative;
  min-height: 20rem;
}

/* Hero 区域：贴近真实客户端 - 顶栏/订阅卡/大圆/智能分流/节点 + 手机底栏 */
.hero-desk {
  width: min(100%, 28rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  overflow: visible;
  position: relative;
  z-index: 1;
}

.hero-desk__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.7rem;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.hero-desk__brand {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.hero-desk__topbar-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-desk__icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--line);
  opacity: 0.75;
}

.hero-desk__btn {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
}

.hero-desk__body {
  padding: 0.6rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-desk__sub {
  padding: 0.4rem 0.5rem 0.4rem 0.55rem;
  background: var(--line);
  border-radius: 0.5rem;
  border-left: 3px solid var(--brand-purple);
  opacity: 0.85;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
}

.hero-desk__sub-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
  width: 100%;
}

.hero-desk__bar-wrap {
  flex: 1;
  min-width: 0;
}

.hero-desk__progress {
  height: 4px;
  border-radius: 999px;
  background: var(--card);
  overflow: hidden;
  margin-bottom: 0.15rem;
}

.hero-desk__progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--brand-purple);
}

.hero-desk__bar-txt {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  color: var(--subtle);
}

.hero-desk__renew {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  align-self: flex-end;
}

.hero-desk__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero-desk__power {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 3px solid var(--brand-purple);
  background: var(--card);
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(91, 65, 225, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--brand-purple);
}

.hero-desk__status {
  margin: 0;
  font-size: 0.58rem;
  color: var(--subtle);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.hero-desk__check {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.hero-desk__toggles {
  display: flex;
  gap: 0.2rem;
  padding: 0.15rem;
  background: var(--line);
  border-radius: 999px;
  width: fit-content;
}

.hero-desk__toggle {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.6rem;
  color: var(--subtle);
  font-weight: 500;
}

.hero-desk__toggle--on {
  background: var(--card);
  color: var(--brand-purple);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.hero-desk__nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  background: rgba(91, 65, 225, 0.1);
  border: 1px solid rgba(91, 65, 225, 0.25);
}

.hero-desk__node {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text);
}

.hero-desk__node--on {
  color: var(--brand-purple);
}

.hero-desk__node-ms {
  font-size: 0.6rem;
  font-weight: 600;
  color: #22c55e;
}

.hero-phone {
  position: absolute;
  right: 0.5rem;
  bottom: -2rem;
  z-index: 3;
  width: 10.5rem;
  padding: 0.5rem 0.6rem 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transform: rotate(-6deg);
}

.hero-phone__notch {
  width: 1.8rem;
  height: 4px;
  margin: 0 auto 0.4rem;
  border-radius: 0 0 4px 4px;
  background: var(--line);
  opacity: 0.8;
}

.hero-phone__body {
  padding: 0 0.45rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-phone__sub {
  padding: 0.28rem 0.4rem;
  background: var(--line);
  border-radius: 0.4rem;
  border-left: 3px solid var(--brand-purple);
  opacity: 0.9;
}

.hero-phone__sub-bar {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-purple);
  width: 70%;
  margin-bottom: 0.12rem;
}

.hero-phone__sub-txt {
  font-size: 0.62rem;
  color: var(--subtle);
}

.hero-phone__power {
  width: 1.85rem;
  height: 1.85rem;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid var(--brand-purple);
  background: var(--card);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--brand-purple);
}

.hero-phone__status {
  margin: 0;
  font-size: 0.62rem;
  color: var(--subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.hero-phone__check {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.hero-phone__toggles {
  display: flex;
  gap: 0.2rem;
  padding: 0.14rem;
  background: var(--line);
  border-radius: 999px;
  justify-content: center;
}

.hero-phone__tg {
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  color: var(--subtle);
}

.hero-phone__tg--on {
  background: var(--card);
  color: var(--brand-purple);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.hero-phone__node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.28rem 0.4rem;
  border-radius: 0.4rem;
  background: rgba(91, 65, 225, 0.1);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text);
}

.hero-phone__ms {
  color: #22c55e;
  font-size: 0.6rem;
}

.hero-phone__regions {
  padding: 0.4rem 0.45rem 0.55rem;
  background: var(--line);
  border-radius: 0 0 1.25rem 1.25rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-phone__region {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0.35rem;
  border-radius: 0.35rem;
  background: var(--card);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text);
}

.hero-phone__region-ms {
  font-size: 0.58rem;
  font-weight: 600;
  color: #22c55e;
}

.hero-phone__region:last-child .hero-phone__region-ms {
  color: var(--subtle);
}

/* 技术展示区：三列，中间主视觉更高且上移，整体高度约 +20%，柔和大阴影 */
.capability {
  padding: 6rem 0 7.2rem;
  background: var(--bg);
}

.capability__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.capability__grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr 1fr;
  gap: 2.5rem 3rem;
  align-items: end;
}

.capability-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.capability-card--side:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.12);
}

.capability-card--main {
  padding: 2rem 1.75rem;
  align-self: start;
  margin-top: -2rem;
  min-height: 22rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  transform: scale(1.02);
  position: relative;
}

.capability-card--main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 55% 45% at 50% 18%, rgba(108, 99, 255, 0.14) 0%, rgba(108, 99, 255, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.capability-card--main > .capability-card__visual,
.capability-card--main > .capability-card__title,
.capability-card--main > .capability-card__desc {
  position: relative;
  z-index: 1;
}

.capability-card--main:hover {
  box-shadow: 0 36px 88px rgba(0, 0, 0, 0.14);
}

.capability-card__visual {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--subtle);
}

/* 左侧：智能分流架构示意图 - 多细线路径汇聚中心，流动动画 */
.capability-card__visual--flow {
  min-height: 11rem;
  color: var(--line);
}

.capability-flow {
  width: 100%;
  max-width: 110px;
  height: auto;
}

.capability-flow__path {
  stroke: var(--brand-purple);
  opacity: 0.45;
  animation: capability-flow-pulse 2.4s ease-in-out infinite;
}

.capability-flow__path--d2 { animation-delay: 0.2s; }
.capability-flow__path--d3 { animation-delay: 0.4s; }
.capability-flow__path--d4 { animation-delay: 0.6s; }
.capability-flow__path--d5 { animation-delay: 0.1s; }
.capability-flow__path--d6 { animation-delay: 0.3s; }
.capability-flow__path--d7 { animation-delay: 0.5s; }
.capability-flow__path--d8 { animation-delay: 0.7s; }
.capability-flow__path--d9 { animation-delay: 0.15s; }
.capability-flow__path--d10 { animation-delay: 0.35s; }
.capability-flow__path--d11 { animation-delay: 0.55s; }
.capability-flow__path--d12 { animation-delay: 0.25s; }

@keyframes capability-flow-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.65; }
}

.capability-flow__center {
  fill: var(--brand-purple);
}

/* 中间：实时性能面板 - 大号延迟数字、数据条、按钮条、状态灯、紫色光晕 */
.capability-card__visual--panel {
  position: relative;
  min-height: 18rem;
  border-radius: 14px;
  overflow: hidden;
}

.tech-panel__bg {
  position: absolute;
  inset: -15%;
  background: radial-gradient(ellipse 50% 35% at 50% 22%, rgba(108, 99, 255, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

[data-bs-theme=dark] .tech-panel__bg {
  background: radial-gradient(ellipse 50% 35% at 50% 22%, rgba(108, 99, 255, 0.16) 0%, transparent 70%);
}

.tech-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tech-panel__header {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  position: relative;
}

.tech-panel__big-value {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(90deg, #7c6cff 0%, #5b4df2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(91, 77, 242, 0.2);
  position: relative;
  display: inline-block;
}

.tech-panel__big-value::after {
  content: "";
  position: absolute;
  left: 100%;
  margin-left: 0.45rem;
  top: 50%;
  transform: translateY(-50%) scale(1);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5b4df2;
  box-shadow: 0 0 8px rgba(91, 77, 242, 0.6);
  animation: tech-status-pulse 2s ease-in-out infinite;
}

@keyframes tech-status-pulse {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.92; transform: translateY(-50%) scale(1.08); }
}

.tech-panel__unit {
  font-size: 0.8rem;
  color: var(--subtle);
  font-weight: 500;
}

.tech-panel__strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0;
}

.tech-panel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  opacity: 0.6;
}

.tech-panel__dot--on {
  background: var(--brand-purple);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(91, 65, 225, 0.3);
}

.tech-panel__btn {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-purple);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(91, 65, 225, 0.12);
}

.tech-panel__rows {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tech-panel__row {
  display: grid;
  grid-template-columns: 3.2rem 3.2rem 1fr;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.tech-panel__label {
  color: var(--subtle);
}

.tech-panel__val {
  font-weight: 600;
  color: var(--text);
}

.tech-panel__bar {
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.tech-panel__fill {
  display: block;
  height: 100%;
  min-width: 4%;
  border-radius: 999px;
  background: linear-gradient(90deg, #5b4df2 0%, #7c6cff 18%, #5b4df2 36%, #7c6cff 54%, #5b4df2 72%, #7c6cff 90%, #5b4df2 100%);
  background-size: 300% 100%;
  background-position: 0% 0;
  animation: tech-bar-flow 3s linear infinite;
  transition: width 0.5s ease;
}

.tech-panel__row:nth-child(2) .tech-panel__fill { animation-delay: 0.4s; }
.tech-panel__row:nth-child(3) .tech-panel__fill { animation-delay: 0.8s; }

@keyframes tech-bar-flow {
  0% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

/* 右侧：设备生态 - 桌面/平板/手机线框，比例与阴影层级 */
.capability-card__visual--devices {
  min-height: 11rem;
}

.tech-devices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.75rem;
}

.tech-devices__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-devices__item--desktop {
  width: 56px;
}

.tech-devices__stand {
  width: 20px;
  height: 10px;
  background: var(--line);
  border-radius: 2px 2px 0 0;
  opacity: 0.8;
}

.tech-devices__bezel {
  width: 56px;
  height: 6px;
  background: var(--line);
  border-radius: 2px 2px 0 0;
  opacity: 0.9;
}

.tech-devices__item--desktop .tech-devices__screen {
  width: 56px;
  height: 36px;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, rgba(91, 65, 225, 0.06) 0%, var(--card) 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.tech-devices__item--tablet {
  width: 36px;
}

.tech-devices__frame {
  width: 36px;
  height: 4px;
  background: var(--line);
  border-radius: 2px 2px 0 0;
  opacity: 0.9;
}

.tech-devices__screen--tablet {
  width: 36px;
  height: 48px;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, rgba(91, 65, 225, 0.05) 0%, var(--card) 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.tech-devices__item--phone {
  width: 24px;
}

.tech-devices__notch {
  width: 10px;
  height: 4px;
  margin: 0 auto;
  background: var(--line);
  border-radius: 0 0 3px 3px;
  opacity: 0.85;
}

.tech-devices__screen--phone {
  width: 24px;
  height: 42px;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, rgba(91, 65, 225, 0.06) 0%, var(--card) 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.capability-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.capability-card__title--main {
  font-size: 1.15rem;
}

.capability-card__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--subtle);
  line-height: 1.5;
}

.capability-card__desc--sub {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

@media (max-width: 991.98px) {
  .capability__grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .capability {
    padding: 4.5rem 0 5.5rem;
  }

  .capability__title {
    margin-bottom: 2.75rem;
  }

  .capability-card--main {
    margin-top: 0;
    min-height: auto;
  }

  .capability-card__visual--panel {
    min-height: 16rem;
  }
}

.steps {
  padding: 0 0 0; /* 下间距由下一段 padding-top 统一为 105px */
}

.step-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.step-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #d6dbec;
  background: #fff;
  color: #3e4354;
  border-radius: 999px;
  padding: 0.52rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.step-tab__icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.step-tab.is-active {
  border-color: var(--brand-purple);
  color: #fff;
  background: var(--brand-purple);
}

.step-panel.d-none {
  display: none !important;
}

.step-panel--cards {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.step-card--reverse {
  flex-direction: row-reverse;
}

.step-card__content {
  flex: 1;
  min-width: 0;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand-purple);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.step-card__desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--subtle);
  line-height: 1.5;
}

.step-card__img {
  flex-shrink: 0;
  width: 14rem;
  max-width: 42%;
  min-height: 8rem;
  border-radius: 0.6rem;
  overflow: hidden;
  background: var(--line);
}

.step-card__img img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 8rem;
  object-fit: cover;
  vertical-align: middle;
}

.step-card__img--clickable {
  position: relative;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
}

.step-card__img--clickable::after {
  content: "点击放大";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(80, 80, 80, 0.48);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.step-card__img--clickable:hover {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--brand-purple);
}

.step-card__img--clickable:hover::after {
  opacity: 1;
}

.step-card__img--clickable:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--brand-purple);
}

/* 步骤图放大弹层 */
.step-image-modal .modal-dialog {
  max-width: min(90vw, 56rem);
}

.step-image-modal .modal-body {
  min-height: 12rem;
  padding: 0.5rem;
}

.step-image-modal__img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 移动端：步骤卡片纵向堆叠，文字在上、截图在下 */
@media (max-width: 767.98px) {
  .step-panel--cards {
    gap: 1.25rem;
  }

  .step-card,
  .step-card--reverse {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.15rem;
    gap: 1rem;
  }

  .step-card__img {
    width: 100%;
    max-width: none;
    order: 1;
    min-height: 10rem;
  }

  .step-card__content {
    order: 0;
  }

  .step-card__num {
    margin-bottom: 0.4rem;
  }

  .step-card__title {
    font-size: 0.95rem;
  }

  .step-card__desc {
    font-size: 0.8125rem;
  }
}

/* 主流平台畅通访问：标题/副标题在框外，大框与步骤卡片统一；与快速开始统一上间距 105px */
.platforms-block {
  padding: 6.5625rem 0 4.5rem; /* 105px top，与快速开始一致 */
  background: var(--bg);
  overflow-x: hidden;
}

.platforms-block .container {
  max-width: 1200px;
}

.platforms-block__subtitle {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 28rem;
}

.platforms-block__subtitle-line1,
.platforms-block__subtitle-line2 {
  display: block;
  font-size: 0.95rem;
  color: var(--subtle);
  line-height: 1.5;
}

.platforms-block__subtitle-line1 {
  margin-bottom: 0.25rem;
}

/* 大框与 .step-card 统一：var(--card)、var(--line)、圆角、阴影 */
.platforms-block__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 3rem 2.5rem;
  text-align: center;
}

.platforms-block__category {
  margin-bottom: 5rem;
}

.platforms-block__category:last-of-type {
  margin-bottom: 2.5rem;
}

.platforms-block__category:not(:first-child)::before {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  background: var(--line);
  margin: 0 auto 1.5rem;
  opacity: 0.8;
}

.platforms-block__category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-purple);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.platforms-block__category-desc {
  font-size: 0.9rem;
  color: var(--subtle);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.platforms-block__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.platforms-block__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 90px;
  min-width: 120px;
  padding: 0 0.25rem;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.platforms-block__logo--lg {
  width: 156px;
  min-width: 156px;
  height: 117px;
}

.platforms-block__logo--lg img {
  max-height: 78px;
}

.platforms-block__logo--sm {
  width: 96px;
  min-width: 96px;
  height: 72px;
}

.platforms-block__logo--sm img {
  max-height: 48px;
}

.platforms-block__logo--gap-before {
  margin-left: 4rem;
}

.platforms-block__logo:hover {
  filter: grayscale(100%);
  opacity: 1;
  transform: scale(1.08);
}

.platforms-block__logo img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.platforms-block__logo-inner {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.platforms-block__disclaimer {
  font-size: 0.75rem;
  color: var(--subtle);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 767.98px) {
  .platforms-block {
    padding: 3.5rem 0 3rem;
  }

  .platforms-block__card {
    padding: 2rem 1.25rem;
  }

  .platforms-block__subtitle {
    margin-bottom: 1.5rem;
  }

  .platforms-block__category {
    margin-bottom: 3.75rem;
  }

  .platforms-block__category:last-of-type {
    margin-bottom: 2rem;
  }

  .platforms-block__category-title {
    font-size: 1.1rem;
  }

  .platforms-block__list {
    gap: 0.75rem 1rem;
    row-gap: 1.75rem;
    justify-content: center;
  }

  .platforms-block__logo {
    width: calc((100% - 2rem) / 3);
    height: 2.5rem;
    min-height: 2.5rem;
    min-width: 0;
    flex: 0 0 calc((100% - 2rem) / 3);
    box-sizing: border-box;
  }

  .platforms-block__logo--lg,
  .platforms-block__logo--sm {
    width: calc((100% - 2rem) / 3);
    flex: 0 0 calc((100% - 2rem) / 3);
    height: 2.5rem;
    min-width: 0;
  }

  .platforms-block__logo--lg img,
  .platforms-block__logo--sm img,
  .platforms-block__logo img {
    max-height: 40px;
  }

  .platforms-block__logo--sm img {
    max-height: 26px; /* 手机端 Hulu 更小 */
  }

  .platforms-block__logo--gap-before {
    margin-left: 0;
  }

  .platforms-block__logo-inner {
    font-size: 0.85rem;
  }
}

/* 安全与隐私保障：大圆角卡片、左右分栏、信任卡片 2×2 */
.security-privacy {
  padding: 3rem 0 5rem; /* 与上一模块留白约 120px（含 platforms-block 底部 4.5rem） */
  background: var(--bg);
}

.security-privacy .container {
  max-width: 1200px;
}

.security-privacy__card {
  position: relative;
  border-radius: 28px;
  padding: 90px 80px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.security-privacy__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 65, 225, 0.08) 0%, transparent 40%, transparent 60%, rgba(91, 65, 225, 0.06) 100%);
  opacity: 0.05;
  pointer-events: none;
}

.security-privacy__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
}

.security-privacy__head {
  flex: 0 0 45%;
}

.security-privacy__title {
  font-size: 2rem; /* 32px */
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.security-privacy__subtitle {
  font-size: 1rem; /* 16px */
  color: var(--subtle);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.security-privacy__statement {
  font-size: 0.95rem;
  color: var(--brand-purple);
  margin: 0;
  line-height: 1.6;
}

.security-privacy__download {
  margin-top: 1.5rem;
}

.security-privacy__grid {
  flex: 0 0 55%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-left: -50px; /* PC 端整体左移，平衡左右留白 */
}

.security-privacy__item {
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.security-privacy__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.08);
}

.security-privacy__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--brand-purple);
}

.security-privacy__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.security-privacy__item-title {
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: 0.01em;
}

.security-privacy__item-desc {
  font-size: 0.875rem; /* 14px */
  color: var(--subtle);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 1023.98px) {
  .security-privacy__inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .security-privacy__head {
    flex: none;
    width: 100%;
  }

  .security-privacy__grid {
    flex: none;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .security-privacy {
    padding: 3.5rem 0 3rem;
  }

  .security-privacy__card {
    padding: 60px 24px;
  }

  .security-privacy__title {
    font-size: 1.5rem;
  }

  .security-privacy__grid {
    gap: 12px; /* 缩小间距，让每张卡更宽，标题不换行 */
  }

  .security-privacy__item {
    padding: 1rem; /* 略减内边距，给标题更多横向空间 */
    min-width: 0; /* 允许 grid 子项正确收缩 */
  }
}

/* CTA 收口区：紫色背景、主下载 + 弱化注册 */
.cta-block {
  background: linear-gradient(135deg, #5B41E1 0%, #7c5cf0 50%, #5B41E1 100%);
  color: #fff;
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.cta-block .container {
  max-width: 36rem;
}

.cta-block__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.cta-block__sub {
  font-size: 1rem;
  opacity: 0.92;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.95);
}

.cta-block__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-block__btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14rem;
  padding: 0.75rem 1.75rem;
  background: #fff;
  color: var(--brand-purple);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-block__btn-download:hover {
  background: #fff;
  color: var(--brand-purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.cta-block__other {
  font-size: 0.875rem;
  margin: 0;
  opacity: 0.88;
  color: rgba(255, 255, 255, 0.95);
}

.cta-block__other-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-block__other-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.cta-block__btn-register {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cta-block__btn-register:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* 底部：简洁常规 */
.landing-footer {
  padding: 2rem 1rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}

.landing-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.landing-footer__links a {
  font-size: 0.9rem;
  color: var(--subtle);
  text-decoration: none;
}

.landing-footer__links a:hover {
  color: var(--text);
}

.landing-footer__copy {
  font-size: 0.8rem;
  color: var(--subtle);
  margin: 0;
}

/* 深色模式：landing 变量与主题按钮（与后台一致） */
[data-bs-theme=dark] {
  --bg: #131517;
  --card: #272b2f;
  --text: #dee2e6;
  --subtle: #adb5bd;
  --line: #495057;
}

[data-bs-theme=dark] .landing-header__action {
  background-color: var(--bs-light-bg-subtle);
  color: var(--bs-body-color);
}

[data-bs-theme=dark] .landing-header__action:hover {
  background-color: var(--bs-gray-700);
  color: var(--bs-body-color);
}

[data-bs-theme=dark] .landing-header__action--theme {
  background-color: var(--bs-primary);
  color: var(--bs-white);
}

[data-bs-theme=dark] .landing-header__action--theme:hover {
  background-color: #212529;
  color: #edecff;
}

[data-bs-theme=dark] .step-card {
  background: var(--card);
  border-color: var(--line);
}

[data-bs-theme=dark] .platforms-block__logo {
  filter: grayscale(100%) invert(1);
  opacity: 0.71;
}

[data-bs-theme=dark] .platforms-block__logo:hover {
  filter: grayscale(100%) invert(1);
  opacity: 1;
}

[data-bs-theme=dark] .security-privacy__card {
  background: var(--card);
  border-color: var(--line);
}

[data-bs-theme=dark] .security-privacy__glow {
  background: linear-gradient(135deg, rgba(147, 112, 255, 0.12) 0%, transparent 40%, transparent 60%, rgba(91, 65, 225, 0.1) 100%);
  opacity: 0.08;
}

[data-bs-theme=dark] .security-privacy__item {
  border-color: rgba(255, 255, 255, 0.06);
}

[data-bs-theme=dark] .security-privacy__item:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme=dark] .hero-desk,
[data-bs-theme=dark] .hero-phone {
  background: var(--card);
  border-color: var(--line);
}

[data-bs-theme=dark] .hero__download-icon {
  background: var(--card);
  border-color: var(--line);
  color: var(--text);
}

[data-bs-theme=dark] .hero__download-icon:hover {
  background: var(--card);
  border-color: var(--subtle);
  color: var(--text);
}

[data-bs-theme=dark] .hero__download-icon[title]::after {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
}

[data-bs-theme=dark] .hero__download-icon:hover[title]::before,
[data-bs-theme=dark] .hero__download-icon:focus[title]::before {
  border-top-color: var(--card);
}

[data-bs-theme=dark] .capability-card {
  background: var(--card);
  border-color: var(--line);
}

[data-bs-theme=dark] .cta-block {
  background: linear-gradient(135deg, #4a36c4 0%, #5B41E1 50%, #4a36c4 100%);
}

@media (max-width: 991.98px) {
  .hero {
    padding: 3.6rem 0 3.2rem;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__content {
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    min-height: 18rem;
    display: flex;
    justify-content: center;
  }

  .hero-phone {
    right: 0.5rem;
    bottom: -1rem;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    margin-bottom: 1.4rem;
  }

  .steps {
    padding-bottom: 3.8rem;
  }

  .hero-phone {
    width: 9rem;
    right: 0.2rem;
  }
}
