/* 午夜商店 - 极光梦境风格设计系统 */
/* 灵感来源：Awwwards获奖站点中的渐变流体+玻璃态+杂志排版 */

*, *::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%, #e8f4fd 50%, #fef6e0 100%);
  min-height: 100vh;
  color: #2d2b55;
}

/* 核心布局 */
.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,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(245,240,255,0.7);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 30px rgba(147, 112, 219, 0.08);
}

.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:10px; 
  font-weight:800; font-size:1.1rem; text-decoration:none; color:#2d2b55;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-icon { 
  width:40px; height:40px; 
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center; 
  font-size:1.2rem; color:white;
  box-shadow: 0 4px 15px rgba(167,139,250,0.3);
}

.main-nav { display:flex; align-items:center; gap:32px; list-style:none; }
.main-nav a { 
  text-decoration:none; font-size:0.85rem; font-weight:600; 
  color: #2d2b55;
  letter-spacing: 1px;
  position: relative;
  padding: 4px 0;
  transition: 0.3s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a78bfa, #f472b6);
  transition: 0.3s;
}

.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: #a78bfa; }

.nav-cta { 
  padding:10px 24px; border-radius:50px; 
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  color:#fff!important; font-weight:700; 
  box-shadow: 0 4px 20px rgba(167,139,250,0.3);
  transition: 0.3s;
}

.nav-cta:hover::after { width: 0!important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(167,139,250,0.4); }

.menu-toggle { display:none; }

/* 首页Hero — 杂志封面风格 */
.hero { 
  min-height:80vh; display:flex; align-items:center; 
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(167,139,250,0.15), 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(244,114,182,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content { 
  max-width:650px; 
  position: relative;
  z-index: 1;
}

.hero-eyebrow { 
  display:inline-block; 
  font-size:0.75rem; font-weight:700; 
  padding:6px 18px; border-radius:50px; 
  margin-bottom:20px; 
  background: linear-gradient(135deg, #a78bfa20, #f472b620);
  color: #a78bfa;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid rgba(167,139,250,0.2);
}

.hero h1 { 
  font-size:3.2rem; line-height:1.1; margin-bottom:20px; 
  font-weight: 900;
  background: linear-gradient(135deg, #2d2b55, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.hero p { 
  font-size:1.05rem; opacity:0.7; max-width:500px; margin-bottom:36px; 
  color: #4a4870;
  line-height: 1.7;
}

.hero-buttons { display:flex; gap:16px; }

.hero-image { 
  border-radius:20px; overflow:hidden; 
  box-shadow: 0 20px 60px rgba(167,139,250,0.15);
  transform: perspective(800px) rotateY(-5deg);
  transition: 0.5s;
}

.hero-image:hover {
  transform: perspective(800px) rotateY(0deg);
}

.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.3s; 
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn-primary { 
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  color:#fff; 
  box-shadow: 0 4px 20px rgba(167,139,250,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(167,139,250,0.4);
}

.btn-outline { 
  background:transparent; 
  border:2px solid #a78bfa; 
  color:#2d2b55;
}

.btn-outline:hover {
  background: rgba(167,139,250,0.1);
  border-color: #f472b6;
}

/* 标签/标题 */
.section-label { 
  display:inline-block; 
  font-size:0.7rem; font-weight:700; 
  letter-spacing:4px; margin-bottom:12px; 
  color: #a78bfa;
  text-transform: uppercase;
  background: rgba(167,139,250,0.1);
  padding: 4px 16px;
  border-radius: 50px;
}

.section-title { 
  font-size:2.2rem; margin-bottom:14px; 
  font-weight: 900;
  color: #2d2b55;
  letter-spacing: -0.5px;
}

.section-desc { 
  max-width:560px; opacity:0.6; margin-bottom:40px; 
  color: #4a4870;
  line-height: 1.8;
}

/* 卡片网格 — 玻璃卡片 */
.cards-grid { 
  display:grid; 
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); 
  gap:28px; 
}

.category-card { 
  border-radius:20px; 
  padding:32px; 
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 8px 32px rgba(167,139,250,0.08);
  transition: 0.4s;
}

.category-card:hover { 
  transform:translateY(-6px); 
  box-shadow: 0 12px 40px rgba(167,139,250,0.15);
  background: rgba(255,255,255,0.8);
}

.card-icon { 
  width:56px; height:56px; 
  background: linear-gradient(135deg, #a78bfa20, #f472b620);
  border-radius:16px; 
  display:flex; align-items:center; justify-content:center; 
  margin-bottom:20px; font-size:1.5rem; 
  border: 1px solid rgba(167,139,250,0.15);
}

.card-link { 
  font-weight:700; font-size:0.8rem; text-decoration:none; 
  color: #a78bfa;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link::after {
  content: '→';
  transition: 0.3s;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* 特性块 */
.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 60px rgba(167,139,250,0.12);
}

.feature-image img { width:100%; height:auto; display:block; }

.feature-text { }

.feature-list { list-style:none; }
.feature-list li { 
  padding:10px 0; 
  display:flex; 
  align-items:center; 
  gap:12px; 
  font-weight: 500;
  color: #2d2b55;
}

.feature-list li::before { 
  content:'✦'; 
  font-weight:700; 
  color: #f472b6;
  font-size: 1.2rem;
}

/* 数据条 */
.stats-bar { 
  display:grid; 
  grid-template-columns:repeat(4,1fr); 
  gap:24px; 
  text-align:center; 
}

.stat-item { 
  padding:32px 20px; 
  border-radius:20px; 
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
  transition: 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(167,139,250,0.1);
}

.stat-number { 
  font-size:2.8rem; font-weight:900; 
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { 
  font-size:0.85rem; opacity:0.5; margin-top:8px; 
  color: #4a4870;
  letter-spacing: 1px;
}

/* 内容墙 */
.content-wall { 
  display:grid; 
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); 
  gap:28px; 
}

.content-wall-item { 
  border-radius:20px; overflow:hidden; 
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
  transition: 0.4s;
  box-shadow: 0 8px 32px rgba(167,139,250,0.06);
}

.content-wall-item:hover { 
  transform:translateY(-6px); 
  box-shadow: 0 16px 48px rgba(167,139,250,0.12);
}

.content-wall-item img { 
  width:100%; height:220px; object-fit:cover; 
}

.content-wall-body { padding:24px; }

/* FAQ */
.faq-list { max-width:800px; margin:0 auto; }

.faq-item { 
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
  border-radius:16px; 
  margin-bottom:12px; 
  overflow:hidden; 
  cursor:pointer; 
  transition: 0.3s;
}

.faq-item:hover {
  background: rgba(255,255,255,0.6);
}

.faq-item .faq-question { 
  padding:20px 24px; 
  font-weight:700; 
  display:flex; 
  justify-content:space-between; 
  align-items: center;
  color: #2d2b55;
  letter-spacing: 0.5px;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #a78bfa;
  transition: 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer { 
  padding:0 24px 20px; 
  display:none; 
  opacity:0.7; 
  color: #4a4870;
  line-height: 1.8;
}

.faq-item.open .faq-answer { display:block; }

/* CTA横幅 */
.cta-banner { 
  padding:64px 32px; 
  text-align:center; 
  border-radius:24px; 
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  color:#fff; 
  box-shadow: 0 20px 60px rgba(167,139,250,0.2);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 { 
  color:#fff; 
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.cta-banner .btn-primary { 
  background:#fff; 
  color: #a78bfa;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* 页脚 */
.site-footer { 
  padding:64px 0 32px; 
  background: rgba(45,43,85,0.03);
  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-col { }

.footer-col h4 {
  font-weight: 700;
  margin-bottom: 16px;
  color: #2d2b55;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: #4a4870;
  text-decoration: none;
  padding: 4px 0;
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-col a:hover {
  color: #a78bfa;
}

.footer-bottom { 
  border-top: 1px solid rgba(167,139,250,0.15); 
  margin-top:48px; 
  padding-top:24px; 
  text-align:center; 
  font-size:0.85rem; 
  color: #4a4870;
}

/* 工具类 */
.text-accent { color: #a78bfa; }
.text-center { text-align:center; }

.seo-description { 
  max-width:600px; margin:0 auto 48px; 
  opacity:0.6; 
  color: #4a4870;
  line-height: 1.8;
}

.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(245,240,255,0.95); backdrop-filter:blur(20px); padding:20px; border-bottom:1px solid rgba(255,255,255,0.6); }
  .hero h1 { font-size:2.2rem; }
  .hero { min-height:60vh; }
}

@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.6rem; }
  .stat-number { font-size:2rem; }
}