/* 精神小妹视频社区 - 原创样式表 */
/* 配色：翡翠绿 #1B7A4E + 象牙白 #FEFCF3 + 金色 #C8A951 + 深森林 #0D3B22 */

:root {
  --emerald: #1B7A4E;
  --emerald-light: #2A9D6B;
  --ivory: #FEFCF3;
  --gold: #C8A951;
  --gold-light: #E0C878;
  --forest: #0D3B22;
  --forest-light: #164A30;
  --bark: #3E2723;
  --leaf: #4CAF50;
  --moss: #8BC34A;
  --cream: #F5F0E1;
  --text-dark: #1A1A1A;
  --text-mid: #4A4A4A;
  --text-light: #7A7A7A;
  --shadow: rgba(13,59,34,0.12);
  --shadow-lg: rgba(13,59,34,0.2);
}

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
}

a { color: var(--emerald); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

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

/* 头部导航 */
.site-header {
  background: linear-gradient(135deg, var(--forest) 0%, var(--emerald) 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px var(--shadow-lg);
}

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

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrap img {
  height: 48px;
  width: auto;
  border-radius: 8px;
}

.logo-text {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}

.logo-text span {
  color: var(--gold);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0;
}

.main-nav li a {
  display: block;
  padding: 10px 18px;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s;
}

.main-nav li a:hover,
.main-nav li a.active {
  background: rgba(255,255,255,0.15);
  color: var(--gold-light);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* 搜索框 */
.search-bar {
  background: var(--forest-light);
  padding: 10px 0;
}

.search-wrap {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.search-wrap input {
  flex: 1;
  padding: 10px 18px;
  border: 2px solid var(--emerald-light);
  border-right: none;
  border-radius: 25px 0 0 25px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  outline: none;
}

.search-wrap input::placeholder { color: rgba(255,255,255,0.5); }

.search-wrap button {
  padding: 10px 24px;
  background: var(--gold);
  color: var(--forest);
  border: none;
  border-radius: 0 25px 25px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.search-wrap button:hover { background: var(--gold-light); }

/* Hero Banner */
.hero-banner {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner img.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
  line-height: 1.3;
}

.hero-content h1 span { color: var(--gold-light); }

.hero-content p {
  font-size: 18px;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--forest);
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,169,81,0.4);
  color: var(--forest);
}

.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* 面包屑 */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-light);
  background: var(--cream);
  border-bottom: 1px solid rgba(27,122,78,0.1);
}

.breadcrumb a { color: var(--emerald); }
.breadcrumb span { margin: 0 6px; }

/* 区块标题 */
.section { padding: 60px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--forest); color: #fff; }

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-dark .section-header h2 { color: #fff; }

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 650px;
  margin: 0 auto;
}

.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* 视频卡片网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.video-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
  transition: all 0.35s;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px var(--shadow-lg);
}

.video-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}

.video-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.video-card:hover .video-thumb img {
  transform: scale(1.08);
}

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(27,122,78,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s;
  z-index: 3;
}

.play-btn::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

.video-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--forest);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.video-duration {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.video-info {
  padding: 16px;
}

.video-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-light);
}

.video-meta span { display: flex; align-items: center; gap: 4px; }

/* 专家卡片 */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.expert-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow);
  transition: all 0.35s;
  border-top: 4px solid var(--emerald);
}

.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px var(--shadow-lg);
}

.expert-card img {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--emerald-light);
}

.expert-card h4 {
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 6px;
}

.expert-card .title {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.expert-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}

.expert-card .btn-sm {
  display: inline-block;
  padding: 8px 20px;
  background: var(--emerald);
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.3s;
}

.expert-card .btn-sm:hover {
  background: var(--emerald-light);
  color: #fff;
}

/* FAQ区块 */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px var(--shadow);
  overflow: hidden;
  border-left: 4px solid var(--emerald);
}

.faq-question {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--forest);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover { background: var(--cream); }

.faq-question::after {
  content: '+';
  font-size: 22px;
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 0 24px 18px;
  max-height: 300px;
}

/* 用户评论 */
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.review-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 16px var(--shadow);
  border-bottom: 3px solid var(--gold);
}

.review-stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.review-author .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.review-author .date {
  font-size: 11px;
  color: var(--text-light);
}

/* 合作品牌 */
.brand-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.brand-wall .brand-item {
  background: #fff;
  padding: 16px 28px;
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--shadow);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-mid);
  transition: all 0.3s;
}

.brand-wall .brand-item:hover {
  box-shadow: 0 6px 20px var(--shadow-lg);
  color: var(--emerald);
}

/* 联系我们 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-info {
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 4px 16px var(--shadow);
}

.contact-info h3 {
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--emerald);
  padding-bottom: 10px;
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-mid);
}

.contact-item strong {
  color: var(--text-dark);
  min-width: 70px;
}

.qr-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
}

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

.qr-item img {
  width: 140px; height: 140px;
  border-radius: 10px;
  margin-bottom: 8px;
  border: 2px solid var(--emerald-light);
}

.qr-item p {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 600;
}

/* How-To指南 */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.howto-step {
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow);
  position: relative;
  counter-increment: step;
}

.howto-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--emerald);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 14px;
}

.howto-step h4 {
  font-size: 16px;
  color: var(--forest);
  margin-bottom: 8px;
}

.howto-step p {
  font-size: 13px;
  color: var(--text-mid);
}

/* 社交分享 */
.share-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.share-btn.wechat { background: #07C160; }
.share-btn.weibo { background: #E6162D; }
.share-btn.douyin { background: #161823; }
.share-btn.bilibili { background: #00A1D6; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* AI赋能区 */
.ai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ai-card {
  background: linear-gradient(135deg, var(--forest) 0%, var(--emerald) 100%);
  border-radius: 14px;
  padding: 30px;
  color: #fff;
  text-align: center;
  transition: all 0.35s;
}

.ai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px var(--shadow-lg);
}

.ai-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.ai-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--gold-light);
}

.ai-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* 页脚 */
.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(200,169,81,0.3);
}

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

.footer-col li {
  margin-bottom: 8px;
}

.footer-col li a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  transition: color 0.3s;
}

.footer-col li a:hover { color: var(--gold-light); }

.footer-col p {
  font-size: 13px;
  line-height: 1.8;
}

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

.footer-bottom a { color: var(--gold); }

/* 内页通用 */
.page-hero {
  background: linear-gradient(135deg, var(--forest), var(--emerald));
  padding: 50px 0;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
}

.page-content {
  padding: 50px 0;
}

.page-content h2 {
  font-size: 26px;
  color: var(--forest);
  margin-bottom: 20px;
  border-left: 4px solid var(--gold);
  padding-left: 14px;
}

.page-content p {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.9;
}

/* 干扰标签隐藏 */
.h8k9y8r { display: none !important; }

/* 响应式 */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.active { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--forest); padding: 10px 0; }
  .main-nav.active ul { flex-direction: column; }
  .main-nav.active li a { padding: 12px 20px; }
  .mobile-menu-btn { display: block; }
  .hero-banner { height: 380px; }
  .hero-content h1 { font-size: 28px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .expert-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .ai-features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-header h2 { font-size: 24px; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .hero-banner { height: 300px; }
  .hero-content h1 { font-size: 22px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .search-wrap { flex-direction: column; gap: 8px; }
  .search-wrap input { border-radius: 25px; border-right: 2px solid var(--emerald-light); }
  .search-wrap button { border-radius: 25px; }
}
