/* ============================================
   「每日吃瓜」品牌设计系统 v1.0
   风格：清新瓜果田园 + 杂志网格排版
   主色：西瓜红 #FF6B6B + 薄荷绿 #40C9A2 + 淡黄 #FFF3E0
   背景：米白 #FEFCF3
   ============================================ */

*, *::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: #FEFCF3;
  color: #2D3436;
  line-height: 1.6;
}

/* 自定义滚动条 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FEFCF3; }
::-webkit-scrollbar-thumb { background: #FF6B6B; border-radius: 4px; }

::selection { background: #FF6B6B; color: #fff; }

/* ===== 核心布局 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; position: relative; }

.section:nth-child(even) {
  background: #FFF8F0;
}

/* ===== 导航 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(254, 252, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #E8F5E9;
  box-shadow: 0 2px 20px rgba(64, 201, 162, 0.08);
}

.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.35rem;
  text-decoration: none;
  color: #2D3436;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.logo span:last-child {
  background: linear-gradient(135deg, #FF6B6B, #40C9A2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  transition: 0.3s;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #40C9A2;
  transition: 0.3s;
}

.main-nav a:hover { color: #FF6B6B; }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
  transition: 0.3s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 107, 0.4);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: #2D3436;
  border: 2px solid #E8F5E9;
  border-radius: 8px;
  background: #fff;
}

/* ===== Hero ===== */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  background: 
    radial-gradient(circle at 10% 30%, rgba(255, 107, 107, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(64, 201, 162, 0.06) 0%, transparent 50%);
  padding-top: 100px;
}

.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: #FFF3E0;
  color: #FF8E53;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 142, 83, 0.2);
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #2D3436;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(255, 107, 107, 0.12);
  position: relative;
}

.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;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 107, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #40C9A2;
  color: #40C9A2;
}

.btn-outline:hover {
  background: #40C9A2;
  color: #fff;
  transform: translateY(-2px);
}

/* ===== 标签/标题 ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #40C9A2;
  background: rgba(64, 201, 162, 0.1);
  padding: 4px 14px;
  border-radius: 50px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #2D3436;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== 卡片网格 ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #E8F5E9;
  transition: 0.3s;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, #FF6B6B, #40C9A2);
  opacity: 0;
  transition: 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(64, 201, 162, 0.12);
  border-color: #40C9A2;
}

.category-card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
  color: #FF8E53;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #FF6B6B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}

.card-link:hover { gap: 12px; color: #FF8E53; }

/* ===== 特性块 ===== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(64, 201, 162, 0.1);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text { }

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  border-bottom: 1px solid #F0F0F0;
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: #40C9A2;
  background: rgba(64, 201, 162, 0.1);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* ===== 数据条 ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: 16px;
  border: 1px solid #E8F5E9;
  background: #fff;
  transition: 0.3s;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.08);
  border-color: #FF6B6B;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  font-weight: 500;
}

/* ===== 内容墙 ===== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E8F5E9;
  transition: 0.3s;
  background: #fff;
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(64, 201, 162, 0.12);
  border-color: #40C9A2;
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.5s;
}

.content-wall-item:hover img { transform: scale(1.05); }

.content-wall-body {
  padding: 24px;
}

.content-wall-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.6;
}

.content-wall-body .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: #FFF3E0;
  color: #FF8E53;
  margin-top: 12px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #E8F5E9;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
  background: #fff;
}

.faq-item:hover { border-color: #40C9A2; }

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  color: #2D3436;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: #40C9A2;
  transition: 0.3s;
}

.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;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer { display: block; }

/* ===== CTA横幅 ===== */
.cta-banner {
  padding: 64px 24px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #40C9A2 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '🍉';
  position: absolute;
  top: -30px; right: -30px;
  font-size: 120px;
  opacity: 0.1;
  transform: rotate(20deg);
}

.cta-banner::after {
  content: '🥒';
  position: absolute;
  bottom: -40px; left: -20px;
  font-size: 100px;
  opacity: 0.1;
  transform: rotate(-15deg);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #FF6B6B;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

/* ===== 页脚 ===== */
.site-footer {
  padding: 60px 0 28px;
  background: #2D3436;
  color: rgba(255,255,255,0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-col ul li a:hover { color: #40C9A2; }

.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.5;
}

/* ===== 工具类 ===== */
.text-accent { color: #FF6B6B; }
.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: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .section-title { font-size: 1.8rem; }
}

@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; }
  .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, 252, 243, 0.98);
    padding: 24px;
    gap: 16px;
    border-bottom: 2px solid #E8F5E9;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero-image { margin-top: 40px; }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .content-wall { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-buttons { flex-direction: column; }
  .hero h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.5rem; }
  .stat-number { font-size: 2rem; }
  .cta-banner { padding: 40px 20px; }
  .cta-banner h2 { font-size: 1.5rem; }
}