/* =========================================================
   LANBOO 蓝波加速器 — 官网样式
   深色科技蓝主题
   ========================================================= */

:root {
  --bg: #050b16;
  --bg-alt: #081527;
  --surface: #0d1f38;
  --surface-2: #112746;
  --border: rgba(120, 170, 255, 0.14);
  --border-strong: rgba(120, 170, 255, 0.28);

  --text: #eaf2ff;
  --text-dim: #9db2d4;
  --text-faint: #6c81a3;

  --primary: #2e8eff;
  --primary-2: #00d4ff;
  --primary-deep: #1656c9;
  --accent: #7c5cff;

  --success: #35d999;
  --warn: #ffb648;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-glow: 0 0 0 1px var(--border), 0 20px 60px -20px rgba(0, 120, 255, 0.35);
  --container: 1160px;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #041225;
  box-shadow: 0 10px 30px -8px rgba(0, 190, 255, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -6px rgba(0, 190, 255, 0.65);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--primary);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------------------------------------------------------
   Header / Nav
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(5, 11, 22, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-2), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -4px rgba(0, 190, 255, 0.6);
}

.brand-cn {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.main-nav a {
  font-size: 14.5px;
  color: var(--text-dim);
  padding: 8px 2px;
  position: relative;
  transition: color 0.15s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-2), var(--primary));
  transform: scaleX(0);
  transition: transform 0.2s ease;
  border-radius: 2px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--bg-alt);
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 90;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    width: 100%;
    padding: 14px 8px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ---------------------------------------------------------
   Page hero (secondary pages)
   --------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  background: radial-gradient(ellipse at top, rgba(0, 150, 255, 0.16), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.page-hero .eyebrow {
  color: var(--primary-2);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 12px;
  font-weight: 800;
}

.page-hero p {
  margin-top: 14px;
  color: var(--text-dim);
  max-width: 640px;
  font-size: 16px;
}

/* ---------------------------------------------------------
   Hero (home)
   --------------------------------------------------------- */
.hero {
  position: relative;
  padding: 84px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

#waveCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.8;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 190, 255, 0.1);
  border: 1px solid rgba(0, 190, 255, 0.3);
  color: var(--primary-2);
  font-size: 13px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin: 20px 0 0;
}

.hero h1 span {
  background: linear-gradient(120deg, var(--primary-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text-dim);
  max-width: 520px;
}

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

.ping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(53, 217, 153, 0.6);
  animation: pulse 1.8s infinite;
  display: inline-block;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 217, 153, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(53, 217, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 217, 153, 0); }
}

/* ---------------------------------------------------------
   Stats
   --------------------------------------------------------- */
.stats-bar {
  padding: 42px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  background: linear-gradient(120deg, var(--primary-2), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 13.5px;
}

/* ---------------------------------------------------------
   Section generic
   --------------------------------------------------------- */
.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-head .eyebrow {
  color: var(--primary-2);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  margin-top: 10px;
}

.section-head p {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 15.5px;
}

/* ---------------------------------------------------------
   Feature cards
   --------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 190, 255, 0.18), rgba(124, 92, 255, 0.18));
  color: var(--primary-2);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
}

.feature-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-dim);
}

/* ---------------------------------------------------------
   Games grid
   --------------------------------------------------------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.game-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #041225;
}

.game-card .g-name {
  font-size: 13.5px;
  font-weight: 600;
}

.game-card .g-tag {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--text-faint);
}

/* ---------------------------------------------------------
   Pricing
   --------------------------------------------------------- */
.plan-group {
  margin-bottom: 48px;
}

.plan-group:last-child {
  margin-bottom: 0;
}

.plan-group-title {
  text-align: center;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 22px;
}

.plan-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--primary);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  box-shadow: 0 24px 60px -24px rgba(0, 150, 255, 0.5);
}

.price-tag {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(120deg, var(--warn), #ff7a45);
  color: #2a0e00;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}

.price-name {
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 600;
}

.price-amount {
  margin-top: 12px;
  font-size: 40px;
  font-weight: 800;
}

.price-amount sup {
  font-size: 18px;
  margin-right: 2px;
}

.price-amount .per {
  font-size: 14px;
  color: var(--text-faint);
  font-weight: 500;
}

.price-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-faint);
}

.price-list {
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.price-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--success);
}

/* compare table */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

table.compare th,
table.compare td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

table.compare th {
  background: var(--surface);
  color: var(--text-dim);
  font-weight: 600;
}

table.compare td:first-child,
table.compare th:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 600;
}

table.compare tr:last-child td {
  border-bottom: none;
}

/* ---------------------------------------------------------
   Download platforms (simple)
   --------------------------------------------------------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.download-card .feature-icon {
  margin: 0 auto 16px;
}

.download-card h3 {
  font-size: 17px;
  font-weight: 700;
}

.download-card p {
  margin: 8px 0 18px;
  font-size: 13.5px;
  color: var(--text-dim);
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
}

.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 32px;
}

.footer-company {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.7;
  text-align: right;
}

.footer-company a:hover {
  color: var(--primary-2);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .feature-grid,
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .stats-grid,
  .feature-grid,
  .game-grid,
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-pair {
    grid-template-columns: 1fr;
  }

  .footer-simple {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-company {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 56px 0;
  }
}
