/* ============================================
   网红美女 - 原创样式表
   品牌色系：深海蓝黑 + 活力橙 + 翡翠绿
   jygj888.com.cn
   ============================================ */

/* CSS Variables */
:root {
  --primary: #1A1F3C;
  --primary-light: #2D4A7A;
  --secondary: #FF6B35;
  --accent: #00D4AA;
  --bg-light: #F5F7FA;
  --bg-white: #FFFFFF;
  --text-dark: #2D3142;
  --text-light: #6B7280;
  --text-white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 4px 20px rgba(26, 31, 60, 0.08);
  --shadow-hover: 0 8px 30px rgba(26, 31, 60, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --max-width: 1280px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ========== Header & Navigation ========== */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 42px; width: auto; }
.site-logo span {
  color: var(--text-white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--text-white);
  background: rgba(255,107,53,0.2);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ========== Search Bar ========== */
.search-bar-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 16px 0;
  border-bottom: 2px solid var(--secondary);
}
.search-bar {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  padding: 0 20px;
}
.search-bar input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--text-white);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}
.search-bar input::placeholder { color: rgba(255,255,255,0.5); }
.search-bar input:focus { border-color: var(--secondary); background: rgba(255,255,255,0.15); }
.search-bar button {
  padding: 12px 28px;
  background: var(--secondary);
  color: var(--text-white);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.search-bar button:hover { background: #e55a2b; }

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-white);
}
.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  line-height: 1.3;
}
.hero-content h1 .highlight { color: var(--secondary); }
.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.8;
}
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.hero-tags span {
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ========== Section Common ========== */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-white); }
.section-dark { background: var(--primary); color: var(--text-white); }
.section-header {
  text-align: center;
  margin-bottom: 45px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-dark .section-header h2 { color: var(--text-white); }
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ========== Video Cards Grid ========== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 60px; height: 60px;
  background: rgba(255,107,53,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.video-play-btn::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}
.video-card:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.video-duration {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}
.video-info { padding: 16px; }
.video-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-light);
  font-size: 0.85rem;
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.video-tags span {
  background: var(--bg-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
}

/* ========== Feature Cards ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border-top: 3px solid transparent;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--secondary);
}
.feature-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--secondary), #FF8F65);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
}
.feature-card:nth-child(even) .feature-icon {
  background: linear-gradient(135deg, var(--accent), #33E8C0);
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}
.feature-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ========== Expert Section ========== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  padding: 30px 20px;
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.expert-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--secondary);
}
.expert-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.expert-card .expert-title { color: var(--secondary); font-size: 0.9rem; margin-bottom: 10px; }
.expert-card p { color: var(--text-light); font-size: 0.88rem; line-height: 1.6; margin-bottom: 16px; }
.expert-btns { display: flex; gap: 10px; justify-content: center; }
.btn-sm {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary { background: var(--secondary); color: white; }
.btn-primary:hover { background: #e55a2b; color: white; }
.btn-outline { background: transparent; color: var(--secondary); border: 1px solid var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: white; }

/* ========== Partners Logo Wall ========== */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
}
.partner-logo {
  width: 140px;
  height: 60px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}
.partner-logo:hover { transform: scale(1.05); box-shadow: var(--shadow-hover); }

/* ========== FAQ Section ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover { color: var(--secondary); }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--secondary);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-question::after { content: '-'; }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  padding: 0 24px 18px;
  max-height: 500px;
}

/* ========== Reviews Section ========== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-hover); }
.review-stars { color: #FFC107; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}
.review-author-info .name { font-weight: 600; font-size: 0.95rem; }
.review-author-info .date { color: var(--text-light); font-size: 0.82rem; }

/* ========== How-To Guide ========== */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.howto-step {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  counter-increment: step;
}
.howto-step::before {
  content: counter(step);
  display: block;
  width: 48px; height: 48px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  line-height: 48px;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.howto-step h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--primary); }
.howto-step p { color: var(--text-light); font-size: 0.9rem; }

/* ========== Contact Section ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-card h4 { font-size: 1.05rem; margin-bottom: 12px; color: var(--primary); }
.contact-card p { color: var(--text-light); font-size: 0.92rem; line-height: 1.7; }
.contact-card img { max-width: 160px; margin: 12px auto; border-radius: var(--radius-sm); }

/* ========== Social Share ========== */
.social-share {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); color: white; opacity: 0.9; }
.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00A1D6; }

/* ========== Footer ========== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 40px;
}
.footer-col h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--secondary);
}
.footer-col p, .footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 2;
  display: block;
}
.footer-col a:hover { color: var(--secondary); }
.footer-col img { max-width: 130px; border-radius: var(--radius-sm); margin-top: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--secondary); }

/* ========== Breadcrumb ========== */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.88rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { margin: 0 8px; }

/* ========== Inner Page Content ========== */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 50px 0;
  text-align: center;
  color: var(--text-white);
}
.page-hero h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; }
.page-hero p { opacity: 0.8; font-size: 1.05rem; }
.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}
.page-content h2 { font-size: 1.6rem; color: var(--primary); margin: 30px 0 16px; }
.page-content h3 { font-size: 1.3rem; color: var(--primary); margin: 24px 0 12px; }
.page-content p { margin-bottom: 16px; line-height: 1.8; }
.page-content img { border-radius: var(--radius); margin: 20px 0; }

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}
.btn-lg { padding: 14px 36px; font-size: 1.1rem; }
.btn-cta { background: var(--secondary); color: white; }
.btn-cta:hover { background: #e55a2b; color: white; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: white; border-color: white; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .header-inner { height: 56px; }
  .site-logo img { height: 32px; }
  .site-logo span { font-size: 1.1rem; }
  .main-nav {
    display: none;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .main-nav.active { display: flex; }
  .main-nav a { padding: 12px 16px; width: 100%; }
  .mobile-toggle { display: block; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }
  .section { padding: 40px 0; }
  .section-header h2 { font-size: 1.5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-bar input { padding: 10px 14px; }
  .search-bar button { padding: 10px 18px; }
  .page-hero h1 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .social-share { gap: 8px; }
  .share-btn { padding: 8px 14px; font-size: 0.82rem; }
  .hero-tags span { font-size: 0.8rem; padding: 4px 12px; }
}

/* ========== Lazy Load Placeholder ========== */
.lazy-img {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ========== Animations ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Video Tag Highlight ========== */
.tag-video {
  background: var(--secondary);
  color: white;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ========== Stats Bar ========== */
.stats-bar {
  background: var(--bg-white);
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ========== MCP Placeholder ========== */
.mcp-widget {
  background: var(--bg-light);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}
