/* ==========================================================================
   Riolu 精灵学院 (riolu443.sbs) 核心样式表
   Pure Native CSS3 · 极速秒开 · 零外部框架依赖 · GPU 硬件加速动态极光
   ========================================================================== */

:root {
  /* 品牌核心色彩体系 */
  --bg-primary: #060913;
  --bg-secondary: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-card-featured: rgba(14, 30, 60, 0.85);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #38bdf8;
  --accent-cyan-light: #7dd3fc;
  --accent-cyan-glow: rgba(56, 189, 248, 0.35);
  --accent-blue: #2563eb;
  --accent-blue-deep: #1d4ed8;
  --accent-gold: #fbbf24;
  --accent-gold-glow: rgba(251, 191, 36, 0.3);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(56, 189, 248, 0.25);
  --border-featured: rgba(56, 189, 248, 0.55);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1240px;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ==========================================================================
   动态背景系统 (Pure CSS Aurora & Grid) · 60FPS 极速秒开零卡顿
   ========================================================================== */
.aurora-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* 极光网格纹理 */
.aurora-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
}

/* 动态光晕球 1 - 极光青 */
.aurora-blob-1 {
  position: absolute;
  top: -15%;
  left: 15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(2, 132, 199, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  will-change: transform;
  animation: floatOrb1 18s ease-in-out infinite alternate;
}

/* 动态光晕球 2 - 深邃蓝 */
.aurora-blob-2 {
  position: absolute;
  top: 25%;
  right: -10%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(30, 58, 138, 0.06) 50%, transparent 70%);
  filter: blur(90px);
  will-change: transform;
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

/* 动态光晕球 3 - 金辉亮点 */
.aurora-blob-3 {
  position: absolute;
  bottom: 10%;
  left: 20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, rgba(217, 119, 6, 0.04) 50%, transparent 70%);
  filter: blur(85px);
  will-change: transform;
  animation: floatOrb3 20s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.15); }
  100% { transform: translate(-50px, 90px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, -70px) scale(1.1); }
  100% { transform: translate(60px, 50px) scale(0.9); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -80px) scale(1.2); }
  100% { transform: translate(-70px, -40px) scale(1); }
}

/* ==========================================================================
   Tom & Jerry (猫和老鼠) 经典动态追逐跑道系统 · 霸气巨幅全屏追逐版
   ========================================================================== */
.tom-jerry-stage {
  position: fixed;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 480px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* 霓虹极光跑道线 */
.tom-jerry-track-line {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(56, 189, 248, 0.4) 15%, 
    rgba(251, 191, 36, 0.7) 50%, 
    rgba(244, 63, 94, 0.5) 85%, 
    transparent 100%
  );
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
  opacity: 0.9;
}

/* 猫鼠演员横穿屏幕动画 (整体向右极速穿越) */
.tom-jerry-actors {
  position: absolute;
  bottom: 16px;
  left: 0;
  display: inline-flex;
  align-items: flex-end;
  animation: runAcrossScreen 13s linear infinite;
  will-change: transform;
}

@keyframes runAcrossScreen {
  0% {
    transform: translateX(-1020px);
  }
  100% {
    transform: translateX(calc(100vw + 150px));
  }
}

/* 汤姆猫：在后方大步狂追 (巨幅大号特写) */
.tom-runner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: tomGiantBob 0.38s ease-in-out infinite alternate;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.92));
  will-change: transform;
}

.tom-img {
  width: 460px;
  height: auto;
  display: block;
  transform: scaleX(-1); /* 水平翻转：使汤姆面向右方猛追 */
  user-select: none;
  pointer-events: none;
}

@keyframes tomGiantBob {
  0% { transform: translateY(0) rotate(-2deg); }
  100% { transform: translateY(-26px) rotate(-6deg); }
}

/* 追逐安全距离：真实拉开间隔，绝不黏在一起！ */
.chase-gap {
  width: 260px;
  position: relative;
  height: 160px;
  flex-shrink: 0;
}

/* 杰瑞鼠：在前方奋力狂奔逃跑 (巨幅大号特写) */
.jerry-runner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
  animation: jerryGiantBob 0.22s ease-in-out infinite alternate;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.82));
  will-change: transform;
}

.jerry-img {
  width: 240px;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
}

@keyframes jerryGiantBob {
  0% { transform: translateY(0) rotate(4deg); }
  100% { transform: translateY(-20px) rotate(-2deg); }
}

/* 趣味个性徽章 */
.runner-tag {
  font-size: 15px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.tag-tom {
  background: rgba(239, 68, 68, 0.3);
  border: 1.5px solid rgba(239, 68, 68, 0.65);
  color: #fca5a5;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
}

.tag-jerry {
  background: rgba(251, 191, 36, 0.3);
  border: 1.5px solid rgba(251, 191, 36, 0.65);
  color: #fde68a;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.4);
}

/* 追逐空隙中的速度急流粒子线 */
.gap-streaks {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
}

.streak {
  position: absolute;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.8), transparent);
  animation: streakRush 0.4s linear infinite;
}

.s1 { width: 120px; bottom: 35px; left: 20px; }
.s2 { width: 170px; bottom: 15px; left: 60px; animation-delay: 0.15s; }
.s3 { width: 90px; bottom: 50px; left: 130px; animation-delay: 0.25s; }

@keyframes streakRush {
  0% { transform: translateX(30px); opacity: 0; }
  50% { opacity: 0.85; }
  100% { transform: translateX(-30px); opacity: 0; }
}

/* ==========================================================================
   旁边放置的“猫跳进沟渠”场景 (Cat Jumping into Gutter Ditch)
   ========================================================================== */
.gutter-scene {
  position: absolute;
  bottom: 14px;
  right: 110px;
  width: 250px;
  height: 220px;
  pointer-events: auto;
  cursor: pointer;
  z-index: 4;
}

/* 水泥沟渠台与深坑内部 */
.curb-stone {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 230px;
  height: 46px;
  background: linear-gradient(180deg, #334155 0%, #0f172a 100%);
  border: 2px solid #64748b;
  border-radius: 10px 10px 18px 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.8), inset 0 2px 4px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  z-index: 5;
}

.gutter-pit {
  position: absolute;
  top: 5px;
  left: 10px;
  width: 206px;
  height: 32px;
  background: #020617;
  border-radius: 6px 6px 12px 12px;
  box-shadow: inset 0 8px 16px #000000;
  overflow: hidden;
}

.gutter-bars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, 
    transparent, transparent 14px, 
    #475569 14px, #475569 18px);
  opacity: 0.55;
}

.gutter-water {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, #0284c7, #38bdf8, #0ea5e9);
  opacity: 0.85;
}

/* 沟渠警示牌 */
.ditch-tag {
  position: absolute;
  top: 112px;
  right: 15px;
  background: rgba(220, 38, 38, 0.9);
  border: 1px solid #f87171;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
  z-index: 10;
}

/* 跳进沟渠的猫咪容器 */
.cat-diver-wrap {
  position: absolute;
  bottom: 26px;
  left: 25px;
  width: 170px;
  height: 150px;
  z-index: 3;
  pointer-events: none;
  transform-origin: center bottom;
  transition: transform 0.3s ease;
}

.cat-diver-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.85));
}

/* 猫跳进沟渠动画循环 */
.cat-diver-wrap.plunging {
  animation: catPlungeSequence 2.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes catPlungeSequence {
  0% {
    transform: translateY(0) translateX(-15px) rotate(-10deg) scale(0.95);
  }
  22% {
    transform: translateY(-80px) translateX(20px) rotate(-22deg) scale(1.08);
  }
  48% {
    transform: translateY(44px) translateX(60px) rotate(66deg) scale(0.88);
  }
  62% {
    transform: translateY(50px) translateX(64px) rotate(72deg) scale(0.84);
  }
  74% {
    transform: translateY(42px) translateX(58px) rotate(60deg) scale(0.86);
  }
  88% {
    transform: translateY(-8px) translateX(0) rotate(5deg) scale(0.92);
  }
  100% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(0.95);
  }
}

/* 水花飞溅粒子特效 */
.splash-container {
  position: absolute;
  bottom: 45px;
  right: 90px;
  width: 75px;
  height: 55px;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
}

.splash-container.active {
  animation: splashPop 1.2s ease-out forwards;
}

@keyframes splashPop {
  0% { opacity: 0; transform: scale(0.3) translateY(10px); }
  30% { opacity: 1; transform: scale(1.3) translateY(-25px); }
  70% { opacity: 0.9; transform: scale(1.1) translateY(-10px); }
  100% { opacity: 0; transform: scale(0.8) translateY(10px); }
}

.water-bubble {
  position: absolute;
  background: #38bdf8;
  border-radius: 50%;
  filter: drop-shadow(0 0 6px #38bdf8);
}
.wb1 { width: 14px; height: 18px; top: 15px; left: 15px; }
.wb2 { width: 18px; height: 24px; top: 0px; left: 35px; }
.wb3 { width: 12px; height: 16px; top: 18px; left: 55px; }

/* 滑稽对白气泡 */
.comic-dialog {
  position: absolute;
  top: 15px;
  left: 5px;
  background: #ffffff;
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  border: 2px solid #0f172a;
  box-shadow: 2px 2px 0px #000;
  white-space: nowrap;
  z-index: 9;
  opacity: 0;
  pointer-events: none;
}

.comic-dialog.active {
  animation: dialogPop 2.2s ease-out forwards;
}

@keyframes dialogPop {
  0%, 35% { opacity: 0; transform: scale(0.5); }
  45%, 85% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.7); }
}

/* ==========================================================================
   交互浮动按钮：点击放老鼠 (Interactive Release Button)
   ========================================================================== */
.btn-release-jerry {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45), 0 0 12px rgba(234, 88, 12, 0.35);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulseReleaseGlow 3s ease-in-out infinite;
}

.btn-release-jerry:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.65), 0 0 18px rgba(234, 88, 12, 0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
}

.btn-release-jerry:active {
  transform: translateY(1px) scale(0.97);
}

@keyframes pulseReleaseGlow {
  0%, 100% { box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45), 0 0 10px rgba(234, 88, 12, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(245, 158, 11, 0.7), 0 0 16px rgba(251, 191, 36, 0.5); }
}

/* 释放出的杰瑞老鼠 (动态生成并疾驰全屏) */
.spawned-jerry-sprint {
  position: absolute;
  bottom: 24px;
  left: -240px;
  width: 220px;
  height: 110px;
  z-index: 7;
  pointer-events: none;
  animation: jerryDashAcross 3.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  will-change: transform;
}

.spawned-jerry-sprint img {
  width: 100%;
  height: auto;
  display: block;
  animation: jerrySprintLegs 0.16s ease-in-out infinite alternate;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.85));
}

@keyframes jerrySprintLegs {
  0% { transform: translateY(0) rotate(4deg); }
  100% { transform: translateY(-12px) rotate(-3deg); }
}

@keyframes jerryDashAcross {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 240px)); }
}

.spawned-jerry-tag {
  position: absolute;
  top: -22px;
  left: 20px;
  font-size: 13px;
  font-weight: 800;
  color: #fde047;
  text-shadow: 0 2px 4px #000;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .tom-jerry-stage {
    bottom: 8px;
    height: 260px;
  }
  .tom-jerry-track-line {
    bottom: 14px;
  }
  .tom-img {
    width: 260px;
  }
  .jerry-img {
    width: 140px;
  }
  .chase-gap {
    width: 140px;
    height: 80px;
  }
  .runner-tag {
    font-size: 11px;
    padding: 3px 9px;
    margin-bottom: 5px;
  }
  .btn-release-jerry {
    bottom: 12px;
    left: 12px;
    padding: 7px 13px;
    font-size: 11.5px;
  }
  .gutter-scene {
    right: 15px;
    bottom: 8px;
    transform: scale(0.68);
    transform-origin: right bottom;
  }
}

/* ==========================================================================
   全网页动漫奶酪飘落背景系统 (Full-page Cartoon Falling Cheese System)
   纯 CSS3 GPU 硬件加速 · 金黄瑞士奶酪块随风旋转跌落 · 零点击阻碍
   ========================================================================== */
.cheese-rain-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2; /* 浮于极光网格与背景层之上，页面内容点击不受任何影响 */
  overflow: hidden;
  user-select: none;
}

.falling-cheese {
  position: absolute;
  top: -90px;
  will-change: transform;
  pointer-events: none;
  animation-name: cheeseFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.cheese-piece {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(245, 158, 11, 0.55)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  will-change: transform;
  animation-name: cheeseSway;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  opacity: 0.95;
}

/* 垂直由上至下跌落主动画 */
@keyframes cheeseFall {
  0% {
    transform: translateY(-90px);
  }
  100% {
    transform: translateY(calc(100vh + 110px));
  }
}

/* 奶酪随风左右摆动与倾斜姿态 1 */
@keyframes cheeseSway {
  0% {
    transform: translateX(-26px) rotate(-24deg) scale(0.95);
  }
  50% {
    transform: translateX(20px) rotate(18deg) scale(1.05);
  }
  100% {
    transform: translateX(-20px) rotate(32deg) scale(0.98);
  }
}

/* 奶酪摆动变体 2：反向大幅飘逸 */
@keyframes cheeseSwayAlt {
  0% {
    transform: translateX(24px) rotate(28deg) scale(1.04);
  }
  50% {
    transform: translateX(-22px) rotate(-16deg) scale(0.94);
  }
  100% {
    transform: translateX(28px) rotate(-36deg) scale(1.06);
  }
}

/* 奶酪立体 360 度翻转翻滚变体 3 */
@keyframes cheeseTumble {
  0% {
    transform: translateX(-16px) rotate(0deg);
  }
  50% {
    transform: translateX(28px) rotate(180deg);
  }
  100% {
    transform: translateX(-12px) rotate(360deg);
  }
}

/* 20 枚全屏错落分布的奶酪粒子个性参数（横向分布覆盖 2% ~ 96%，错开负延迟秒开即可见） */
.cheese-1  { left: 3%;  width: 40px; animation-duration: 9.2s;  animation-delay: -2.3s; }
.cheese-1 .cheese-piece { animation-duration: 3.2s; }

.cheese-2  { left: 8%;  width: 58px; animation-duration: 12.5s; animation-delay: -7.5s; }
.cheese-2 .cheese-piece { animation-duration: 4.4s; animation-name: cheeseSwayAlt; }

.cheese-3  { left: 14%; width: 30px; animation-duration: 8.0s;  animation-delay: -1.4s; }
.cheese-3 .cheese-piece { animation-duration: 2.8s; animation-name: cheeseTumble; }

.cheese-4  { left: 20%; width: 50px; animation-duration: 11.0s; animation-delay: -8.8s; }
.cheese-4 .cheese-piece { animation-duration: 3.9s; }

.cheese-5  { left: 26%; width: 36px; animation-duration: 10.2s; animation-delay: -4.1s; }
.cheese-5 .cheese-piece { animation-duration: 3.5s; animation-name: cheeseSwayAlt; }

.cheese-6  { left: 32%; width: 64px; animation-duration: 13.8s; animation-delay: -11.0s; }
.cheese-6 .cheese-piece { animation-duration: 4.9s; }

.cheese-7  { left: 38%; width: 32px; animation-duration: 8.6s;  animation-delay: -3.2s; }
.cheese-7 .cheese-piece { animation-duration: 2.7s; animation-name: cheeseTumble; }

.cheese-8  { left: 44%; width: 52px; animation-duration: 11.6s; animation-delay: -8.0s; }
.cheese-8 .cheese-piece { animation-duration: 4.1s; animation-name: cheeseSwayAlt; }

.cheese-9  { left: 50%; width: 38px; animation-duration: 9.6s;  animation-delay: -5.3s; }
.cheese-9 .cheese-piece { animation-duration: 3.6s; }

.cheese-10 { left: 56%; width: 62px; animation-duration: 14.0s; animation-delay: -12.2s; }
.cheese-10 .cheese-piece { animation-duration: 5.1s; animation-name: cheeseSwayAlt; }

.cheese-11 { left: 62%; width: 34px; animation-duration: 8.4s;  animation-delay: -2.7s; }
.cheese-11 .cheese-piece { animation-duration: 3.0s; animation-name: cheeseTumble; }

.cheese-12 { left: 68%; width: 48px; animation-duration: 10.6s; animation-delay: -9.2s; }
.cheese-12 .cheese-piece { animation-duration: 3.8s; }

.cheese-13 { left: 74%; width: 54px; animation-duration: 12.2s; animation-delay: -6.0s; }
.cheese-13 .cheese-piece { animation-duration: 4.3s; animation-name: cheeseSwayAlt; }

.cheese-14 { left: 80%; width: 42px; animation-duration: 10.4s; animation-delay: -11.4s; }
.cheese-14 .cheese-piece { animation-duration: 3.7s; }

.cheese-15 { left: 86%; width: 46px; animation-duration: 11.3s; animation-delay: -1.1s; }
.cheese-15 .cheese-piece { animation-duration: 4.0s; animation-name: cheeseSwayAlt; }

.cheese-16 { left: 91%; width: 28px; animation-duration: 7.8s;  animation-delay: -4.6s; }
.cheese-16 .cheese-piece { animation-duration: 2.6s; animation-name: cheeseTumble; }

.cheese-17 { left: 96%; width: 52px; animation-duration: 13.2s; animation-delay: -6.5s; }
.cheese-17 .cheese-piece { animation-duration: 4.5s; }

.cheese-18 { left: 16%; width: 34px; animation-duration: 9.0s;  animation-delay: -9.8s; }
.cheese-18 .cheese-piece { animation-duration: 3.3s; animation-name: cheeseSwayAlt; }

.cheese-19 { left: 58%; width: 44px; animation-duration: 10.8s; animation-delay: -3.7s; }
.cheese-19 .cheese-piece { animation-duration: 3.8s; }

.cheese-20 { left: 78%; width: 60px; animation-duration: 13.5s; animation-delay: -8.4s; }
.cheese-20 .cheese-piece { animation-duration: 4.7s; animation-name: cheeseSwayAlt; }

/* 交互彩蛋：点击放老鼠时抛射出的爆破奶酪块 */
.cheese-burst-particle {
  position: fixed;
  z-index: 130;
  pointer-events: none;
  animation: cheeseBurstFly 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  will-change: transform, opacity;
}

.cheese-burst-particle img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(245, 158, 11, 0.8));
}

@keyframes cheeseBurstFly {
  0% {
    transform: translate(0, 0) scale(0.4) rotate(0deg);
    opacity: 1;
  }
  40% {
    opacity: 1;
    transform: translate(var(--burst-x, 80px), var(--burst-y, -120px)) scale(1.3) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--burst-x, 80px) * 1.8), calc(var(--burst-y, -120px) + 260px)) scale(0.6) rotate(420deg);
  }
}

@media (max-width: 768px) {
  .cheese-rain-container .falling-cheese:nth-child(2n) {
    display: none; /* 移动端仅保留 10 枚代表性奶酪粒子，保持最高清画质且零功耗 */
  }
  .cheese-piece {
    filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.45));
  }
}

/* 确保页面文本与核心卡片浮于下落奶酪之上，保证文字阅读 100% 清晰且不挡视觉 */
.hero-title, .hero-subtitle, .hero-cta-group, .hero-trust-bar,
.section-header, .pricing-card, .feature-card, .scenario-card, 
.article-card, .review-card, .faq-item, .article-layout, .site-header {
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   排版与基础组件
   ========================================================================== */
a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-cyan-light);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title .text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #00f2fe 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title .text-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   按钮系统 (Buttons) · 严格适配 CTA 规范
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0284c7 10%, #2563eb 100%);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan-light);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b1120;
  font-weight: 800;
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(251, 191, 36, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border-color: var(--border-cyan);
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: rotate(30deg);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.btn-glow:hover::after {
  transform: rotate(30deg) translate(50%, 50%);
}

/* ==========================================================================
   导航头部 (Site Header & Navbar) · 左上方品牌 Logo
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 9, 19, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* 左上方 Logo 容器 */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  transition: transform var(--transition-fast);
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.02);
}

/* 导航链接 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 6px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

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

/* 移动端菜单汉堡按钮 */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 8px;
  cursor: pointer;
}

/* ==========================================================================
   Hero 首屏模块 (Hero Section)
   ========================================================================== */
.hero-section {
  padding-top: 60px;
  padding-bottom: 70px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.12);
}

.hero-pill-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 22px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 840px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: var(--text-dim);
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-item svg {
  color: var(--accent-emerald);
}

/* ==========================================================================
   核心指标高光带 (Metrics Bar)
   ========================================================================== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  backdrop-filter: blur(12px);
  margin-bottom: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.stat-item {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  font-family: var(--font-mono);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-number.cyan {
  color: var(--accent-cyan);
}

.stat-number.gold {
  color: var(--accent-gold);
}

.stat-number.emerald {
  color: var(--accent-emerald);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   核心特性卡片网格 (Features Grid)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.15);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   实时专线节点监控 (Live Dedicated Nodes Table)
   ========================================================================== */
.nodes-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.nodes-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}

.nodes-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.nodes-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  animation: pulseGlow 1.8s infinite;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.nodes-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.nodes-table th {
  padding: 16px 24px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  background: rgba(11, 17, 32, 0.6);
  border-bottom: 1px solid var(--border-subtle);
}

.nodes-table td {
  padding: 18px 24px;
  font-size: 0.9375rem;
  color: var(--text-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.nodes-table tr:hover td {
  background: rgba(56, 189, 248, 0.04);
}

.node-name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.node-flag {
  font-size: 1.25rem;
}

.node-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-iepl {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.tag-isp {
  background: rgba(251, 191, 36, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.ping-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-emerald);
}

/* ==========================================================================
   价格方案板块 (Pricing Section)
   严格执行用户硬性规范：所有价格要同排展示 (Desktop 4 档位一行并列对齐)
   ========================================================================== */
.pricing-section {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 23, 42, 0.4) 50%, transparent 100%);
}

.pricing-grid-same-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(12px);
  min-height: 580px;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-cyan);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 28px rgba(56, 189, 248, 0.2);
}

/* 热门推荐主推卡片高光 */
.pricing-card-featured {
  background: var(--bg-card-featured);
  border: 1.5px solid var(--border-featured);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 32px rgba(56, 189, 248, 0.25);
  transform: translateY(-4px);
}

.pricing-card-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(56, 189, 248, 0.4);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  white-space: nowrap;
}

.pricing-tier-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.pricing-tier-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 42px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.pricing-price-box {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-cyan);
  vertical-align: top;
  line-height: 1.8;
}

.pricing-amount {
  font-size: 3.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #ffffff;
  line-height: 1;
}

.pricing-period {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}

.pricing-monthly-calc {
  font-size: 0.8125rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-top: 8px;
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 14px;
  line-height: 1.5;
}

.pricing-feature-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-emerald);
}

.pricing-cta-wrap {
  margin-top: auto;
  padding-top: 10px;
}

/* ==========================================================================
   出海应用场景卡片 (Scenarios Grid)
   ========================================================================== */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: left;
  transition: all var(--transition-smooth);
}

.scenario-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
}

.scenario-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.scenario-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.scenario-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   文章专栏与出海知识库 (Articles Matrix Hub)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.article-card-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 12px;
}

.article-card-title a {
  color: inherit;
}

.article-card-title a:hover {
  color: var(--accent-cyan);
}

.article-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.article-card-link {
  font-weight: 700;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-card-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   用户评价模块 (User Reviews & Testimonials)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
}

.review-stars {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  border: 1px solid var(--border-cyan);
}

.review-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
}

.review-role {
  font-size: 0.775rem;
  color: var(--text-dim);
}

/* ==========================================================================
   常见问题手风琴 (FAQ Accordion)
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-cyan);
  background: rgba(15, 23, 42, 0.9);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-smooth);
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
  transition: max-height 0.4s ease-in-out;
}

/* ==========================================================================
   友情外链与官方生态 (External Links Ecosystem)
   ========================================================================== */
.outbound-wrap {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-top: 40px;
}

.outbound-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.outbound-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.outbound-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.outbound-link-pill:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

/* ==========================================================================
   网站页脚 (Site Footer)
   ========================================================================== */
.site-footer {
  background: #04060c;
  border-top: 1px solid var(--border-subtle);
  padding-top: 60px;
  padding-bottom: 36px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-desc {
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 360px;
}

.footer-col-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col-links {
  list-style: none;
}

.footer-col-links li {
  margin-bottom: 10px;
}

.footer-col-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   响应式断点适配 (Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 1200px) {
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  /* 平板及移动端价格卡片转为双列或单列滑动以保持良好阅读体验 */
  .pricing-grid-same-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .mobile-menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #0b1120;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 18px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .pricing-grid-same-row {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none !important;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
