/* =============================================
   BTSOW 磁力搜索 - 独特杂志风设计系统
   浅色背景 + 珊瑚粉/靛蓝配色 + 大胆排版
   ============================================= */

/* 基础重置 */
*, *::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: #faf7f5;
  color: #2d2b2a;
  line-height: 1.6;
}

/* 核心布局 — 必须居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: #f5f0ec;
}

/* 导航 — 固定顶部，杂志风格半透明 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 43, 42, 0.08);
}

.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.4rem;
  text-decoration: none;
  color: #2d2b2a;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #f28482, #e8a87c);
  color: #fff;
  box-shadow: 0 2px 8px rgba(242, 132, 130, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #5a5552;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f28482;
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #2d2b2a;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #f28482, #e8a87c);
  box-shadow: 0 2px 12px rgba(242, 132, 130, 0.25);
  transition: all 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(242, 132, 130, 0.35);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #2d2b2a;
  padding: 8px;
}

/* 首页Hero — 杂志封面感 */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #faf7f5 0%, #f5ece8 50%, #f0e3dc 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(242, 132, 130, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: rgba(242, 132, 130, 0.12);
  color: #f28482;
  border: 1px solid rgba(242, 132, 130, 0.2);
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #2d2b2a;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #f28482, #e8a87c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: #6b6562;
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(45, 43, 42, 0.08);
}

.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;
  letter-spacing: 0.3px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #f28482, #e8a87c);
  box-shadow: 0 4px 16px rgba(242, 132, 130, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(242, 132, 130, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #e0d6d0;
  color: #2d2b2a;
}

.btn-outline:hover {
  border-color: #f28482;
  color: #f28482;
  transform: translateY(-2px);
}

/* 标签/标题 — 杂志风格排版 */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #f28482;
  padding: 4px 0;
  border-bottom: 2px solid rgba(242, 132, 130, 0.3);
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #2d2b2a;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  color: #6b6562;
  margin-bottom: 48px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* 卡片网格 — 卡片层叠杂志风格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 16px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid rgba(45, 43, 42, 0.06);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f28482, #e8a87c);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(45, 43, 42, 0.08);
  border-color: rgba(242, 132, 130, 0.15);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(242, 132, 130, 0.1), rgba(232, 168, 124, 0.1));
  color: #f28482;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #f28482;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.card-link:hover {
  gap: 12px;
}

/* 特性块 — 左右布局 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(45, 43, 42, 0.06);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 20px 0;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #4a4542;
  border-bottom: 1px solid rgba(45, 43, 42, 0.04);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #f28482;
  font-size: 1.1rem;
}

/* 数据条 — 统计数字 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(45, 43, 42, 0.06);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(45, 43, 42, 0.06);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #2d2b2a;
  line-height: 1;
  background: linear-gradient(135deg, #f28482, #e8a87c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: #8a8480;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 内容墙 — 杂志网格 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(45, 43, 42, 0.06);
  transition: all 0.35s ease;
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(45, 43, 42, 0.08);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.content-wall-body p {
  color: #6b6562;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* FAQ — 干净手风琴 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(45, 43, 42, 0.06);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(242, 132, 130, 0.2);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  color: #2d2b2a;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: #f28482;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  color: #6b6562;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA横幅 — 渐变醒目 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #f28482, #e8a87c, #d4a373);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #f28482;
  box-shadow: 0 4px 16px rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255,255,255,0.4);
}

/* 页脚 — 浅色优雅 */
.site-footer {
  padding: 64px 0 32px;
  background: #f0e8e2;
  border-top: 1px solid rgba(45, 43, 42, 0.06);
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: #6b6562;
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #2d2b2a;
}

.footer-col a {
  display: block;
  color: #6b6562;
  text-decoration: none;
  padding: 6px 0;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #f28482;
}

.footer-bottom {
  border-top: 1px solid rgba(45, 43, 42, 0.08);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #8a8480;
}

/* 工具类 */
.text-accent {
  color: #f28482;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  color: #6b6562;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ⚠️ 响应式 — 杂志感保持 */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 2rem;
  }
}

@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;
    align-items: center;
    justify-content: center;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(250, 247, 245, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(45, 43, 42, 0.08);
  }
  .hero {
    min-height: 60vh;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .stat-number {
    font-size: 2rem;
  }
}