:root {
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --surface: #ffffff;
  --surface2: #fbfbfd;
  --text: #1d1d1f;
  --text2: #86868b;
  --text3: #d2d2d7;
  --accent: #0071e3;
  --accentHover: #0077ed;
  --green: #34c759;
  --greenBg: #e8f5e9;
  --orange: #ff9500;
  --orangeBg: #fff3e0;
  --red: #ff3b30;
  --redBg: #ffebee;
  --border: #d2d2d7;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadowHover: 0 4px 24px rgba(0,0,0,0.08);
  --radius: 18px;
  --radiusL: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #1d1d1f;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }

/* ===== 导航栏 ===== */
.navbar {
  background: rgba(255,255,255,0.72); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px var(--shadow);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav-brand {
  font-size: 1.15rem; font-weight: 800; color: #1d1d1f; letter-spacing: 1px;
  white-space: nowrap;
}
.nav-brand span { color: #0071e3; }
.nav-links { display: flex; gap: 10px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 980px;
  transition: all 0.2s;
  display: inline-block;
}
.nav-links a:hover { background: rgba(0,0,0,0.06); }
.nav-links a.active {
  background: #1A4D2E;
  color: #fff;
}

/* Dropdown menu */
.nav-dropdown:hover .dropdown-menu li a:hover { background: #f5f5f7; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px 12px; border-radius: 8px; background: rgba(0,0,0,0.06); border: 1px solid rgba(255,255,255,0.15); transition: all 0.3s; animation: navFloat 2.5s ease-in-out infinite; }
.nav-toggle:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); }
.nav-toggle:active { background: rgba(255,255,255,0.3); transform: scale(0.95); }
.nav-toggle span { width: 22px; height: 2.5px; background: #1d1d1f; border-radius: 2px; transition: all 0.3s; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0D1F17 0%, #1A4D2E 50%, #2C5F2D 100%);
  color: #ffffff;
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: #ffffff; font-size: 2.2rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 2px; }
.hero .subtitle { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 560px; margin: 0 auto 28px; }
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: 1px solid rgba(201,169,110,0.3);
  backdrop-filter: blur(10px);
  padding: 6px 14px; border-radius: 30px; font-size: 0.78rem;
}

/* ===== 首页布局工具类 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 48px 0; }
.caption {
  text-align: center; font-size: 0.85rem; color: #86868b;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.headline-md {
  text-align: center; font-size: 1.8rem; font-weight: 700; color: #1d1d1f;
}
.text-center { text-align: center; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.divider { height: 1px; background: #e5e5e5; max-width: 1200px; margin: 0 auto; }

/* Grid layouts */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ===== 统计数字卡片 ===== */
.stat-card {
  text-align: center;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e5e5;
}
.stat-number {
  font-size: 2.4rem; font-weight: 700; color: #1A4D2E;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.9rem; color: #86868b;
}

/* ===== 首页布局工具类 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 48px 0; }
.caption {
  text-align: center; font-size: 0.85rem; color: #86868b;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.headline-md {
  text-align: center; font-size: 1.8rem; font-weight: 700; color: #1d1d1f;
}
.text-center { text-align: center; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.divider { height: 1px; background: #e5e5e5; max-width: 1200px; margin: 0 auto; }

/* Grid layouts */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ===== 统计数字卡片 ===== */
.stat-card {
  text-align: center;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e5e5;
}
.stat-number {
  font-size: 2.4rem; font-weight: 700; color: #1A4D2E;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.9rem; color: #86868b;
}

/* ===== 服务卡片 ===== */
.services {
  max-width: 1200px; margin: 0 auto; padding: 48px 16px;
}

/* ===== 通用卡片（首页服务卡片等） ===== */
.card {
  display: flex; flex-direction: column;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.card-img {
  width: 100%; height: 200px; object-fit: cover; display: block;
}
.card-body {
  padding: 18px;
  flex: 1;
  display: flex; flex-direction: column;
}
.card-title {
  font-size: 1.1rem; font-weight: 600; color: #1d1d1f;
  margin-bottom: 8px;
}
.card-text {
  font-size: 0.88rem; color: #86868b; line-height: 1.6;
  flex: 1;
}
.badge {
  display: inline-block;
  font-size: 0.75rem; font-weight: 500;
  padding: 4px 10px; border-radius: 980px;
  margin-bottom: 8px;
}
.badge-green {
  background: #e8f5e9; color: #1A4D2E;
}

@media (max-width: 768px) {
  .card-img { height: 180px; }
  .card-body { padding: 14px; }
  .card-title { font-size: 1rem; }
  .card-text { font-size: 0.82rem; }
}
.section-title {
  text-align: center; font-size: 1.5rem; font-weight: 700; color: #1d1d1f;
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center; color: #86868b; font-size: 0.92rem; margin-bottom: 32px;
}
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service-card {
  border: 1px solid #d2d2d7;
  background: #ffffff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all 0.35s ease;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-4px); box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.service-img { width: 100%; height: 200px; object-fit: cover; }
.service-body { padding: 18px; }
.service-body h3 {
  font-size: 1.05rem; font-weight: 600; color: #1d1d1f; margin-bottom: 8px;
}
.service-body p { font-size: 0.85rem; color: #86868b; line-height: 1.6; }
.service-tag {
  display: inline-block; background: #0071e3; color: #ffffff;
  font-size: 0.72rem; padding: 3px 10px; border-radius: 980px; margin-top: 10px; font-weight: 500;
}

/* ===== 优势页面 ===== */
.page-hero {
  background: linear-gradient(135deg, #0D1F17 0%, #1A4D2E 50%, #2C5F2D 100%);
  color: #ffffff; padding: 64px 20px 48px; text-align: center;
}
.page-hero h1 { font-size: 1.7rem; font-weight: 700; margin-bottom: 10px; color: #ffffff; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 0.95rem; max-width: 640px; margin: 0 auto; }

.advantages {
  max-width: 1000px; margin: 0 auto; padding: 40px 16px;
}
.adv-item {
  display: flex; gap: 24px; margin-bottom: 36px; align-items: flex-start;
}
.adv-item:nth-child(even) { flex-direction: row-reverse; }
.adv-icon {
  flex-shrink: 0; width: 64px; height: 64px; background:#0071e3;
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #ffffff;
}
.adv-content h3 {
  font-size: 1.1rem; color: #1d1d1f; font-weight: 600; margin-bottom: 8px;
}
.adv-content p { color: #86868b; font-size: 0.88rem; line-height: 1.7; }
.adv-content ul {
  list-style: none; margin-top: 10px;
}
.adv-content ul li {
  padding: 4px 0; padding-left: 22px; position: relative;
  color: #86868b; font-size: 0.85rem;
}
.adv-content ul li::before {
  content: '✓'; position: absolute; left: 0; color: #0071e3; font-weight: 700;
}

/* ===== 底部 ===== */
.footer {
  background: #111D2F;
  color: #E8EEF4;
  border-top: 2px solid #C9A96E;
  padding: 36px 16px 24px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto; display: grid;
  grid-template-columns: 1fr 1fr 1fr; gap: 32px;
}
.footer-brand { font-size: 1.1rem; font-weight: 700; color: #C9A96E; margin-bottom: 10px; }
.footer-brand span { color: #C9A96E; }
.footer-desc { font-size: 0.82rem; line-height: 1.7; color: #E8EEF4; }
.footer-section h4 { color: #C9A96E; font-size: 0.95rem; margin-bottom: 12px; font-weight: 600; }
.footer-section p, .footer-section a {
  font-size: 0.82rem; color: #E8EEF4; line-height: 1.9;
  display: block; transition: color 0.3s;
}
.footer-section a:hover { color: #ffffff; }
.footer-qr-wrap { text-align: center; }
.footer-qr {
  display: block; margin: 0 auto;
  width: 130px; border-radius: 10px; background: #FFFFFF; padding: 6px;
}
.footer-bottom {
  text-align: center; padding-top: 24px; margin-top: 24px;
  border-top: 1px solid rgba(201,169,110,0.3);
  font-size: 0.75rem; color: #5C6B5C;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.footer-bottom a {
  color: #5C6B5C; text-decoration: none; transition: color 0.2s;
}
.footer-bottom a:hover {
  color: #1A4D2E;
}

/* ===== 响应式：平板与手机 ===== */


/* === DROPDOWN NAVIGATION FIX === */
.nav-dropdown {
  position: relative;
  padding-bottom: 12px;   /* 向下扩展 hover 区域 */
  margin-bottom: -12px;   /* 负 margin 抵消，不撑高导航栏 */
}
.nav-dropdown > a::after {
  content: " ▾";
  font-size: 10px;
  opacity: 0.7;
}
.dropdown-menu {
  position: absolute;
  top: 100%;              /* 紧贴 .nav-dropdown 底部，无间隙 */
  left: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 8px 0;
  min-width: 170px;
  z-index: 1000;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dropdown-menu li {
  display: block;
  float: none;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0;
  background: none;
  border: none;
}
.dropdown-menu li a:hover {
  background: #f5f5f7;
}

/* === NAV LINKS FIX === */
.nav-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  flex-shrink: 0;
  position: relative;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  text-decoration: none;
  border-radius: 980px;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1.2;
}
.nav-links a:hover {
  background: rgba(0,0,0,0.06);
}
.nav-links a.active {
  background: #1A4D2E;
  color: #fff;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex !important; }
  .nav-container { height: 52px; padding: 0 16px; }
  .nav-brand { font-size: 1.05rem; }
  .nav-links {
    display: none !important; position: fixed; top: 52px; left: 0; right: 0;
    background:rgba(255,255,255,0.95); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); flex-direction: column;
    padding: 12px 20px 20px; gap: 6px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-top: 1px solid rgba(255,255,255,0.08);
    max-height: calc(100vh - 52px);
    overflow-y: auto;
  }
  /* 重置 nav-dropdown 的手机端样式 */
  .nav-links .nav-dropdown {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .nav-links.active { display: flex !important; }
  .nav-links a {
    padding: 10px 16px;
    border-radius: 980px;
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 0.9rem;
    color: #1d1d1f;
    text-align: center;
  }

  .nav-links a:last-child { border-bottom: none; }

  .hero { padding: 80px 16px 40px; }
  .hero h1 { font-size: 1.5rem; letter-spacing: 1px; }
  .hero .subtitle { font-size: 0.88rem; }
  .hero-badge { font-size: 0.72rem; padding: 5px 10px; }

  .services { padding: 36px 12px; }
  .section-title { font-size: 1.3rem; }
  .section-subtitle { font-size: 0.85rem; margin-bottom: 24px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-img { height: 180px; }
  .service-body { padding: 14px; }
  .service-body h3 { font-size: 1rem; }
  .service-body p { font-size: 0.82rem; }

  .page-hero {
  background: linear-gradient(135deg, #0D1F17 0%, #1A4D2E 50%, #2C5F2D 100%);
  color: #ffffff; padding: 64px 20px 48px; text-align: center;
}
  .page-hero h1 { font-size: 1.7rem; font-weight: 700; margin-bottom: 10px; color: #ffffff; }
  .page-hero p { color: rgba(255,255,255,0.85); font-size: 0.95rem; max-width: 640px; margin: 0 auto; }

  .advantages { padding: 28px 12px; }
  .adv-item, .adv-item:nth-child(even) {
    flex-direction: column; align-items: center; text-align: center;
    gap: 14px; margin-bottom: 28px;
  }
  .adv-icon { width: 56px; height: 56px; border-radius: 14px; font-size: 1.4rem; }
  .adv-content h3 { font-size: 1rem; }
  .adv-content p { font-size: 0.82rem; }
  .adv-content ul li {
    font-size: 0.8rem; padding: 3px 0; padding-left: 18px; text-align: left;
  }

  .footer { padding: 28px 12px 20px; }
  .footer-inner {
    grid-template-columns: 1fr; gap: 24px; text-align: center;
  }
  .footer-brand { font-size: 1rem; color: #C9A96E; }
  .footer-desc { font-size: 0.78rem; color: #E8EEF4; }
  .footer-section h4 { font-size: 0.9rem; color: #C9A96E; }
  .footer-section p, .footer-section a {
    font-size: 0.8rem; line-height: 1.8; color: #E8EEF4;
  }
  .footer-qr { width: 120px; }
  .footer-bottom { font-size: 0.72rem; padding-top: 20px; margin-top: 20px; color: #5C6B5C; }
}

/* 大型线下线上三方会 - Hero背景图 */
.hero-large-hybrid {
  background: linear-gradient(135deg, #0D1F17 0%, #1A4D2E 50%, #2C5F2D 100%);
}
/* 中小型线上学术会议 - Hero背景图 */
.hero-small-online {
  background: linear-gradient(135deg, #0D1F17 0%, #1A4D2E 50%, #2C5F2D 100%);
}


/* ======= MOBILE RESPONSIVE ENHANCEMENTS ======= */

@media (max-width: 768px) {
  /* Hero */
  .hero-fullscreen { height: 70vh; min-height: 450px; padding: 80px 16px 40px; }
  .hero-title { font-size: 28px !important; }
  .hero-desc { font-size: 15px !important; }
  .hero-label { font-size: 12px !important; }
  .hero-stats { flex-wrap: wrap; gap: 16px; font-size: 13px; }

  /* Mobile dropdown - relative positioning inside scrollable menu */
  .dropdown-menu {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    margin: 4px 0 0;
    border-radius: 12px;
    z-index: auto;
    list-style: none;
  }
  .dropdown-menu li { display: block; }
  .dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 0;
    background: none;
    border: none;
  }
  .dropdown-menu li a:hover { background: #f5f5f7; }
  .nav-dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Hero */
  .hero-fullscreen { height: 70vh; min-height: 450px; padding: 80px 16px 40px; }
  .hero-title { font-size: 28px !important; }
  .hero-desc { font-size: 15px !important; }
  .hero-label { font-size: 12px !important; }
  .hero-stats { flex-wrap: wrap; gap: 16px; font-size: 13px; }

  /* Filter bar */
  .filter-bar {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
  .filter-bar select,
  .filter-bar input {
    width: 100%;
    min-width: unset;
    font-size: 15px;
    padding: 12px 14px;
  }

  /* Cards */
  .venue-card { margin-bottom: 16px; }
  .venue-img-wrap { height: 180px; }
  .venue-name { font-size: 16px; }
  .venue-hotel { font-size: 13px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 30px; }
  .footer-section h3 { font-size: 14px; }
  .footer-section p { font-size: 13px; }

  /* Buttons */
  .btn-primary, .btn-ghost, .submit-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }

  /* Typography */
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  p { font-size: 14px; line-height: 1.6; }

  /* Containers */
  .container { padding: 0 16px; }
  .card { padding: 24px 16px; border-radius: 14px; }

  /* Hero CTA按钮垂直排列 */
  .hero-cta { flex-direction: column; gap: 10px; align-items: stretch; }
  .hero-cta a { width: 100%; text-align: center; }

  /* 统计卡片优化 */
  .stat-card { padding: 18px 12px; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.8rem; }

  /* Section padding 缩小 */
  .section { padding: 40px 0; }
  .section-sm { padding: 28px 0; }

  /* 工具卡片按钮 */
  .btn-ghost { display: block; width: 100%; text-align: center; }

  /* Tables -> cards */
  .hotel-header { display: none !important; }
  .hotel-row {
    grid-template-columns: 1fr !important;
    gap: 8px;
    padding: 16px;
    background: var(--surface);
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 480px) {
  .hero-fullscreen { height: 60vh; min-height: 380px; }
  .hero-title { font-size: 24px !important; }
  .hero-desc { font-size: 14px !important; }
  .venue-img-wrap { height: 160px; }
  
  /* 统计卡片更紧凑 */
  .stat-card { padding: 14px 10px; border-radius: 12px; }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.75rem; }
  
  /* 页脚备案信息更小 */
  .footer-bottom { font-size: 0.62rem; gap: 4px; }
  
  /* 更紧凑的容器 */
  .container { padding: 0 12px; }
  .section { padding: 32px 0; }
  .section-sm { padding: 24px 0; }
  
  /* 卡片更紧凑 */
  .card { border-radius: 14px; }
  .card-body { padding: 12px; }
  .card-title { font-size: 0.95rem; }
  .card-text { font-size: 0.78rem; }
  
  /* 服务卡片图片更小 */
  .card-img { height: 160px; }
  .service-img { height: 160px; }
  
  /* 工具卡片按钮全宽 */
  .btn-ghost { display: block; width: 100%; text-align: center; }
  
  /* 标题更小 */
  .headline-md { font-size: 1.4rem; }
  .caption { font-size: 0.78rem; }
}

/* ===== 导航按钮浮动动画 ===== */
@keyframes navFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ===== Mobile: hide nav links inside hamburger ===== */
@media (max-width: 768px) {
  .nav-links:not(.active) { display: none !important; }
}
