/* ==========================================================================
   Nexitally.wiki - 🍮 Jelly Pudding & Custard Dessert-Shop Theme
   Colors:
   - Cream-yellow base: #fff8e1
   - Caramel: #c68a3f, #945719
   - Custard: #ffd66e, #ffbe38
   - Cherry-red accents: #e63946, #ff4d6d
   - Chocolate text: #432818, #6d4c3d
   ========================================================================== */

:root {
  --bg-cream: #fff8e1;
  --bg-cream-soft: #fffdf5;
  --bg-card: rgba(255, 255, 255, 0.78);
  --bg-card-jelly: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 214, 110, 0.35) 50%, rgba(255, 248, 225, 0.85) 100%);
  --border-caramel: rgba(198, 138, 63, 0.28);
  --border-cream: rgba(255, 255, 255, 0.85);

  --caramel: #c68a3f;
  --caramel-deep: #8f5316;
  --caramel-glow: rgba(198, 138, 63, 0.35);
  
  --custard: #ffd66e;
  --custard-rich: #ffbe38;
  --custard-deep: #f59e0b;
  
  --cherry: #e63946;
  --cherry-dark: #ba181b;
  --cherry-hover: #ff4d6d;
  --cherry-glow: rgba(230, 57, 70, 0.35);
  
  --syrup: #945719;
  --cream-white: #ffffff;
  
  --text-main: #432818;
  --text-muted: #7f5539;
  --text-dim: #a98467;
  
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --radius-full: 999px;
  
  --shadow-pudding: 0 16px 36px -8px rgba(198, 138, 63, 0.25);
  --shadow-cherry: 0 8px 20px rgba(230, 57, 70, 0.3);
  --shadow-jelly-inset: inset 0 3px 6px rgba(255, 255, 255, 0.9), inset 0 -3px 8px rgba(198, 138, 63, 0.15);
  --transition: all 0.28s cubic-bezier(0.25, 1.25, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Fredoka', 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 15% 20%, #fffbf0 0%, #fff8e1 60%, #fffaea 100%);
  background-attachment: fixed;
}

/* 动态背景画布 */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= 头部导航栏 (甜品店招牌风格) ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 248, 225, 0.88);
  border-bottom: 2px solid rgba(198, 138, 63, 0.18);
  box-shadow: 0 4px 20px rgba(198, 138, 63, 0.08);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-main);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--caramel) 0%, var(--custard-rich) 50%, var(--cherry) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 6px 14px rgba(198, 138, 63, 0.35), inset 0 2px 4px rgba(255,255,255,0.7);
  transform: rotate(-4deg);
  transition: var(--transition);
}

.brand-logo:hover .logo-icon {
  transform: rotate(6deg) scale(1.1);
  animation: jellyWobble 0.6s ease;
}

.logo-text {
  font-family: 'Fredoka', cursive, sans-serif;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.logo-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #ffecb3;
  color: var(--caramel-deep);
  border: 1.5px solid var(--caramel);
}

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

.nav-link {
  font-size: 0.98rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.nav-link:hover, .nav-link.active {
  color: var(--cherry);
  background: rgba(255, 214, 110, 0.35);
}

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

/* ================= 按钮样式 (Bouncy Jelly Buttons) ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  text-align: center;
  font-family: inherit;
  position: relative;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(180deg, #ff5e78 0%, var(--cherry) 60%, var(--cherry-dark) 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(230, 57, 70, 0.32), inset 0 2px 4px rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ff7089 0%, var(--cherry-hover) 60%, var(--cherry) 100%);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 24px rgba(230, 57, 70, 0.42), inset 0 2px 4px #ffffff;
}

.btn-primary:active {
  transform: translateY(2px) scale(0.96);
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #fff3cd 100%);
  color: var(--text-main);
  border: 2px solid var(--custard-rich);
  box-shadow: 0 6px 14px rgba(198, 138, 63, 0.15), inset 0 2px 3px #ffffff;
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--caramel);
  color: var(--caramel-deep);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(198, 138, 63, 0.22);
}

.btn-secondary:active {
  transform: translateY(2px) scale(0.96);
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1.12rem;
  border-radius: var(--radius-full);
}

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

.mobile-toggle {
  display: none;
  background: #fff;
  border: 2px solid var(--custard-rich);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ================= Hero 标头与纯 CSS 焦糖布丁 ================= */
.hero-section {
  padding: 70px 0 50px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #fff;
  border: 2px solid var(--custard-rich);
  border-radius: var(--radius-full);
  color: var(--caramel-deep);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 6px 16px rgba(198, 138, 63, 0.12);
}

.pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cherry);
  box-shadow: 0 0 10px var(--cherry-glow);
  animation: cherryPulse 1.8s infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.caramel-gradient-text {
  background: linear-gradient(135deg, #a75c1b 0%, var(--caramel) 45%, var(--cherry) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

/* ================= 纯 CSS 焦糖布丁主体 (Pure-CSS Caramel Pudding) ================= */
.pudding-stage {
  position: relative;
  width: 320px;
  height: 250px;
  margin: 30px auto 45px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* 装饰性勺子 🥄 与闪光 */
.spoon-deco {
  position: absolute;
  font-size: 2.2rem;
  user-select: none;
  filter: drop-shadow(0 8px 12px rgba(198, 138, 63, 0.2));
  transition: transform 0.3s ease;
  z-index: 4;
}

.spoon-left {
  left: -20px;
  bottom: 60px;
  transform: rotate(-35deg);
  animation: spoonFloatLeft 3s ease-in-out infinite;
}

.spoon-right {
  right: -20px;
  bottom: 80px;
  font-size: 1.8rem;
  animation: spoonFloatRight 2.6s ease-in-out infinite;
}

@keyframes spoonFloatLeft {
  0%, 100% { transform: rotate(-35deg) translateY(0); }
  50% { transform: rotate(-25deg) translateY(-8px); }
}

@keyframes spoonFloatRight {
  0%, 100% { transform: rotate(15deg) translateY(0) scale(1); }
  50% { transform: rotate(25deg) translateY(-10px) scale(1.15); }
}

/* 布丁交互容器 */
.pudding-wrapper {
  position: relative;
  width: 250px;
  height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  transform-origin: bottom center;
  user-select: none;
  /* 待机状态Q弹晃动 (Jelly keyframes alternating scaleX/scaleY) */
  animation: puddingIdle 3.2s ease-in-out infinite;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 戳一戳互动：鼠标悬停与点击触发更强烈的弹性挤压 */
.pudding-wrapper:hover {
  animation: puddingHoverWiggle 1.4s ease-in-out infinite;
}

.pudding-wrapper:active, .pudding-wrapper.poked {
  animation: puddingPoke 0.8s cubic-bezier(0.25, 1.7, 0.45, 0.94) !important;
}

/* 待机状态微幅布丁颤抖 */
@keyframes puddingIdle {
  0%, 100% {
    transform: scale(1, 1) translateY(0);
  }
  25% {
    transform: scale(1.06, 0.94) translateY(3px);
  }
  50% {
    transform: scale(0.95, 1.05) translateY(-3px);
  }
  75% {
    transform: scale(1.03, 0.97) translateY(1px);
  }
}

@keyframes puddingHoverWiggle {
  0%, 100% {
    transform: scale(1, 1);
  }
  30% {
    transform: scale(1.12, 0.89) translateY(4px);
  }
  60% {
    transform: scale(0.92, 1.09) translateY(-5px);
  }
  80% {
    transform: scale(1.05, 0.96) translateY(2px);
  }
}

/* 戳中瞬间的大弹跳 */
@keyframes puddingPoke {
  0% { transform: scale(1, 1); }
  18% { transform: scale(1.36, 0.64) translateY(18px); }
  38% { transform: scale(0.78, 1.28) translateY(-16px); }
  56% { transform: scale(1.18, 0.86) translateY(8px); }
  72% { transform: scale(0.92, 1.08) translateY(-4px); }
  88% { transform: scale(1.04, 0.98) translateY(2px); }
  100% { transform: scale(1, 1) translateY(0); }
}

/* 瓷盘底座 */
.pudding-plate {
  position: absolute;
  bottom: 0;
  width: 270px;
  height: 34px;
  background: linear-gradient(180deg, #ffffff 0%, #fae8e0 60%, #e2c0b0 100%);
  border-radius: 50%;
  box-shadow: 0 14px 26px rgba(198, 138, 63, 0.28), inset 0 2px 4px #ffffff;
  z-index: 1;
}

/* 盘中的糖浆池 */
.syrup-pool {
  position: absolute;
  bottom: 8px;
  width: 230px;
  height: 24px;
  background: radial-gradient(ellipse at center, #c68a3f 0%, #945719 75%, rgba(148,87,25,0.7) 100%);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(148, 87, 25, 0.4);
}

/* 布丁主体（蛋奶冻 Custard Body） */
.pudding-body {
  position: relative;
  width: 196px;
  height: 146px;
  margin-bottom: 12px;
  /* 巨大的圆顶梯形弧度 (big dome radius) */
  border-radius: 70px 70px 24px 24px / 90px 90px 35px 35px;
  background: linear-gradient(180deg, #ffe082 0%, #ffd66e 40%, #ffbe38 85%, #f59e0b 100%);
  box-shadow: 
    inset 0 -10px 20px rgba(198, 138, 63, 0.38),
    inset 0 6px 14px rgba(255, 255, 255, 0.65),
    0 12px 24px rgba(198, 138, 63, 0.3);
  z-index: 3;
  overflow: hidden;
}

/* 顶部浓厚焦糖层 (Caramel Top Layer) */
.caramel-topping {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: linear-gradient(180deg, #874b0e 0%, #a75c1b 30%, #c68a3f 80%, #d89648 100%);
  border-radius: 70px 70px 28px 28px / 90px 90px 18px 18px;
  box-shadow: 0 4px 10px rgba(135, 75, 14, 0.45);
}

/* 焦糖高光与垂滴效果 */
.caramel-topping::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 15%;
  width: 26px;
  height: 14px;
  background: #c68a3f;
  border-radius: 0 0 14px 14px;
  box-shadow: 
    36px 4px 0 -2px #c68a3f,
    78px 1px 0 -1px #c68a3f,
    115px -3px 0 0 #c68a3f;
}

/* 焦糖顶部弧形白透反光 */
.caramel-gloss {
  position: absolute;
  top: 6px;
  left: 20px;
  right: 20px;
  height: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-radius: 50%;
  pointer-events: none;
}

/* 蛋奶布丁侧边光泽 */
.custard-gloss {
  position: absolute;
  left: 16px;
  top: 60px;
  width: 20px;
  height: 65px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 20px;
  transform: rotate(-8deg);
  pointer-events: none;
}

/* 顶端大红樱桃 🍒 (Cherry on top) */
.cherry-wrapper {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}

.cherry-fruit {
  position: relative;
  width: 44px;
  height: 40px;
  background: radial-gradient(circle at 35% 30%, #ff7089 0%, var(--cherry) 45%, #9b0d1e 100%);
  border-radius: 50% 50% 45% 45% / 55% 55% 45% 45%;
  box-shadow: 0 6px 14px rgba(155, 13, 30, 0.45);
}

.cherry-fruit::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 11px;
  width: 12px;
  height: 8px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.cherry-stem {
  position: absolute;
  top: -26px;
  left: 22px;
  width: 24px;
  height: 32px;
  border-top: 3.5px solid #476a38;
  border-right: 3.5px solid #476a38;
  border-radius: 0 20px 0 0;
  transform: rotate(10deg);
}

.cherry-leaf {
  position: absolute;
  top: -22px;
  left: 36px;
  width: 14px;
  height: 9px;
  background: #6a994e;
  border-radius: 12px 0 12px 0;
  transform: rotate(-35deg);
}

/* 戳一戳互动气泡 */
.poke-hint {
  position: absolute;
  top: -28px;
  right: -30px;
  background: #ffffff;
  color: var(--cherry);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 2px solid #ffd66e;
  box-shadow: 0 6px 14px rgba(198, 138, 63, 0.18);
  animation: hintBob 2s infinite ease-in-out;
}

@keyframes hintBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Hero 关键字与 CTA 按钮 */
.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
}

.keyword-tag {
  font-size: 0.86rem;
  padding: 6px 16px;
  background: #ffffff;
  border: 1.5px solid rgba(198, 138, 63, 0.25);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(198, 138, 63, 0.08);
}

.keyword-tag:hover {
  border-color: var(--cherry);
  color: var(--cherry);
  background: #fff0f3;
  transform: translateY(-2px) scale(1.05);
}

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

/* Hero 实时卡片 */
.hero-live-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  max-width: 1020px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.9);
  padding: 22px 18px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-pudding), var(--shadow-jelly-inset);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--custard-rich);
  box-shadow: 0 20px 36px -6px rgba(198, 138, 63, 0.28);
}

.stat-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--caramel-deep);
  margin-bottom: 4px;
}

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

/* ================= 核心特色专区 (三大果冻质感特色卡片) ================= */
.section {
  padding: 85px 0;
  position: relative;
}

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

.section-tag {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cherry);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: inline-block;
  background: #ffe3e8;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 14px;
}

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

/* 果冻质感卡片网格 (Three feature cards in translucent jelly texture) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* 核心果冻卡片样式：gradient translucent fill + ::before white glossy highlight ellipse + one-shot wobble on hover */
.feature-box {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 214, 110, 0.32) 50%, rgba(255, 248, 225, 0.85) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: 38px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(198, 138, 63, 0.22), inset 0 2px 5px rgba(255, 255, 255, 0.95), inset 0 -3px 8px rgba(198, 138, 63, 0.08);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  transform-origin: center bottom;
  cursor: pointer;
}

/* 白色椭圆高光反光 (::before white glossy highlight ellipse) */
.feature-box::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 20px;
  right: 20px;
  height: 42%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.12) 80%, rgba(255, 255, 255, 0) 100%);
  border-radius: 999px 999px 45% 45% / 999px 999px 25% 25%;
  pointer-events: none;
  z-index: 1;
}

/* 悬停单次弹性果冻晃动 (Triggering a one-shot wobble on hover) */
.feature-box:hover {
  animation: jellyWobble 0.7s cubic-bezier(0.25, 1, 0.5, 1) 1;
  border-color: var(--custard);
  box-shadow: 0 22px 48px -8px rgba(198, 138, 63, 0.35), inset 0 2px 6px #ffffff;
}

@keyframes jellyWobble {
  0% { transform: scale(1, 1); }
  20% { transform: scale(1.12, 0.88) translateY(6px); }
  40% { transform: scale(0.92, 1.1) translateY(-6px); }
  60% { transform: scale(1.05, 0.95) translateY(3px); }
  80% { transform: scale(0.98, 1.02) translateY(-1px); }
  100% { transform: scale(1, 1) translateY(0); }
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fff 0%, #ffe082 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 16px rgba(198, 138, 63, 0.18);
  position: relative;
  z-index: 2;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
  position: relative;
  z-index: 2;
}

.feature-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* ================= 价格套餐专区 (要求：所有价格要同排) ================= */
.pricing-section {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 214, 110, 0.22) 50%, transparent 100%);
  padding: 90px 0;
}

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

.billing-switch {
  display: inline-flex;
  background: #ffffff;
  padding: 5px;
  border-radius: var(--radius-full);
  border: 2px solid var(--custard-rich);
  box-shadow: 0 6px 16px rgba(198, 138, 63, 0.12);
}

.billing-tab {
  padding: 9px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.billing-tab.active {
  background: linear-gradient(180deg, var(--caramel) 0%, var(--caramel-deep) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(198, 138, 63, 0.35);
}

.discount-tag {
  font-size: 0.8rem;
  background: #ffe3e8;
  color: var(--cherry);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--cherry);
  font-weight: 800;
}

/* 核心：价格套餐所有同排平铺容器 */
.pricing-row-container {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 25px;
  -webkit-overflow-scrolling: touch;
}

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

.pricing-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffbf0 60%, #fff8e8 100%);
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 16px 36px -10px rgba(198, 138, 63, 0.2), inset 0 2px 4px #ffffff;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--custard-rich);
  box-shadow: 0 24px 44px -8px rgba(198, 138, 63, 0.3);
}

.pricing-card.popular {
  border-color: var(--caramel);
  background: linear-gradient(180deg, #ffffff 0%, #fff8e1 45%, #fffaee 100%);
  box-shadow: 0 20px 42px -6px rgba(198, 138, 63, 0.35), inset 0 2px 5px #ffffff;
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cherry) 0%, #ff4d6d 100%);
  color: #fff;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.4);
  white-space: nowrap;
  border: 2px solid #ffffff;
}

.pricing-header {
  margin-bottom: 20px;
}

.pricing-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
}

.pricing-tier-tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #ffecb3;
  color: var(--caramel-deep);
  font-weight: 700;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 42px;
}

.pricing-price-box {
  margin: 18px 0 22px;
  padding-bottom: 20px;
  border-bottom: 2px dashed rgba(198, 138, 63, 0.22);
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--caramel-deep);
  margin-right: 2px;
}

.price-amount {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

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

.price-sub-calc {
  font-size: 0.82rem;
  color: #2b9348;
  font-weight: 700;
  margin-top: 4px;
}

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

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-feature-item.highlight {
  color: var(--text-main);
  font-weight: 700;
}

.feature-check {
  color: #2b9348;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 800;
}

.pricing-action {
  margin-top: auto;
}

.pricing-action .btn {
  width: 100%;
}

.pricing-footer-tip {
  text-align: center;
  margin-top: 36px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.pricing-footer-tip a {
  color: var(--cherry);
  font-weight: 700;
  text-decoration: underline;
}

/* ================= 节点测速与状态 ================= */
.node-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.node-card {
  background: #ffffff;
  border: 2px solid rgba(198, 138, 63, 0.16);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(198, 138, 63, 0.1);
  transition: var(--transition);
}

.node-card:hover {
  border-color: var(--custard-rich);
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(198, 138, 63, 0.18);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.node-flag {
  font-size: 2rem;
  line-height: 1;
}

.node-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.node-type {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.node-metrics {
  text-align: right;
}

.node-ping {
  font-size: 1.1rem;
  font-weight: 900;
  color: #2b9348;
}

.node-speed {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ================= SEO 文章与指南专区 ================= */
.articles-section {
  padding: 85px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 26px;
}

.article-card {
  background: #ffffff;
  border: 2px solid rgba(198, 138, 63, 0.18);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(198, 138, 63, 0.1);
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--custard-rich);
  box-shadow: 0 20px 38px rgba(198, 138, 63, 0.2);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.article-category {
  color: var(--cherry);
  font-weight: 800;
  background: #ffe3e8;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.article-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 14px;
  color: var(--text-main);
  transition: var(--transition);
}

.article-card:hover .article-title {
  color: var(--cherry);
}

.article-excerpt {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 2px dashed rgba(198, 138, 63, 0.18);
  font-size: 0.88rem;
}

.article-link {
  color: var(--cherry);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

/* ================= 用户真实评价专区 ================= */
.testimonials-section {
  padding: 85px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border: 2px solid rgba(198, 138, 63, 0.16);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 12px 28px rgba(198, 138, 63, 0.1);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--custard-rich);
  box-shadow: 0 20px 38px rgba(198, 138, 63, 0.2);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--caramel) 0%, var(--custard-rich) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(198, 138, 63, 0.3);
}

.user-info {
  flex-grow: 1;
}

.user-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-icon {
  color: #2b9348;
  font-size: 0.85rem;
  font-weight: 800;
}

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

.star-rating {
  color: #f59e0b;
  font-size: 1.05rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================= 常见问题 FAQ 专区 ================= */
.faq-section {
  padding: 85px 0;
}

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

.faq-item {
  background: #ffffff;
  border: 2px solid rgba(198, 138, 63, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(198, 138, 63, 0.08);
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--custard-rich);
  box-shadow: 0 10px 24px rgba(198, 138, 63, 0.15);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
}

.faq-arrow {
  font-size: 1.1rem;
  color: var(--caramel-deep);
  transition: transform 0.28s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--cherry);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 26px;
}

.faq-item.active .faq-answer {
  max-height: 520px;
  padding-bottom: 24px;
  transition: max-height 0.35s ease-in-out;
}

.faq-answer-inner {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 2px dashed rgba(198, 138, 63, 0.18);
  padding-top: 18px;
}

/* ================= 底部 CTA 横幅 (布丁派对风格) ================= */
.cta-banner {
  padding: 75px 0;
  background: linear-gradient(135deg, #fff3cd 0%, #ffecb3 50%, #ffe082 100%);
  border-top: 2px solid var(--custard-rich);
  border-bottom: 2px solid var(--custard-rich);
  text-align: center;
  margin: 50px 0;
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.9);
}

.cta-banner-inner {
  max-width: 820px;
  margin: 0 auto;
}

/* ================= 页脚专区 ================= */
.site-footer {
  background: #3e2723;
  color: #d7ccc8;
  padding: 70px 0 35px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: #bcaaa4;
  margin: 16px 0;
  max-width: 320px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffe082;
  margin-bottom: 18px;
}

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

.footer-links a {
  color: #d7ccc8;
  transition: var(--transition);
}

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

.seo-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-tags-cloud a {
  font-size: 0.8rem;
  color: #bcaaa4;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
}

.seo-tags-cloud a:hover {
  color: #ffd66e;
  background: rgba(255, 214, 110, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a1887f;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 14px;
}

/* ================= 单篇文章页样式 (Articles) ================= */
.article-header {
  padding: 60px 0 30px;
  text-align: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 22px;
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--cherry);
}

.article-detail-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.article-info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  font-weight: 600;
}

.article-content-wrapper {
  max-width: 880px;
  margin: 0 auto;
  padding: 30px 24px 80px;
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-main);
}

.article-body h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 45px 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--custard-rich);
  position: relative;
}

.article-body h2::after {
  content: '🍮';
  position: absolute;
  right: 0;
  bottom: 6px;
  font-size: 1.2rem;
}

.article-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--caramel-deep);
  margin: 34px 0 16px;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body ul, .article-body ol {
  margin-bottom: 26px;
  padding-left: 26px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body strong {
  color: var(--text-main);
  font-weight: 800;
}

.article-body a {
  color: var(--cherry);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-callout {
  background: #ffffff;
  border-left: 5px solid var(--cherry);
  padding: 22px 26px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 30px 0;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(198, 138, 63, 0.12);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 32px 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(198, 138, 63, 0.1);
}

.article-table th, .article-table td {
  padding: 14px 18px;
  border: 1px solid rgba(198, 138, 63, 0.18);
  text-align: left;
}

.article-table th {
  background: #fff3cd;
  font-weight: 800;
  color: var(--text-main);
}

.article-cta-box {
  background: linear-gradient(135deg, #ffffff 0%, #fff8e1 50%, #ffe082 100%);
  border: 3px solid var(--custard-rich);
  border-radius: var(--radius-xl);
  padding: 38px 30px;
  text-align: center;
  margin: 50px 0;
  box-shadow: 0 16px 36px rgba(198, 138, 63, 0.2);
}

.article-rel-posts {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px dashed rgba(198, 138, 63, 0.25);
}

/* ================= 响应式适配 (Mobile & Tablet) ================= */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .header-inner {
    height: 68px;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff8e1;
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 26px;
    gap: 18px;
    border-bottom: 2px solid var(--custard-rich);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(198, 138, 63, 0.15);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-section {
    padding: 45px 0 35px;
  }

  .pudding-stage {
    transform: scale(0.85);
    margin: 15px auto 30px;
  }

  /* 移动端价格：横向平铺滑动，保持同排效果 */
  .pricing-row {
    grid-template-columns: repeat(4, 285px);
    scroll-snap-type: x mandatory;
  }

  .pricing-card {
    scroll-snap-align: start;
  }

  .pricing-row-container::-webkit-scrollbar {
    height: 8px;
  }
  .pricing-row-container::-webkit-scrollbar-thumb {
    background: var(--custard-rich);
    border-radius: 999px;
  }

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