/* ==========================================================================
   星链云 (XingLian Cloud) - Solarpunk 科技与自然相融视觉设计系统
   设计理念：结合图1的清新绿意、日光金环、微质感卡片与极光青绿渐变
   ========================================================================== */

:root {
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "Fira Code", Monaco, Consolas, "Courier New", Courier, monospace;

  /* Solarpunk 核心色盘 */
  --bg-gradient-start: #f4faf7;
  --bg-gradient-end: #ebf6fb;
  --bg-light: #ffffff;
  --surface-card: #ffffff;
  --surface-card-hover: #ffffff;
  --surface-elevated: #f0fdf7;

  /* 主色调：生态青绿与天空蔚蓝 */
  --primary: #059669;
  --primary-light: #10b981;
  --primary-dark: #047857;
  --primary-gradient: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --primary-gradient-hover: linear-gradient(135deg, #059669 0%, #0891b2 100%);
  
  /* 品牌紫与强调蓝（图2搭配） */
  --brand-purple: #3b3096;
  --brand-purple-hover: #2e247a;
  --brand-purple-light: #f1f0fb;

  /* 太阳金晕（图1右上装饰） */
  --solar-gold: #f59e0b;
  --solar-gold-glow: rgba(245, 158, 11, 0.25);
  --solar-circle: #fbbf24;

  /* 文本色阶 */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-invert: #ffffff;

  /* 边框与阴影 */
  --border-light: rgba(16, 185, 129, 0.12);
  --border-card: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(16, 185, 129, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(16, 185, 129, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 40px -10px rgba(16, 185, 129, 0.12), 0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.28);

  /* 布局与圆角 */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --container-max: 1200px;
}

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

html {
  font-family: var(--font-main);
  scroll-behavior: smooth;
  color: var(--text-main);
  background: linear-gradient(180deg, var(--bg-gradient-start) 0%, #f8fafc 40%, var(--bg-gradient-end) 100%);
  min-height: 100%;
}

body {
  font-size: 16px;
  line-height: 1.68;
  overflow-x: hidden;
  position: relative;
}

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

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

/* 容器 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部公告条 */
.announcement-bar {
  background: linear-gradient(90deg, #10b981 0%, #06b6d4 100%);
  color: #fff;
  font-size: 0.875rem;
  padding: 8px 16px;
  text-align: center;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.announcement-bar a {
  background: rgba(255,255,255,0.22);
  color: #fff;
  padding: 2px 10px;
  border-radius: 99px;
  text-decoration: underline;
  margin-left: 8px;
}

/* 头部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.12);
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
}

.logo-badge::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: var(--solar-gold);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--solar-gold);
}

.brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.2rem;
  background: linear-gradient(135deg, #059669 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(16, 185, 129, 0.08);
}

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

/* 按钮通用 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-purple {
  background: var(--brand-purple);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59, 48, 150, 0.3);
}

.btn-purple:hover {
  background: var(--brand-purple-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 48, 150, 0.4);
}

.btn-outline {
  background: #fff;
  color: var(--text-main);
  border: 1px solid var(--border-card);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: #f0fdf7;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* 移动端菜单切换 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* 背景装饰动态点缀 */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.ambient-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(6, 182, 212, 0.05) 70%);
  top: -100px;
  right: -50px;
}

.ambient-glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.18) 0%, rgba(245, 158, 11, 0.02) 70%);
  top: 250px;
  left: -150px;
  animation-duration: 16s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.08); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero 区域 */
.hero-section {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.4);
  animation: pulsePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulsePing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.18;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #059669 0%, #0284c7 50%, #4338ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 32px;
}

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

.hero-stats {
  display: flex;
  gap: 36px;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  padding-top: 24px;
}

.stat-item h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 4px;
}

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

/* 图1 Solarpunk 质感预览卡片 */
.solarpunk-card-preview {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.solarpunk-widget {
  background: #ffffff;
  border-radius: 28px;
  padding: 36px 32px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.18), 0 0 0 1px rgba(16, 185, 129, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.solarpunk-widget:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 60px -15px rgba(16, 185, 129, 0.25), 0 0 0 1px rgba(16, 185, 129, 0.3);
}

/* 图1中的太阳金色光环装饰 */
.solar-sun-decor {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 8px rgba(251, 191, 36, 0.25), 0 0 20px rgba(245, 158, 11, 0.4);
  animation: sunGlow 4s ease-in-out infinite alternate;
}

@keyframes sunGlow {
  0% { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0.25), 0 0 20px rgba(245, 158, 11, 0.4); }
  100% { box-shadow: 0 0 0 14px rgba(251, 191, 36, 0.15), 0 0 30px rgba(245, 158, 11, 0.6); }
}

.widget-label {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #0d9488;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.widget-sub {
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 28px;
  font-weight: 500;
}

.widget-btn {
  background: var(--primary-gradient);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 0;
  border-radius: var(--radius-full);
  display: block;
  text-align: center;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.3s ease;
}

.widget-btn:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.45);
}

.widget-meta {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed #e2e8f0;
  padding-top: 16px;
  font-size: 0.8rem;
  color: #64748b;
}

/* 核心卖点网格 */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(16, 185, 129, 0.08);
  border-bottom: 1px solid rgba(16, 185, 129, 0.08);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 14px;
  border-radius: 99px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 16px;
}

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

/* 卖点卡片 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--shadow-lg);
}

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

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary-gradient);
  color: white;
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   套餐价格区域（严格对应用户上传的图2设计）
   ========================================================================== */
.pricing-section {
  padding: 90px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(59, 48, 150, 0.12), 0 2px 10px rgba(0, 0, 0, 0.05);
  border-color: rgba(59, 48, 150, 0.3);
}

.pricing-badge-pill {
  align-self: center;
  background: #eff2ff;
  color: #3b3096;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.pricing-card.featured .pricing-badge-pill {
  background: #eff2ff;
  color: #3b3096;
}

.pricing-price-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.price-currency {
  font-size: 2.2rem;
  font-weight: 800;
  color: #3b3096;
}

.price-amount {
  font-size: 4rem;
  font-weight: 900;
  color: #3b3096;
  line-height: 1;
  letter-spacing: -2px;
}

.price-period {
  display: block;
  font-size: 1.05rem;
  color: #475569;
  font-weight: 500;
  margin-top: 10px;
}

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

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: #334155;
  margin-bottom: 16px;
  font-weight: 500;
}

.feature-check-icon {
  width: 20px;
  height: 20px;
  background: #3b3096;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 12px;
}

.pricing-card .pricing-action-btn {
  background: #3b3096;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 0;
  border-radius: 8px;
  display: block;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(59, 48, 150, 0.25);
}

.pricing-card .pricing-action-btn:hover {
  background: #2e247a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 48, 150, 0.4);
}

/* 官网快速入口专区 */
.portal-box {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 60%, #0f766e 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(6, 78, 59, 0.25);
  margin-top: 40px;
}

.portal-box::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, transparent 70%);
}

.portal-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.portal-box h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.portal-box p {
  color: #d1fae5;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.portal-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.portal-link-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  color: #fff;
  font-family: var(--font-mono);
}

/* 客户端与使用教程 */
.tutorial-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.tutorial-step-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.step-item {
  background: #f8fafc;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  position: relative;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.step-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 问题排查专区 */
.troubleshoot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.troubleshoot-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.troubleshoot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.troubleshoot-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.troubleshoot-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.troubleshoot-solution {
  background: #f0fdf7;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 500;
}

/* FAQ 常见问题折叠 */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding: 0 24px 20px;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.7;
  display: none;
  border-top: 1px dashed #f1f5f9;
  margin-top: -6px;
  padding-top: 14px;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 9篇文章深度内容网格 (首页聚合与文章页通用) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.article-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-lg);
}

.article-card-cover {
  height: 180px;
  background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: white;
}

.article-card-cover::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: rgba(251, 191, 36, 0.25);
  border-radius: 50%;
}

.article-tag-badge {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

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

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

.article-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   文章详情页专有排版样式 (满足 1300-2400 字高质量排版要求)
   ========================================================================== */
.article-header {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, transparent 100%);
  text-align: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.article-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  max-width: 900px;
  margin: 0 auto 20px;
}

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

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 40px 0 80px;
}

.article-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
}

.article-content h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f172a;
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin: 28px 0 12px;
}

.article-content p {
  margin-bottom: 20px;
}

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

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

.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: #f0fdf7;
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  color: #065f46;
  font-size: 0.98rem;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.95rem;
}

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

.article-content th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

.article-content tr:nth-child(even) {
  background: #fcfdfd;
}

.article-content tr:hover {
  background: #f0fdf7;
}

.article-content .highlight-box {
  background: linear-gradient(135deg, #f0fdf7 0%, #e0f2fe 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 16px;
  padding: 24px;
  margin: 28px 0;
}

.article-cta-box {
  background: linear-gradient(135deg, #3b3096 0%, #1e1b4b 100%);
  color: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.article-cta-box h3 {
  color: white !important;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.article-cta-box p {
  color: #e0e7ff;
  margin-bottom: 20px;
}

/* 侧边栏与内部互链 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  margin-bottom: 12px;
}

.sidebar-links a {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
  display: block;
  transition: all 0.2s ease;
}

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

/* 标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.tag-cloud a:hover {
  background: var(--primary);
  color: white;
}

/* 页脚 */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #1e293b;
}

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

.footer-brand h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748b;
}

/* 浮动快速直达挂件 (Solarpunk 风格) */
.floating-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  background: var(--primary-gradient);
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.55);
}

.floating-tooltip {
  position: absolute;
  right: 64px;
  background: #0f172a;
  color: white;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
}

/* 响应式断点 */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .solarpunk-card-preview {
    margin-top: 30px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .portal-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .portal-links-list {
    justify-content: center;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e2e8f0;
  }
  .nav-menu.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .article-content {
    padding: 28px 20px;
  }
  .article-main-title {
    font-size: 1.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
