/* 磁力宝官网 - 独特CSS设计系统 */
/* 风格：柔光渐变 + 半透明玻璃卡片 + 圆润有机形态 */

*, *::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, #f5f0ff 0%, #e8f4f8 50%, #fff5f0 100%);
  background-attachment: fixed;
  color: #2d2b3a;
}

/* 核心布局 */
.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.6);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.8);
}

/* 导航 */
.site-header {
  position: fixed;
  top:0; left:0; width:100%;
  z-index:1000;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 4px 30px rgba(120, 80, 200, 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:12px;
  font-weight:700;
  font-size:1.3rem;
  text-decoration:none;
  color: #4a3f6b;
  letter-spacing: -0.3px;
}

.logo-icon {
  width:40px;
  height:40px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
  background: linear-gradient(135deg, #b8a9e8, #7ec8e3);
  color: #fff;
  box-shadow: 0 4px 12px rgba(120, 80, 200, 0.2);
}

.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: #4a3f6b;
  transition:0.3s;
  position:relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b8a9e8, #7ec8e3);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: #6b5b9e;
}

.nav-cta {
  padding:10px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, #b8a9e8, #7ec8e3);
  color:#fff!important;
  font-weight:600;
  box-shadow: 0 4px 16px rgba(120, 80, 200, 0.25);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120, 80, 200, 0.35);
}

.nav-cta::after { display: none; }

.menu-toggle { display:none; }

/* 首页Hero */
.hero {
  min-height: 80vh;
  display:flex;
  align-items:center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,169,232,0.2), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,200,227,0.15), transparent 70%);
  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:6px 18px;
  border-radius: 50px;
  margin-bottom:20px;
  background: linear-gradient(135deg, rgba(184,169,232,0.2), rgba(126,200,227,0.2));
  color: #6b5b9e;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.5);
}

.hero h1 {
  font-size:3.2rem;
  line-height:1.15;
  margin-bottom:20px;
  color: #2d2b3a;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, #b8a9e8, #7ec8e3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size:1.15rem;
  opacity:0.7;
  max-width:560px;
  margin-bottom:36px;
  line-height: 1.7;
  color: #4a3f6b;
}

.hero-buttons {
  display:flex;
  gap:16px;
}

.hero-image {
  border-radius: 20px;
  overflow:hidden;
  box-shadow: 0 20px 60px rgba(120, 80, 200, 0.15);
  border: 1px solid rgba(255,255,255,0.4);
}

.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:0.3s;
  font-size: 0.95rem;
}

.btn-primary {
  color:#fff;
  background: linear-gradient(135deg, #b8a9e8, #7ec8e3);
  box-shadow: 0 4px 20px rgba(120, 80, 200, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(120, 80, 200, 0.4);
}

.btn-outline {
  background:rgba(255,255,255,0.7);
  border:1.5px solid rgba(184,169,232,0.4);
  color: #4a3f6b;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.9);
  border-color: #b8a9e8;
  transform: translateY(-2px);
}

/* 标签/标题 */
.section-label {
  display:inline-block;
  font-size:0.8rem;
  font-weight:600;
  letter-spacing:3px;
  margin-bottom:16px;
  color: #b8a9e8;
  text-transform: uppercase;
}

.section-title {
  font-size:2.2rem;
  margin-bottom:14px;
  color: #2d2b3a;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-desc {
  max-width:600px;
  opacity:0.7;
  margin-bottom:48px;
  color: #4a3f6b;
  line-height: 1.7;
}

/* 卡片网格 */
.cards-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:28px;
}

.category-card {
  border-radius: 20px;
  padding:32px 28px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  transition:0.4s;
  box-shadow: 0 4px 20px rgba(120, 80, 200, 0.06);
}

.category-card:hover {
  transform:translateY(-6px);
  box-shadow: 0 12px 40px rgba(120, 80, 200, 0.15);
  background: rgba(255,255,255,0.9);
  border-color: rgba(184,169,232,0.3);
}

.card-icon {
  width:52px;
  height:52px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
  font-size:1.5rem;
  background: linear-gradient(135deg, rgba(184,169,232,0.2), rgba(126,200,227,0.2));
}

.card-link {
  font-weight:600;
  font-size:0.9rem;
  text-decoration:none;
  color: #6b5b9e;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s;
}

.card-link:hover {
  color: #b8a9e8;
  gap: 10px;
}

/* 特性块 */
.feature-block {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}

.feature-image {
  border-radius: 20px;
  overflow:hidden;
  box-shadow: 0 16px 48px rgba(120, 80, 200, 0.12);
  border: 1px solid rgba(255,255,255,0.4);
}

.feature-image img { width:100%; height:auto; display: block; }

.feature-text { }

.feature-list {
  list-style:none;
  margin-top: 20px;
}

.feature-list li {
  padding:10px 0;
  display:flex;
  align-items:center;
  gap:12px;
  color: #4a3f6b;
}

.feature-list li::before {
  content:'✦';
  font-weight:700;
  color: #b8a9e8;
  font-size: 1.1rem;
}

/* 数据条 */
.stats-bar {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
  text-align:center;
}

.stat-item {
  padding:32px 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  transition: 0.3s;
}

.stat-item:hover {
  background: rgba(255,255,255,0.8);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(120, 80, 200, 0.1);
}

.stat-number {
  font-size:2.6rem;
  font-weight:800;
  background: linear-gradient(135deg, #b8a9e8, #7ec8e3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size:0.9rem;
  opacity:0.6;
  margin-top:8px;
  color: #4a3f6b;
}

/* 内容墙 */
.content-wall {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:28px;
}

.content-wall-item {
  border-radius: 20px;
  overflow:hidden;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5);
  transition:0.4s;
}

.content-wall-item:hover {
  transform:translateY(-6px);
  box-shadow: 0 12px 40px rgba(120, 80, 200, 0.15);
  background: rgba(255,255,255,0.9);
}

.content-wall-item img {
  width:100%;
  height:200px;
  object-fit:cover;
}

.content-wall-body {
  padding:24px 20px;
}

.content-wall-body h4 {
  color: #2d2b3a;
  margin-bottom: 8px;
}

.content-wall-body p {
  color: #4a3f6b;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* FAQ */
.faq-list {
  max-width:800px;
  margin:0 auto;
}

.faq-item {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 16px;
  margin-bottom:12px;
  overflow:hidden;
  cursor:pointer;
  transition: 0.3s;
}

.faq-item:hover {
  background: rgba(255,255,255,0.8);
}

.faq-item .faq-question {
  padding:20px 24px;
  font-weight:600;
  display:flex;
  justify-content:space-between;
  align-items: center;
  color: #2d2b3a;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: #b8a9e8;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding:0 24px 20px;
  display:none;
  opacity:0.7;
  color: #4a3f6b;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display:block;
}

/* CTA横幅 */
.cta-banner {
  padding:64px 40px;
  text-align:center;
  border-radius: 24px;
  background: linear-gradient(135deg, #b8a9e8, #7ec8e3);
  color:#fff;
  box-shadow: 0 16px 48px rgba(120, 80, 200, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

.cta-banner h2 {
  color:#fff;
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.cta-banner .btn-primary {
  background:#fff;
  color: #6b5b9e;
  box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.4);
}

/* 页脚 */
.site-footer {
  padding:64px 0 32px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.6);
}

.site-footer .container { }

.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:48px;
}

.footer-brand { }

.footer-brand p {
  color: #4a3f6b;
  opacity: 0.7;
  line-height: 1.7;
  margin-top: 12px;
  font-size: 0.9rem;
}

.footer-col h5 {
  color: #2d2b3a;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: #4a3f6b;
  opacity: 0.7;
  text-decoration: none;
  padding: 4px 0;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-col a:hover {
  opacity: 1;
  color: #6b5b9e;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(184,169,232,0.2);
  margin-top:48px;
  padding-top:24px;
  text-align:center;
  font-size:0.85rem;
  color: #4a3f6b;
  opacity: 0.6;
}

/* 工具类 */
.text-accent {
  color: #b8a9e8;
}

.text-center { text-align:center; }

.seo-description {
  max-width:600px;
  margin:0 auto 48px;
  opacity:0.7;
  color: #4a3f6b;
  line-height: 1.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; }
  .main-nav.open { display:flex; flex-direction:column; position:absolute; top:72px; left:0; width:100%; background:rgba(255,255,255,0.95); backdrop-filter:blur(16px); padding:24px; gap:16px; border-bottom: 1px solid rgba(255,255,255,0.5); }
  .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; }
  .stat-number { font-size:2rem; }
  .cta-banner { padding: 40px 24px; }
}