/* 今日吃瓜 - 黄色吃瓜网 - 我要吃瓜网 设计系统 */
/* 风格：柠檬黄+蜜瓜橙，圆润可爱，甜系杂志风，明亮活泼 */

*, *::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: #FFFAEF;
  color: #5A3E2B;
}

::selection {
  background: #FDD835;
  color: #3E2A1A;
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #FFF5E1;
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 250, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #FDD835;
  box-shadow: 0 2px 20px rgba(253, 216, 53, 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.4rem;
  text-decoration: none;
  color: #E65100;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #FDD835, #FFB300);
  color: #fff;
  box-shadow: 0 4px 12px rgba(253, 216, 53, 0.4);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #5A3E2B;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: #FDD835;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: #E65100;
}

.nav-cta {
  padding: 10px 24px !important;
  border-radius: 50px !important;
  color: #fff !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #FFB300, #E65100);
  box-shadow: 0 4px 16px rgba(230, 81, 0, 0.3);
  transition: all 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(230, 81, 0, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #E65100;
  padding: 8px;
}

/* 首页Hero */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #FFFAEF 0%, #FFF3D6 50%, #FFE8B0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '🍉';
  position: absolute;
  font-size: 28rem;
  opacity: 0.06;
  right: -5%;
  top: -10%;
  transform: rotate(15deg);
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: #FDD835;
  color: #3E2A1A;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(253, 216, 53, 0.3);
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #3E2A1A;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, #FFB300, #E65100);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 36px;
  color: #5A3E2B;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(253, 216, 53, 0.2);
  border: 3px solid #FDD835;
}

.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 ease;
  font-size: 0.95rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #FFB300, #E65100);
  box-shadow: 0 4px 20px rgba(230, 81, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230, 81, 0, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #E65100;
  color: #E65100;
}

.btn-outline:hover {
  background: #E65100;
  color: #fff;
  transform: translateY(-3px);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 14px;
  color: #E65100;
  text-transform: uppercase;
  background: #FFF3D6;
  padding: 4px 16px;
  border-radius: 50px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: #3E2A1A;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.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: 20px;
  padding: 32px;
  border: 2px solid #FDD835;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #FDD835, #FFB300, #E65100);
}

.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(253, 216, 53, 0.2);
  border-color: #FFB300;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
  background: #FFF3D6;
  color: #E65100;
}

.card-link {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #E65100;
  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: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(253, 216, 53, 0.15);
  border: 2px solid #FDD835;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 20px 0;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 500;
}

.feature-list li::before {
  content: '🍉';
  font-weight: 700;
  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;
  border: 2px solid #FDD835;
  background: #fff;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(253, 216, 53, 0.2);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: #E65100;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #5A3E2B;
  font-weight: 500;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #FDD835;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.content-wall-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(253, 216, 53, 0.2);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid #FFF3D6;
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #3E2A1A;
}

.content-wall-body p {
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid #FDD835;
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #FFB300;
  box-shadow: 0 4px 20px rgba(253, 216, 53, 0.1);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3E2A1A;
  font-size: 1.05rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #E65100;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.75;
  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.75; transform: translateY(0); }
}

/* CTA横幅 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #FFB300, #E65100);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(230, 81, 0, 0.3);
}

.cta-banner::before {
  content: '🍉🍉🍉';
  position: absolute;
  font-size: 6rem;
  opacity: 0.1;
  right: -20px;
  bottom: -20px;
  transform: rotate(-10deg);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #E65100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cta-banner .btn-primary:hover {
  background: #FFF3D6;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* 页脚 */
.site-footer {
  padding: 60px 0 32px;
  background: #3E2A1A;
  color: rgba(255,255,255,0.85);
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #FDD835;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 8px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #FDD835;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  padding: 6px 0;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: #FDD835;
}

.footer-bottom {
  border-top: 1px solid rgba(253, 216, 53, 0.2);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
  color: rgba(255,255,255,0.6);
}

/* 工具类 */
.text-accent {
  color: #E65100;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  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.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: #FFFAEF;
    padding: 24px;
    border-bottom: 2px solid #FDD835;
    gap: 16px;
  }
  
  .main-nav.open a {
    padding: 10px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero::before {
    font-size: 14rem;
    right: -10%;
  }
}

@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;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .cta-banner h2 {
    font-size: 1.6rem;
  }
}