/* ===== 全局重置 & 基础 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #050B14;
  color: #E6F0FF;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
}

/* ===== 容器与布局 ===== */
.container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.text-center {
  text-align: center;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.inset-0 {
  inset: 0;
}
.z-10 {
  z-index: 10;
}
.w-full {
  width: 100%;
}
.max-w-xl {
  max-width: 36rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.bg-base100 {
  background: #050B14;
}
.bg-base200 {
  background: #070E1C;
}
.bg-base300 {
  background: #081225;
}
.bg-primary {
  background: #2171ff;
}
.text-white {
  color: #fff;
}
.text-white\/70 {
  color: rgba(255, 255, 255, 0.7);
}
.text-white\/80 {
  color: rgba(255, 255, 255, 0.8);
}
.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}
.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}
.shadow-glow {
  box-shadow: 0 0 40px rgba(0, 209, 255, 0.25);
}

/* ===== 导航 ===== */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  height: 32px;
  width: auto;
}
.nav-links {
  display: none;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}
.nav-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.15s;
}
.nav-links a:hover {
  color: #2171ff;
}
.nav-cta {
  background: #052c57;
  padding: 6px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-cta img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}
.mobile-toggle {
  display: block;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 14px;
}
@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 11, 20, 0.2), rgba(5, 11, 20, 0.6) 80%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.75rem;
  max-width: 500px;
}

/* ===== 按钮 ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #2171ff;
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 12px 30px rgba(33, 113, 255, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  font-size: 1rem;
}
.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(33, 113, 255, 0.45);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 500;
  padding: 0.7rem 1.8rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.15s, border-color 0.15s;
  font-size: 1rem;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #2171ff;
}

/* ===== 统计条 ===== */
.stats-bar {
  background: linear-gradient(to right, rgb(0, 16, 33), rgb(3, 43, 138), rgb(0, 65, 135));
  padding: 1rem 0;
}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 0.5rem;
}
.stats-avatars {
  display: flex;
}
.stats-avatar {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  margin-right: -10px;
}
.stats-avatar:last-child {
  margin-right: 0;
}
.stats-num {
  font-weight: 700;
  font-size: 1.25rem;
}
.stats-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== 通用卡片 & 节标题 ===== */
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.section-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  border-radius: 1.5rem;
  overflow: hidden;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== 功能点（保留静态展示） ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 1.5rem;
  margin-top: 2rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 0, #02142f, #020818 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 209, 255, 0.2);
}
.feature-icon img {
  width: 32px;
  height: 32px;
  opacity: 0.9;
}
.feature-name {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}
.feature-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-top: 0.25rem;
  max-width: 160px;
}

/* ===== 支付跑马灯（静态展示） ===== */
.payment-marquee {
  display: flex;
  gap: 3rem;
  overflow: hidden;
  padding: 0.5rem 0;
  flex-wrap: nowrap;
  justify-content: center;
}
.payment-marquee img {
  height: 50px;
  width: auto;
  opacity: 0.8;
}

/* ===== 页脚 ===== */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 0;
  margin-top: 1rem;
}
.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.back-top:hover {
  background: rgba(255, 255, 255, 0.16);
}
.back-top svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 2;
  fill: none;
}

/* ===== 响应式微调 ===== */
@media (max-width: 640px) {
  .stats-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .feature-item {
    width: 120px;
  }
}