/* ===================================================================
   唯兔云官网 - 浅色梦幻科技风主题样式表
   域名: weitucloud.homes | 跳转直达: pingjichang.online
   =================================================================== */

:root {
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  
  /* 唯美浅色调调色板 */
  --bg-primary: #f8faff;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f0f4ff;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.72);
  
  /* 品牌唯兔云主题色彩 (梦幻蓝紫+樱花粉) */
  --primary: #7c5cfc;
  --primary-light: #9d85fc;
  --primary-dark: #6342e8;
  --accent-pink: #f472b6;
  --accent-cyan: #38bdf8;
  --accent-amber: #fbbf24;
  --accent-emerald: #10b981;
  
  /* 文字层级颜色 */
  --text-main: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  /* 边框与投影 */
  --border-light: rgba(226, 232, 240, 0.85);
  --border-focus: rgba(124, 92, 252, 0.35);
  --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(99, 102, 241, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 35px -8px rgba(124, 92, 252, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(124, 92, 252, 0.25);
  
  /* 动画曲线 */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

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

/* ================= 动态背景与点缀元素 ================= */
.dynamic-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: 
    radial-gradient(circle at 10% 15%, rgba(124, 92, 252, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(244, 114, 182, 0.11) 0%, transparent 40%),
    radial-gradient(circle at 50% 75%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #f8faff 0%, #f1f5fd 100%);
}

/* 漂浮装饰微光球 */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.7;
  animation: floatOrb 22s infinite alternate ease-in-out;
}

.orb-1 {
  width: 420px;
  height: 420px;
  top: -80px;
  left: -100px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.28), rgba(244, 114, 182, 0.15));
  animation-duration: 18s;
}

.orb-2 {
  width: 460px;
  height: 460px;
  top: 40%;
  right: -120px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.25), rgba(124, 92, 252, 0.18));
  animation-duration: 24s;
  animation-delay: -5s;
}

.orb-3 {
  width: 380px;
  height: 380px;
  bottom: 5%;
  left: 20%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.2), rgba(251, 191, 36, 0.12));
  animation-duration: 20s;
  animation-delay: -9s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, 60px) scale(1.08); }
  100% { transform: translate(-35px, 90px) scale(0.95); }
}

/* 动态点缀粒子画布 */
#sparkle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 漂浮小云朵点缀 */
.cloud-decoration {
  position: absolute;
  opacity: 0.45;
  filter: drop-shadow(0 4px 12px rgba(124, 92, 252, 0.08));
  pointer-events: none;
  animation: floatCloud 25s infinite linear;
}

.cloud-d1 {
  top: 15%;
  left: -8%;
  width: 120px;
  animation-duration: 40s;
}

.cloud-d2 {
  top: 65%;
  left: -12%;
  width: 150px;
  animation-duration: 55s;
  animation-delay: 12s;
}

@keyframes floatCloud {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 0.55; }
  90% { opacity: 0.55; }
  100% { transform: translateX(115vw); opacity: 0; }
}

/* ================= 布局容器 ================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 85px 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.1), rgba(244, 114, 182, 0.12));
  color: var(--primary);
  border: 1px solid rgba(124, 92, 252, 0.22);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.section-heading {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-heading .highlight-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* ================= 顶部导航栏 ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 4px 8px rgba(124, 92, 252, 0.25));
  transition: transform var(--transition-normal);
}

.brand-logo:hover .brand-icon {
  transform: rotate(-8deg) scale(1.1);
}

.brand-logo .logo-tag {
  font-size: 0.72rem;
  padding: 2px 7px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 600;
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent-pink));
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

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

/* 按钮通用风格 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #a855f7 50%, #ec4899 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px -2px rgba(124, 92, 252, 0.42);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -2px rgba(124, 92, 252, 0.55);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border: 1px solid rgba(124, 92, 252, 0.28);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(245, 243, 255, 0.95);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 6px;
}

/* ================= 首屏 Hero 区域 ================= */
.hero-section {
  padding: 60px 0 80px 0;
  position: relative;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(124, 92, 252, 0.2);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
  animation: ping 1.8s infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.8); opacity: 0; }
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 34px;
}

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

.hero-stats-row {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.stat-item h4 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 首屏右侧动态视觉卡片 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rabbit-hero-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite;
}

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

.hero-rabbit-art {
  text-align: center;
  margin-bottom: 20px;
}

.hero-rabbit-art svg {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  filter: drop-shadow(0 12px 24px rgba(124, 92, 252, 0.28));
}

.visual-speed-meter {
  background: rgba(248, 250, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.7);
}

.meter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.meter-bar-bg {
  height: 10px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.meter-bar-fill {
  width: 96%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #ec4899);
  border-radius: var(--radius-full);
  animation: loadSpeed 2.4s ease-out;
}

@keyframes loadSpeed {
  0% { width: 0%; }
  100% { width: 96%; }
}

.floating-feature-tag {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(124, 92, 252, 0.2);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  z-index: 3;
}

.tag-1 {
  top: 15px;
  left: -20px;
  animation: floatSlow 5s ease-in-out infinite;
}

.tag-2 {
  bottom: 25px;
  right: -20px;
  animation: floatSlow 5s ease-in-out infinite 2.5s;
}

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

/* ================= 核心优势板块 ================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124, 92, 252, 0.3);
}

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

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.12), rgba(244, 114, 182, 0.15));
  color: var(--primary);
  border: 1px solid rgba(124, 92, 252, 0.2);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

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

/* ================= 节点延迟和状态板块 ================= */
.nodes-container {
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.nodes-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  flex-wrap: wrap;
  gap: 16px;
}

.status-summary {
  display: flex;
  align-items: center;
  gap: 20px;
}

.status-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
}

.refresh-trigger-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.refresh-trigger-btn:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.nodes-table-responsive {
  overflow-x: auto;
}

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

.node-list-table th {
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #e2e8f0;
}

.node-list-table td {
  padding: 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.96rem;
  vertical-align: middle;
}

.node-list-table tr:hover td {
  background-color: rgba(248, 250, 255, 0.7);
}

.node-flag-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.flag-emoji {
  font-size: 1.35rem;
}

.node-type-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(124, 92, 252, 0.1);
  color: var(--primary);
  border: 1px solid rgba(124, 92, 252, 0.2);
}

.ping-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: 0.92rem;
  font-weight: 700;
}

.ping-fast {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.ping-mid {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.load-bar-wrap {
  width: 120px;
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 4px;
}

.load-bar-inner {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #10b981, #38bdf8);
}

/* ================= 套餐价格板块 ================= */
.billing-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.switch-btn-group {
  background: rgba(226, 232, 240, 0.6);
  padding: 5px;
  border-radius: var(--radius-full);
  display: flex;
  gap: 4px;
}

.period-btn {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.period-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.discount-tag {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124, 92, 252, 0.35);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 243, 255, 0.85) 100%);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(124, 92, 252, 0.3);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

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

.plan-price-wrap {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

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

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

.plan-features-list {
  flex-grow: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ================= 用户评价板块 ================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.rating-stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.testimonial-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: normal;
}

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

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

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

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

/* ================= 常见问题板块 (FAQ) ================= */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.faq-item.active {
  border-color: rgba(124, 92, 252, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.faq-question-btn:hover {
  color: var(--primary);
}

.faq-arrow {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-normal);
  color: var(--text-muted);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  padding: 0 26px;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

/* ================= 知识库与教程板块 ================= */
.kb-filter-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.kb-tab-btn {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.kb-tab-btn:hover, .kb-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(124, 92, 252, 0.25);
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124, 92, 252, 0.3);
}

.article-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(124, 92, 252, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  width: fit-content;
}

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

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

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

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

.read-btn-link {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}

.article-card:hover .read-btn-link {
  gap: 8px;
}

/* ================= 底部 CTA 区域 ================= */
.bottom-cta-banner {
  background: linear-gradient(135deg, #7c5cfc 0%, #a855f7 50%, #ec4899 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(124, 92, 252, 0.4);
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.bottom-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-banner-desc {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 680px;
  margin: 0 auto 32px auto;
}

.btn-white {
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 34px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-3px) scale(1.02);
  background: #fdfdfd;
  color: var(--primary);
}

/* ================= 页脚 Footer ================= */
.site-footer {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  padding: 70px 0 35px 0;
  position: relative;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 14px;
  line-height: 1.7;
}

.footer-col h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links-list a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.88rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ================= 独立文章页面样式 (Article View) ================= */
.article-header {
  padding: 50px 0 30px 0;
  text-align: center;
}

.article-container {
  max-width: 860px;
  margin: 0 auto 70px auto;
  background: #ffffff;
  padding: 48px 52px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.article-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.35;
  color: var(--text-main);
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 36px 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
  color: var(--primary-dark);
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 26px 0 12px 0;
  color: var(--text-main);
}

.article-content p {
  font-size: 1.04rem;
  color: #334155;
  line-height: 1.85;
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin: 16px 0 24px 20px;
}

.article-content li {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 8px;
  list-style: disc;
}

.article-content blockquote {
  background: #f8faff;
  border-left: 4px solid var(--primary);
  padding: 16px 22px;
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: #475569;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.article-content table th, .article-content table td {
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  font-size: 0.95rem;
  text-align: left;
}

.article-content table th {
  background: #f1f5f9;
  font-weight: 700;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.08), rgba(244, 114, 182, 0.12));
  border: 1.5px solid rgba(124, 92, 252, 0.25);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 40px 0 20px 0;
  text-align: center;
}

/* ================= 响应式媒体查询 ================= */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats-row {
    justify-content: center;
  }
  .pricing-grid,
  .features-grid,
  .testimonials-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid #e2e8f0;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .article-container {
    padding: 28px 20px;
  }
}
