/* =========================================================
   “熟瓜切片”视觉系统 — 吃瓜网专属
   奶油底色 + 西瓜汁红 + 薄荷瓜绿 + 阳光瓜黄
   ========================================================= */

*, *::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: #FFFDF8;
  color: #2B2B20;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(255, 94, 122, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(46, 196, 182, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}

/* =========================================================
   .container / .section
   ========================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background:
    linear-gradient(rgba(255, 94, 122, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 94, 122, 0.02) 1px, transparent 1px),
    #F7FCFA;
  background-size: 32px 32px;
}

/* =========================================================
   导航 — 固定顶部
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 253, 248, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 94, 122, 0.18);
}

.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.2rem;
  text-decoration: none;
  color: #2B2B20;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px 5px 11px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: linear-gradient(135deg, #FF5E7A 0%, #FF8C42 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 94, 122, 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: #4A4A3A;
  transition: color 0.2s, text-shadow 0.2s;
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #FF5E7A, #FFB443);
  border-radius: 2px;
  transition: width 0.3s;
}

.main-nav a:not(.nav-cta):hover {
  color: #FF5E7A;
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 20px;
  border-radius: 100px;
  color: #fff !important;
  font-weight: 700;
  background: linear-gradient(135deg, #FF5E7A, #FF8C42);
  box-shadow: 0 4px 14px rgba(255, 94, 122, 0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 94, 122, 0.42);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(255, 94, 122, 0.1);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle::before {
  content: '☰';
  font-size: 1.3rem;
  color: #FF5E7A;
}

/* =========================================================
   Hero — 瓜心魅力区
   ========================================================= */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  background-image:
    radial-gradient(ellipse 60% 40% at 78% 50%, rgba(255, 94, 122, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 20%, rgba(46, 196, 182, 0.1) 0%, transparent 70%);
}

.hero::before {
  content: '瓜';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%) rotate(12deg);
  font-size: 24rem;
  font-weight: 900;
  color: rgba(255, 94, 122, 0.04);
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.15), rgba(255, 180, 67, 0.15));
  color: #1B8D7F;
  border: 1px solid rgba(46, 196, 182, 0.2);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #2B2B20;
}

.hero h1 .text-accent {
  font-weight: 900;
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.72;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: 50%;
  overflow: hidden;
  padding: 14px;
  background: linear-gradient(135deg, #FF5E7A, #FFB443, #2EC4B6);
  box-shadow:
    0 20px 50px rgba(255, 94, 122, 0.15),
    0 0 0 6px rgba(255, 253, 248, 0.6);
  animation: heroFloat 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
  margin-left: 40px;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

/* =========================================================
   按钮
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #FF5E7A 0%, #FF8C42 100%);
  box-shadow: 0 8px 24px rgba(255, 94, 122, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 94, 122, 0.42);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #2EC4B6;
  color: #1B8D7F;
}

.btn-outline:hover {
  background: rgba(46, 196, 182, 0.1);
  border-color: #1B8D7F;
  transform: translateY(-3px);
}

/* =========================================================
   标签 / 标题
   ========================================================= */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #FF5E7A;
  background: rgba(255, 94, 122, 0.08);
  padding: 4px 14px;
  border-radius: 100px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  line-height: 1.6;
}

/* =========================================================
   卡片网格 — 像切开的瓜块
   ========================================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 28px 12px 28px 12px;
  padding: 30px;
  border: 1px solid rgba(46, 196, 182, 0.15);
  background: #FFFDF8;
  box-shadow: 0 4px 20px rgba(43, 43, 32, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 94, 122, 0.08) 0%, transparent 60%);
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 12px 30px rgba(46, 196, 182, 0.16);
  border-color: rgba(46, 196, 182, 0.3);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px 6px 16px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(255, 94, 122, 0.12), rgba(255, 180, 67, 0.12));
  border: 1px solid rgba(255, 94, 122, 0.12);
}

.category-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.9rem;
  opacity: 0.68;
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: #FF5E7A;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 8px;
}

/* =========================================================
   特性块 — 瓜瓤双展
   ========================================================= */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 40px 12px 40px 12px;
  overflow: hidden;
  padding: 8px;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.2), rgba(255, 180, 67, 0.2));
  transition: transform 0.3s;
}

.feature-image:hover {
  transform: scale(1.01);
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 32px 8px 32px 8px;
  display: block;
}

.feature-text {
  padding: 20px 0;
}

.feature-text h2 {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.feature-text p {
  opacity: 0.72;
  line-height: 1.6;
  margin-bottom: 20px;
}

.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: 900;
  color: #fff;
  background: linear-gradient(135deg, #2EC4B6, #1B8D7F);
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* =========================================================
   数据条 — 瓜形指标
   ========================================================= */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
  border-radius: 24px 8px 24px 8px;
  border: 1px solid rgba(255, 94, 122, 0.15);
  background: #FFFDF8;
  box-shadow: 0 4px 16px rgba(255, 94, 122, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 94, 122, 0.12);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FF5E7A 0%, #FFB443 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.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(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 28px 10px 28px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 180, 67, 0.2);
  background: #FFFDF8;
  box-shadow: 0 4px 16px rgba(43, 43, 32, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(255, 94, 122, 0.1);
  border-color: rgba(255, 94, 122, 0.25);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid rgba(46, 196, 182, 0.3);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(46, 196, 182, 0.1);
  color: #1B8D7F;
  margin-bottom: 10px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.4;
}

.content-wall-body p {
  font-size: 0.88rem;
  opacity: 0.66;
  line-height: 1.5;
}

/* =========================================================
   FAQ — 瓜问答
   ========================================================= */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(46, 196, 182, 0.15);
  border-radius: 20px 8px 20px 8px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #FFFDF8;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: rgba(255, 94, 122, 0.3);
  box-shadow: 0 4px 14px rgba(255, 94, 122, 0.05);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2B2B20;
}

.faq-item .faq-question::after {
  content: '＋';
  color: #FF5E7A;
  font-weight: 900;
  font-size: 1.2rem;
  transition: transform 0.3s;
  display: inline-block;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.72;
  line-height: 1.6;
  font-size: 0.92rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* =========================================================
   CTA 横幅 — 熟透的瓜
   ========================================================= */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 40px 16px 40px 16px;
  background: linear-gradient(135deg, #FF5E7A 0%, #FF8C42 50%, #FFB443 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(255, 94, 122, 0.3);
}

.cta-banner::before {
  content: '🍉';
  position: absolute;
  right: -20px;
  top: -20px;
  font-size: 8rem;
  opacity: 0.2;
  transform: rotate(30deg);
}

.cta-banner::after {
  content: '🍉';
  position: absolute;
  left: -20px;
  bottom: -30px;
  font-size: 6rem;
  opacity: 0.15;
  transform: rotate(-20deg);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #FF5E7A;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   页脚 — 瓜田余韵
   ========================================================= */
.site-footer {
  padding: 60px 0 30px;
  background: #F2F9F5;
  border-top: 1px solid rgba(46, 196, 182, 0.15);
  margin-top: 80px;
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  padding-right: 30px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand h3 .logo-icon {
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
}

.footer-brand p {
  opacity: 0.65;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #2B2B20;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: #4A4A3A;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
  color: #FF5E7A;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(46, 196, 182, 0.15);
  margin-top: 40px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
}

/* =========================================================
   工具类
   ========================================================= */
.text-accent {
  background: linear-gradient(135deg, #FF5E7A, #FF8C42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.72;
  line-height: 1.6;
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* =========================================================
   响应式 — 移动瓜田
   ========================================================= */
@media (max-width: 1024px) {
  .hero {
    padding: 100px 0 60px;
  }
  .hero-image {
    margin-left: 0;
  }
  .feature-block {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(255, 253, 248, 0.98);
    padding: 24px;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 16px 32px rgba(43, 43, 32, 0.1);
    border-bottom: 1px solid rgba(255, 94, 122, 0.1);
    backdrop-filter: blur(20px);
  }
  .menu-toggle {
    display: flex;
    border: none;
    cursor: pointer;
  }
  .main-nav.open {
    display: flex;
  }
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image {
    margin: 48px auto 0;
    width: 280px;
    height: 280px;
  }
  .hero::before {
    font-size: 10rem;
    right: 0;
    text-align: center;
  }
}

@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: center;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-image {
    width: 220px;
    height: 220px;
    margin: 36px auto 0;
  }
  .section {
    padding: 56px 0;
  }
  .cta-banner {
    padding: 48px 20px;
  }
  .cta-banner h2 {
    font-size: 1.5rem;
  }
  .footer-bottom {
    text-align: center;
  }
}