/* =============================================
   bitmart32.com.cn — 设计系统 v1.0
   风格：杂志风 · 亮白基底 · 珊瑚+靛蓝点缀
   ============================================= */

*, *::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: #fefcf8;
  color: #1e1e2a;
  line-height: 1.6;
}

/* 容器与区块 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section:nth-child(even) { background: #f9f5ef; }  /* 暖灰调 */

/* 导航 — 固定顶部 */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(254, 252, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(236, 120, 100, 0.2);
  box-shadow: 0 2px 20px rgba(0,0,0,0.02);
}
.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.3rem;
  text-decoration: none; color: #1e1e2a;
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; background: linear-gradient(135deg, #ec7864, #f4a28c);
  color: #fff;
}
.main-nav {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.main-nav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500;
  color: #3d3d4a; transition: 0.2s; position: relative;
  letter-spacing: 0.3px;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: #ec7864; transition: 0.3s;
}
.main-nav a:hover { color: #ec7864; }
.main-nav a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px; border-radius: 50px;
  background: linear-gradient(135deg, #ec7864, #d65a4a);
  color: #fff !important; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(236, 120, 100, 0.3);
  transition: 0.25s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(236, 120, 100, 0.4); }
.nav-cta::after { display: none !important; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #1e1e2a; }

/* 首页 Hero — 杂志封面感 */
.hero {
  min-height: 80vh; display: flex; align-items: center;
  position: relative; padding-top: 80px;
  background: linear-gradient(160deg, #fefcf8 0%, #fcf4ee 100%);
}
.hero-content { max-width: 720px; position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  padding: 6px 18px; border-radius: 40px; margin-bottom: 20px;
  background: rgba(236, 120, 100, 0.12);
  color: #d65a4a; letter-spacing: 1.5px; text-transform: uppercase;
}
.hero h1 {
  font-size: 3.4rem; line-height: 1.1; margin-bottom: 20px;
  font-weight: 800; letter-spacing: -1px;
  background: linear-gradient(135deg, #1e1e2a 40%, #ec7864 80%);
  -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: #4a4a5a; font-weight: 400;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.03), 0 8px 20px rgba(236,120,100,0.08);
}
.hero-image img { width: 100%; height: auto; display: block; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 700;
  cursor: pointer; border: none; text-decoration: none; transition: 0.25s;
  font-size: 0.95rem;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ec7864, #d65a4a);
  box-shadow: 0 4px 16px rgba(236, 120, 100, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(236, 120, 100, 0.4); }
.btn-outline {
  background: transparent; border: 2px solid #1e1e2a;
  color: #1e1e2a;
}
.btn-outline:hover { background: #1e1e2a; color: #fff; border-color: #1e1e2a; }

/* 标签 / 标题 */
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 3px; margin-bottom: 12px; text-transform: uppercase;
  color: #ec7864;
}
.section-title {
  font-size: 2.4rem; margin-bottom: 14px; font-weight: 800;
  letter-spacing: -0.5px; color: #1e1e2a;
}
.section-desc { max-width: 600px; opacity: 0.7; margin-bottom: 48px; font-size: 1.05rem; }

/* 卡片网格 — 圆润卡片层叠 */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.category-card {
  border-radius: 20px; padding: 32px; border: 1px solid rgba(236, 120, 100, 0.12);
  background: #fff; transition: 0.3s; position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(236, 120, 100, 0.12);
  border-color: rgba(236, 120, 100, 0.3);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 1.5rem;
  background: rgba(236, 120, 100, 0.1);
  color: #d65a4a;
}
.card-link {
  font-weight: 700; font-size: 0.85rem; text-decoration: none;
  color: #ec7864; display: inline-flex; align-items: center; gap: 6px;
  transition: 0.2s;
}
.card-link:hover { gap: 10px; color: #d65a4a; }

/* 特性块 — 左右错落 */
.feature-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.feature-image {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}
.feature-image img { width: 100%; height: auto; display: block; }
.feature-text { }
.feature-list { list-style: none; margin-top: 20px; }
.feature-list li {
  padding: 8px 0; display: flex; align-items: center; gap: 10px;
  font-size: 1rem; color: #3d3d4a;
}
.feature-list li::before {
  content: '✦'; font-weight: 700; color: #ec7864; font-size: 1.1rem;
}

/* 数据条 — 带背景装饰 */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center;
}
.stat-item {
  padding: 32px 16px; border-radius: 20px;
  background: #fff; border: 1px solid rgba(236, 120, 100, 0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
  transition: 0.2s;
}
.stat-item:hover { border-color: #ec7864; transform: scale(1.02); }
.stat-number {
  font-size: 2.6rem; font-weight: 900; color: #1e1e2a;
  line-height: 1.1;
}
.stat-label { font-size: 0.9rem; opacity: 0.6; margin-top: 6px; color: #4a4a5a; }

/* 内容墙 — 杂志卡片 */
.content-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.content-wall-item {
  border-radius: 20px; overflow: hidden; border: 1px solid rgba(0,0,0,0.04);
  background: #fff; transition: 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}
.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(236, 120, 100, 0.1);
}
.content-wall-item img { width: 100%; height: 210px; object-fit: cover; display: block; }
.content-wall-body { padding: 24px; }
.content-wall-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.content-wall-body p { font-size: 0.9rem; opacity: 0.7; }

/* FAQ — 简约折叠 */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(236, 120, 100, 0.1);
  border-radius: 14px; margin-bottom: 10px;
  overflow: hidden; cursor: pointer; background: #fff;
  transition: 0.2s;
}
.faq-item:hover { border-color: rgba(236, 120, 100, 0.3); }
.faq-item .faq-question {
  padding: 18px 24px; font-weight: 700; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 1rem; color: #1e1e2a;
}
.faq-item .faq-question::after {
  content: '+'; font-size: 1.4rem; font-weight: 300; color: #ec7864;
  transition: 0.25s;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-item .faq-answer {
  padding: 0 24px 18px; display: none; opacity: 0.75;
  font-size: 0.95rem; color: #3d3d4a;
}
.faq-item.open .faq-answer { display: block; }

/* CTA横幅 — 珊瑚渐变 */
.cta-banner {
  padding: 64px 24px; text-align: center; border-radius: 24px;
  background: linear-gradient(135deg, #ec7864, #d65a4a);
  color: #fff; box-shadow: 0 20px 40px rgba(236, 120, 100, 0.25);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.08), transparent 60%);
}
.cta-banner h2 { color: #fff; font-size: 2.2rem; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,0.8); position: relative; z-index: 1; }
.cta-banner .btn-primary {
  background: #fff; color: #d65a4a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  position: relative; z-index: 1;
}
.cta-banner .btn-primary:hover { background: #fefcf8; }

/* 页脚 — 浅色深文字 */
.site-footer {
  padding: 60px 0 28px; background: #fcf4ee;
  border-top: 1px solid rgba(236, 120, 100, 0.1);
}
.site-footer .container { }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand { }
.footer-brand p { opacity: 0.7; font-size: 0.9rem; margin-top: 12px; max-width: 260px; }
.footer-col h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 16px; color: #1e1e2a; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { text-decoration: none; color: #4a4a5a; font-size: 0.9rem; transition: 0.2s; }
.footer-col ul li a:hover { color: #ec7864; }
.footer-bottom {
  border-top: 1px solid rgba(30, 30, 42, 0.08);
  margin-top: 40px; padding-top: 24px;
  text-align: center; font-size: 0.85rem; color: #4a4a5a;
}

/* 工具类 */
.text-accent { color: #ec7864; }
.text-center { text-align: center; }
.seo-description { max-width: 600px; margin: 0 auto 48px; opacity: 0.7; }
.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; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; width: 100%; background: #fefcf8;
    padding: 24px; gap: 16px; border-bottom: 1px solid rgba(236,120,100,0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
  }
  .hero h1 { font-size: 2.4rem; }
  .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: 2rem; }
  .hero { min-height: 60vh; padding-top: 60px; }
  .stat-number { font-size: 2rem; }
}