/* 海角社区 · 珊瑚白风格系统 */
/* 灵感：热带海洋、白沙滩、珊瑚粉、海浪曲线 */
/* 禁止黑色/深色，全部使用浅色亮色系 */

*, *::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:#fefcf7; color:#2c3e50; }

/* 核心布局 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section { padding:80px 0; }
.section:nth-child(even) { background:#fdf6ee; }

/* 导航 — 半透明白+珊瑚下划线 */
.site-header { position:fixed; top:0; left:0; width:100%; z-index:1000; background:rgba(254,252,247,0.92); backdrop-filter:blur(12px); border-bottom:1px solid #fce4d6; }
.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:8px; font-weight:700; font-size:1.2rem; text-decoration:none; color:#2c3e50; }
.logo-icon { width:36px; height:36px; border-radius:30px; background:linear-gradient(135deg,#f9a8a0,#fbc4ab); display:flex; align-items:center; justify-content:center; font-size:1rem; color:#fff; box-shadow:0 2px 8px rgba(249,168,160,0.3); }
.main-nav { display:flex; align-items:center; gap:24px; list-style:none; }
.main-nav a { text-decoration:none; font-size:0.9rem; font-weight:500; color:#4a5b6e; transition:0.2s; padding-bottom:4px; border-bottom:2px solid transparent; }
.main-nav a:hover { color:#f28482; border-bottom-color:#f28482; }
.nav-cta { padding:8px 20px; border-radius:30px; color:#fff!important; background:linear-gradient(135deg,#f28482,#f9a8a0); font-weight:600; border:none!important; }
.nav-cta:hover { transform:scale(1.02); box-shadow:0 4px 12px rgba(242,132,130,0.4); }
.menu-toggle { display:none; background:none; border:none; font-size:1.5rem; color:#2c3e50; cursor:pointer; }

/* 首页Hero — 大留白+波浪装饰 */
.hero { min-height:70vh; display:flex; align-items:center; position:relative; background:linear-gradient(180deg,#fefcf7 0%,#fdf6ee 100%); }
.hero::after { content:''; position:absolute; bottom:0; left:0; width:100%; height:60px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60'%3E%3Cpath d='M0,30 C300,0 600,60 1200,30 L1200,60 L0,60 Z' fill='%23fdf6ee'/%3E%3C/svg%3E") repeat-x; background-size:1200px 60px; }
.hero-content { max-width:720px; position:relative; z-index:2; }
.hero-eyebrow { display:inline-block; font-size:0.85rem; font-weight:600; padding:4px 14px; border-radius:30px; background:#fce4d6; color:#c06c5c; margin-bottom:16px; }
.hero h1 { font-size:2.8rem; line-height:1.2; margin-bottom:20px; color:#2c3e50; font-weight:800; letter-spacing:-0.02em; }
.hero h1 span { background:linear-gradient(135deg,#f28482,#f9a8a0); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero p { font-size:1.1rem; color:#5a6b7e; max-width:560px; margin-bottom:32px; line-height:1.6; }
.hero-buttons { display:flex; gap:14px; }
.hero-image { border-radius:24px; overflow:hidden; box-shadow:0 20px 40px rgba(242,132,130,0.08); border:1px solid #fce4d6; }
.hero-image img { width:100%; height:auto; display:block; }

/* 按钮 — 珊瑚粉系列 */
.btn { display:inline-flex; align-items:center; gap:8px; padding:12px 28px; border-radius:30px; font-weight:600; cursor:pointer; border:none; text-decoration:none; transition:0.2s; font-size:0.95rem; }
.btn-primary { background:linear-gradient(135deg,#f28482,#f9a8a0); color:#fff; box-shadow:0 4px 12px rgba(242,132,130,0.3); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 6px 20px rgba(242,132,130,0.4); }
.btn-outline { background:transparent; border:1.5px solid #f28482; color:#f28482; }
.btn-outline:hover { background:#fce4d6; }

/* 标签/标题 */
.section-label { display:inline-block; font-size:0.8rem; font-weight:600; letter-spacing:2px; margin-bottom:12px; color:#f28482; text-transform:uppercase; }
.section-title { font-size:2rem; margin-bottom:14px; color:#2c3e50; font-weight:700; }
.section-desc { max-width:600px; color:#5a6b7e; margin-bottom:40px; line-height:1.6; }

/* 卡片网格 — 白底+珊瑚阴影 */
.cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:24px; }
.category-card { border-radius:20px; padding:28px; background:#fff; border:1px solid #fce4d6; transition:0.3s; }
.category-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(242,132,130,0.12); }
.card-icon { width:48px; height:48px; border-radius:16px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; font-size:1.3rem; background:linear-gradient(135deg,#fce4d6,#fdf6ee); color:#f28482; }
.card-link { font-weight:600; font-size:0.85rem; text-decoration:none; color:#f28482; }
.card-link:hover { text-decoration:underline; }

/* 特性块 — 左右图文 */
.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(242,132,130,0.08); border:1px solid #fce4d6; }
.feature-image img { width:100%; height:auto; display:block; }
.feature-text { }
.feature-list { list-style:none; }
.feature-list li { padding:6px 0; display:flex; align-items:center; gap:8px; color:#4a5b6e; }
.feature-list li::before { content:'✓'; font-weight:700; color:#f28482; }

/* 数据条 — 浅珊瑚底 */
.stats-bar { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stat-item { padding:24px; border-radius:20px; background:#fff; border:1px solid #fce4d6; }
.stat-number { font-size:2.2rem; font-weight:800; color:#f28482; }
.stat-label { font-size:0.9rem; color:#5a6b7e; margin-top:6px; }

/* 内容墙 — 新闻/动态 */
.content-wall { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:24px; }
.content-wall-item { border-radius:20px; overflow:hidden; background:#fff; border:1px solid #fce4d6; transition:0.3s; }
.content-wall-item:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(242,132,130,0.12); }
.content-wall-item img { width:100%; height:200px; object-fit:cover; }
.content-wall-body { padding:20px; }
.content-wall-body h3 { font-size:1.1rem; margin-bottom:8px; color:#2c3e50; }
.content-wall-body p { font-size:0.9rem; color:#5a6b7e; }

/* FAQ — 浅色折叠 */
.faq-list { max-width:800px; margin:0 auto; }
.faq-item { border:1px solid #fce4d6; border-radius:16px; margin-bottom:8px; overflow:hidden; cursor:pointer; background:#fff; transition:0.2s; }
.faq-item:hover { border-color:#f28482; }
.faq-item .faq-question { padding:16px 20px; font-weight:600; display:flex; justify-content:space-between; color:#2c3e50; }
.faq-item .faq-question::after { content:'+'; font-size:1.2rem; color:#f28482; transition:0.2s; }
.faq-item.open .faq-question::after { content:'−'; }
.faq-item .faq-answer { padding:0 20px 16px; display:none; color:#5a6b7e; line-height:1.6; }
.faq-item.open .faq-answer { display:block; }

/* CTA横幅 — 珊瑚渐变 */
.cta-banner { padding:56px 24px; text-align:center; border-radius:24px; background:linear-gradient(135deg,#f28482,#f9a8a0); color:#fff; }
.cta-banner h2 { color:#fff; font-size:1.8rem; margin-bottom:12px; }
.cta-banner p { opacity:0.9; margin-bottom:24px; }
.cta-banner .btn-primary { background:#fff; color:#f28482; box-shadow:0 4px 12px rgba(0,0,0,0.08); }
.cta-banner .btn-primary:hover { box-shadow:0 6px 20px rgba(0,0,0,0.12); }

/* 页脚 — 米白+珊瑚点缀 */
.site-footer { padding:56px 0 28px; background:#fdf6ee; color:#4a5b6e; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; }
.footer-brand { }
.footer-col h4 { font-weight:600; margin-bottom:12px; color:#2c3e50; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:6px; }
.footer-col a { text-decoration:none; color:#5a6b7e; transition:0.2s; }
.footer-col a:hover { color:#f28482; }
.footer-bottom { border-top:1px solid #fce4d6; margin-top:40px; padding-top:20px; text-align:center; font-size:0.85rem; color:#8a9baa; }

/* 工具类 */
.text-accent { color:#f28482; }
.text-center { text-align:center; }
.seo-description { max-width:600px; margin:0 auto 48px; color:#5a6b7e; }
.mt-0 { margin-top:0; }
.mb-0 { margin-bottom:0; }

/* 响应式 */
@media (max-width: 768px) {
  .feature-block { grid-template-columns:1fr; }
  .stats-bar { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .main-nav { display:none; }
  .menu-toggle { display:flex; align-items:center; }
  .main-nav.open { display:flex; flex-direction:column; position:absolute; top:68px; left:0; width:100%; background:#fefcf7; padding:20px; border-bottom:1px solid #fce4d6; gap:12px; }
  .hero h1 { font-size:2rem; }
}
@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.6rem; }
  .section-title { font-size:1.5rem; }
}
