/* ========================================
   黑料正能量 · DNA螺旋解构 · 杂志风
   灵感：基因图谱 + 解构主义排版
   主色：青柠绿 + 珊瑚粉 + 岩灰
   禁止黑色背景，使用米白基底
   ======================================== */

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: #faf7f2;
  color: #2d2d2d;
  line-height: 1.6;
}

/* 核心布局 — 居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #f4efe8;
}

/* 导航 — 固定顶部，半透明玻璃 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180, 200, 160, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  color: #3a5a40;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b5d6a7, #e8b4b8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 2px 8px rgba(181, 214, 167, 0.4);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a4a4a;
  transition: 0.25s ease;
  position: relative;
  letter-spacing: 0.3px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e8b4b8;
  transition: 0.3s;
}

.main-nav a:hover {
  color: #3a5a40;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, #b5d6a7, #a3c4a0);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(181, 214, 167, 0.35);
  transition: 0.3s;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(181, 214, 167, 0.5);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #3a5a40;
  cursor: pointer;
}

/* 首页Hero — 螺旋解构排版 */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #faf7f2 0%, #f0ece4 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(181, 214, 167, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(232, 180, 184, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(181, 214, 167, 0.25);
  color: #3a5a40;
  margin-bottom: 20px;
  text-transform: uppercase;
  border: 1px solid rgba(181, 214, 167, 0.3);
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: #2d2d2d;
  position: relative;
}

.hero h1::after {
  content: '✦';
  font-size: 1.8rem;
  color: #e8b4b8;
  margin-left: 12px;
  display: inline-block;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
  color: #4a4a4a;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  background: #e8e2d8;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 — 圆润有质感 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary {
  background: linear-gradient(135deg, #b5d6a7, #8fb996);
  color: #fff;
  box-shadow: 0 4px 14px rgba(181, 214, 167, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(181, 214, 167, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid #b5d6a7;
  color: #3a5a40;
}

.btn-outline:hover {
  background: rgba(181, 214, 167, 0.15);
  transform: translateY(-2px);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #e8b4b8;
  position: relative;
  padding-left: 36px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #e8b4b8;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #2d2d2d;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  font-size: 1.05rem;
  color: #4a4a4a;
}

/* 卡片网格 — 解构卡片，带斜角 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 16px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid rgba(180, 200, 160, 0.25);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #b5d6a7, #e8b4b8);
  opacity: 0;
  transition: 0.3s;
}

.category-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(181, 214, 167, 0.5);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0ece4, #e8e2d8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #3a5a40;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #3a5a40;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}

.card-link::after {
  content: '→';
  transition: 0.2s;
}

.card-link:hover {
  color: #e8b4b8;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* 特性块 — 错落排版 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  transform: rotate(-1deg);
  transition: 0.3s;
}

.feature-image:hover {
  transform: rotate(0deg) scale(1.01);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 20px 0;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  border-bottom: 1px solid rgba(180, 200, 160, 0.15);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #e8b4b8;
  font-size: 1.1rem;
}

/* 数据条 — 错落数字排版 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(180, 200, 160, 0.2);
  transition: 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #3a5a40;
  line-height: 1;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #4a4a4a;
}

/* 内容墙 — 杂志网格 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(180, 200, 160, 0.2);
  transition: 0.3s ease;
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(181, 214, 167, 0.4);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: 0.4s;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body {
  padding: 22px 24px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.6;
}

/* FAQ — 圆润折叠 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(180, 200, 160, 0.25);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: 0.2s;
}

.faq-item:hover {
  border-color: rgba(181, 214, 167, 0.5);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2d2d2d;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: #b5d6a7;
  transition: 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.7;
  line-height: 1.7;
  color: #4a4a4a;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 — 渐变柔和 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #b5d6a7, #a3c4a0, #e8b4b8);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  position: relative;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #3a5a40;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 页脚 — 浅色优雅 */
.site-footer {
  padding: 64px 0 32px;
  background: #f0ece4;
  border-top: 1px solid rgba(180, 200, 160, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo {
  font-size: 1.2rem;
}

.footer-brand p {
  opacity: 0.6;
  font-size: 0.9rem;
  max-width: 260px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #3a5a40;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #4a4a4a;
  font-size: 0.85rem;
  opacity: 0.7;
  transition: 0.2s;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: #3a5a40;
}

.footer-bottom {
  border-top: 1px solid rgba(180, 200, 160, 0.2);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
  color: #4a4a4a;
}

/* 工具类 */
.text-accent {
  color: #e8b4b8;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 响应式 — 移动优先 */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(250, 247, 242, 0.98);
    padding: 28px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(180, 200, 160, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero {
    min-height: 60vh;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}