/* ==========================================================================
   寰宇云 (Universe Cloud) - 宇宙喵喵探险版 官方样式套件
   视觉色彩系统 (Visual Color System & Claymorphism Optics)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌与 CSS 变量 (CSS Variables)
   -------------------------------------------------------------------------- */
:root {
  /* 页面底色与卡片底色规范 */
  --bg-page: #fdfcfe;           /* 星际奶白 */
  --clay-bg: #ffffff;           /* 纯白 */
  --clay-bg-soft: #fbfaff;      /* 微柔白偏紫调 */
  --clay-border: rgba(255, 255, 255, 0.98);

  /* 主题卡通色 */
  --color-purple: #8b5cf6;       /* 软萌太空紫 */
  --color-purple-light: #a78bfa;
  --color-purple-dark: #7c3aed;
  --color-purple-rgb: 139, 92, 246;

  --color-orange: #f59e0b;       /* 元气星际橘 */
  --color-orange-light: #fbbf24;
  --color-orange-dark: #d97706;
  --color-orange-rgb: 245, 158, 11;

  /* 辅助呼吸色 */
  --color-pink-foam: #fce7f3;    /* 奶泡粉 */
  --color-pink-deep: #ec4899;
  --color-cyan: #06b6d4;         /* 太空天青 */
  --color-cyan-light: #22d3ee;
  --color-cyan-dark: #0891b2;

  /* 语义化映射 */
  --primary: var(--color-purple);
  --primary-light: var(--color-purple-light);
  --primary-dark: var(--color-purple-dark);
  --primary-rgb: var(--color-purple-rgb);

  --secondary: var(--color-orange);
  --secondary-light: var(--color-orange-light);
  --secondary-dark: var(--color-orange-dark);
  --secondary-rgb: var(--color-orange-rgb);

  --accent-pink: var(--color-pink-foam);
  --accent-cyan: var(--color-cyan);
  --accent-mint: #10b981;

  /* 文字颜色体系规范 */
  --text-main: #1e1b4b;          /* 深炭紫灰（圆润柔和，不生硬） */
  --text-sub: #64748b;           /* 板岩星空灰 */
  --text-muted: #94a3b8;
  --text-on-clay: #1e1b4b;
  --text-inverse: #ffffff;

  /* 卡片阴影与圆角规范：Q弹软泥感弥散投影，大圆角 border-radius: 24px */
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;            /* 规范指定：大圆角 24px */
  --radius-card: 24px;
  --radius-pill: 9999px;

  /* Q弹软泥感弥散投影 */
  --clay-shadow: 
    0 12px 30px rgba(139, 92, 246, 0.08),
    inset 1.5px 1.5px 3px rgba(255, 255, 255, 0.95),
    inset -1.5px -1.5px 4px rgba(139, 92, 246, 0.03);

  --clay-shadow-sm: 
    0 6px 18px rgba(139, 92, 246, 0.06),
    inset 1px 1px 2px rgba(255, 255, 255, 0.95);

  --clay-shadow-lg: 
    0 18px 40px rgba(139, 92, 246, 0.13),
    inset 2px 2px 4px rgba(255, 255, 255, 1),
    inset -2px -2px 6px rgba(139, 92, 246, 0.04);

  --clay-shadow-inset:
    inset 2px 3px 6px rgba(139, 92, 246, 0.06),
    inset -2px -2px 6px rgba(255, 255, 255, 0.95);

  /* 按钮专用微黏土凸起阴影 */
  --btn-primary-shadow:
    0 10px 22px rgba(139, 92, 246, 0.35),
    inset 0 3px 3px rgba(255, 255, 255, 0.6),
    inset 0 -3px 5px rgba(109, 40, 217, 0.3);

  --btn-primary-shadow-active:
    0 4px 10px rgba(139, 92, 246, 0.25),
    inset 0 3px 5px rgba(91, 33, 182, 0.35);

  --btn-secondary-shadow:
    0 10px 22px rgba(245, 158, 11, 0.35),
    inset 0 3px 3px rgba(255, 255, 255, 0.65),
    inset 0 -3px 5px rgba(180, 83, 9, 0.3);

  --btn-cyan-shadow:
    0 10px 22px rgba(6, 182, 212, 0.35),
    inset 0 3px 3px rgba(255, 255, 255, 0.6),
    inset 0 -3px 5px rgba(14, 116, 144, 0.3);

  /* 弹簧物理过渡 */
  --bounce-transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth-transition: all 0.25s ease-out;
}

/* --------------------------------------------------------------------------
   2. 全局基础重置 (Reset & Base Styles)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  /* 纯原生系统圆润无衬线字体栈 */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background-color: var(--bg-page);
  /* 星际奶白背景融合软萌太空紫与元气星际橘的极轻微微光晕 */
  background-image: 
    radial-gradient(circle at 12% 16%, rgba(252, 231, 243, 0.6) 0%, transparent 40%),
    radial-gradient(circle at 88% 18%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 45%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 20% 82%, rgba(139, 92, 246, 0.07) 0%, transparent 45%),
    linear-gradient(180deg, #fdfcfe 0%, #fbf9fe 50%, #fdfcfe 100%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 呼吸感微光粒子画布 */
.cosmic-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

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

button, input, select {
  font-family: inherit;
}

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

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

/* --------------------------------------------------------------------------
   3. 通用微黏土类 (Claymorphism Components)
   -------------------------------------------------------------------------- */
.clay-card {
  background: var(--clay-bg);
  border-radius: var(--radius-card); /* 规范指定：24px 大圆角 */
  box-shadow: var(--clay-shadow);    /* 规范指定：0 12px 30px rgba(139, 92, 246, 0.08) */
  border: 1px solid var(--clay-border);
  transition: var(--bounce-transition);
  position: relative;
}

.clay-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--clay-shadow-lg);
}

.clay-card-flat {
  background: var(--clay-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--clay-shadow-sm);
  border: 1px solid var(--clay-border);
}

.clay-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--clay-bg);
  box-shadow: var(--clay-shadow-sm);
  border: 1px solid var(--clay-border);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.clay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--bounce-transition);
  text-decoration: none;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.clay-btn:active {
  transform: translateY(2px) scale(0.98);
}

/* 主按钮：软萌太空紫 */
.clay-btn-primary {
  background: linear-gradient(135deg, var(--color-purple-light) 0%, var(--color-purple) 100%);
  color: #ffffff !important;
  box-shadow: var(--btn-primary-shadow);
}

.clay-btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px rgba(139, 92, 246, 0.42),
              inset 0 3px 3px rgba(255, 255, 255, 0.75),
              inset 0 -3px 5px rgba(109, 40, 217, 0.35);
}

.clay-btn-primary:active {
  box-shadow: var(--btn-primary-shadow-active);
}

/* 次级按钮：元气星际橘 */
.clay-btn-secondary {
  background: linear-gradient(135deg, var(--color-orange-light) 0%, var(--color-orange) 100%);
  color: #ffffff !important;
  box-shadow: var(--btn-secondary-shadow);
}

.clay-btn-secondary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.45),
              inset 0 3px 3px rgba(255, 255, 255, 0.75);
}

/* 幽灵白底微黏土按钮 */
.clay-btn-ghost {
  background: var(--clay-bg);
  color: var(--text-main);
  box-shadow: var(--clay-shadow-sm);
  border: 1px solid var(--clay-border);
}

.clay-btn-ghost:hover {
  background: var(--clay-bg-soft);
  transform: translateY(-2px);
  box-shadow: var(--clay-shadow);
  color: var(--color-purple);
}

.clay-btn-cyan {
  background: linear-gradient(135deg, var(--color-cyan-light) 0%, var(--color-cyan) 100%);
  color: #ffffff !important;
  box-shadow: var(--btn-cyan-shadow);
}

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

.clay-btn-lg {
  padding: 16px 36px;
  font-size: 1.15rem;
}

/* 黏土输入框 */
.clay-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--clay-bg-soft);
  box-shadow: var(--clay-shadow-inset);
  border: 1px solid rgba(139, 92, 246, 0.12);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: var(--smooth-transition);
}

.clay-input:focus {
  border-color: var(--color-purple-light);
  box-shadow: var(--clay-shadow-inset), 0 0 0 3px rgba(139, 92, 246, 0.18);
}

/* 徽章 Badge */
.clay-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.clay-tag-purple {
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.35);
}

.clay-tag-orange {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #78350f;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

.clay-tag-cyan {
  background: linear-gradient(135deg, #a5f3fc, #06b6d4);
  color: #164e63;
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

.clay-tag-pink {
  background: var(--color-pink-foam);
  color: #be185d;
  box-shadow: 0 4px 10px rgba(236, 72, 153, 0.2);
}

/* --------------------------------------------------------------------------
   4. 顶栏导航 (Navbar)
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 18px;
  z-index: 100;
  padding: 10px 0;
  transition: var(--smooth-transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--clay-shadow);
  border: 1px solid var(--clay-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange-light) 0%, var(--color-purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(139, 92, 246, 0.3),
              inset 0 2px 2px rgba(255, 255, 255, 0.85);
  position: relative;
  animation: gentle-wobble 4s ease-in-out infinite;
}

.brand-icon-box svg {
  width: 28px;
  height: 28px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-title span.badge-cosmic {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-purple-light), var(--color-purple));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
  display: inline-block;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-sub);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: var(--bounce-transition);
  white-space: nowrap;
}

.nav-link .nav-ico {
  font-size: 1.05rem;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover .nav-ico {
  transform: scale(1.22) rotate(8deg);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-purple);
  background: rgba(var(--color-purple-rgb), 0.08);
  transform: translateY(-2px);
}

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

/* 饱满可爱的圆角渐变胶囊按钮“立即起飞” */
.nav-cta-pill {
  padding: 11px 24px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-purple-light) 0%, var(--color-purple) 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(139, 92, 246, 0.38),
              inset 0 3px 3px rgba(255, 255, 255, 0.7),
              inset 0 -3px 5px rgba(109, 40, 217, 0.3);
  white-space: nowrap;
  transition: var(--bounce-transition);
}

.nav-cta-pill:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.48),
              inset 0 3px 3px rgba(255, 255, 255, 0.85);
}

.nav-cta-pill:active {
  transform: translateY(2px) scale(0.98);
}

.meow-badge-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--clay-border);
  background: var(--clay-bg);
  box-shadow: var(--clay-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--bounce-transition);
  font-size: 1.25rem;
}

.meow-badge-btn:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: var(--clay-shadow);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--clay-bg-soft);
  border: none;
  box-shadow: var(--clay-shadow-sm);
  color: var(--text-main);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   5. Hero 头部主视觉区 (Hero Section - 左图右文布局)
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 50px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

/* 发光的果冻标签 (Jelly Badges) */
.jelly-badge {
  position: absolute;
  z-index: 4;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 10px 24px rgba(139, 92, 246, 0.16),
    inset 1.5px 1.5px 3px rgba(255, 255, 255, 1),
    inset -1.5px -1.5px 4px rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-main);
  animation: badge-bob 4s ease-in-out infinite;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--bounce-transition);
  white-space: nowrap;
}

.jelly-badge:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 14px 30px rgba(139, 92, 246, 0.25);
}

.jelly-badge-1 {
  top: 25px;
  right: -10px;
  color: var(--color-purple);
  border-left: 4px solid var(--color-purple);
  animation-delay: 0s;
}

.jelly-badge-2 {
  top: 50%;
  left: -20px;
  color: var(--color-orange-dark);
  border-left: 4px solid var(--color-orange);
  animation-delay: -1.5s;
}

.jelly-badge-3 {
  bottom: 25px;
  right: 10px;
  color: var(--color-cyan-dark);
  border-left: 4px solid var(--color-cyan);
  animation-delay: -2.8s;
}

/* 双色高亮 CTA 按钮 */
.clay-btn-purple-orange {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-orange) 100%);
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.35),
              inset 0 3px 3px rgba(255, 255, 255, 0.65),
              inset 0 -3px 5px rgba(180, 83, 9, 0.3);
}

.clay-btn-purple-orange:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.42),
              inset 0 3px 3px rgba(255, 255, 255, 0.8);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--clay-bg);
  box-shadow: var(--clay-shadow-sm);
  border: 1px solid var(--clay-border);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-purple);
  margin-bottom: 24px;
}

.hero-pill-badge .sparkle {
  animation: pulse-spin 3s infinite linear;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-title .highlight-text {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-orange) 50%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.hero-title .meow-emoji {
  display: inline-block;
  animation: bounce-rotate 2.5s infinite ease-in-out;
  transform-origin: bottom center;
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-desc strong {
  color: var(--color-purple);
  font-weight: 800;
}

/* 快速 CLI 命令粘贴体验栏 */
.hero-cli-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--clay-bg-soft);
  box-shadow: var(--clay-shadow-inset);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 30px;
  max-width: 540px;
}

.cli-code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
}

.cli-code .prompt {
  color: var(--color-purple);
  font-weight: 800;
  user-select: none;
}

.cli-copy-btn {
  background: var(--clay-bg);
  border: 1px solid var(--clay-border);
  box-shadow: var(--clay-shadow-sm);
  color: var(--text-sub);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--bounce-transition);
  flex-shrink: 0;
}

.cli-copy-btn:hover {
  color: var(--color-purple);
  transform: scale(1.05);
}

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

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.guarantee-item svg {
  color: var(--color-cyan);
}

/* --------------------------------------------------------------------------
   6. 宇航猫主视觉插画 (Hero Astro-Cat 3D Clay Scene)
   -------------------------------------------------------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.clay-mascot-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 浮动发光微黏土星球光晕 */
.orbit-halo {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(252, 231, 243, 0.8) 0%, rgba(237, 233, 254, 0.6) 60%, transparent 100%);
  box-shadow: 
    0 20px 50px rgba(139, 92, 246, 0.15),
    inset -10px -10px 30px rgba(139, 92, 246, 0.1),
    inset 10px 10px 30px rgba(255, 255, 255, 1);
  animation: gentle-float 6s ease-in-out infinite;
  z-index: 1;
}

/* 轨道环与行星线 */
.orbit-ring {
  position: absolute;
  width: 420px;
  height: 180px;
  border: 3px dashed rgba(167, 139, 250, 0.45);
  border-radius: 50%;
  transform: rotate(-22deg);
  z-index: 2;
  pointer-events: none;
}

/* 核心宇航喵 SVG 形象 */
.astro-cat-svg-wrapper {
  position: relative;
  z-index: 3;
  width: 320px;
  height: 320px;
  animation: cat-zero-g 5s ease-in-out infinite;
  filter: drop-shadow(0 16px 25px rgba(139, 92, 246, 0.22));
}

/* 悬浮微黏土信息胶囊卡片 (Float Badges) */
.floating-badge {
  position: absolute;
  z-index: 4;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--clay-bg);
  box-shadow: var(--clay-shadow);
  border: 1px solid var(--clay-border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-main);
  animation: badge-bob 4s ease-in-out infinite;
  cursor: pointer;
  transition: var(--bounce-transition);
}

.floating-badge:hover {
  transform: scale(1.12) !important;
}

.badge-speed {
  top: 15px;
  right: 5px;
  animation-delay: -1s;
}

.badge-speed .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
  animation: pulse-glow 1.5s infinite;
}

.badge-sla {
  bottom: 25px;
  left: -10px;
  animation-delay: -2.5s;
}

.badge-sla .trophy-icon {
  font-size: 1.2rem;
}

.badge-shield {
  top: 55%;
  right: -25px;
  animation-delay: -1.8s;
  padding: 8px 14px;
}

/* --------------------------------------------------------------------------
   7. 关键数据条 (Live Stats Strip)
   -------------------------------------------------------------------------- */
.stats-strip {
  margin-top: 20px;
  margin-bottom: 70px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 36px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--clay-shadow-sm);
  font-size: 1.6rem;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   8. 核心特性矩阵 (Feature Highlights)
   -------------------------------------------------------------------------- */
.features-section {
  padding: 70px 0;
  position: relative;
}

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

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-purple);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--clay-shadow-sm);
  position: relative;
  transition: var(--bounce-transition);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.15) rotate(6deg);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-text {
  font-size: 0.96rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   9. 算力猫粮实时计算器 (Interactive Spec Configurator)
   -------------------------------------------------------------------------- */
.calculator-section {
  padding: 70px 0;
}

.calculator-card {
  padding: 44px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.calc-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-val-badge {
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--clay-bg-soft);
  box-shadow: var(--clay-shadow-inset);
  font-weight: 900;
  color: var(--color-purple);
  font-size: 1.1rem;
}

/* 粘土拟物滑动条 */
.clay-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 16px;
  border-radius: var(--radius-pill);
  background: var(--clay-bg-soft);
  box-shadow: var(--clay-shadow-inset);
  outline: none;
  cursor: pointer;
  transition: var(--smooth-transition);
}

.clay-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-purple-light), var(--color-purple));
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.45),
              inset 0 2px 2px rgba(255, 255, 255, 0.85),
              inset 0 -2px 3px rgba(109, 40, 217, 0.4);
  cursor: grab;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.clay-slider::-webkit-slider-thumb:hover {
  transform: scale(1.22);
}

.clay-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}

.calc-right-summary {
  background: var(--clay-bg-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--clay-shadow-inset);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.summary-mascot-head {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  animation: gentle-wobble 4s ease-in-out infinite;
}

.summary-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
}

.summary-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 14px 0;
}

.summary-currency {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-purple);
}

.summary-price {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--color-purple);
  line-height: 1;
}

.summary-period {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.summary-specs-list {
  width: 100%;
  margin: 18px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-sub);
}

.summary-spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(139, 92, 246, 0.18);
  padding-bottom: 6px;
}

/* --------------------------------------------------------------------------
   10. 全球 POP 节点与互动测速 (Speed Test Explorer)
   -------------------------------------------------------------------------- */
.nodes-section {
  padding: 70px 0;
}

.nodes-container-card {
  padding: 40px;
}

.nodes-nav-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.node-tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--clay-bg);
  box-shadow: var(--clay-shadow-sm);
  border: 1px solid var(--clay-border);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-sub);
  cursor: pointer;
  transition: var(--bounce-transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.node-tab-btn:hover {
  transform: translateY(-2px);
  color: var(--color-purple);
}

.node-tab-btn.active {
  background: linear-gradient(135deg, var(--color-purple-light), var(--color-purple));
  color: #fff !important;
  box-shadow: var(--btn-primary-shadow);
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.node-card {
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--clay-bg-soft);
  box-shadow: var(--clay-shadow-sm);
  border: 1px solid var(--clay-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--bounce-transition);
}

.node-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--clay-shadow);
}

.node-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.node-flag-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

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

.node-ping-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-cyan-dark);
}

.ping-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.ping-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-cyan), var(--color-purple-light));
  width: 85%;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.node-specs-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.speed-test-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-radius: var(--radius-card);
  background: var(--clay-bg-soft);
  box-shadow: var(--clay-shadow-inset);
  flex-wrap: wrap;
  gap: 18px;
}

.speed-status-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ping-spinner-cat {
  font-size: 1.8rem;
  animation: gentle-wobble 2s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   11. 价格方案 (Pricing Matrix)
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: 80px 0;
  position: relative;
}

.billing-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.billing-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-sub);
  cursor: pointer;
  transition: var(--smooth-transition);
}

.billing-label.active {
  color: var(--color-purple);
}

/* 拟物滑动切换器 */
.clay-switch {
  position: relative;
  width: 66px;
  height: 36px;
  background: var(--clay-bg-soft);
  box-shadow: var(--clay-shadow-inset);
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid rgba(139, 92, 246, 0.12);
  transition: var(--bounce-transition);
}

.clay-switch-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-purple-light), var(--color-purple));
  box-shadow: 0 4px 8px rgba(139, 92, 246, 0.4),
              inset 0 2px 2px rgba(255, 255, 255, 0.85);
  transition: var(--bounce-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.clay-switch-thumb svg {
  width: 14px;
  height: 14px;
  fill: #ffffff;
}

.clay-switch.yearly .clay-switch-thumb {
  left: 34px;
  background: linear-gradient(135deg, var(--color-orange-light), var(--color-orange));
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.4),
              inset 0 2px 2px rgba(255, 255, 255, 0.85);
}

.discount-pill {
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #78350f;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
  animation: pulse-glow 2s infinite;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--clay-bg);
}

.pricing-card.featured {
  border: 2px solid var(--color-purple-light);
  transform: translateY(-8px);
  box-shadow: var(--clay-shadow-lg);
}

.pricing-card.featured:hover {
  transform: translateY(-14px);
}

.featured-ribbon {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-purple), var(--color-orange));
  color: #fff;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 24px;
}

.plan-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  box-shadow: var(--clay-shadow-sm);
}

.plan-name {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.plan-currency {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-main);
}

.plan-price {
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.plan-cycle {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-sub);
}

.plan-paw-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-cyan);
}

/* --------------------------------------------------------------------------
   12. 客户好评与证言 (Testimonials / Cat Citizen Reviews)
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 70px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.68;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
}

.testimonial-quote::before {
  content: "“";
  font-size: 3.5rem;
  color: rgba(var(--color-purple-rgb), 0.16);
  position: absolute;
  top: -24px;
  left: -12px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar-clay {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--clay-shadow-sm);
  background: var(--clay-bg-soft);
  flex-shrink: 0;
}

.user-meta {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--text-main);
}

.user-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.user-stars {
  color: var(--color-orange);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   13. 通关答疑 FAQ (原生 details/summary 默认全展开排版)
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 70px 0;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-details-card {
  background: var(--clay-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--clay-shadow);
  border: 1px solid var(--clay-border);
  overflow: hidden;
  transition: var(--bounce-transition);
  padding: 24px 28px;
}

.faq-details-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--clay-shadow-lg);
}

.faq-details-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  outline: none;
}

.faq-details-card summary::-webkit-details-marker {
  display: none;
}

.faq-summary-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 粉色 Q: 胶囊徽章 */
.badge-q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-pink-foam);
  color: #be185d;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(236, 72, 153, 0.2);
  flex-shrink: 0;
}

/* 天蓝色 A: 胶囊徽章 */
.badge-a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #cffafe;
  color: #0e7490;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.2);
  flex-shrink: 0;
}

.faq-answer-box {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-sub);
}

.faq-answer-text {
  flex: 1;
}

.faq-chevron-icon {
  font-size: 0.85rem;
  color: var(--color-purple);
  transition: transform 0.25s ease;
}

.faq-details-card[open] .faq-chevron-icon {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   14. 极速起飞号召 (CTA Banner)
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 80px 0;
}

.cta-banner-card {
  padding: 60px 50px;
  background: linear-gradient(135deg, rgba(252, 231, 243, 0.6) 0%, rgba(237, 233, 254, 0.8) 100%), var(--clay-bg);
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner-content h2 {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-banner-content p {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-bottom: 30px;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
}

.cta-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-cat-rocket {
  width: 260px;
  height: 260px;
  animation: gentle-float 4s ease-in-out infinite;
  filter: drop-shadow(0 14px 20px rgba(139, 92, 246, 0.2));
}

/* --------------------------------------------------------------------------
   15. 页脚 (Footer)
   -------------------------------------------------------------------------- */
.footer {
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  background: rgba(255, 255, 255, 0.9);
  position: relative;
}

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

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.status-pill-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--clay-bg);
  box-shadow: var(--clay-shadow-sm);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-cyan-dark);
  width: fit-content;
}

.status-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
  animation: pulse-glow 2s infinite;
}

.footer-nav-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-sub);
  transition: var(--smooth-transition);
}

.footer-links a:hover {
  color: var(--color-purple);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--clay-bg);
  box-shadow: var(--clay-shadow-sm);
  border: 1px solid var(--clay-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  transition: var(--bounce-transition);
}

.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.1);
  color: var(--color-purple);
}

/* --------------------------------------------------------------------------
   16. 右下角互动吉祥物浮窗 (Interactive Floating Mascot)
   -------------------------------------------------------------------------- */
.floating-mascot-anchor {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.mascot-speech-bubble {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: var(--clay-bg);
  box-shadow: var(--clay-shadow);
  border: 1px solid var(--clay-border);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  max-width: 240px;
  margin-bottom: 12px;
  position: relative;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
  transition: var(--bounce-transition);
}

.mascot-speech-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mascot-speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 24px;
  width: 14px;
  height: 14px;
  background: var(--clay-bg);
  transform: rotate(45deg);
  border-right: 1px solid var(--clay-border);
  border-bottom: 1px solid var(--clay-border);
}

.mascot-trigger-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange-light), var(--color-purple));
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.4),
              inset 0 3px 4px rgba(255, 255, 255, 0.85),
              inset 0 -3px 6px rgba(109, 40, 217, 0.3);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--bounce-transition);
  position: relative;
}

.mascot-trigger-btn:hover {
  transform: scale(1.12) rotate(8deg);
}

.mascot-trigger-btn:active {
  transform: scale(0.95);
}

.mascot-trigger-btn svg {
  width: 36px;
  height: 36px;
}

/* 复制成功 Toast 浮层 */
.toast-notice {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--clay-bg);
  box-shadow: var(--clay-shadow-lg);
  border: 1px solid var(--clay-border);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-purple);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--bounce-transition);
}

.toast-notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   17. 动画定义 (Keyframe Animations)
   -------------------------------------------------------------------------- */
@keyframes gentle-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes cat-zero-g {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-14px) rotate(2.5deg);
  }
  66% {
    transform: translateY(8px) rotate(-2deg);
  }
}

@keyframes badge-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes gentle-wobble {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-6deg);
  }
  75% {
    transform: rotate(6deg);
  }
}

@keyframes bounce-rotate {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  30% {
    transform: translateY(-10px) rotate(-10deg);
  }
  60% {
    transform: translateY(0) rotate(8deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.15);
  }
}

@keyframes pulse-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   18. 响应式布局优化 (Responsive Breakpoints)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cli-box {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .calculator-card {
    grid-template-columns: 1fr;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .cta-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-form {
    margin: 0 auto;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .nodes-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

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

  .calculator-card {
    padding: 24px 18px;
  }

  .nodes-container-card {
    padding: 24px 18px;
  }
}
