/* ============================================
   少妇 - 全局CSS样式表
   现代化影视传媒品牌网站
   ============================================ */

:root {
  /* 品牌色系 */
  --primary-color: #ff1493;
  --secondary-color: #9d4edd;
  --accent-color: #3a86ff;
  --dark-bg: #0a0e27;
  --light-bg: #ffffff;
  --text-dark: #1a1a2e;
  --text-light: #f5f5f5;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   重置与基础样式
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

/* ============================================
   排版系统
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1em;
  font-size: 1rem;
  line-height: 1.8;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ============================================
   容器与布局
   ============================================ */

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

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.col {
  flex: 1;
  padding: 0 10px;
  min-width: 250px;
}

.col-1 { flex: 0 0 8.333%; }
.col-2 { flex: 0 0 16.666%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333%; }
.col-6 { flex: 0 0 50%; }
.col-12 { flex: 0 0 100%; }

/* ============================================
   导航栏样式
   ============================================ */

header {
  background: linear-gradient(135deg, rgba(255,20,147,0.95) 0%, rgba(157,78,221,0.95) 100%);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.2);
  border-radius: 25px;
  padding: 8px 15px;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.3);
}

.search-box input {
  background: transparent;
  border: none;
  color: white;
  font-size: 0.9rem;
  outline: none;
  width: 150px;
}

.search-box input::placeholder {
  color: rgba(255,255,255,0.7);
}

.search-box button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1rem;
}

/* ============================================
   英雄区域
   ============================================ */

.hero {
  background: linear-gradient(135deg, rgba(10,14,39,0.7) 0%, rgba(157,78,221,0.5) 100%),
              url('https://d2xsxph8kpxj0f.cloudfront.net/310519663491229321/YYDVVsyiXkDWDsXKtEboX7/digital-creative-abstract-ifrVT3PmKiYeNYK4KYuD9g.webp') center/cover;
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,20,147,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(58,134,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: slideInDown 0.8s ease-out;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff1493 0%, #9d4edd 100%);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,20,147,0.4);
}

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

.section {
  padding: 80px 20px;
  background: var(--light-bg);
}

.section.dark {
  background: var(--dark-bg);
  color: var(--text-light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff1493, #9d4edd);
  border-radius: 2px;
}

.section-subtitle {
  color: #999;
  font-size: 1.1rem;
  margin-top: 20px;
}

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

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #000;
}

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

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255,20,147,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 10;
}

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

.video-card:hover .play-button {
  opacity: 1;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #999;
}

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

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

.expert-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.expert-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 20px auto;
  object-fit: cover;
  border: 4px solid var(--primary-color);
}

.expert-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.expert-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.expert-desc {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
  padding: 0 15px;
}

.expert-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 15px;
}

.expert-actions button {
  padding: 8px 15px;
  border: 1px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.expert-actions button:hover {
  background: var(--primary-color);
  color: white;
}

/* ============================================
   FAQ区域
   ============================================ */

.faq-container {
  max-width: 800px;
  margin: 40px auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  background: #f9f9f9;
  transition: var(--transition);
}

.faq-question:hover {
  background: #f0f0f0;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: #666;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/* ============================================
   用户评论
   ============================================ */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.review-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.review-user {
  flex: 1;
}

.review-name {
  font-weight: 600;
  margin-bottom: 3px;
}

.review-rating {
  color: #ffc107;
  font-size: 0.9rem;
}

.review-text {
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
}

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

footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 60px 20px 20px;
}

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

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #ccc;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

.qr-codes {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 20px 0;
}

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

.qr-code img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.qr-code p {
  font-size: 0.85rem;
  margin: 0;
}

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  
  .hero {
    padding: 60px 20px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .nav-menu {
    gap: 15px;
    font-size: 0.85rem;
  }
  
  .search-box input {
    width: 100px;
  }
  
  .section {
    padding: 50px 20px;
  }
  
  .video-grid,
  .expert-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .col {
    min-width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .qr-codes {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .nav-menu {
    gap: 10px;
    font-size: 0.75rem;
  }
  
  .search-box {
    display: none;
  }
  
  .cta-button {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
}

/* ============================================
   动画效果
   ============================================ */

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }

.hidden { display: none !important; }
.visible { display: block !important; }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
