/* ============================================
   校花 - 青春影视传媒互动社区
   原创CSS样式 | fnjsbxsb.cn
   ============================================ */

/* CSS Variables */
:root {
  --primary: #E8456B;
  --primary-dark: #C7304F;
  --secondary: #6C3AED;
  --secondary-dark: #5428C8;
  --accent: #F59E0B;
  --bg-light: #FFF5F7;
  --bg-dark: #1A0A2E;
  --bg-card: #FFFFFF;
  --text-dark: #2D1B4E;
  --text-light: #8B7BA5;
  --text-white: #F8F0FF;
  --border: #F0E4F4;
  --shadow: rgba(108, 58, 237, 0.08);
  --gradient-primary: linear-gradient(135deg, #E8456B 0%, #6C3AED 100%);
  --gradient-warm: linear-gradient(135deg, #F59E0B 0%, #E8456B 100%);
  --gradient-cool: linear-gradient(135deg, #6C3AED 0%, #3B82F6 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ============ Header ============ */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 42px; width: auto; }
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
  background: rgba(232, 69, 107, 0.06);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Search Bar */
.search-bar {
  background: linear-gradient(135deg, rgba(232, 69, 107, 0.05) 0%, rgba(108, 58, 237, 0.05) 100%);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.search-bar .container { display: flex; justify-content: center; }
.search-wrapper {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 4px 4px 4px 20px;
  width: 100%;
  max-width: 560px;
  transition: var(--transition);
}
.search-wrapper:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(232, 69, 107, 0.1); }
.search-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: transparent;
}
.search-wrapper input::placeholder { color: var(--text-light); }
.search-btn {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.search-btn:hover { transform: scale(1.02); box-shadow: 0 4px 12px rgba(232, 69, 107, 0.3); }

/* Breadcrumb */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ============ Hero Banner ============ */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 10, 46, 0.3) 0%, rgba(26, 10, 46, 0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}
.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-content h1 em {
  font-style: normal;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 69, 107, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232, 69, 107, 0.4); color: #fff; }
.btn-outline {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* ============ Section Common ============ */
.section { padding: 70px 0; }
.section-dark { background: var(--bg-dark); color: var(--text-white); }
.section-alt { background: #fff; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.section-header p { color: var(--text-light); font-size: 1rem; margin-top: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-dark .section-header p { color: rgba(248, 240, 255, 0.7); }

/* ============ Video Card Grid ============ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.video-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: var(--transition);
  position: relative;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(108, 58, 237, 0.15); }
.video-thumb {
  position: relative;
  padding-top: 133%;
  overflow: hidden;
  background: #f0e4f4;
}
.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 10, 46, 0.4);
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .play-overlay { opacity: 1; }
.play-btn-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.play-btn-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 4px;
}
.video-card:hover .play-btn-icon { transform: scale(1.1); }
.video-stats {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
  color: #fff;
}
.video-stats span {
  background: rgba(0,0,0,0.5);
  padding: 2px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.video-info { padding: 14px; }
.video-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-info .meta {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.video-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(232, 69, 107, 0.08);
  color: var(--primary);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ============ Feature Grid ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--shadow); border-color: var(--primary); }
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
}
.feature-icon.pink { background: rgba(232, 69, 107, 0.1); }
.feature-icon.purple { background: rgba(108, 58, 237, 0.1); }
.feature-icon.orange { background: rgba(245, 158, 11, 0.1); }
.feature-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

/* ============ Expert Section ============ */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.expert-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--shadow); }
.expert-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--border);
}
.expert-card h4 { font-size: 1rem; margin-bottom: 4px; }
.expert-card .role { font-size: 0.85rem; color: var(--primary); font-weight: 500; margin-bottom: 8px; }
.expert-card .desc { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; margin-bottom: 14px; }
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 20px;
  font-weight: 500;
}

/* ============ Partner Logos ============ */
.partner-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
.partner-logo {
  width: 140px;
  height: 60px;
  background: var(--bg-card);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
}
.partner-logo:hover { border-color: var(--primary); color: var(--primary); }

/* ============ How-To Section ============ */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.howto-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}
.howto-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.howto-step h4 { font-size: 1rem; margin-bottom: 8px; }
.howto-step p { font-size: 0.85rem; color: var(--text-light); }

/* ============ FAQ ============ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary); }
.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
}
.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;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 18px; }

/* ============ Reviews ============ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.review-card:hover { box-shadow: 0 8px 24px var(--shadow); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-date { font-size: 0.8rem; color: var(--text-light); }
.review-stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ============ Contact Section ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.contact-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.contact-info-card h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--primary); }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 0.9rem; }
.contact-item .label { font-weight: 600; min-width: 80px; color: var(--text-dark); }
.contact-item .value { color: var(--text-light); }
.qr-codes { display: flex; gap: 24px; justify-content: center; margin-top: 20px; }
.qr-item { text-align: center; }
.qr-item img { width: 140px; height: 140px; border-radius: 10px; margin-bottom: 8px; }
.qr-item p { font-size: 0.82rem; color: var(--text-light); }

/* ============ Share Buttons ============ */
.share-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 20px 0;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00A1D6; }

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text { font-size: 1.3rem; margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 0.85rem; color: rgba(248, 240, 255, 0.6); line-height: 1.7; margin-bottom: 16px; }
.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(248, 240, 255, 0.6);
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(248, 240, 255, 0.4);
}
.footer-qr { display: flex; gap: 20px; margin-top: 16px; }
.footer-qr img { width: 100px; height: 100px; border-radius: 8px; }

/* ============ Inner Page Styles ============ */
.page-hero {
  background: var(--gradient-primary);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-hero p { opacity: 0.85; font-size: 1rem; }

.content-section { padding: 50px 0; }
.content-section h2 { font-size: 1.6rem; margin-bottom: 20px; color: var(--text-dark); }
.content-section h3 { font-size: 1.2rem; margin-bottom: 14px; color: var(--secondary); }
.content-section p { margin-bottom: 16px; color: var(--text-light); line-height: 1.8; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag {
  padding: 4px 12px;
  background: rgba(232, 69, 107, 0.08);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ============ Community Cards ============ */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.community-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.community-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--shadow); }
.community-card-img {
  height: 180px;
  overflow: hidden;
}
.community-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.community-card:hover .community-card-img img { transform: scale(1.05); }
.community-card-body { padding: 20px; }
.community-card-body h4 { font-size: 1rem; margin-bottom: 8px; }
.community-card-body p { font-size: 0.85rem; color: var(--text-light); }

/* ============ Tool Cards ============ */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tool-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.tool-card:hover { border-color: var(--secondary); box-shadow: 0 8px 24px rgba(108, 58, 237, 0.1); }
.tool-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.tool-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.tool-card p { font-size: 0.85rem; color: var(--text-light); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; width: 100%; }

  .hero { height: 400px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.95rem; }

  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .share-bar { flex-wrap: wrap; }
  .hero { height: 340px; }
  .hero-content h1 { font-size: 1.5rem; }
}

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

/* Lazy Load Placeholder */
img[data-src] { background: linear-gradient(135deg, #f0e4f4 0%, #fff5f7 100%); min-height: 100px; }

/* ============ MCP Service Frontend ============ */
.mcp-widget {
  background: linear-gradient(135deg, rgba(108, 58, 237, 0.05) 0%, rgba(232, 69, 107, 0.05) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
  text-align: center;
}
.mcp-widget h4 { font-size: 1rem; margin-bottom: 8px; }
.mcp-widget p { font-size: 0.85rem; color: var(--text-light); }
.mcp-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 10px;
}
.mcp-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============ Expert Credentials ============ */
.expert-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 10px;
}
.credential {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(108, 58, 237, 0.08);
  color: var(--secondary);
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 500;
}

/* ============ Hero Stats ============ */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.stat-item {
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 4px;
}
.stat-item span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============ Latest News / Timeline ============ */
.news-list {
  max-width: 800px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.news-item:hover {
  padding-left: 8px;
}
.news-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  padding: 8px;
  background: rgba(232, 69, 107, 0.06);
  border-radius: 8px;
}
.news-date strong {
  display: block;
  font-size: 1.3rem;
  color: var(--primary);
  line-height: 1;
}
.news-date span {
  font-size: 0.72rem;
  color: var(--text-light);
}
.news-body h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.news-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============ Author Byline (EEAT) ============ */
.author-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.author-byline img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.author-byline strong {
  color: var(--text-dark);
}

/* ============ Feature Card Meta ============ */
.feature-card .meta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============ Back to Top ============ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 12px rgba(232, 69, 107, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 69, 107, 0.4);
}
