/* 星链VPN 首页样式 —— 由 office/stelink/index.html 内的 <style> 块提取而来 */
/* 修改样式请直接编辑本文件；如需再内联回首页，请与维护者确认 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: #ffffff;
  color: #1e293b;
  line-height: 1.5;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --text: #1e293b;
  --muted: rgba(30, 41, 59, 0.72);
  --muted-2: rgba(30, 41, 59, 0.56);
  --border: rgba(30, 41, 59, 0.12);
  --border-2: rgba(30, 41, 59, 0.18);
  --brand: #0ea5e9;
  --brand-strong: #0ea5e9;
  --ring: rgba(14, 165, 233, 0.28);
  --btn-radius: 999px;
  --grid: rgba(30, 41, 59, 0.06);
  --glow: rgba(14, 165, 233, 0.18);
  --icon-blue: #0ea5e9;
  --icon-sky: #0ea5e9;
  --icon-violet: #8b5cf6;
  --icon-green: #22c55e;
  --icon-emerald: #10b981;
  --icon-orange: #f97316;
  --icon-rose: #e11d48;
  --icon-slate: #64748b;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.45;
  mask-image: radial-gradient(900px 520px at 50% 0%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 0;
  animation: grid-drift 22s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 520px;
  background: radial-gradient(closest-side at 35% 45%, var(--glow), transparent 68%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
  animation: glow-float 9s ease-in-out infinite;
}

.pretext {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(14, 165, 233, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  width: fit-content;
}

.pretext b {
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--text);
}

.pretext i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
  animation: dot-pulse 2.2s ease-in-out infinite;
}

/* 柔和底色 + 微妙纹理 */
.bg-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(30, 41, 59, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* 非对称导航 - 左Logo 右菜单 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  border-radius: 9px;
}

.logo-text {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
}

.logo-text span {
  color: var(--brand);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  transition: 0.2s;
  font-size: 0.95rem;
}

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

.language-select {
  min-height: 38px;
  padding: 8px 30px 8px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
  }

  .language-select {
    width: min(220px, 100%);
  }
}

.btn-outline-warm {
  background: transparent;
  border: 1.5px solid var(--border);
  padding: 8px 24px;
  border-radius: var(--btn-radius);
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
  box-shadow: 0 6px 14px rgba(30, 20, 10, 0.06);
}

.btn-outline-warm:hover {
  border-color: var(--brand);
  background: rgba(14, 165, 233, 0.06);
  color: var(--brand);
  transform: translateY(-1px);
}

.btn-outline-warm:active {
  transform: translateY(0);
}

.btn-outline-warm:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px var(--ring),
    0 10px 20px -10px rgba(30, 20, 10, 0.2);
}

/* 多语言选择器样式 */
.language-selector {
  display: inline-block;
  margin: 0 10px;
}

.language-selector select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  padding: 8px 20px 8px 12px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  transition: all 0.2s ease;
}

.language-selector select:hover {
  border-color: var(--brand);
  background-color: var(--surface-2);
}

.language-selector select:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
  border-color: var(--brand);
}

.btn-primary-warm {
  background: linear-gradient(117deg, #0072ff, #7da3f9);
  border: none;
  padding: 10px 28px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    filter 0.18s,
    background 0.18s;
  box-shadow:
    0 10px 22px -10px rgba(196, 69, 12, 0.55),
    0 2px 6px rgba(30, 20, 10, 0.1);
  background-size: 200% 200%;
  animation: btn-sheen 6s ease-in-out infinite;
}

.btn-primary-warm:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow:
    0 16px 30px -14px rgba(196, 69, 12, 0.65),
    0 6px 14px rgba(30, 20, 10, 0.14);
}

.btn-primary-warm:active {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.btn-primary-warm:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px var(--ring),
    0 16px 30px -14px rgba(196, 69, 12, 0.65),
    0 6px 14px rgba(30, 20, 10, 0.14);
}

/* HERO 非对称布局：左右比例 3:2，错落图片 */
.hero-asym {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0 64px;
}

.hero-left h6 {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-left h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 24px;
}

.accent-text {
  color: var(--brand);
  border-bottom: 3px solid rgba(255, 122, 32, 0.45);
  display: inline-block;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  padding: 12px 32px;
  border-radius: var(--btn-radius);
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
  box-shadow: 0 6px 14px rgba(30, 20, 10, 0.06);
}

.btn-secondary:hover {
  background: rgba(234, 242, 255, 0.06);
  border-color: var(--border-2);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-secondary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px var(--ring),
    0 10px 20px -10px rgba(30, 20, 10, 0.2);
}

.trust-badge {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.trust-badge span {
  font-size: 0.8rem;
  color: var(--muted-2);
}

.hero-exit-ip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 20px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-exit-ip b {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.hero-exit-ip a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.hero-exit-ip a:hover {
  text-decoration: underline;
}

.hero-exit-ip.is-pending b {
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted-2);
}

.hero-right {
  position: relative;
}

.hero-image-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
}

.card-img {
  border-radius: 32px;
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.55);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 80%;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-img:nth-child(1) {
  width: 90%;
  margin-right: 0;
}

.card-img:nth-child(2) {
  width: 70%;
  margin-top: -20px;
}

.card-img i {
  font-size: 2rem;
}

.hero-image-stack .card-img:nth-child(1) i {
  color: var(--icon-sky);
}

.hero-image-stack .card-img:nth-child(2) i {
  color: var(--icon-violet);
}

.hero-stats-mini {
  margin-top: 30px;
  display: flex;
  gap: 32px;
  background: rgba(234, 242, 255, 0.06);
  padding: 18px 24px;
  border-radius: 80px;
  width: fit-content;
  border: 1px solid var(--border);
}

/* 卡片分割布局 - 两列不对称 */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 80px 0;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > div {
  direction: ltr;
}

.split-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.split-list {
  list-style: none;
  margin-top: 28px;
}

.split-list li {
  margin: 16px 0;
  display: flex;
  gap: 14px;
  align-items: center;
}

.split-list i {
  font-size: 1.3rem;
}

.split-list li:nth-child(1) i {
  color: var(--icon-green);
}

.split-list li:nth-child(2) i {
  color: var(--icon-sky);
}

.split-media {
  background: var(--surface-2) !important;
  border-radius: 48px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border) !important;
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 特色卡片 - 非对称瀑布网格 */
.feature-waterfall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 48px 0;
}

.feature-card-custom {
  border-radius: 40px;
  padding: 32px;
  transition: all 0.25s;
  border: 1px solid var(--border);
  box-shadow: 0 14px 26px -18px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-card-custom:hover {
  transform: translateY(-5px);
  border-color: var(--border-2);
  box-shadow: 0 22px 34px -18px rgba(0, 0, 0, 0.55);
}

.feature-card-custom:nth-child(1) {
  grid-column: span 1;
}

.feature-card-custom:nth-child(2) {
  transform: translateY(20px);
}

.feature-card-custom:nth-child(3) {
  transform: translateY(-10px);
}

.feature-card-custom:nth-child(4) {
  grid-column: span 1;
  transform: translateY(10px);
}

@media (max-width: 800px) {
  .feature-waterfall {
    grid-template-columns: 1fr;
  }

  .feature-card-custom:nth-child(2),
  .feature-card-custom:nth-child(3),
  .feature-card-custom:nth-child(4) {
    transform: translateY(0);
  }
}

.feature-icon-lg {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.feature-card-custom:nth-child(1) .feature-icon-lg {
  color: var(--icon-violet);
}

.feature-card-custom:nth-child(2) .feature-icon-lg {
  color: var(--icon-sky);
}

.feature-card-custom:nth-child(3) .feature-icon-lg {
  color: var(--icon-orange);
}

.feature-card-custom:nth-child(4) .feature-icon-lg {
  color: var(--icon-emerald);
}

.trust-badge span:nth-child(1) i {
  color: var(--icon-green);
}

.trust-badge span:nth-child(2) i {
  color: var(--icon-sky);
}

.trust-badge span:nth-child(3) i {
  color: var(--icon-violet);
}

/* 节点区块 - 水平滚动美感 */
.node-carousel {
  border-radius: 60px;
  padding: 48px 32px;
  margin: 50px 0;
  text-align: center;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.node-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.node-pill {
  padding: 8px 22px;
  border-radius: 60px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.net-map-wrap {
  margin: 22px auto 0;
  max-width: 980px;
  border-radius: 34px;
  background-image:
    url("image/world.jpg"), radial-gradient(800px 320px at 50% 0%, rgba(255, 122, 32, 0.14), transparent 60%),
    radial-gradient(700px 300px at 80% 45%, rgba(56, 189, 248, 0.1), transparent 60%), rgba(5, 18, 37, 0.35);
  background-size: cover, auto, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-blend-mode: soft-light, normal, normal, normal;
  border: 1px solid var(--border);
  box-shadow: 0 26px 50px -32px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

#meshMap {
  width: 100%;
  height: auto;
  display: block;
}

.mesh-path {
  fill: none;
  stroke: rgba(234, 242, 255, 0.16);
  stroke-width: 1.4;
}

.mesh-land {
  fill: rgba(234, 242, 255, 0.04);
  stroke: rgba(234, 242, 255, 0.1);
  stroke-width: 1;
}

.mesh-path.hot {
  stroke: rgba(255, 122, 32, 0.58);
  stroke-width: 2;
  filter: drop-shadow(0 0 10px rgba(255, 122, 32, 0.18));
}

.mesh-node-ring {
  fill: none;
  stroke: rgba(255, 122, 32, 0.34);
  stroke-width: 1.2;
  opacity: 0.9;
  transform-origin: center;
  animation: node-pulse 2.6s ease-in-out infinite;
}

.mesh-node {
  stroke: rgba(234, 242, 255, 0.2);
  stroke-width: 1;
  filter: drop-shadow(0 0 10px rgba(255, 122, 32, 0.12));
}

.mesh-label {
  font-size: 12px;
  fill: rgba(234, 242, 255, 0.78);
  letter-spacing: 0.12em;
}

.mesh-packet {
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.35));
}

.mesh-burst {
  fill: none;
  stroke: rgba(255, 122, 32, 0.75);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 10px rgba(255, 122, 32, 0.22));
  transform-origin: center;
  animation: burst 720ms ease-out forwards;
}

.net-map-metrics {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.net-map-metrics b {
  color: var(--text);
  letter-spacing: 0.06em;
}

.net-map-metrics .pill {
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: rgba(234, 242, 255, 0.04);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes node-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.65;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes burst {
  0% {
    opacity: 0.9;
    transform: scale(0.6);
  }

  100% {
    opacity: 0;
    transform: scale(2.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mesh-node-ring {
    animation: none !important;
  }
}

/* 定价卡片 错落 + 间距 */
.pricing-masonry {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin: 40px 0 60px;
}

.price-card {
  border-radius: 44px;
  padding: 36px 28px;
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  border: 1px solid var(--border);
  transition: 0.2s;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.price-card.pop-card {
  border: 2px solid var(--brand);
  transform: scale(1.02);
}

.price-tag {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand);
}

.plan-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.08);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.price-note {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 4px;
}

.plan-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.plan-list {
  margin: 24px 0 0;
  list-style: none;
}

.plan-list li {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-price-card {
  width: 100%;
  background: rgba(234, 242, 255, 0.08);
  border: none;
  padding: 12px;
  border-radius: 40px;
  font-weight: 700;
  margin-top: 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  background: aliceblue;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s,
    filter 0.18s,
    color 0.18s;
  box-shadow: 0 14px 22px -18px rgba(0, 0, 0, 0.55);
}

.btn-price-card:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 18px 30px -20px rgba(0, 0, 0, 0.6);
}

.btn-price-card:active {
  transform: translateY(0);
  filter: brightness(0.99);
}

.btn-price-card:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px var(--ring),
    0 18px 30px -20px rgba(0, 0, 0, 0.6);
}

.btn-price-card.primary-price {
  background: linear-gradient(117deg, #0072ff, #7da3f9);
  color: white;
  box-shadow: 0 18px 30px -20px rgba(255, 122, 32, 0.55);
  background-size: 200% 200%;
  animation: btn-sheen 6s ease-in-out infinite;
}

.btn-price-card.primary-price:hover {
  filter: brightness(1.02);
  box-shadow: 0 22px 34px -22px rgba(255, 122, 32, 0.62);
}

/* 双栏评价区 */
.testimonial-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-radius: 56px;
  padding: 56px 48px;
  margin: 60px 0;
  color: var(--text);
  border: 1px solid var(--border);
}

.testi-left h3 {
  font-size: 1.9rem;
  font-weight: 700;
}

.testi-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.quote {
  padding: 24px;
  border-radius: 32px;
  border-left: 4px solid var(--brand);
  background: aliceblue;
}

.footer-simple {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .hero-asym {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-right .card-img {
    width: 100%;
    margin: 0 auto;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .testimonial-double {
    grid-template-columns: 1fr;
  }

  .hero-stats-mini {
    margin: 20px auto;
  }

  .trust-badge {
    justify-content: center;
  }
}

/* 下载模块卡片样式 */
.download-card {
  border: 1px solid var(--border) !important;
  box-shadow: 0 14px 26px -18px rgba(0, 0, 0, 0.45) !important;
  color: var(--text);
  transition: all 0.3s ease;
}

.download-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.6);
  border-color: var(--border-2);
}

@keyframes grid-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-72px, 72px, 0);
  }
}

@keyframes glow-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.85;
  }

  50% {
    transform: translate3d(18px, 10px, 0);
    opacity: 1;
  }
}

@keyframes dot-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 4px rgba(255, 122, 32, 0.14),
      0 0 0 0 rgba(255, 122, 32, 0);
  }

  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 0 4px rgba(255, 122, 32, 0.18),
      0 0 0 8px rgba(255, 122, 32, 0.06);
  }
}

@keyframes btn-sheen {
  0% {
    background-position: 10% 50%;
  }

  50% {
    background-position: 90% 50%;
  }

  100% {
    background-position: 10% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .pretext i,
  .btn-primary-warm,
  .btn-price-card.primary-price {
    animation: none !important;
  }
}

/* 统一模块间距 */
.section {
  margin: 80px 0;
}

/* 优化响应式布局 */
@media (max-width: 900px) {
  .feature-waterfall {
    grid-template-columns: 1fr;
  }

  .feature-card-custom:nth-child(2),
  .feature-card-custom:nth-child(3),
  .feature-card-custom:nth-child(4) {
    transform: translateY(0);
  }
}

/* 确保大屏幕上容器居中对齐 */
@media (min-width: 1281px) {
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .download-card {
    width: calc(50% - 16px) !important;
    padding: 24px !important;
  }

  .download-card h3 {
    font-size: 1.1rem !important;
  }

  .download-card i {
    font-size: 2.5rem !important;
  }

  .hero-asym {
    padding: 40px 0 48px;
  }

  .hero-left h1 {
    font-size: 2.8rem;
  }

  .split-section {
    margin: 60px 0;
  }
}

@media (max-width: 480px) {
  .download-card {
    width: 100% !important;
  }

  h2 {
    font-size: 1.8rem !important;
  }

  .hero-left h1 {
    font-size: 2.2rem;
  }

  .container {
    padding: 0 20px;
  }

  .node-carousel {
    padding: 32px 20px;
    border-radius: 40px;
  }

  .testimonial-double {
    padding: 32px 20px;
    border-radius: 40px;
  }
}

button,
.btn-price-card {
  cursor: pointer;
}

/* 右侧中间悬浮窗口 - Telegram 入口 */
.float-tg-wrap {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  width: 150px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.float-tg-wrap:hover {
  transform: translateY(-50%) translateX(-4px);
  box-shadow: 0 22px 46px -18px rgba(0, 0, 0, 0.45);
}

.float-tg-wrap img {
  display: block;
  width: 150px;
  height: 150px;
  padding: 20px;
  object-fit: contain;
  border-radius: 9px;
}

.float-tg-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(30, 41, 59, 0.55);
  color: #fff;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.float-tg-close:hover {
  background: rgba(30, 41, 59, 0.8);
}

.float-tg-hidden {
  display: none;
}

@media (max-width: 768px) {
  .float-tg-wrap {
    position: relative;
    top: auto;
    right: auto;
    margin: 24px auto;
    transform: none;
    width: 120px;
  }

  .float-tg-wrap:hover {
    transform: none;
  }

  .float-tg-wrap img {
    width: 120px;
    height: 120px;
    padding: 16px;
  }
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 24px;
  background: #fff;
}
.faq-item h3 {
  font-size: 1.06rem;
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
}
.faq-item h3::before {
  content: "Q";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.faq-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
#platforms-block .spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 0.98rem;
}
#platforms-block .spec-table th,
#platforms-block .spec-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
#platforms-block .spec-table thead th {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
#platforms-block .region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
#platforms-block .region-list li {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--muted);
}
