/* ==========================================================================
   悠兔机场首页 (utoo-jichang.cfd) - Light Pixel Xianxia & 8-Bit Retro RPG Theme
   浅色像素仙侠 × 8-bit 复古游戏（玉兔御剑 · 灵脉跃迁 · 趣味互动与轻量感）
   ========================================================================== */

:root {
  /* Light Parchment / Jade Cloud Mist Palette */
  --bg-page: #FAF8F2;
  --bg-alt: #F1EFE6;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFDF9;
  --bg-glass: rgba(250, 248, 242, 0.92);

  /* Pixel Xianxia & 8-Bit Retro Brand Colors */
  --utoo-jade: #059669;
  --utoo-jade-bright: #10B981;
  --utoo-jade-light: #ECFDF5;
  --utoo-coral: #E11D48;
  --utoo-coral-light: #FFF1F2;
  --utoo-gold: #D97706;
  --utoo-gold-bright: #F59E0B;
  --utoo-gold-light: #FEF3C7;
  --utoo-sky: #0284C7;
  --utoo-blue: #2563EB;
  --utoo-sky-light: #EFF6FF;
  --utoo-emerald: #059669;
  --utoo-emerald-bg: #ECFDF5;

  /* High-Contrast Light Theme Typography */
  --text-main: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  /* 8-Bit Pixel Borders & Hard Shadows */
  --pixel-border: #1E293B;
  --border-subtle: #CBD5E1;
  --border-coral: #E11D48;
  --border-jade: #059669;

  --grad-primary: linear-gradient(135deg, #059669 0%, #D97706 52%, #E11D48 100%);
  --grad-bunny: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --grad-gold: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --grad-crimson: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);

  --shadow-pixel-sm: 3px 3px 0px #1E293B;
  --shadow-pixel: 4px 4px 0px #1E293B;
  --shadow-pixel-lg: 6px 6px 0px #1E293B;
  --shadow-pixel-jade: 5px 5px 0px #059669;
  --shadow-pixel-gold: 5px 5px 0px #D97706;
  --shadow-card: 4px 4px 0px #1E293B;
  --shadow-hover: 6px 6px 0px #059669;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --nav-height: 76px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-page);
  background-image: url('../assets/hero-bg.svg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
  color: var(--text-main);
  line-height: 1.68;
  overflow-x: hidden;
  position: relative;
}

/* Interactive 8-Bit Pixel Xianxia Canvas */
#utoo-canvas,
#tag-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

/* Soft Light Xianxia Spirit Aura Orbs */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
  animation: orbFloat 14s steps(12) infinite alternate;
}
.orb-coral, .orb-cyan {
  width: 440px;
  height: 440px;
  background: #A7F3D0;
  top: -120px;
  right: -100px;
}
.orb-sky, .orb-violet {
  width: 480px;
  height: 480px;
  background: #FDE68A;
  bottom: 8%;
  left: -130px;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0); }
  100% { transform: translate(32px, 24px); }
}

/* Interactive 8-Bit Click Floating Text */
.pixel-click-pop {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-family: "Courier New", Consolas, monospace;
  font-weight: 900;
  font-size: 0.88rem;
  padding: 3px 8px;
  background: #FEF3C7;
  color: #0F172A;
  border: 2px solid #1E293B;
  box-shadow: 2px 2px 0px #1E293B;
  animation: pixelPopUp 0.95s steps(8) forwards;
}

@keyframes pixelPopUp {
  0% { opacity: 1; transform: translateY(0) scale(0.9); }
  50% { opacity: 1; transform: translateY(-22px) scale(1.05); }
  100% { opacity: 0; transform: translateY(-42px) scale(0.95); }
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.16s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography & Pixel Helpers */
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-coral {
  color: var(--utoo-coral);
}
.text-jade {
  color: var(--utoo-jade);
}
.text-gold {
  color: var(--utoo-gold);
}
.text-sky {
  color: var(--utoo-blue);
}
.text-emerald {
  color: var(--utoo-emerald);
}
.mono {
  font-family: "Courier New", "JetBrains Mono", Consolas, monospace;
}

/* 8-Bit Pixel Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  border: 2px solid var(--pixel-border);
  box-shadow: var(--shadow-pixel-sm);
  transition: transform 0.12s steps(2), box-shadow 0.12s steps(2), background 0.15s ease;
  position: relative;
}

.btn:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px var(--pixel-border) !important;
}

.btn-primary {
  background: #10B981;
  color: #0F172A;
}
.btn-primary:hover {
  background: #34D399;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--pixel-border);
}

.btn-secondary {
  background: #FEF3C7;
  color: #0F172A;
}
.btn-secondary:hover {
  background: #FDE68A;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--pixel-border);
}

.btn-sky {
  background: #DBEAFE;
  color: #1E3A8A;
}
.btn-sky:hover {
  background: #93C5FD;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--pixel-border);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.02rem;
  box-shadow: var(--shadow-pixel);
}

/* ==========================================================================
   Sticky Top Navigation Bar (8-Bit RPG HUD Top Bar)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(250, 248, 242, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--pixel-border);
  box-shadow: 0 4px 0px rgba(30, 41, 59, 0.08);
  transition: all 0.2s ease;
}

.site-header.scrolled {
  background: #FFFFFF;
  box-shadow: 0 4px 0px var(--pixel-border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
  border: 2px solid transparent;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: #0F172A;
  background: #FEF3C7;
  border-color: var(--pixel-border);
  box-shadow: 2px 2px 0px var(--pixel-border);
  transform: translate(-1px, -1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-toggle {
  display: none;
  background: #FEF3C7;
  border: 2px solid var(--pixel-border);
  box-shadow: 2px 2px 0px var(--pixel-border);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
}

/* ==========================================================================
   1. Hero Section & 8-Bit Xianxia Sword-Flight HUD Card
   ========================================================================== */
.hero-section {
  padding: calc(var(--nav-height) + 52px) 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.utoo-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: #FEF3C7;
  border: 2px solid var(--pixel-border);
  box-shadow: 3px 3px 0px var(--pixel-border);
  border-radius: var(--radius-sm);
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.84rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #10B981;
  border: 2px solid #0F172A;
  display: inline-block;
  animation: pixelBlink 1s steps(2) infinite;
}

@keyframes pixelBlink {
  0%, 100% { background: #10B981; transform: scale(1); }
  50% { background: #F59E0B; transform: scale(1.15); }
}

.hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 18px;
  text-shadow: 2px 2px 0px rgba(16, 185, 129, 0.18);
}

.hero-subtitle {
  font-size: 1.04rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  max-width: 640px;
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid var(--pixel-border);
  box-shadow: 3px 3px 0px rgba(30, 41, 59, 0.12);
  padding: 14px 18px;
}

.hero-tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #FFFFFF;
  border: 2px solid var(--pixel-border);
  box-shadow: 2px 2px 0px var(--pixel-border);
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
}
.hero-chip:hover {
  background: #ECFDF5;
  border-color: var(--utoo-jade);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--utoo-jade);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.metric-item {
  background: #FFFFFF;
  border: 2px solid var(--pixel-border);
  box-shadow: 3px 3px 0px var(--pixel-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  position: relative;
}
.metric-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--utoo-jade-bright);
}
.metric-val {
  font-family: "Courier New", Consolas, monospace;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 4px;
}
.metric-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 700;
}

/* Right Hero Telemetry Card: 8-Bit RPG Xianxia Teleportation Array HUD */
.boarding-pass-card {
  background: #FFFFFF;
  border: 3px solid var(--pixel-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 7px 7px 0px var(--pixel-border);
  position: relative;
  overflow: hidden;
}
.boarding-pass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #10B981 0px,
    #10B981 16px,
    #F59E0B 16px,
    #F59E0B 32px,
    #E11D48 32px,
    #E11D48 48px
  );
  border-bottom: 2px solid var(--pixel-border);
}

.bp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px dashed var(--pixel-border);
}
.bp-code {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 900;
  color: #0F172A;
  background: #FEF3C7;
  border: 2px solid var(--pixel-border);
  padding: 3px 9px;
}
.bp-class {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 900;
  color: #065F46;
  background: #D1FAE5;
  border: 2px solid var(--pixel-border);
  padding: 3px 9px;
}

.bp-flight-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF8F2;
  border: 2px solid var(--pixel-border);
  box-shadow: inset 2px 2px 0px rgba(0, 0, 0, 0.05);
  padding: 14px 16px;
  margin-bottom: 16px;
}
.bp-airport-code {
  font-family: "Courier New", Consolas, monospace;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
}
.bp-airport-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 700;
}
.bp-flight-line {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}
.bunny-hop-icon {
  display: inline-block;
  font-size: 1.4rem;
  animation: bunnyHop 0.9s steps(2) infinite;
}
@keyframes bunnyHop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.line-track {
  height: 4px;
  background: repeating-linear-gradient(90deg, #059669 0 8px, transparent 8px 12px);
  margin: 4px 0;
}

.bp-node-mini-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.bp-node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: #FAF8F2;
  border: 2px solid var(--pixel-border);
  font-size: 0.86rem;
  transition: all 0.14s steps(2);
}
.bp-node-item:hover {
  background: #ECFDF5;
  transform: translateX(3px);
  box-shadow: 2px 2px 0px var(--pixel-border);
}
.bp-node-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bp-tag-label {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 1px 6px;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid var(--pixel-border);
}
.bp-ping {
  font-family: "Courier New", Consolas, monospace;
  font-weight: 900;
  font-size: 0.82rem;
  color: #065F46;
  background: #A7F3D0;
  border: 1.5px solid var(--pixel-border);
  padding: 2px 8px;
}

.bp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-secondary);
  padding-top: 10px;
  border-top: 2px dashed var(--pixel-border);
}

/* 8-Bit Quest Marquee Ticker */
.route-ticker-wrap {
  margin-top: 44px;
  background: #FEF3C7;
  border-top: 3px solid var(--pixel-border);
  border-bottom: 3px solid var(--pixel-border);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.route-ticker {
  display: inline-block;
  animation: tickerSlide 34s linear infinite;
}
.ticker-item {
  display: inline-block;
  margin-right: 40px;
  font-family: "Courier New", Consolas, "Microsoft YaHei", monospace;
  font-size: 0.86rem;
  color: #0F172A;
  font-weight: 800;
}
.ticker-tag {
  background: #10B981;
  color: #0F172A;
  border: 1.5px solid #0F172A;
  padding: 1px 6px;
  margin-right: 6px;
}
@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Generic Section Headers & Layouts
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}
.section-alt {
  background: rgba(241, 239, 230, 0.82);
  border-top: 3px solid var(--pixel-border);
  border-bottom: 3px solid var(--pixel-border);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}
.section-tag {
  display: inline-block;
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 900;
  color: #0F172A;
  background: #A7F3D0;
  border: 2px solid var(--pixel-border);
  box-shadow: 3px 3px 0px var(--pixel-border);
  padding: 5px 14px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   2. 核心优势板块 (#advantages - 8-Bit Xianxia Skill Cards)
   ========================================================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-card {
  background: #FFFFFF;
  border: 3px solid var(--pixel-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-pixel);
  transition: all 0.16s steps(2);
  position: relative;
  overflow: hidden;
}
.adv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--utoo-jade-bright);
  border-bottom: 2px solid var(--pixel-border);
}
.adv-card::after {
  content: attr(data-tag);
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  color: #0F172A;
  background: #FEF3C7;
  border: 2px solid var(--pixel-border);
  padding: 2px 8px;
}
.adv-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--utoo-jade);
  background: #FFFDF9;
}

.adv-icon {
  width: 52px;
  height: 52px;
  background: #ECFDF5;
  border: 2px solid var(--pixel-border);
  box-shadow: 3px 3px 0px var(--pixel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.adv-title {
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 10px;
}
.adv-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.68;
}
.adv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.adv-tag-item {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 9px;
  background: #FAF8F2;
  border: 1.5px solid var(--pixel-border);
  color: var(--text-main);
}

/* ==========================================================================
   3. 节点延迟和状态板块 (#nodes - 8-Bit Server Realm Status Board)
   ========================================================================== */
.nodes-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.node-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.node-filter-btn {
  padding: 8px 15px;
  border: 2px solid var(--pixel-border);
  box-shadow: 3px 3px 0px var(--pixel-border);
  background: #FFFFFF;
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.14s steps(2);
}
.node-filter-btn:hover,
.node-filter-btn.active {
  background: #10B981;
  color: #0F172A;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--pixel-border);
}

.nodes-table-container {
  background: #FFFFFF;
  border: 3px solid var(--pixel-border);
  box-shadow: 6px 6px 0px var(--pixel-border);
  overflow-x: auto;
}

.nodes-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
}
.nodes-table th {
  background: #FEF3C7;
  color: #0F172A;
  font-family: "Courier New", Consolas, "Microsoft YaHei", monospace;
  font-size: 0.85rem;
  font-weight: 900;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 3px solid var(--pixel-border);
}
.nodes-table td {
  padding: 14px 18px;
  border-bottom: 2px solid #E2E8F0;
  font-size: 0.9rem;
  vertical-align: middle;
}
.nodes-table tbody tr:hover {
  background: #ECFDF5;
}

.node-region-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.node-flag {
  font-size: 1.5rem;
}
.node-title {
  font-weight: 900;
  color: var(--text-main);
}
.node-sub {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.protocol-badge {
  display: inline-block;
  padding: 3px 9px;
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 900;
  background: #DBEAFE;
  color: #1E3A8A;
  border: 1.5px solid var(--pixel-border);
}

.unlock-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.unlock-tag {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 7px;
  background: #FEF3C7;
  color: #92400E;
  border: 1.5px solid var(--pixel-border);
}

.ping-cell {
  font-family: "Courier New", Consolas, monospace;
  font-weight: 900;
  color: #059669;
  font-size: 0.95rem;
}
.ping-cell.medium {
  color: #D97706;
}

.load-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  color: #065F46;
  background: #D1FAE5;
  border: 1.5px solid var(--pixel-border);
  padding: 3px 9px;
}

/* ==========================================================================
   4. 套餐价格板块 (#pricing - Exact Table as in Screenshot + RPG Item Cards)
   ========================================================================== */
.pricing-table-card {
  background: #FFFFFF;
  border: 3px solid var(--pixel-border);
  box-shadow: 7px 7px 0px var(--pixel-border);
  overflow: hidden;
  margin-bottom: 44px;
}

.table-header-custom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  background: #FEF3C7;
  border-bottom: 3px solid var(--pixel-border);
}
.table-header-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
}
.table-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-badge {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 4px 10px;
  background: #FFFFFF;
  border: 2px solid var(--pixel-border);
  box-shadow: 2px 2px 0px var(--pixel-border);
  color: #0F172A;
}
.pill-badge.active-pill {
  background: #A7F3D0;
  color: #065F46;
}

.pricing-table-wrapper {
  overflow-x: auto;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.pricing-table th {
  background: #FAF8F2;
  color: #0F172A;
  font-weight: 900;
  font-size: 0.92rem;
  text-align: left;
  padding: 15px 24px;
  border-bottom: 2px solid var(--pixel-border);
}
.pricing-table td {
  padding: 15px 24px;
  border-bottom: 1.5px solid #CBD5E1;
  font-size: 0.95rem;
  color: var(--text-main);
}
.pricing-table tbody tr:nth-child(even) {
  background: #FAF8F2;
}
.pricing-table tbody tr:hover {
  background: #ECFDF5;
}
.pricing-table tbody tr.highlight-row {
  background: #FEFCE8;
}
.plan-name-col {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.plan-tag {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 8px;
  background: #E2E8F0;
  border: 1.5px solid var(--pixel-border);
  color: #0F172A;
}
.plan-price-col {
  color: #2563EB;
  font-weight: 900;
  font-family: "Courier New", Consolas, monospace;
}
.plan-traffic-col {
  font-weight: 900;
  font-family: "Courier New", Consolas, monospace;
  color: var(--text-main);
}
.plan-device-col {
  color: var(--text-secondary);
  font-weight: 800;
}
.plan-action-col {
  text-align: right;
}

/* Visual Pricing Cards Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pricing-card {
  background: #FFFFFF;
  border: 3px solid var(--pixel-border);
  padding: 26px 22px;
  box-shadow: var(--shadow-pixel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.16s steps(2);
}
.pricing-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--utoo-jade);
}
.pricing-card.popular {
  border: 3px solid var(--pixel-border);
  background: linear-gradient(180deg, #FEFCE8 0%, #FFFFFF 100%);
  box-shadow: 7px 7px 0px var(--utoo-gold);
}
.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #F59E0B;
  color: #0F172A;
  border: 2px solid var(--pixel-border);
  box-shadow: 2px 2px 0px var(--pixel-border);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 3px 12px;
  white-space: nowrap;
}

.plan-tag-id {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--utoo-jade);
  display: block;
  margin-bottom: 6px;
}
.plan-name {
  font-size: 1.28rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
}
.plan-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  min-height: 42px;
}
.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--pixel-border);
}
.price-currency {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--utoo-coral);
}
.price-value {
  font-family: "Courier New", Consolas, monospace;
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}
.price-unit {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
  font-size: 0.87rem;
  color: var(--text-secondary);
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.plan-features .check {
  color: var(--utoo-jade);
  font-weight: 900;
}

/* ==========================================================================
   5. 知识库与教程板块 (#tutorials - 12 Xianxia Secret Manuals)
   ========================================================================== */
.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tutorial-card {
  background: #FFFFFF;
  border: 3px solid var(--pixel-border);
  padding: 24px;
  box-shadow: var(--shadow-pixel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.16s steps(2);
  position: relative;
}
.tutorial-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--utoo-jade);
  background: #FFFDF9;
}

.tut-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tut-category {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 2px 9px;
  background: #D1FAE5;
  color: #065F46;
  border: 1.5px solid var(--pixel-border);
}
.tut-words {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.75rem;
  color: #92400E;
  background: #FEF3C7;
  border: 1.5px solid var(--pixel-border);
  padding: 1px 7px;
  font-weight: 800;
}

.tut-title {
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.42;
  color: var(--text-main);
  margin-bottom: 10px;
}
.tut-title a:hover {
  color: var(--utoo-jade);
  text-decoration: underline;
}
.tut-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.62;
}
.tut-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 2px dashed #CBD5E1;
  font-size: 0.79rem;
}
.tut-keywords {
  color: var(--text-muted);
  font-weight: 700;
}
.tut-read-more {
  font-weight: 900;
  color: var(--utoo-coral);
  font-family: "Courier New", Consolas, monospace;
}

/* ==========================================================================
   6. 用户评价板块 (#reviews - RPG Tavern Adventurer Dialogues)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #FFFFFF;
  border: 3px solid var(--pixel-border);
  padding: 26px;
  box-shadow: var(--shadow-pixel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.16s steps(2);
}
.review-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--utoo-gold);
}
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.review-stars {
  color: #D97706;
  font-size: 1rem;
  letter-spacing: 2px;
  font-weight: 900;
}
.review-badge {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.73rem;
  font-weight: 900;
  padding: 2px 8px;
  background: #FEF3C7;
  color: #92400E;
  border: 1.5px solid var(--pixel-border);
}
.review-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 2px dashed #CBD5E1;
}
.user-avatar {
  width: 42px;
  height: 42px;
  background: #10B981;
  color: #0F172A;
  border: 2px solid var(--pixel-border);
  box-shadow: 2px 2px 0px var(--pixel-border);
  font-family: "Courier New", Consolas, monospace;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-name {
  font-weight: 900;
  font-size: 0.94rem;
  color: var(--text-main);
}
.user-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* ==========================================================================
   7. 常见问题板块 (#faq) & Bottom CTA Banner
   ========================================================================== */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 3px solid var(--pixel-border);
  box-shadow: var(--shadow-pixel-sm);
  overflow: hidden;
  transition: all 0.16s ease;
}
.faq-item.active {
  background: #FFFDF9;
  box-shadow: 5px 5px 0px var(--utoo-jade);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}
.faq-icon {
  width: 28px;
  height: 28px;
  background: #FEF3C7;
  color: #0F172A;
  border: 2px solid var(--pixel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Courier New", Consolas, monospace;
  font-weight: 900;
  flex-shrink: 0;
  transition: transform 0.2s steps(4);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: #10B981;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-answer-inner {
  padding: 14px 22px 20px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 2px dashed #CBD5E1;
}

.cta-banner {
  background: linear-gradient(135deg, #ECFDF5 0%, #FFFDF9 50%, #FEF3C7 100%);
  border: 3px solid var(--pixel-border);
  box-shadow: 8px 8px 0px var(--pixel-border);
  padding: 48px 32px;
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #FFFFFF;
  border-top: 3px solid var(--pixel-border);
  padding: 64px 0 36px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 32px;
  margin-bottom: 42px;
}
.footer-title {
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--pixel-border);
  display: inline-block;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.footer-links a:hover {
  color: var(--utoo-jade);
  transform: translateX(4px);
  display: inline-block;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 2px dashed var(--pixel-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 700;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantages-grid,
  .tutorials-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #FAF8F2;
    border-bottom: 3px solid var(--pixel-border);
    box-shadow: 0 8px 0px var(--pixel-border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    gap: 8px;
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .hero-metrics,
  .pricing-grid,
  .advantages-grid,
  .tutorials-grid,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
