/* ============================================
   海角社区官网 - 海角社区 网址 - 海角乱伦社区 - 海角连接，邻里零距离
   Awwwards 获奖设计师作品
   风格：温暖柔和 · 珊瑚米白 · 圆润卡片 · 自然光影
   ============================================ */

/* 基础重置 */
*, *::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: #fef9f4; /* 米白底 */
  color: #3d2c2a;      /* 深褐文字 */
}

/* 核心布局 — 必须居中 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section { padding:80px 0; }
.section:nth-child(even) { background: #fdf3ec; } /* 柔和浅珊瑚 */

/* 导航 — 固定顶部 */
.site-header { 
  position:fixed; top:0; left:0; width:100%; z-index:1000; 
  background: rgba(254,249,244,0.92); 
  backdrop-filter:blur(12px); 
  border-bottom: 1px solid rgba(200, 160, 140, 0.2); 
}
.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.2rem; text-decoration:none; color:#3d2c2a; 
}
.logo-icon { 
  width:36px; height:36px; border-radius:50%; 
  display:flex; align-items:center; justify-content:center; 
  font-size:1rem; 
  background: linear-gradient(135deg, #f9a68b, #e67e5a); 
  color:#fff; 
}
.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: #5a4a46; transition:0.2s; 
  padding:6px 0; border-bottom:2px solid transparent;
}
.main-nav a:hover { color:#d46a4a; border-bottom-color:#d46a4a; }
.nav-cta { 
  padding:8px 24px; border-radius:30px; 
  background: linear-gradient(135deg, #f9a68b, #e67e5a); 
  color:#fff!important; font-weight:600; 
  border-bottom:none!important; 
}
.nav-cta:hover { transform:scale(1.04); box-shadow:0 4px 14px rgba(230,126,90,0.3); }
.menu-toggle { display:none; }

/* 首页Hero */
.hero { 
  min-height:75vh; display:flex; align-items:center; 
  position:relative; 
  background: radial-gradient(ellipse at 10% 20%, #fce9df, #fef9f4 70%); 
}
.hero-content { max-width:720px; }
.hero-eyebrow { 
  display:inline-block; font-size:0.85rem; font-weight:600; 
  padding:6px 18px; border-radius:30px; margin-bottom:16px; 
  background: rgba(217, 142, 115, 0.18); color:#b05a3a; 
}
.hero h1 { 
  font-size:3rem; line-height:1.2; margin-bottom:20px; 
  color: #2e1f1c; font-weight:800; 
}
.hero p { font-size:1.1rem; opacity:0.7; max-width:560px; margin-bottom:32px; color:#5a4a46; }
.hero-buttons { display:flex; gap:14px; }
.hero-image { border-radius:20px; overflow:hidden; box-shadow:0 12px 40px rgba(200,140,110,0.15); }
.hero-image img { width:100%; height:auto; }

/* 按钮 */
.btn { 
  display:inline-flex; align-items:center; gap:8px; 
  padding:14px 32px; border-radius:40px; font-weight:600; 
  cursor:pointer; border:none; text-decoration:none; transition:0.25s; 
  font-size:0.95rem;
}
.btn-primary { 
  color:#fff; 
  background: linear-gradient(135deg, #f9a68b, #e67e5a); 
  box-shadow:0 4px 14px rgba(230,126,90,0.25);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(230,126,90,0.35); }
.btn-outline { 
  background:transparent; border:1.5px solid #d46a4a; color:#d46a4a; 
}
.btn-outline:hover { background:#d46a4a; color:#fff; }

/* 标签/标题 */
.section-label { 
  display:inline-block; font-size:0.8rem; font-weight:600; 
  letter-spacing:2px; margin-bottom:12px; 
  color: #b05a3a; text-transform:uppercase; 
}
.section-title { 
  font-size:2.2rem; margin-bottom:14px; color:#2e1f1c; 
  font-weight:700; line-height:1.3; 
}
.section-desc { max-width:600px; opacity:0.7; margin-bottom:40px; color:#5a4a46; }

/* 卡片网格 */
.cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:28px; }
.category-card { 
  border-radius:20px; padding:32px 24px; 
  background: #fff; 
  border: 1px solid rgba(200,160,140,0.15); 
  transition:0.3s; 
  box-shadow:0 2px 8px rgba(180,130,110,0.06);
}
.category-card:hover { 
  transform:translateY(-5px); 
  box-shadow:0 12px 32px rgba(200,140,110,0.12); 
  border-color: #e6a68b; 
}
.card-icon { 
  width:52px; height:52px; border-radius:16px; 
  display:flex; align-items:center; justify-content:center; 
  margin-bottom:18px; font-size:1.4rem; 
  background: linear-gradient(135deg, #fce9df, #f5d5c8); color:#b05a3a; 
}
.card-link { font-weight:600; font-size:0.85rem; text-decoration:none; color:#d46a4a; 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:56px; align-items:center; }
.feature-image { border-radius:20px; overflow:hidden; box-shadow:0 8px 24px rgba(200,140,110,0.1); }
.feature-image img { width:100%; height:auto; }
.feature-text { }
.feature-list { list-style:none; }
.feature-list li { padding:8px 0; display:flex; align-items:center; gap:10px; font-size:1rem; color:#4a3a36; }
.feature-list li::before { content:'✓'; font-weight:700; color:#d46a4a; font-size:1.1rem; }

/* 数据条 */
.stats-bar { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stat-item { 
  padding:28px 16px; border-radius:20px; 
  background: #fff; 
  border: 1px solid rgba(200,160,140,0.15); 
  box-shadow:0 2px 8px rgba(180,130,110,0.06);
}
.stat-number { font-size:2.4rem; font-weight:800; color:#2e1f1c; }
.stat-label { font-size:0.9rem; opacity:0.6; margin-top:6px; color:#5a4a46; }

/* 内容墙 */
.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,160,140,0.15); 
  transition:0.3s; 
  box-shadow:0 2px 8px rgba(180,130,110,0.06);
}
.content-wall-item:hover { 
  transform:translateY(-5px); 
  box-shadow:0 12px 32px rgba(200,140,110,0.12); 
}
.content-wall-item img { width:100%; height:200px; object-fit:cover; }
.content-wall-body { padding:20px 24px 24px; }
.content-wall-body h3 { font-size:1.1rem; margin-bottom:6px; color:#2e1f1c; }
.content-wall-body p { font-size:0.9rem; opacity:0.7; color:#5a4a46; }

/* FAQ */
.faq-list { max-width:800px; margin:0 auto; }
.faq-item { 
  border: 1px solid rgba(200,160,140,0.2); 
  border-radius:16px; margin-bottom:10px; 
  overflow:hidden; cursor:pointer; 
  background: #fff; 
  transition:0.2s;
}
.faq-item:hover { border-color:#e6a68b; }
.faq-item .faq-question { 
  padding:18px 24px; font-weight:600; 
  display:flex; justify-content:space-between; 
  color:#2e1f1c; font-size:1rem; 
}
.faq-item .faq-question::after { content:'+'; font-size:1.2rem; color:#d46a4a; transition:0.2s; }
.faq-item.open .faq-question::after { content:'−'; }
.faq-item .faq-answer { padding:0 24px 18px; display:none; opacity:0.7; color:#5a4a46; line-height:1.6; }
.faq-item.open .faq-answer { display:block; }

/* CTA横幅 */
.cta-banner { 
  padding:64px 24px; text-align:center; border-radius:24px; 
  background: linear-gradient(135deg, #e67e5a, #d46a4a, #b85a3a); 
  color:#fff; 
  box-shadow:0 12px 40px rgba(212,106,74,0.25);
}
.cta-banner h2 { color:#fff; font-size:2rem; margin-bottom:12px; }
.cta-banner p { color:rgba(255,255,255,0.85); margin-bottom:24px; }
.cta-banner .btn-primary { 
  background:#fff; color:#d46a4a; 
  box-shadow:0 4px 14px rgba(0,0,0,0.08);
}
.cta-banner .btn-primary:hover { transform:scale(1.04); }

/* 页脚 */
.site-footer { 
  padding:56px 0 28px; 
  background: #f5e6de; 
  color: #4a3a36; 
  border-top: 1px solid rgba(200,160,140,0.15);
}
.site-footer .container { }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; }
.footer-brand { }
.footer-brand p { opacity:0.7; font-size:0.9rem; margin-top:12px; max-width:280px; }
.footer-col { }
.footer-col h4 { font-weight:600; margin-bottom:14px; color:#2e1f1c; font-size:0.95rem; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:8px; }
.footer-col a { text-decoration:none; color:#5a4a46; font-size:0.9rem; opacity:0.7; transition:0.2s; }
.footer-col a:hover { opacity:1; color:#d46a4a; }
.footer-bottom { 
  border-top: 1px solid rgba(160,120,100,0.15); 
  margin-top:40px; padding-top:20px; text-align:center; 
  font-size:0.85rem; opacity:0.6; color:#4a3a36; 
}

/* 工具类 */
.text-accent { color: #d46a4a; }
.text-center { text-align:center; }
.seo-description { max-width:600px; margin:0 auto 48px; opacity:0.7; color:#5a4a46; }
.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:68px; left:0; width:100%; 
    background:#fef9f4; padding:24px; 
    border-bottom:1px solid rgba(200,160,140,0.2); 
    gap:16px; 
  }
  .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:1.8rem; }
}