/* 磁力熊官网 - 磁链无界，资源即达 */
/* 设计风格：柔和渐变流体 + 半透明层叠 + 珊瑚粉主色调 */

/* 基础重置 */
*, *::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: linear-gradient(135deg, #fff5f5 0%, #fef9f0 50%, #f0f4ff 100%);
  background-attachment: fixed;
  color: #2d2b4a;
}

/* 核心布局 — 必须居中 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section { padding:80px 0; position:relative; }
.section:nth-child(even) { 
  background: rgba(255,255,255,0.5); 
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,182,193,0.3);
  border-bottom: 1px solid rgba(255,182,193,0.3);
}

/* 导航 — 固定顶部 */
.site-header { 
  position:fixed; top:0; left:0; width:100%; z-index:1000; 
  background: rgba(255,245,245,0.85); 
  backdrop-filter: blur(20px) saturate(180%); 
  border-bottom: 1px solid rgba(255,182,193,0.3);
  box-shadow: 0 4px 30px rgba(255,182,193,0.1);
}
.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:#2d2b4a; 
  position: relative;
}
.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff8fa3, #ffb6c1, #ffd1dc);
  border-radius: 2px;
}
.logo-icon { 
  width:36px; height:36px; border-radius:50%; 
  display:flex; align-items:center; justify-content:center; 
  font-size:1rem; 
  background: linear-gradient(135deg, #ff8fa3, #ffb6c1);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,143,163,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; 
  transition:0.3s; color: #2d2b4a;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff8fa3, #ffb6c1);
  transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: #ff8fa3; }
.nav-cta { 
  padding:8px 20px; border-radius:50px; 
  color:#fff!important; font-weight:600; 
  background: linear-gradient(135deg, #ff8fa3, #ffb6c1);
  box-shadow: 0 4px 15px rgba(255,143,163,0.3);
  transition: all 0.3s ease;
}
.nav-cta:hover { 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,143,163,0.4);
}
.nav-cta::after { display: none; }
.menu-toggle { display:none; }

/* 首页Hero */
.hero { 
  min-height:70vh; display:flex; align-items:center; 
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,182,193,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,143,163,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content { max-width:720px; position: relative; z-index: 1; }
.hero-eyebrow { 
  display:inline-block; font-size:0.85rem; font-weight:600; 
  padding:4px 14px; border-radius:50px; margin-bottom:16px; 
  background: linear-gradient(135deg, rgba(255,143,163,0.1), rgba(255,182,193,0.1));
  border: 1px solid rgba(255,182,193,0.3);
  color: #ff8fa3;
  letter-spacing: 1px;
}
.hero h1 { 
  font-size:3rem; line-height:1.15; margin-bottom:20px; 
  background: linear-gradient(135deg, #2d2b4a, #ff8fa3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}
.hero p { 
  font-size:1.1rem; opacity:0.75; max-width:560px; margin-bottom:32px; 
  color: #4a4a6a;
  line-height: 1.7;
}
.hero-buttons { display:flex; gap:14px; }
.hero-image { border-radius:20px; overflow:hidden; box-shadow: 0 20px 60px rgba(255,143,163,0.15); }
.hero-image img { width:100%; height:auto; }

/* 按钮 */
.btn { 
  display:inline-flex; align-items:center; gap:8px; 
  padding:12px 28px; border-radius:50px; font-weight:600; 
  cursor:pointer; border:none; text-decoration:none; 
  transition: all 0.3s ease;
  font-size: 0.95rem;
}
.btn-primary { 
  color:#fff; 
  background: linear-gradient(135deg, #ff8fa3, #ffb6c1);
  box-shadow: 0 4px 15px rgba(255,143,163,0.3);
}
.btn-primary:hover { 
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255,143,163,0.4);
}
.btn-outline { 
  background:transparent; border:1.5px solid #ffb6c1; 
  color: #ff8fa3;
}
.btn-outline:hover { 
  background: rgba(255,182,193,0.1);
  border-color: #ff8fa3;
  transform: translateY(-2px);
}

/* 标签/标题 */
.section-label { 
  display:inline-block; font-size:0.8rem; font-weight:600; 
  letter-spacing:2px; margin-bottom:12px; 
  color: #ff8fa3;
  text-transform: uppercase;
}
.section-title { 
  font-size:2.2rem; margin-bottom:14px; 
  background: linear-gradient(135deg, #2d2b4a, #ff8fa3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}
.section-desc { 
  max-width:600px; opacity:0.7; margin-bottom:40px; 
  color: #4a4a6a;
  line-height: 1.7;
}

/* 卡片网格 */
.cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:24px; }
.category-card { 
  border-radius:20px; padding:28px; 
  border: 1px solid rgba(255,182,193,0.3);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff8fa3, #ffb6c1, #ffd1dc);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.category-card:hover::before { opacity: 1; }
.category-card:hover { 
  transform:translateY(-5px); 
  box-shadow: 0 10px 30px rgba(255,143,163,0.15);
  border-color: #ffb6c1;
}
.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, rgba(255,143,163,0.1), rgba(255,182,193,0.1));
  color: #ff8fa3;
}
.card-link { 
  font-weight:600; font-size:0.85rem; text-decoration:none; 
  color: #ff8fa3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}
.card-link:hover { gap: 8px; }

/* 特性块 */
.feature-block { 
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; 
}
.feature-image { 
  border-radius:20px; overflow:hidden; 
  box-shadow: 0 20px 60px rgba(255,143,163,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; 
  color: #2d2b4a;
}
.feature-list li::before { 
  content:'✓'; font-weight:700; 
  color: #ff8fa3;
  font-size: 1.1rem;
}

/* 数据条 */
.stats-bar { 
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; 
}
.stat-item { 
  padding:32px 24px; border-radius:20px; 
  border: 1px solid rgba(255,182,193,0.3);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,143,163,0.1);
}
.stat-number { 
  font-size:2.5rem; font-weight:800; 
  background: linear-gradient(135deg, #ff8fa3, #ffb6c1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size:0.9rem; opacity:0.6; margin-top:6px; color: #4a4a6a; }

/* 内容墙 */
.content-wall { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:24px; }
.content-wall-item { 
  border-radius:20px; overflow:hidden; 
  border: 1px solid rgba(255,182,193,0.3);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.content-wall-item:hover { 
  transform:translateY(-5px); 
  box-shadow: 0 10px 30px rgba(255,143,163,0.15);
  border-color: #ffb6c1;
}
.content-wall-item img { 
  width:100%; height:200px; object-fit:cover; 
  transition: transform 0.4s ease;
}
.content-wall-item:hover img { transform: scale(1.05); }
.content-wall-body { padding:20px; }
.content-wall-body h4 { 
  font-size: 1.05rem; 
  margin-bottom: 8px; 
  color: #2d2b4a;
}

/* FAQ */
.faq-list { max-width:800px; margin:0 auto; }
.faq-item { 
  border: 1px solid rgba(255,182,193,0.3); 
  border-radius:16px; margin-bottom:8px; overflow:hidden; 
  cursor:pointer; 
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: #ffb6c1;
}
.faq-item .faq-question { 
  padding:18px 24px; font-weight:600; 
  display:flex; justify-content:space-between; 
  color: #2d2b4a;
  transition: color 0.3s ease;
}
.faq-item.open .faq-question { color: #ff8fa3; }
.faq-item .faq-question::after {
  content: '＋';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: #ffb6c1;
}
.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-item .faq-answer { 
  padding:0 24px 18px; display:none; opacity:0.75; 
  color: #4a4a6a;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display:block; }

/* CTA横幅 */
.cta-banner { 
  padding:64px 24px; text-align:center; 
  border-radius:24px; 
  background: linear-gradient(135deg, #ff8fa3, #ffb6c1, #ffd1dc);
  box-shadow: 0 20px 60px rgba(255,143,163,0.2);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 { 
  color:#fff; 
  font-size: 2.2rem;
  margin-bottom: 16px;
  -webkit-text-fill-color: #fff;
  background: none;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-size: 1.1rem;
}
.cta-banner .btn-primary { 
  background:#fff; 
  color: #ff8fa3;
  box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}
.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.4);
}

/* 页脚 */
.site-footer { 
  padding:56px 0 28px; 
  background: linear-gradient(135deg, #2d2b4a, #3a3860);
  color: rgba(255,255,255,0.8);
}
.site-footer .container { }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; }
.footer-brand h3 { 
  color: #ffb6c1; 
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.footer-brand p { 
  opacity: 0.6; 
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-col h4 { 
  color: #ffb6c1; 
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { 
  color: rgba(255,255,255,0.6); 
  text-decoration: none; 
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover { color: #ffb6c1; }
.footer-bottom { 
  border-top: 1px solid rgba(255,255,255,0.1); 
  margin-top:40px; padding-top:20px; 
  text-align:center; font-size:0.85rem; 
  opacity: 0.5;
}

/* 工具类 */
.text-accent { color: #ff8fa3; }
.text-center { text-align:center; }
.seo-description { max-width:600px; margin:0 auto 48px; opacity:0.7; color: #4a4a6a; line-height: 1.7; }
.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; }
  .main-nav.open { 
    display:flex; flex-direction:column; 
    position:absolute; top:68px; left:0; width:100%; 
    background: rgba(255,245,245,0.95);
    backdrop-filter: blur(20px);
    padding:20px; 
    border-bottom: 1px solid rgba(255,182,193,0.3);
  }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .cta-banner h2 { 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; }
  .section-title { font-size: 1.5rem; }
  .stat-number { font-size: 2rem; }
}