/* ============================================
   Awwwards Design System — 今日大赛
   Theme: 极简杂志风 · 柔光层叠 · 珊瑚蓝调
   ============================================ */

/* 基础重置 */
*, *::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: #faf9f7;  /* 暖白基色 */
  color: #1e2a3a;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: #f5f3ef;  /* 浅米灰，与白底柔和过渡 */
}

/* 导航 — 固定顶部，半透明白+玻璃态 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 252, 248, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 190, 180, 0.25);
}

.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: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: #1e2a3a;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: #f9a8a0;  /* 珊瑚粉 */
  color: #fff;
  box-shadow: 0 2px 8px rgba(249, 168, 160, 0.3);
}

.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: #3d4a5c;
  transition: color 0.2s, transform 0.2s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f9a8a0;
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: #1e2a3a;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 30px;
  color: #fff !important;
  font-weight: 600;
  background: #3b7b9e;  /* 柔雾蓝 */
  box-shadow: 0 2px 10px rgba(59, 123, 158, 0.25);
  transition: background 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: #2d6280;
  box-shadow: 0 4px 14px rgba(59, 123, 158, 0.35);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1e2a3a;
}

/* ===== 首页Hero — 杂志封面式 ===== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: #faf9f7;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 45%;
  height: 70%;
  background: radial-gradient(circle at 70% 30%, rgba(249, 168, 160, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 4px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  background: #eae7e0;
  color: #4a5a6a;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 700;
  color: #1e2a3a;
  letter-spacing: -0.03em;
}

.hero h1::after {
  content: '🔥';
  display: inline-block;
  margin-left: 10px;
  font-size: 2.2rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.65;
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 按钮 — 圆润 + 微渐变 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 0.95rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #3b7b9e 0%, #4a8cae 100%);
  box-shadow: 0 4px 14px rgba(59, 123, 158, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 123, 158, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #3b7b9e;
  color: #3b7b9e;
}

.btn-outline:hover {
  background: #3b7b9e;
  color: #fff;
  border-color: #3b7b9e;
}

/* ===== 标签/标题 ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 14px;
  color: #a08e7c;
  text-transform: uppercase;
  position: relative;
}

.section-label::before {
  content: '◆ ';
  color: #f9a8a0;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: #1e2a3a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  opacity: 0.6;
  margin-bottom: 44px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== 卡片网格 — 柔和阴影 + 圆角 ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 20px;
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid #ece8e2;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  border-color: #f9a8a0;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  background: #f5f1ec;
  color: #3b7b9e;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #3b7b9e;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.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: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding-right: 20px;
}

.feature-list {
  list-style: none;
  margin-top: 12px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #2e3a4a;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: #f9a8a0;
  font-size: 1.1rem;
}

/* ===== 数据条 ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 28px 16px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #ece8e2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #1e2a3a;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-number::after {
  content: '+';
  font-size: 1.8rem;
  color: #f9a8a0;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.55;
  margin-top: 8px;
  letter-spacing: 0.3px;
}

/* ===== 内容墙 ===== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #ece8e2;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 22px 24px 26px;
}

.content-wall-body h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.content-wall-body p {
  opacity: 0.6;
  font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e6e0d8;
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1e2a3a;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #a08e7c;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.7;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ===== CTA横幅 — 珊瑚渐变 ===== */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #f9a8a0 0%, #d68b84 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(249, 168, 160, 0.25);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #1e2a3a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.cta-banner .btn-primary:hover {
  background: #f5f1ec;
  transform: translateY(-2px);
}

/* ===== 页脚 ===== */
.site-footer {
  padding: 64px 0 32px;
  background: #1e2a3a;
  color: #d6d0c8;
}

.site-footer .container {
  max-width: 1200px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #b0a89e;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #f9a8a0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== 工具类 ===== */
.text-accent {
  color: #f9a8a0;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.6;
  font-size: 1.05rem;
  line-height: 1.7;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .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;
    width: 44px;
    height: 44px;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(255, 252, 248, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px 28px;
    gap: 16px;
    border-bottom: 1px solid rgba(200, 190, 180, 0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  }

  .main-nav.open li {
    width: 100%;
  }

  .main-nav.open a {
    display: block;
    padding: 8px 0;
  }

  .nav-cta {
    text-align: center;
  }
}

@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;
    align-items: stretch;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}
