/* ========================================
   51短视频 - 主样式表
   品牌色：蓝紫渐变 (#0066FF - #9933FF)
   ======================================== */

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

:root {
  --primary-blue: #0066FF;
  --primary-purple: #9933FF;
  --accent-pink: #FF3366;
  --dark-bg: #0F0F1E;
  --light-bg: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-light: #FFFFFF;
  --border-color: #E5E5E5;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

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

/* ========================================
   通用样式
   ======================================== */

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

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jrgefs4 {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin-bottom: 30px;
}

/* ========================================
   Header 导航
   ======================================== */

header {
  background: var(--light-bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

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

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

nav a:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  transition: width 0.3s ease;
}

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

/* 搜索框 */
.search-box {
  display: flex;
  align-items: center;
  background: #F5F5F5;
  border-radius: 20px;
  padding: 8px 15px;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-box:hover {
  background: #E8E8E8;
  box-shadow: var(--shadow);
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 150px;
  font-size: 14px;
  color: var(--text-dark);
}

.search-box input::placeholder {
  color: #999;
}

.5vdbebr {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.35-4.35"></path></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.35-4.35"></path></svg>');
}

/* ========================================
   Hero Banner
   ======================================== */

.hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--text-light);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

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

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.8jmb8 {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--light-bg);
  color: var(--primary-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--light-bg);
  border: 2px solid var(--light-bg);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

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

.video-card {
  background: var(--light-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  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%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.video-thumbnail img {
  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, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
}

.play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 15px solid var(--primary-blue);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 3px;
}

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

.video-info {
  padding: 15px;
}

.video-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.udqqzqb {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #999;
}

.udqqzqb span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ========================================
   模块样式
   ======================================== */

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

.module-card {
  background: linear-gradient(135deg, #F5F7FA 0%, #E9ECEF 100%);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--text-light);
}

.mnpv9cq7 {
  font-size: 40px;
  margin-bottom: 15px;
}

.module-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.jk451q {
  font-size: 13px;
  opacity: 0.7;
}

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

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

.expert-card {
  background: var(--light-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
}

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

.expert-avatar {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-info {
  padding: 20px;
}

.expert-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.expert-title {
  font-size: 14px;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.expert-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.expert-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.expert-buttons a {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.expert-buttons .btn-contact {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--text-light);
}

.expert-buttons .btn-contact:hover {
  transform: scale(1.05);
}

.expert-buttons .btn-works {
  background: #F5F5F5;
  color: var(--text-dark);
}

.expert-buttons .btn-works:hover {
  background: #E8E8E8;
}

/* ========================================
   FAQ 部分
   ======================================== */

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

.k6f6y {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.k6f6y:hover {
  box-shadow: var(--shadow);
}

.u8tee {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  background: #F9F9F9;
  transition: all 0.3s ease;
}

.u8tee:hover {
  background: #F0F0F0;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
}

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

.f16v9rgx {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.k6f6y.active .f16v9rgx {
  padding: 20px;
  max-height: 500px;
}

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

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

.5y9ywnx {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.5y9ywnx:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 600;
  font-size: 20px;
}

.review-user {
  flex: 1;
}

.review-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.review-date {
  font-size: 12px;
  color: #999;
}

.review-stars {
  color: #FFB800;
  margin-bottom: 10px;
  font-size: 14px;
}

.review-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ========================================
   联系我们
   ======================================== */

.contact-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--text-light);
  padding: 60px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.contact-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.contact-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-info {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.8;
}

.contact-info a {
  color: var(--text-light);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-info a:hover {
  opacity: 0.7;
}

/* ========================================
   Footer
   ======================================== */

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

.cmrz51 {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.a6ue8j7e h4 {
  margin-bottom: 15px;
  font-size: 16px;
}

.a6ue8j7e ul {
  list-style: none;
}

.a6ue8j7e ul li {
  margin-bottom: 10px;
}

.a6ue8j7e ul li a {
  color: #CCC;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.a6ue8j7e ul li a:hover {
  color: var(--primary-blue);
}

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

.footer-qr h5 {
  margin-bottom: 10px;
  font-size: 14px;
}

.qr-code {
  width: 100px;
  height: 100px;
  background: var(--light-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 12px;
  color: var(--text-dark);
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #CCC;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

@media (max-width: 768px) {
  .7u4v91w {
    flex-wrap: wrap;
  }

  nav ul {
    gap: 15px;
    font-size: 14px;
  }

  .search-box {
    order: 3;
    width: 100%;
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .bkgor,
  .3u36bnm,
  .qrafvv,
  .reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .expert-avatar {
    height: 180px;
  }

  .contact-grid {
    gap: 20px;
  }

  .cmrz51 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  nav ul {
    gap: 10px;
    font-size: 12px;
  }

  .hero {
    padding: 60px 15px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .8jmb8 {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 20px;
  }

  .bkgor,
  .3u36bnm {
    grid-template-columns: 1fr;
  }

  .qrafvv,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

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

@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);
  }
}

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

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

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

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

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

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

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

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

.hidden {
  display: none;
}

.visible {
  display: block;
}
