/* ========================================
   糖心 - 品牌网站 CSS样式表
   配色：紫色(#8B5CF6) + 粉色(#EC4899) + 蓝色(#3B82F6)
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-purple: #8B5CF6;
  --primary-pink: #EC4899;
  --primary-blue: #3B82F6;
  --bg-white: #FFFFFF;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --border-light: #E5E7EB;
  --gradient-main: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  --gradient-blue: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'SimHei', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ========================================
   头部导航
   ======================================== */

header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.znek9w6j {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--primary-purple);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.gppm8 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #F3F4F6;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gppm8:hover {
  border-color: var(--primary-purple);
  background: #F9F5FF;
}

.gppm8 input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  width: 150px;
}

/* ========================================
   Hero区域
   ======================================== */

.hero {
  height: 500px;
  background: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663491082298/mGqYDGhxJHFWi9MBihncFj/hero-anime-girl-1-Xv864wQHVJLNG8jhCbEvbJ.webp') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.3qhqybt {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  animation: fadeInUp 0.8s ease-out;
}

.3qhqybt h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.3qhqybt p {
  font-size: 20px;
  margin-bottom: 24px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.jsbxm6je {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gradient-main);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.jsbxm6je:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

/* ========================================
   内容模块通用样式
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

section:last-of-type {
  border-bottom: none;
}

.fdy103g {
  text-align: center;
  margin-bottom: 40px;
}

.fdy103g h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fdy103g p {
  color: var(--text-light);
  font-size: 16px;
}

/* ========================================
   视频卡片
   ======================================== */

.vbj4qi {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.ycc1qt {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.ycc1qt:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.15);
}

.csz31xa {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #F3F4F6;
  overflow: hidden;
}

.csz31xa img,
.csz31xa video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.e8ieym {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(139, 92, 246, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.e8ieym::after {
  content: '▶';
  color: white;
  font-size: 24px;
  margin-left: 4px;
}

.ycc1qt:hover .e8ieym {
  opacity: 1;
}

.aacrisn5 {
  padding: 16px;
}

.aacrisn5 h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bsu6vdu {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
}

/* ========================================
   内容模块
   ======================================== */

.79fum {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.6ulil4de {
  background: linear-gradient(135deg, #F9F5FF 0%, #FDF2F8 100%);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
}

.6ulil4de:hover {
  border-color: var(--primary-purple);
  box-shadow: 0 8px 16px rgba(139, 92, 246, 0.1);
  transform: translateY(-4px);
}

.6ulil4de h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.6ulil4de p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* ========================================
   专家展示
   ======================================== */

.xbsvbab {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.8vd1n {
  text-align: center;
  padding: 24px;
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.8vd1n:hover {
  border-color: var(--primary-purple);
  box-shadow: 0 8px 16px rgba(139, 92, 246, 0.1);
}

.c0xgg8h {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 40px;
}

.8vd1n h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.8vd1n .title {
  color: var(--primary-purple);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px;
}

.8vd1n p {
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 16px;
}

.4ht0ws {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.4ht0ws a {
  padding: 6px 12px;
  background: var(--gradient-main);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.4ht0ws a:hover {
  transform: scale(1.05);
}

/* ========================================
   FAQ模块
   ======================================== */

.5yk3s4x8 {
  max-width: 700px;
  margin: 0 auto;
}

.ah8akdcn {
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ah8akdcn:hover {
  border-color: var(--primary-purple);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.0yte5 {
  padding: 16px;
  background: #F9F5FF;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.3s ease;
}

.0yte5:hover {
  background: #F3EDFF;
}

.odwu4 {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.ah8akdcn.active .odwu4 {
  transform: rotate(180deg);
}

.nw66gn5 {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--bg-white);
}

.ah8akdcn.active .nw66gn5 {
  padding: 16px;
  max-height: 500px;
}

.nw66gn5 p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   用户评价
   ======================================== */

.of9f2cak {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.piirwg {
  background: linear-gradient(135deg, #FDF2F8 0%, #F9F5FF 100%);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(236, 72, 153, 0.1);
}

.pnfaa1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.jmrz1 {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.pvytdu h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pvytdu .rating {
  color: #FCD34D;
  font-size: 12px;
}

.9e6rz {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
}

/* ========================================
   页脚
   ======================================== */

footer {
  background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
  color: white;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.b53mhg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.1vh9b6 h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.1vh9b6 p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.1vh9b6 a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.1vh9b6 a:hover {
  color: white;
}

.9qqe3u2 {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.kxpn6e {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-align: center;
  color: #1F2937;
}

.7bxwut7b {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.7bxwut7b a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.7bxwut7b a:hover {
  background: var(--primary-purple);
  transform: translateY(-3px);
}

.y46ssys {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.y46ssys p {
  margin: 8px 0;
}

/* ========================================
   响应式设计
   ======================================== */

@media (max-width: 768px) {
  .znek9w6j {
    height: 60px;
    padding: 0 16px;
  }

  .logo {
    font-size: 20px;
  }

  .logo img {
    width: 32px;
    height: 32px;
  }

  nav {
    gap: 16px;
  }

  nav a {
    font-size: 12px;
  }

  .gppm8 {
    display: none;
  }

  .hero {
    height: 350px;
  }

  .3qhqybt h1 {
    font-size: 32px;
  }

  .3qhqybt p {
    font-size: 16px;
  }

  .fdy103g h2 {
    font-size: 28px;
  }

  .vbj4qi {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
  }

  .79fum {
    grid-template-columns: 1fr;
  }

  .xbsvbab {
    grid-template-columns: repeat(2, 1fr);
  }

  .of9f2cak {
    grid-template-columns: 1fr;
  }

  .b53mhg {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .znek9w6j {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
  }

  nav {
    width: 100%;
    gap: 12px;
    margin-top: 12px;
    order: 3;
    flex-wrap: wrap;
  }

  .hero {
    height: 280px;
  }

  .3qhqybt h1 {
    font-size: 24px;
  }

  .3qhqybt p {
    font-size: 14px;
  }

  .fdy103g h2 {
    font-size: 22px;
  }

  .vbj4qi {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .xbsvbab {
    grid-template-columns: 1fr;
  }

  .9qqe3u2 {
    flex-direction: column;
    align-items: center;
  }

  section {
    padding: 30px 0;
  }
}

/* ========================================
   动画
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.f5moinh {
  animation: fadeInUp 0.6s ease-out;
}

.fn704kj {
  animation: slideInLeft 0.6s ease-out;
}

.skvrrsua {
  animation: slideInRight 0.6s ease-out;
}

/* ========================================
   工具类
   ======================================== */

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.hidden {
  display: none;
}

.qbj4rv {
  color: var(--text-light);
}

.foxtwqfi {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
