/* ============================================
  海角社区 — 独特视觉系统
  风格：柔雾渐变 + 珊瑚粉绿调 + 圆润卡片
  ============================================ */

/* 基础重置 */
*, *::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: #f9f5f0; /* 暖米白基底 */
  color: #2d2b28;
}

/* 核心布局 — 居中 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section { padding:80px 0; }
.section:nth-child(even) { 
  background: linear-gradient(135deg, #f9f0eb 0%, #eef5f2 100%);
}

/* 导航 — 固定顶部，半透明磨砂玻璃 */
.site-header { 
  position:fixed; top:0; left:0; width:100%; z-index:1000; 
  background: rgba(249,245,240,0.88); 
  backdrop-filter:blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(180,160,150,0.15);
}
.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:700; font-size:1.25rem; text-decoration:none; 
  color: #3d5a4b; /* 墨绿 */
}
.logo-icon { 
  width:38px; height:38px; border-radius:12px; 
  background: #c7e2d4; 
  display:flex; align-items:center; justify-content:center; 
  font-size:1.2rem; color: #2a5a44;
  box-shadow: 0 2px 8px rgba(58,112,86,0.12);
}
.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: #4a4a46; transition:0.25s; 
  letter-spacing: 0.02em;
}
.main-nav a:hover { color: #3d7a5e; transform: translateY(-1px); }
.nav-cta { 
  padding:8px 22px; border-radius:40px; 
  background: linear-gradient(135deg, #6b9e7e, #4a7d63);
  color:#fff!important; font-weight:600; 
  box-shadow: 0 4px 12px rgba(74,125,99,0.25);
}
.nav-cta:hover { transform: scale(1.03) translateY(-1px)!important; box-shadow: 0 6px 18px rgba(74,125,99,0.35); }
.menu-toggle { display:none; }

/* 首页Hero — 柔和渐变+圆润体 */
.hero { 
  min-height:80vh; display:flex; align-items:center; 
  background: radial-gradient(ellipse at 20% 50%, #f3e7df 0%, #f9f5f0 70%);
  position: relative;
}
.hero::after {
  content: '';
  position: absolute; right:0; top:0; width:40%; height:100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='150' cy='100' r='80' fill='%23c7e2d4' opacity='0.15'/%3E%3C/svg%3E") no-repeat center/contain;
  pointer-events: none;
}
.hero-content { max-width:680px; position: relative; z-index: 1; }
.hero-eyebrow { 
  display:inline-block; font-size:0.8rem; font-weight:600; 
  padding:6px 18px; border-radius:30px; margin-bottom:18px; 
  background: rgba(199,226,212,0.45); color: #2d5a44;
  letter-spacing: 0.08em;
}
.hero h1 { 
  font-size:3rem; line-height:1.15; margin-bottom:20px; 
  color: #2d3a30; font-weight:800; letter-spacing: -0.02em;
}
.hero p { 
  font-size:1.1rem; opacity:0.7; max-width:540px; margin-bottom:36px; 
  color: #4a4a46; line-height: 1.6;
}
.hero-buttons { display:flex; gap:16px; }
.hero-image { border-radius:20px; overflow:hidden; box-shadow: 0 12px 40px rgba(80,100,80,0.12); }
.hero-image img { width:100%; height:auto; display: block; }

/* 按钮 — 圆润有呼吸感 */
.btn { 
  display:inline-flex; align-items:center; gap:10px; 
  padding:14px 32px; border-radius:40px; 
  font-weight:600; cursor:pointer; border:none; text-decoration:none; 
  transition:0.25s cubic-bezier(0.22,1,0.36,1); 
  font-size:0.95rem;
}
.btn-primary { 
  color:#fff; 
  background: linear-gradient(135deg, #6b9e7e, #4a7d63);
  box-shadow: 0 4px 14px rgba(74,125,99,0.3);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 24px rgba(74,125,99,0.4); }
.btn-outline { 
  background:transparent; border:1.5px solid #6b9e7e; 
  color: #3d5a4b;
}
.btn-outline:hover { background: rgba(107,158,126,0.08); border-color: #4a7d63; }

/* 标签/标题 */
.section-label { 
  display:inline-block; font-size:0.75rem; font-weight:600; 
  letter-spacing:3px; margin-bottom:14px; 
  color: #6b9e7e; text-transform: uppercase;
}
.section-title { 
  font-size:2.2rem; margin-bottom:14px; 
  color: #2d3a30; font-weight:700; line-height: 1.2;
}
.section-desc { max-width:600px; opacity:0.7; margin-bottom:44px; color: #4a4a46; }

/* 卡片网格 — 柔雾卡片 */
.cards-grid { 
  display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:28px; 
}
.category-card { 
  border-radius:20px; padding:32px; 
  background: rgba(255,252,248,0.8);
  border: 1px solid rgba(180,160,150,0.12);
  backdrop-filter: blur(4px);
  transition:0.3s cubic-bezier(0.22,1,0.36,1); 
  box-shadow: 0 2px 8px rgba(100,110,90,0.04);
}
.category-card:hover { 
  transform:translateY(-6px); 
  box-shadow:0 12px 32px rgba(100,110,90,0.12); 
  border-color: rgba(107,158,126,0.2);
}
.card-icon { 
  width:52px; height:52px; border-radius:16px; 
  background: linear-gradient(135deg, #c7e2d4, #b0d4c2);
  display:flex; align-items:center; justify-content:center; 
  margin-bottom:20px; font-size:1.4rem; color: #2d5a44;
}
.card-link { 
  font-weight:600; font-size:0.85rem; text-decoration:none; 
  color: #6b9e7e; display: inline-flex; align-items:center; gap:4px;
}
.card-link::after { content: '→'; transition: 0.2s; }
.card-link:hover::after { transform: translateX(4px); }

/* 特性块 — 双栏错落 */
.feature-block { 
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; 
}
.feature-image { 
  border-radius:20px; overflow:hidden; 
  box-shadow: 0 8px 28px rgba(80,100,80,0.08);
}
.feature-image img { width:100%; height:auto; display: block; }
.feature-text { }
.feature-list { list-style:none; }
.feature-list li { 
  padding:8px 0; display:flex; align-items:center; gap:10px; 
  font-size:1.05rem; color: #3d3d39;
}
.feature-list li::before { 
  content:'✓'; font-weight:700; 
  color: #6b9e7e; font-size:1.2rem; 
}

/* 数据条 — 圆角统计 */
.stats-bar { 
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; 
}
.stat-item { 
  padding:28px 16px; border-radius:20px; 
  background: rgba(255,252,248,0.7);
  border: 1px solid rgba(180,160,150,0.1);
  backdrop-filter: blur(4px);
}
.stat-number { 
  font-size:2.6rem; font-weight:800; 
  background: linear-gradient(135deg, #3d7a5e, #6b9e7e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size:0.9rem; opacity:0.6; margin-top:8px; color: #4a4a46; }

/* 内容墙 */
.content-wall { 
  display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:28px; 
}
.content-wall-item { 
  border-radius:20px; overflow:hidden; 
  background: rgba(255,252,248,0.8);
  border: 1px solid rgba(180,160,150,0.1);
  transition:0.3s cubic-bezier(0.22,1,0.36,1); 
}
.content-wall-item:hover { 
  transform:translateY(-6px); 
  box-shadow:0 12px 32px rgba(100,110,90,0.12); 
}
.content-wall-item img { 
  width:100%; height:220px; object-fit:cover; 
  transition: 0.4s;
}
.content-wall-item:hover img { transform: scale(1.03); }
.content-wall-body { padding:24px; }
.content-wall-body h3 { font-size:1.15rem; margin-bottom:8px; color: #2d3a30; }
.content-wall-body p { font-size:0.9rem; opacity:0.65; line-height: 1.5; }

/* FAQ — 温和折叠 */
.faq-list { max-width:800px; margin:0 auto; }
.faq-item { 
  border: 1px solid rgba(180,160,150,0.12); 
  border-radius:16px; margin-bottom:10px; 
  overflow:hidden; cursor:pointer; 
  background: rgba(255,252,248,0.5);
  transition: 0.2s;
}
.faq-item:hover { border-color: rgba(107,158,126,0.2); }
.faq-item .faq-question { 
  padding:18px 24px; font-weight:600; 
  display:flex; justify-content:space-between; 
  color: #2d3a30; font-size:1.05rem;
}
.faq-item .faq-question::after { 
  content: '+'; font-size:1.4rem; color: #6b9e7e; 
  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; color: #4a4a46; line-height: 1.6;
}
.faq-item.open .faq-answer { display:block; }

/* CTA横幅 — 渐变珊瑚粉绿 */
.cta-banner { 
  padding:60px 24px; text-align:center; border-radius:24px; 
  background: linear-gradient(135deg, #6b9e7e 0%, #8bb8a0 50%, #c7b8a8 100%);
  color:#fff; box-shadow: 0 8px 32px rgba(74,125,99,0.2);
}
.cta-banner h2 { color:#fff; font-size:2rem; margin-bottom:16px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width:500px; margin:0 auto 28px; }
.cta-banner .btn-primary { 
  background:#fff; color: #3d5a4b; 
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.cta-banner .btn-primary:hover { background: #f9f5f0; }

/* 页脚 — 暖灰绿调 */
.site-footer { 
  padding:60px 0 28px; 
  background: #eae5de; 
  border-top: 1px solid rgba(180,160,150,0.15);
  color: #3d3d39;
}
.site-footer .container { }
.footer-grid { 
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; 
}
.footer-brand { }
.footer-brand .logo { color: #3d5a4b; margin-bottom:12px; }
.footer-brand p { opacity:0.6; font-size:0.9rem; line-height: 1.6; }
.footer-col h4 { 
  font-size:0.85rem; font-weight:600; margin-bottom:16px; 
  letter-spacing:0.05em; color: #2d3a30;
}
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:8px; }
.footer-col ul a { 
  text-decoration:none; color: #4a4a46; opacity:0.7; 
  font-size:0.9rem; transition:0.2s;
}
.footer-col ul a:hover { opacity:1; color: #3d7a5e; }
.footer-bottom { 
  border-top: 1px solid rgba(160,140,130,0.15); 
  margin-top:44px; padding-top:24px; text-align:center; 
  font-size:0.85rem; opacity:0.55;
}

/* 工具类 */
.text-accent { color: #6b9e7e; }
.text-center { text-align:center; }
.seo-description { max-width:600px; margin:0 auto 48px; opacity:0.7; color: #4a4a46; }
.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; }
  .menu-toggle { display:flex; }
  .main-nav.open { 
    display:flex; flex-direction:column; 
    position:absolute; top:68px; left:0; width:100%; 
    background: rgba(249,245,240,0.98); 
    backdrop-filter: blur(10px);
    padding:24px 20px; gap:16px;
    border-bottom: 1px solid rgba(180,160,150,0.12);
  }
  .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; }
  .stat-number { font-size:2rem; }
}