/* 蘑菇视界 · 在线鲜知 — 品牌设计系统 */
/* 风格：柔光渐变 + 有机形态 + 蘑菇色系 */
/* 禁止深色背景，采用米白基底 + 暖杏 + 薄荷点缀 */

*, *::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: #fcf8f3;
  color: #3d2e26;
  line-height: 1.6;
}

/* 核心布局 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }

.section { padding:80px 0; }
.section:nth-child(even) { background:#f7f0e9; }

/* 导航 — 固定顶部，磨砂玻璃效果 */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(252,248,243,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,175,155,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.25rem;
  text-decoration: none;
  color: #4a372e;
  letter-spacing: 0.3px;
}

.logo-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4b48c, #e8a07a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(228,160,120,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: 500;
  color: #5a4a3e;
  transition: color 0.25s, transform 0.2s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: #e8a07a;
  transition: width 0.3s ease;
}

.main-nav a:hover { color: #c77d5a; }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px;
  border-radius: 40px;
  background: linear-gradient(135deg, #f4b48c, #e08f6a);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(224,143,106,0.3);
  transition: transform 0.25s, box-shadow 0.25s;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(224,143,106,0.4); }
.nav-cta::after { display: none; }

.menu-toggle { display: none; }

/* 首页Hero — 有机曲线 + 暖色渐变 */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #fcf8f3 0%, #f5ebe4 40%, #efe0d6 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle at 30% 40%, rgba(244,180,140,0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle at 70% 60%, rgba(180,210,175,0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content { max-width: 680px; position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 40px;
  background: rgba(228,160,120,0.18);
  color: #b06d4a;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  color: #3d2e26;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero h1 span { color: #d48a65; }

.hero p {
  font-size: 1.1rem;
  color: #6a5a4e;
  max-width: 540px;
  margin-bottom: 34px;
  opacity: 0.8;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(160,120,90,0.3);
}

.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: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #f4b48c, #d48a65);
  color: #fff;
  box-shadow: 0 4px 16px rgba(212,138,101,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(212,138,101,0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid #d48a65;
  color: #4a372e;
}

.btn-outline:hover {
  background: rgba(212,138,101,0.08);
  border-color: #b06d4a;
  transform: translateY(-2px);
}

/* 标签/标题 — 蘑菇元素点缀 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #b8876a;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.section-label::before {
  content: '🍄';
  position: absolute;
  left: -4px;
  font-size: 0.9rem;
  top: -2px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #3d2e26;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.section-desc {
  max-width: 600px;
  color: #6a5a4e;
  margin-bottom: 40px;
  font-size: 1.05rem;
  opacity: 0.75;
}

/* 卡片网格 — 柔和卡片 + 微投影 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 20px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid rgba(200,175,155,0.2);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, #f4b48c, #b4d2af);
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -12px rgba(160,120,90,0.2);
  border-color: rgba(228,160,120,0.3);
}

.category-card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5ebe4, #efe0d6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  color: #b06d4a;
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #3d2e26;
}

.category-card p {
  font-size: 0.9rem;
  color: #7a6a5e;
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #d48a65;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.card-link:hover { gap: 12px; color: #b06d4a; }

/* 特性块 — 左右交错 */
.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 28px -8px rgba(160,120,90,0.2);
}

.feature-image img { width: 100%; height: auto; display: block; }

.feature-text h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; color: #3d2e26; }

.feature-list { list-style: none; }

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #5a4a3e;
}

.feature-list li::before {
  content: '🍄';
  font-weight: 700;
  font-size: 1rem;
  color: #d48a65;
}

/* 数据条 — 蘑菇色系数据块 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(200,175,155,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(160,120,90,0.15);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f4b48c, #b4d2af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: #7a6a5e;
  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: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(200,175,155,0.15);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -12px rgba(160,120,90,0.18);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}

.content-wall-item:hover img { transform: scale(1.03); }

.content-wall-body {
  padding: 22px;
}

.content-wall-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #3d2e26;
}

.content-wall-body p {
  font-size: 0.9rem;
  color: #7a6a5e;
  line-height: 1.5;
}

/* FAQ — 手风琴风格 */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid rgba(200,175,155,0.2);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: box-shadow 0.3s;
}

.faq-item:hover { box-shadow: 0 4px 12px rgba(160,120,90,0.08); }

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3d2e26;
  transition: background 0.2s;
}

.faq-item .faq-question::after {
  content: '↓';
  font-size: 1.2rem;
  color: #d48a65;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after { transform: rotate(180deg); }

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  color: #6a5a4e;
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* CTA横幅 — 渐变蘑菇色调 */
.cta-banner {
  padding: 60px 24px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #f4b48c, #b4d2af, #e8a07a);
  color: #fff;
  box-shadow: 0 16px 40px -12px rgba(180,210,175,0.4);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '🍄';
  position: absolute;
  top: -10px; right: 20px;
  font-size: 6rem;
  opacity: 0.1;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; }

.cta-banner .btn-primary {
  background: #fff;
  color: #4a372e;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.cta-banner .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* 页脚 — 暖灰色调 */
.site-footer {
  padding: 60px 0 28px;
  background: #f0e8e0;
  color: #4a372e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }

.footer-brand p { font-size: 0.9rem; opacity: 0.7; line-height: 1.6; max-width: 280px; }

.footer-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; color: #5a4a3e; }

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  text-decoration: none;
  color: #6a5a4e;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: #d48a65; }

.footer-bottom {
  border-top: 1px solid rgba(120,100,85,0.15);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* 工具类 */
.text-accent { color: #d48a65; }

.text-center { text-align: center; }

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  color: #6a5a4e;
  opacity: 0.7;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 响应式 */
@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; }
  .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: #fcf8f3; padding: 24px; border-bottom: 1px solid rgba(200,175,155,0.2); }
  .hero h1 { font-size: 2.2rem; }
  .section-title { 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; }
  .hero h1 { font-size: 1.8rem; }
  .cta-banner h2 { font-size: 1.5rem; }
  .stat-number { font-size: 2rem; }
}