/* ================================================
   吃瓜爆料网 · chiguabaol.net.cn
   设计系统：西瓜美学 · 瓜田不隔夜 爆点见真章
   ================================================ */

/* 基础重置 */
*, *::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-color: #FFF9F2;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 107, 107, 0.06) 1px, transparent 0);
  background-size: 28px 28px;
  color: #2B3B3B;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #FF4E5E;
  color: #FFFFFF;
}

/* 核心布局 — 居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: #F2FBF4;
  background-image: radial-gradient(circle at 1px 1px, rgba(76, 191, 138, 0.07) 1px, transparent 0);
  background-size: 28px 28px;
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 249, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid #D3F2DC;
  box-shadow: 0 4px 24px rgba(76, 191, 138, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: #2B3B3B;
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: linear-gradient(135deg, #FF4E5E 0%, #FF9F5B 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 78, 94, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #435553;
  padding: 4px 2px;
  position: relative;
  transition: color 0.3s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #FF4E5E, #FFD166);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover {
  color: #E44050;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 22px !important;
  border-radius: 50px !important;
  color: #FFFFFF !important;
  font-weight: 700;
  background: linear-gradient(135deg, #FF4E5E, #FF9F5B);
  box-shadow: 0 4px 16px rgba(255, 78, 94, 0.25);
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 78, 94, 0.35);
  color: #FFFFFF !important;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  border-radius: 10px;
}

.menu-toggle::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 8px;
  width: 24px;
  height: 2px;
  border-radius: 4px;
  background: #2B3B3B;
  box-shadow: 0 8px 0 #2B3B3B, 0 16px 0 #2B3B3B;
}

/* 首页Hero */
.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 40%, rgba(255, 209, 102, 0.18) 0%, transparent 28%),
    radial-gradient(circle at 12% 30%, rgba(76, 191, 138, 0.14) 0%, transparent 32%);
}

.hero::before {
  content: '';
  position: absolute;
  right: -70px;
  top: 50%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 32px solid rgba(255, 159, 91, 0.12);
  border-top-color: rgba(76, 191, 138, 0.14);
  border-left-color: rgba(255, 209, 102, 0.22);
  animation: slow-spin 30s linear infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: 12%;
  top: 24%;
  width: 16px;
  height: 10px;
  border-radius: 50%;
  background: #4A5A4A;
  opacity: 0.28;
  box-shadow:
    74px 96px 0 -4px #4A5A4A,
    -52px 148px 0 -3px #4A5A4A,
    120px 190px 0 -5px #4A5A4A;
  pointer-events: none;
}

@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
  background: #E4F8EB;
  color: #248A55;
  border: 1px solid #BFF0D0;
  letter-spacing: 0.4px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #263A36;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #FF4E5E, #FF9F5B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.1rem;
  color: #5C706E;
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(99, 116, 90, 0.18);
  border: 6px solid #FFFFFF;
  outline: 2px solid #C9EED8;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  letter-spacing: 0.3px;
}

.btn-primary {
  color: #FFFFFF;
  background: linear-gradient(135deg, #FF4E5E 0%, #FF9F5B 100%);
  box-shadow: 0 8px 28px rgba(255, 78, 94, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(255, 78, 94, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid #4CBF8A;
  color: #2B7A54;
}

.btn-outline:hover {
  background: #E4F8EB;
  transform: translateY(-3px);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 14px;
  background: #E4F8EB;
  color: #248A55;
  padding: 6px 16px;
  border-radius: 100px;
  text-transform: uppercase;
}

.section-label::before {
  content: '●';
  margin-right: 6px;
  font-size: 0.6rem;
  vertical-align: middle;
  color: #FF4E5E;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #2B3B3B;
}

.section-desc {
  max-width: 600px;
  color: #6B7F7D;
  font-size: 1rem;
  margin-bottom: 44px;
  line-height: 1.7;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.category-card {
  border-radius: 24px;
  padding: 30px;
  background: #FFFFFF;
  border: 2px solid #F1E8DE;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 78, 94, 0.04), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.category-card:hover {
  transform: translateY(-6px) rotate(-0.2deg);
  box-shadow: 0 16px 40px rgba(150, 90, 60, 0.12);
  border-color: #FFD166;
}

.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: 18px;
  font-size: 1.4rem;
  background: linear-gradient(145deg, #FF4E5E, #FF9F5B);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(255, 78, 94, 0.24);
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: #E44050;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  transition: gap 0.3s;
}

.card-link::after {
  content: '→';
  transition: transform 0.3s;
}

.card-link:hover {
  gap: 10px;
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid #FFFFFF;
  box-shadow:
    0 20px 50px rgba(99, 116, 90, 0.16),
    0 0 0 3px #C9EED8;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s;
}

.feature-image:hover img {
  transform: scale(1.03);
}

.feature-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #2B3B3B;
}

.feature-text p {
  color: #6B7F7D;
  margin-bottom: 20px;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  color: #FFFFFF;
  background: linear-gradient(135deg, #2EA061, #4CBF8A);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(46, 160, 97, 0.25);
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 2px solid #F1E8DE;
  position: relative;
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 6px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(90deg, #FF4E5E, #FFD166);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.1;
  display: inline-block;
  background: linear-gradient(120deg, #FF4E5E, #FF9F5B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: #8A9A98;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.content-wall-item {
  border-radius: 22px;
  overflow: hidden;
  background: #FFFFFF;
  border: 2px solid #F1E8DE;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(99, 116, 90, 0.12);
  border-color: #4CBF8A;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 22px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid #F1E8DE;
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #FFFFFF;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  border-color: #FFD166;
  box-shadow: 0 8px 24px rgba(150, 90, 60, 0.06);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #2B3B3B;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: #FF4E5E;
  transform: rotate(0deg);
  transition: transform 0.3s;
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
  color: #6B7F7D;
  line-height: 1.8;
}

.faq-item.open {
  border-color: #4CBF8A;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

/* CTA横幅 */
.cta-banner {
  padding: 64px 48px;
  text-align: center;
  border-radius: 32px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FF4E5E 0%, #FF7A5C 45%, #FF9F5B 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(255, 78, 94, 0.3);
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.cta-banner::before {
  width: 260px;
  height: 260px;
  top: -120px;
  left: -60px;
}

.cta-banner::after {
  width: 180px;
  height: 180px;
  bottom: -80px;
  right: -40px;
  background: rgba(255, 209, 102, 0.2);
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.cta-banner .btn-primary {
  background: #FFFFFF;
  color: #FF4E5E;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
}

/* 页脚 */
.site-footer {
  padding: 64px 0 28px;
  background: #EAF7EE;
  border-top: 4px solid #C5E8D0;
  color: #435553;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  margin-top: 16px;
  color: #6B7F7D;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #2B3B3B;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.footer-col a {
  color: #5C706E;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #E44050;
}

.footer-bottom {
  border-top: 2px solid #C5E8D0;
  margin-top: 48px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #8A9A98;
}

/* 工具类 */
.text-accent {
  color: #FF4E5E;
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  color: #6B7F7D;
  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: 40px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #FFF9F2;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-bottom: 2px solid #C9EED8;
    box-shadow: 0 20px 40px rgba(99, 116, 90, 0.1);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero::before {
    right: -120px;
    width: 260px;
    height: 260px;
  }

  .cta-banner {
    padding: 48px 28px;
    border-radius: 24px;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .section {
    padding: 56px 0;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}