/* ============================================================
   南京亚东展览服务有限公司官网 - 主样式文件
   设计参考：https://www.jnpfa.com
   风格：高端专业、简洁商务会展风
   ============================================================ */

/* ---- CSS 变量 ---- */
:root {
  --primary: #7b3291;        /* 深紫色 - 主色 */
  --primary-dark: #5a1f6e;   /* 深色主色 */
  --primary-light: #9e4db8;  /* 浅色主色 */
  --accent: #c8952a;         /* 金色 - 强调色 */
  --accent-light: #e8b84b;   /* 浅金色 */
  --secondary: #f0e6f5;      /* 浅紫背景 */
  --dark: #3d1850;           /* 深色背景 */
  --dark2: #2a0f38;          /* 更深背景 */
  --text: #2c3e50;           /* 主文字色 */
  --text-light: #6c7a8d;     /* 次文字色 */
  --text-white: #ffffff;
  --bg-white: #ffffff;
  --bg-light: #f5f7fb;
  --bg-dark: #141c2f;
  --border: #e0e6f0;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 4px 20px rgba(123, 50, 145, 0.1);
  --shadow-lg: 0 10px 40px rgba(123, 50, 145, 0.18);
  --transition: all 0.3s ease;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ---- 重置与基础 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }

.container {
  width: 90%;
  max-width: 1780px;
  margin: 0 auto;
  padding: 0;
}
.section-padding { padding: 80px 0; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--dark); }

/* ============================================================
   顶部信息栏
   ============================================================ */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left {
  display: flex;
  gap: 24px;
}
.top-bar-left span i { margin-right: 6px; color: var(--accent-light); }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-bar-right a { color: rgba(255,255,255,0.7); font-size: 14px; transition: var(--transition); }
.top-bar-right a:hover { color: var(--accent-light); }
.top-bar-right .btn-register,
.top-bar-right .btn-visitor {
  padding: 4px 14px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
}
.top-bar-right .btn-register {
  background: var(--accent);
  color: #fff;
}
.top-bar-right .btn-visitor {
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
}
.top-bar-right .btn-register:hover { background: var(--accent-light); }
.top-bar-right .btn-visitor:hover { border-color: var(--accent-light); color: var(--accent-light); }

/* ============================================================
   导航栏
   ============================================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: var(--transition);
}
#header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(123, 50, 145, 0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-cn {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  white-space: nowrap;
}
.logo-en {
  font-size: 9px;
  color: var(--text-light);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* 主导航 */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > ul > li {
  position: relative;
}
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav > ul > li > a i {
  font-size: 11px;
  transition: transform 0.3s;
}
.main-nav > ul > li:hover > a,
.main-nav > ul > li.active > a {
  color: var(--primary);
  background: var(--secondary);
}
.main-nav > ul > li.active > a {
  color: var(--accent);
}
.main-nav > ul > li:hover > a i {
  transform: rotate(180deg);
}

/* 二级下拉菜单 */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: flex;
  flex-wrap: wrap;
  white-space: nowrap;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--accent);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
  padding: 4px 0;
  gap: 0;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text);
  border-bottom: none;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}
.dropdown li:last-child a { border-right: none; }
.dropdown li a:hover {
  color: var(--primary);
  background: var(--bg-light);
  padding-left: 24px;
}

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   按钮样式
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 149, 42, 0.35);
}
.btn-secondary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
.btn-lg { padding: 14px 36px; font-size: 15px; border-radius: 8px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-full { width: 100%; }

/* ============================================================
   板块头部通用样式
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-header.light .section-title { color: #fff; }
.section-header.light .section-tag { color: var(--accent-light); }
.section-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 0 auto;
  border-radius: 2px;
}
.section-desc {
  color: var(--text-light);
  font-size: 15px;
  margin-top: 16px;
}
.section-header.light .section-desc { color: rgba(255,255,255,0.7); }
.section-more { text-align: center; margin-top: 40px; }

/* ============================================================
   Hero 轮播
   ============================================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* JS 会动态设置精确高度，这里是初始 CSS 默认值 */
  height: calc(100vh - 110px);
  height: calc(100svh - 110px);
  min-height: 260px;
  max-height: 900px;
  background: #1a0a26;
}
.slides-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
  will-change: transform; /* 开启 GPU 加速，手机更流畅 */
}
.slides-wrapper:empty {
  background: linear-gradient(135deg, #2a0f38 0%, #7b3291 50%, #9e4db8 100%);
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #1a0a26;
}
/* 轮播背景图 — 用<img>替代CSS background-image，兼容性更好 */
.slide-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
/* 轮播渐变背景（无图片时的底色） */
.slide-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* 图片加载失败时的兜底渐变 */
.slide-img-fail {
  background: linear-gradient(135deg, #2a0f38 0%, #7b3291 50%, #9e4db8 100%) !important;
}
/* 几何装饰元素 — 有背景图时隐藏 */
.slide::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: rgba(200, 149, 42, 0.06);
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 1;
}
.slide.has-img::before { display: none; }
.slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(13,27,46,0.5) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.slide.has-img::after { display: none; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,46,0.3);
  z-index: 1;
}
.slide-content {
  position: absolute;
  z-index: 2;
  max-width: 680px;
  width: calc(100% - 80px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  color: #fff;
  text-align: center;
  animation: slideIn 0.8s ease;
}
@keyframes slideIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.slide-sub {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
  font-weight: 500;
}
.slide-content h1 {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.slide-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  letter-spacing: 1px;
}
.slide-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* 轮播控件 */
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* ============================================================
   数据统计
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
}
.stat-item {
  text-align: center;
  padding: 30px 20px;
  position: relative;
  color: #fff;
}
.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.stat-item:last-child::after { display: none; }
.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--accent-light);
  display: inline-block;
  line-height: 1;
}
.stat-unit {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  display: inline-block;
  vertical-align: bottom;
  padding-bottom: 6px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
  letter-spacing: 1px;
}

/* ============================================================
   关于我们
   ============================================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 64px;
  gap: 16px;
}
.about-img-placeholder span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.8);
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 30px rgba(200, 149, 42, 0.4);
}
.about-badge strong { font-size: 36px; font-weight: 900; line-height: 1; }
.about-badge span { font-size: 12px; margin-top: 4px; }
.about-text h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.4;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 15px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 32px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.feature-item i { color: var(--accent); font-size: 16px; }

/* ============================================================
   展会信息列表
   ============================================================ */
.expo-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.expo-tab {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.expo-tab.active, .expo-tab:hover {
  color: var(--primary);
  border-bottom-color: var(--accent);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }

.expo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.expo-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.expo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.expo-card.featured {
  border-top: 3px solid var(--accent);
}
.expo-card-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #f5e9fa 0%, #ece0f3 100%);
  /* 不再固定 aspect-ratio，让图片高度 = 图片自然高度，0 留白 */
}
.expo-card-img img {
  width: 100%;
  height: auto;
  display: block;
}
.expo-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,0.3);
  transition: var(--transition);
}
.expo-card:hover .expo-img-placeholder { transform: scale(1.05); }
.expo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 3px;
  font-weight: 600;
}
.expo-card-body { padding: 20px; }
.expo-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
}
.expo-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.expo-meta span {
  font-size: 13px;
  color: var(--text-light);
}
.expo-meta span i { margin-right: 6px; color: var(--accent); }
.expo-card-body p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* 新闻列表式 */
.expo-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.news-item:last-child { border-bottom: none; }
.news-date {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  padding: 8px 6px;
  border-radius: var(--radius);
  line-height: 1;
}
.news-date .day { display: block; font-size: 24px; font-weight: 700; }
.news-date .month { display: block; font-size: 11px; margin-top: 4px; opacity: 0.8; }
.news-content h4 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.news-content h4 a:hover { color: var(--primary); }
.news-content p { font-size: 14px; color: var(--text-light); }

/* 往届列表 */
.previous-list { display: flex; flex-direction: column; gap: 0; }
.prev-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.prev-year {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.3;
  flex-shrink: 0;
  min-width: 70px;
}
.prev-info { flex: 1; }
.prev-info h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.prev-info p { font-size: 13px; color: var(--text-light); }

/* ============================================================
   视频播放模块
   ============================================================ */
.video-section {
  background: #8c3fa4;
}
.video-wrapper {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}
.video-player {
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.video-placeholder {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  background: linear-gradient(135deg, #2a0f38 0%, #7b3291 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.play-btn {
  width: 70px;
  height: 70px;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition);
  box-shadow: 0 0 0 12px rgba(200, 149, 42, 0.2), 0 0 0 24px rgba(200, 149, 42, 0.1);
}
.play-btn:hover {
  transform: scale(1.1);
  background: var(--accent-light);
}
.video-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  z-index: 2;
}
.video-info-overlay h3 { font-size: 18px; margin-bottom: 4px; }
.video-info-overlay p { font-size: 13px; opacity: 0.7; }
.video-list h4 {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.video-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 4px;
}
.video-item:hover, .video-item.active {
  background: rgba(255,255,255,0.07);
}
.video-item.active { border-left: 3px solid var(--accent); }
.vitem-thumb {
  width: 48px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  flex-shrink: 0;
}
.vitem-info p { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.4; }
.vitem-info span { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; display: block; }

/* ============================================================
   服务中心
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}
.exhibitor-card { border-bottom-color: var(--primary); }
.visitor-card { border-bottom-color: var(--accent); }
.download-card { border-bottom-color: #27ae60; }
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.exhibitor-card .service-icon { background: rgba(123, 50, 145, 0.1); color: var(--primary); }
.visitor-card .service-icon { background: rgba(200, 149, 42, 0.1); color: var(--accent); }
.download-card .service-icon { background: rgba(39, 174, 96, 0.1); color: #27ae60; }
.service-card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.service-card > p { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }
.service-card ul { margin-bottom: 24px; }
.service-card ul li { margin-bottom: 8px; }
.service-card ul li a {
  font-size: 14px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  padding: 2px 0;
}
.service-card ul li a i { font-size: 11px; color: var(--border); transition: var(--transition); }
.service-card ul li a:hover { color: var(--primary); padding-left: 4px; }
.service-card ul li a:hover i { color: var(--accent); }

/* ============================================================
   新闻媒体
   ============================================================ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}
.news-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}
.news-tab {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.news-tab.active, .news-tab:hover {
  color: var(--primary);
  border-bottom-color: var(--accent);
}
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-article {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.news-article:hover { background: var(--bg-light); padding-left: 8px; border-radius: var(--radius); }
.news-art-img {
  width: clamp(80px, 6vw, 140px);
  aspect-ratio: 80 / 68;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 28px;
  flex-shrink: 0;
}
.news-art-body { flex: 1; }
.news-art-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.news-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}
.news-tag.expo { background: rgba(123, 50, 145, 0.1); color: var(--primary); }
.news-tag.industry { background: rgba(200, 149, 42, 0.1); color: var(--accent); }
.news-tag.media { background: rgba(39, 174, 96, 0.1); color: #27ae60; }
.news-tag.announce { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }
.news-date { font-size: 12px; color: var(--text-light); }
.news-date i { margin-right: 4px; }
.news-art-body h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; line-height: 1.4; }
.news-art-body h4 a:hover { color: var(--primary); }
.news-art-body p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.news-main > .btn { margin-top: 24px; }

/* 侧边栏 */
.side-block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.side-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.side-title i { color: var(--accent); }
.side-list { display: flex; flex-direction: column; gap: 0; }
.side-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.side-list li:last-child { border-bottom: none; }
.side-list li a { color: var(--text); flex: 1; line-height: 1.4; transition: var(--transition); }
.side-list li a:hover { color: var(--primary); }
.side-list li span { color: var(--text-light); font-size: 11px; white-space: nowrap; flex-shrink: 0; }
.timeline-list { display: flex; flex-direction: column; gap: 0; }
.timeline-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
}
.timeline-list li:last-child { border-bottom: none; }
.tl-date { color: var(--accent); font-weight: 600; white-space: nowrap; }
.tl-event { color: var(--text); }

/* ============================================================
   会议活动
   ============================================================ */
.activity-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
}
.activity-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.act-img-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,0.4);
  gap: 8px;
}
.act-img-placeholder.large { aspect-ratio: 16 / 8; font-size: 52px; }
.act-img-placeholder span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.act-body { padding: 16px; }
.act-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(200, 149, 42, 0.12);
  color: var(--accent);
  border-radius: 3px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 8px;
}
.act-body h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; line-height: 1.4; }
.act-body p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.act-body p i { margin-right: 4px; color: var(--accent); }

/* ============================================================
   合作伙伴
   ============================================================ */
.partners-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 32px;
}
.ptab {
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}
.ptab.active, .ptab:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.partners-logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.partner-logo {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  text-align: center;
}
.partner-logo:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.partner-logo img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.logo-placeholder {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-placeholder span {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  text-align: center;
}
.partner-logo:hover .logo-placeholder span { color: var(--primary); }

/* ============================================================
   CTA 区域
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: rgba(200, 149, 42, 0.08);
  transform: rotate(30deg);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta-content > p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   页脚
   ============================================================ */
#footer {
  background: var(--dark2);
  color: rgba(255,255,255,0.7);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 60px 0 40px;
}
.footer-top > * { min-width: 0; }
.footer-logo .logo-cn { color: #fff; font-size: 16px; }
.footer-logo .logo-en { font-size: 8px; }
.footer-slogan {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 16px 0 24px;
  letter-spacing: 2px;
}
.footer-qrcode { display: flex; gap: 20px; }
.qr-item { text-align: center; }
.qr-placeholder {
  width: 68px;
  height: 68px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
  border: 1px dashed rgba(255,255,255,0.1);
}
.qr-item span { font-size: 11px; color: rgba(255,255,255,0.4); }
.footer-nav-group h5 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-nav-group ul li {
  margin-bottom: 10px;
}
.footer-nav-group ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-nav-group ul li a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-contact-area h5 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  word-break: break-word;
}
.footer-contact-list li i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--accent-light); }

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

/* ============================================================
   响应式设计
   ============================================================ */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-logo-area { grid-column: 1 / -1; }
  .footer-contact-area { grid-column: span 1; }
  .activity-grid { grid-template-columns: 1fr 1fr; }
  .activity-grid .main-card { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .top-bar { display: none; }
  .slide-content h1 { font-size: 34px; }
  /* 顶栏隐藏，只减导航(72px) */
  .hero-slider { height: calc(100vh - 72px); height: calc(100svh - 72px); min-height: 380px; max-height: none; }
  .slide-bg-img { object-fit: cover; object-position: center 25%; }
  .slide-content { padding: 0 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .about-img-placeholder { height: 260px; font-size: 48px; aspect-ratio: auto; }
  .about-badge { bottom: 10px; right: 10px; width: 90px; height: 90px; }
  .about-badge strong { font-size: 28px; }
  .expo-cards { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .partners-logo-wall { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-logo-area { grid-column: 1 / -1; }
  .section-title { font-size: 26px; }
}

@media (max-width: 768px) {
  /* 移动端容器改为 100% 宽度 + 水平内边距，避免 90% 在小屏幕上两侧太窄 */
  .container { width: 100%; padding: 0 16px; }
  /* 移动端导航 */
  .main-nav {
    position: fixed;
    top: 72px; /* 与 header-inner 高度 72px 一致，520px 断点再覆盖为 60px */
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 999;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    box-sizing: border-box;
  }
  .main-nav.open {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-sizing: border-box;
  }
  .main-nav ul {
    width: 100%;
    flex-direction: column;
    padding: 12px 0;
    gap: 0;
    box-sizing: border-box;
  }
  .main-nav > ul > li {
    width: 100%;
    box-sizing: border-box;
  }
  .main-nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
  }
  .main-nav > ul > li > a i { margin-left: 8px; flex-shrink: 0; }
  .dropdown {
    display: none;
    position: static;
    left: 0;
    right: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: var(--bg-light);
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0;
    border-top: none;
  }
  .has-dropdown.open .dropdown,
  .has-dropdown:hover .dropdown {
    display: block;
    transform: none;
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dropdown li { display: block; width: 100%; box-sizing: border-box; }
  .dropdown li a { display: block; width: 100%; padding: 10px 36px; font-size: 14px; text-align: center; border-right: none; border-bottom: 1px solid var(--border); box-sizing: border-box; }
  .dropdown li:last-child a { border-bottom: none; }
  .nav-toggle { display: flex; }

  /* 手机端隐藏 footer 快速导航/展商服务/观众服务三栏 */
  .footer-nav-group { display: none; }

  /* 手机端导航高 72px，轮播高度按图片比例 2.4:1 自适应，避免超宽 banner 被裁剪 */
  .hero-slider { height: auto; aspect-ratio: 4001/1667; min-height: auto; max-height: none; }
  .slide-bg-img { object-fit: cover; object-position: center; }
  .slide-content { width: calc(100% - 40px); padding: 0 20px; }
  .slide-content h1 { font-size: 22px; line-height: 1.3; margin-bottom: 14px; }
  .slide-sub { font-size: 11px; letter-spacing: 2px; margin-bottom: 10px; }
  .slide-desc { display: none; }
  .slide-btns { gap: 10px; }
  .slide-btns .btn { padding: 8px 16px; font-size: 13px; }
  .section-padding { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .video-wrapper { max-width: 100%; }
  .video-list { display: none; }
  .activity-grid { grid-template-columns: 1fr 1fr; }
  .partners-logo-wall { grid-template-columns: repeat(2, 1fr); }
  .cta-content h2 { font-size: 24px; }
  .cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 520px) {
  .header-inner { height: 60px; }
  .logo img { height: 44px !important; max-width: 160px !important; }
  .logo-en { display: none; }
  .logo-cn { font-size: 13px; }
  .logo-icon { width: 36px; height: 36px; font-size: 13px; }
  /* 520px 以下 header 缩小到 60px，导航菜单定位同步修正 */
  .main-nav { top: 60px; }
  /* 手机端导航高 60px (520px 以下)，高度由 CSS aspect-ratio 控制 */
  .hero-slider { height: auto; aspect-ratio: 4001/1667; min-height: auto; max-height: none; }
  .slide-bg-img { object-fit: cover; object-position: center; }
  .slide-content h1 { font-size: 18px; }
  .slide-btns { gap: 8px; }
  .slide-btns .btn { padding: 7px 14px; font-size: 12px; }
  .section-padding { padding: 32px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 36px; }
  .about-image { display: block; }
  .about-img-placeholder { height: 200px; font-size: 36px; gap: 8px; border-radius: 10px; }
  .about-img-placeholder span { font-size: 14px; }
  .about-badge { bottom: 8px; right: 8px; width: 80px; height: 80px; padding: 8px 12px; }
  .about-badge strong { font-size: 26px; }
  .about-badge span { font-size: 11px; }
  .activity-grid { grid-template-columns: 1fr; }
  .prev-item { flex-direction: column; gap: 8px; }
  .partners-logo-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .slider-arrow { display: none; }
}

/* ============================================================
   页面滚动回到顶部按钮
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  border: none;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-2px); }
