/* ============================================
   行情软件 - 原创样式表
   品牌：行情软件 | 域名：drugtool.cn
   定位：影视传媒公司 + 视频社区
   配色：深海蓝黑 + 珊瑚红 + 紫罗兰
   ============================================ */

/* CSS Variables */
:root {
  --primary-dark: #1A1A2E;
  --secondary-dark: #16213E;
  --accent-coral: #E94560;
  --ocean-blue: #0F3460;
  --violet: #533483;
  --bg-light: #F8F9FA;
  --text-dark: #2D2D2D;
  --text-light: #FFFFFF;
  --text-muted: #6C757D;
  --border-light: #E0E0E0;
  --gradient-main: linear-gradient(135deg, #E94560, #533483);
  --gradient-dark: linear-gradient(135deg, #1A1A2E, #0F3460);
  --gradient-hero: linear-gradient(180deg, rgba(26,26,46,0.85) 0%, rgba(15,52,96,0.7) 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

/* 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, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--accent-coral); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--violet); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--primary-dark); }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ============ HEADER & NAV ============ */
.site-header {
  background: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
  height: 70px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 42px; width: auto; }
.site-logo span {
  color: var(--text-light);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 22px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--accent-coral);
  background: rgba(233,69,96,0.08);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent-coral);
  transition: var(--transition);
  border-radius: 2px 2px 0 0;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 60%; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 8px;
}

/* ============ SEARCH BAR ============ */
.search-bar-wrapper {
  background: var(--secondary-dark);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.search-bar {
  display: flex;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.search-bar input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid rgba(233,69,96,0.3);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: rgba(255,255,255,0.06);
  color: var(--text-light);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.search-bar input::placeholder { color: rgba(255,255,255,0.4); }
.search-bar input:focus { border-color: var(--accent-coral); background: rgba(255,255,255,0.1); }
.search-bar button {
  padding: 12px 28px;
  background: var(--gradient-main);
  color: var(--text-light);
  border: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.search-bar button:hover { opacity: 0.9; transform: scale(1.02); }

/* ============ HERO SECTION ============ */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
  max-width: 800px;
}
.hero-content h1 {
  font-size: 2.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-content h1 span { color: var(--accent-coral); }
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.hero-tags span {
  background: rgba(233,69,96,0.15);
  color: var(--accent-coral);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(233,69,96,0.3);
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-main);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(233,69,96,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,69,96,0.4); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--accent-coral); color: var(--accent-coral); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* ============ SECTION COMMON ============ */
.section { padding: 70px 0; }
.section-dark { background: var(--primary-dark); color: var(--text-light); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text-light); }
.section-alt { background: #FFFFFF; }
.section-gradient { background: var(--gradient-dark); color: var(--text-light); }
.section-gradient h2, .section-gradient h3 { color: var(--text-light); }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-main);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-dark .section-header p { color: rgba(255,255,255,0.65); }

/* ============ VIDEO CARDS GRID ============ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.video-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.video-card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-card-thumb img { transform: scale(1.05); }

/* Play button overlay */
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,26,46,0.4);
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.video-play-btn .play-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(233,69,96,0.5);
  transition: var(--transition);
}
.video-play-btn .play-icon::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: 4px;
}
.video-card:hover .play-icon { transform: scale(1.1); }

.video-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}
.video-card-body { padding: 16px; }
.video-card-body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.video-card-meta span { display: flex; align-items: center; gap: 4px; }
.video-card-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.video-card-tags span {
  background: rgba(233,69,96,0.08);
  color: var(--accent-coral);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
}
.section-dark .video-card { background: var(--secondary-dark); }
.section-dark .video-card-body h3 { color: var(--text-light); }

/* ============ CATEGORY CARDS ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.category-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-coral);
}
.category-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--gradient-main);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
}
.category-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.category-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ============ EXPERT CARDS ============ */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.expert-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  padding: 30px 24px;
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.expert-card-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--accent-coral);
}
.expert-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h4 { font-size: 1.15rem; margin-bottom: 4px; }
.expert-card .expert-title { color: var(--accent-coral); font-size: 0.9rem; margin-bottom: 12px; }
.expert-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; }
.expert-card-links { display: flex; gap: 10px; justify-content: center; }
.section-dark .expert-card { background: var(--secondary-dark); }
.section-dark .expert-card h4 { color: var(--text-light); }

/* ============ REVIEWS ============ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--accent-coral);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-stars { color: #FFB800; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 0.92rem; color: var(--text-dark); margin-bottom: 16px; line-height: 1.7; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.review-author-info .name { font-weight: 600; font-size: 0.9rem; }
.review-author-info .date { color: var(--text-muted); font-size: 0.8rem; }

/* ============ FAQ ============ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}
.faq-question:hover { color: var(--accent-coral); }
.faq-question .faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ============ PARTNER LOGOS ============ */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
}
.partner-logos .partner-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 20px 30px;
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
}
.partner-logos .partner-item:hover {
  border-color: var(--accent-coral);
  color: var(--accent-coral);
  background: rgba(233,69,96,0.08);
}

/* ============ HOW-TO GUIDE ============ */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.howto-step {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  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-main);
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.howto-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.howto-step p { color: var(--text-muted); font-size: 0.88rem; }

/* ============ CONTACT INFO ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--accent-coral); }
.contact-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--accent-coral);
}
.contact-card h4 { color: var(--text-light); margin-bottom: 8px; font-size: 1.05rem; }
.contact-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ============ SOCIAL SHARE ============ */
.social-share {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.social-share a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  transition: var(--transition);
}
.social-share a:hover { transform: translateY(-2px); color: #fff; }
.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00A1D6; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  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.08);
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .footer-logo img { height: 36px; }
.footer-brand .footer-logo span { color: #fff; font-size: 1.2rem; font-weight: 700; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }
.footer-qrcodes { display: flex; gap: 16px; }
.footer-qrcodes .qr-item { text-align: center; }
.footer-qrcodes .qr-item img { width: 100px; height: 100px; border-radius: var(--radius-sm); margin-bottom: 6px; }
.footer-qrcodes .qr-item span { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-col h4 {
  color: #fff;
  font-size: 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(--accent-coral);
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent-coral); padding-left: 6px; }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--accent-coral); }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  background: var(--secondary-dark);
  padding: 14px 0;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb-inner a { color: rgba(255,255,255,0.7); }
.breadcrumb-inner a:hover { color: var(--accent-coral); }
.breadcrumb-inner .sep { color: rgba(255,255,255,0.3); }
.breadcrumb-inner .current { color: var(--accent-coral); }

/* ============ STATS BAR ============ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
.section-dark .stat-label { color: rgba(255,255,255,0.6); }

/* ============ INNER PAGE CONTENT ============ */
.page-content { padding: 50px 0; }
.page-content h2 { font-size: 1.6rem; margin-bottom: 16px; margin-top: 30px; }
.page-content h3 { font-size: 1.3rem; margin-bottom: 12px; margin-top: 24px; }
.page-content p { margin-bottom: 16px; line-height: 1.8; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 16px; }
.page-content li { margin-bottom: 8px; list-style: disc; }

/* ============ SIDEBAR TOPICS ============ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}
.sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-coral);
}
.sidebar-widget .topic-list a {
  display: block;
  padding: 8px 12px;
  margin-bottom: 4px;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: 0.88rem;
  transition: var(--transition);
}
.sidebar-widget .topic-list a:hover {
  background: rgba(233,69,96,0.06);
  color: var(--accent-coral);
}

/* ============ GALLERY GRID ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .main-nav.active { display: flex; }
  .main-nav a { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.03); }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-section { min-height: 400px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 40px 0; }
  .section-header h2 { font-size: 1.5rem; }
  .container { padding: 0 16px; }
  .search-bar { margin: 0 16px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.5rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .stat-number { font-size: 1.6rem; }
  .partner-logos { gap: 16px; }
  .partner-logos .partner-item { padding: 12px 18px; font-size: 0.9rem; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }

/* 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; }
}

/* MCP Service Frontend Placeholder */
.mcp-widget {
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

/* Hot Topics Tags */
.hot-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.hot-topics a {
  background: rgba(233,69,96,0.06);
  color: var(--text-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.hot-topics a:hover {
  background: var(--accent-coral);
  color: #fff;
  border-color: var(--accent-coral);
}

/* AI Feature Cards */
.ai-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.ai-feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}
.ai-feature-card:hover {
  border-color: var(--accent-coral);
  background: rgba(233,69,96,0.05);
  transform: translateY(-4px);
}
.ai-feature-card h4 { color: var(--text-light); margin-bottom: 10px; font-size: 1.1rem; }
.ai-feature-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* Live Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FF0000;
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}
.live-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
