/* 基础重置与全局变量 */
*, *::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: #fef9f0;
  color: #2d3436;
}

:root {
  --primary: #e17055;
  --primary-light: #fab1a0;
  --secondary: #00b894;
  --accent: #fd79a8;
  --soft-bg: #ffeaa7;
  --card-bg: #ffffff;
  --border-light: #dfe6e9;
  --text-dark: #2d3436;
  --text-soft: #636e72;
  --shadow: 0 8px 32px rgba(225, 112, 85, 0.08);
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #fdf6ed;
}

/* 导航 — 固定顶部，玻璃态+柔和边框 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(254, 249, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(225, 112, 85, 0.15);
}

.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: var(--primary);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(225, 112, 85, 0.25);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(225, 112, 85, 0.3);
  transition: all 0.3s ease;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 112, 85, 0.4);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* 首页Hero — 柔和渐变气泡风格 */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 10% 30%, #ffeaa7 0%, #fef9f0 50%, #fab1a0 100%);
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(253, 121, 168, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  background: var(--soft-bg);
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(225, 112, 85, 0.2);
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.8;
  max-width: 540px;
  margin-bottom: 36px;
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.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: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 20px rgba(225, 112, 85, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(225, 112, 85, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* 标签/标题 — 创意排版 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--primary);
  background: var(--soft-bg);
  padding: 4px 16px;
  border-radius: 50px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  opacity: 0.75;
  margin-bottom: 48px;
  font-size: 1.05rem;
  color: var(--text-soft);
}

/* 卡片网格 — 层叠卡片，柔和阴影 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 20px;
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid rgba(225, 112, 85, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(225, 112, 85, 0.12);
  border-color: rgba(225, 112, 85, 0.2);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  background: var(--soft-bg);
  color: var(--primary);
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 12px;
}

/* 特性块 — 不对称布局 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  position: relative;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(225, 112, 85, 0.06);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
}

/* 数据条 — 柔和卡片 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid rgba(225, 112, 85, 0.08);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(225, 112, 85, 0.1);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 8px;
  color: var(--text-soft);
}

/* 内容墙 — 杂志网格 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(225, 112, 85, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(225, 112, 85, 0.1);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.content-wall-item:hover img {
  transform: scale(1.05);
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.content-wall-body p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ — 手风琴风格 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(225, 112, 85, 0.12);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.8;
  color: var(--text-soft);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 0.8; transform: translateY(0); }
}

/* CTA横幅 — 渐变醒目 */
.cta-banner {
  padding: 72px 32px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent), #6c5ce7);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* 页脚 — 浅色柔和 */
.site-footer {
  padding: 72px 0 32px;
  background: #fdf6ed;
  border-top: 1px solid rgba(225, 112, 85, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-col h4 {
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.footer-col a {
  display: block;
  color: var(--text-soft);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(225, 112, 85, 0.1);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* 工具类 */
.text-accent {
  color: var(--primary);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.75;
  color: var(--text-soft);
  line-height: 1.7;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  .feature-block {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .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;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(254, 249, 240, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(225, 112, 85, 0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
  }
  .main-nav.open a {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .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: 24px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .stat-item {
    padding: 24px 16px;
  }
  .stat-number {
    font-size: 2rem;
  }
}