* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #ffffff;
  color: #1e2b3c;
  line-height: 1.5;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a, button {
  transition: all 0.25s ease-in-out;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- 头部导航 (滚动变色 + 手机优化) ----- */
.site-header {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  background-color: transparent;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 头部默认状态文字颜色（白色） */
.site-header {
  color: #fff;
}
.site-header .nav-links a {
  color: #fff;
}
.site-header .btn-outline {
  border-color: #fff;
  color: #fff;
}
.site-header .logo-area h1 {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
.site-header .logo-area .slogan {
  color: #fff;
}
.site-header .current-city {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
/* 滚动后恢复原有颜色 - 统一使用 #1966ff */
.site-header.scrolled .nav-links a {
  color: #333;
}
.site-header.scrolled .btn-outline {
  border-color: #1966ff;
  color: #1966ff;
}
.site-header.scrolled .logo-area h1 {
  background: linear-gradient(145deg, #0a2b4b, #1b4a7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.site-header.scrolled .logo-area .slogan {
  color: #333;
}
.site-header.scrolled .current-city {
  /* background: #f0f5fc; */
  color: #333;
  border:1px solid #333;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-area h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
.logo-area .slogan {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.city-selector {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.current-city {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  /* font-weight: 600; */
  padding: 4px 14px;
  border-radius: 40px;
  transition: all 0.2s;
}
.current-city i {
  font-size: 0.8rem;
  transition: transform 0.2s;
}
.city-selector.active .current-city i {
  transform: rotate(180deg);
}

.city-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -200px;
  width: 450px;
  background: rgba(0, 0, 0, 0.86);
  border-radius: 10px;
  box-shadow: 0 20px 35px -8px rgba(0,0,0,0.2);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s;
  z-index: 100;
  /* border: 1px solid #eef3f8; */
}
.city-selector.active .city-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.city-dropdown h4 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 600;
}

.city-grid {
  display: flex;
  /* grid-template-columns: repeat(4, 1fr); */
  gap: 8px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.city-grid li {
  list-style: none;
  font-size: 0.9rem;
  padding: 6px 16px;
  text-align: left;
  /* background: #f8fafd; */
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.city-grid li:hover {
  /* background: #1966ff; */
   /* 统一蓝色 */
  color: white;
  background-color: rgba(255, 255, 255, 0.14);
}

.all-city {
  text-align: left;
  margin-top: 5px;
}
.all-city a {
  color: #fff;
  /* font-weight: 600; */
  text-decoration: none;
  font-size: 0.9rem;
}
.all-city a:hover {
  text-decoration: underline;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 500;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  font-size: 1rem;
}
.nav-links a:hover {
  color: #1966ff; /* 统一蓝色 */
}

.btn-outline {
  /* border: 1px solid;
  border-radius: 40px;
  padding: 8px 18px;
  background: transparent; */
  font-weight: 600;
  cursor: default;
  font-size: 0.95rem;
  white-space: nowrap;
}
.btn-outline i {
  margin-right: 5px;
}

/* 移动端头部初始静态，滚动后固定 */
@media (max-width: 768px) {
  .site-header {
    position: static;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  .site-header.fixed-mobile {
    position: fixed;
    top: 0;
    width: 100%;
    animation: slideDown 0.3s;
  }
  @keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
  }
  .site-header .nav-links a {
    color: #2c3e50;
  }
  .site-header .btn-outline {
    border-color: #1966ff;
    color: #1966ff;
  }
  .site-header .logo-area h1 {
    background: linear-gradient(145deg, #0a2b4b, #1b4a7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .site-header .logo-area .slogan {
    color: #333;
  }
  .site-header .current-city {
    /* background: #f0f5fc; */
    color: #333;
    border-color:#333;
  }
  .site-header.scrolled {
    background-color: #fff;
    backdrop-filter: none;
  }

  .header-row {
    flex-direction: column;
    align-items: stretch;
  }
  .header-left, .header-right {
    justify-content: center;
  }
  .nav-links {
    justify-content: center;
  }

  /* 小屏隐藏地图和头图文字层 */
  #chinaMap, .hero-overlay {
    display: none;
  }
}
@media (max-width: 600px) {
  .logo-area .slogan {
    display: none;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 0.9rem;
  }
  .btn-outline {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {
  .logo-area h1 {
    font-size: 1.5rem;
  }
  .current-city {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
  .header-row {
    padding: 8px 0;
  }
  .nav-links {
    gap: 8px;
  }
  .city-dropdown {
    width: 280px;
    right: auto;
    left: 0;
  }
}
@media (max-width: 360px) {
  .nav-links a {
    font-size: 0.8rem;
  }
  .btn-outline {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
}

/* ===== 头图区域 ===== */
.banner-section {
  position: relative;
  width: 100%;
  margin: 0;
}
.banner-section img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.hero-overlay {
  position: absolute;
  top: 120px;
  left: 40px;
  z-index: 10;
  text-align: left;
  max-width: 800px;
  padding: 20px;
  border-radius: 24px;
}

.hero-title {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 30px;
  background: #0f5fa3;
  color: white;
  background-image: linear-gradient(0deg, #054495 0%, #36a3f2 100%), linear-gradient(#172b67, #172b67);
  background-blend-mode: normal, normal;
  box-shadow: inset 0px 2px 6px 0px rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 5px 30px 8px;
}
.hero-tags span {
  position: relative;
}
.hero-tags span:not(:last-child)::after {
  content: "|";
  margin-left: 20px;
  color: #9bb1c9;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.stat-item {
  width: 200px;
  height: 170px; 
  padding:60px 10px 10px 0;
  text-align: center;
  margin-top: -40px;
  background-image: url('/static/images/tgmain/index/stat-bg.webp');
}
.stat-item .stat-number {
  font-size: 2.4rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  display: inline-block;
}
.stat-unit {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-left: 5px;
  display: inline-block;
}
.stat-label {
  font-size: 1.2rem;
  color: #fff;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .hero-overlay {
    top: 20px;
    left: 20px;
    right: 20px;
    padding: 10px;
  }
  .hero-stats {
    gap: 30px;
    flex-direction: column;
  }
  .hero-tags span:not(:last-child)::after {
    display: none;
  }
  .hero-tags {
    flex-direction: column;
    gap: 10px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}

/* ===== 四大优势上方标题 ===== */
.features-header {
  text-align: center;
  margin: 60px auto 30px;
  max-width: 1280px;
  padding: 0 24px;
}
.features-header h2,.saas-header h2,.network-header h2,.media-title h2{
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
}
.features-header h2>i,.saas-header h2>i,.network-header h2>i,.media-title h2>i{position: relative;}
.features-header h2>i::before,.features-header h2>i::after,.saas-header h2>i::before,.saas-header h2>i::after,.network-header h2>i::before,.network-header h2>i::after,.media-title h2>i::before,.media-title h2>i::after{
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #fec516;  
  position: absolute;
   top: 0px;left: 0px;
   z-index: 0;
}
.features-header h2>i::before,.saas-header h2>i::before,.network-header h2>i::before,.media-title h2>i::before {
  background: #1966ff;  
  top: -4px;left:-4px;
  z-index: 1;
}
.network-header h2>i::before {
  background-color: #fff;
}
.features-header .subtitle {
  font-size: 1.3rem;
  color: #333;
  font-weight: 400;
}

/* ===== 四大优势区域 ===== */
.features-alternate {
  margin: 0 auto 80px;
  max-width: 1280px;
  padding: 0 24px;
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
}
.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}
.feature-text {
  flex: 1;
}
.feature-image {
  flex: 1;
  border-radius: 30px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ba0bc;
  font-size: 1.2rem;
  font-weight: 500;
}
.feature-image i {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #7f9bc0;
}
.feature-num {
  font-size: 2.2rem;
  font-weight: 400;
  color: #1966ff;
  margin-right: 12px;
}
.feature-num.yellow-num {
  color: #FCC415;
}
.feature-text h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: #333;
  display: flex;
  align-items: center;
}
.feature-text p {
  color: #3b4d62;
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 500px;
  line-height: 1.9;
}
.stat-badge {
  display: inline-block;
  background: rgba(25,102,255,0.1); /* 统一蓝色 */
  color: #1966ff;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 1rem;
}
.stat-badge i {
  margin-right: 6px;
}

@media (max-width: 768px) {
  .feature-row {
    flex-direction: column !important;
    gap: 20px;
  }
  .feature-text, .feature-image {
    width: 100%;
  }
}

/* ===== SaaS 全新设计 ===== */
.saas-new {
  color: #333;
  padding: 50px 0;
  margin-top: 40px;
  background-image: url('/static/images/tgmain/index/saaas-bg.webp');
}
.saas-new .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.saas-header {
  text-align: center;
  margin-bottom: 30px;
}
.saas-header h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.saas-header .subtitle {
  font-size: 1.3rem;
  color: #333;
  font-weight: 400;
}

.saas-content {
  display: flex;
  gap: 40px;
  align-items:center;
}
.saas-left {
  flex: 1;
  font-size: 1.05rem;
  line-height:2.4;
  color: #333;
}
.saas-left p {
  margin-bottom: 20px;
  color: #333;
  gap: 8px;
}
.inline-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-right: 8px;
}
.inline-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: middle;
}
.saas-left p b {
  font-weight: 600;
}
.saas-right {
  flex:1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature-card {
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 16px 20px 20px;
  border: 1px solid rgba(255,255,255,0.7);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,1);
  box-shadow: 1px 4px 16px 0px 
		rgba(91, 134, 192, 0.3);
}
.feature-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}
.feature-card p {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1024px) {
  .saas-content {
    flex-direction: column;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 全国服务网络 ===== */
.service-network{
 background-image: url('/static/images/tgmain/index/network-bg.webp');
 background-size: cover;
}
.service-network-echarts {
  padding: 40px;
  margin-bottom: 40px;
  overflow: hidden;
}

.network-header {
  margin-bottom: 30px;
  text-align: center;
}
.network-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  gap: 40px;
  margin-bottom: 8px;
}
.network-header .network-subtitle {
  font-size: 1.2rem;
  color: #fff;
}

.network-row {
  display: flex;
  gap: 30px;
  align-items: center;
}
.network-left {
  flex: 1.2;
}
.network-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.map-echarts-container {
  width: 100%;
  height: 450px;
}

.stat-block-large {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap; /* 允许换行 */
}
.stat-block-large .stat-number {
  font-size: clamp(2rem, 5vw, 3.5rem); /* 响应式字号 */
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-left: 25px;
}
.stat-block-large .stat-unit {
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 700;
  color: #fff;
  margin-left: 5px;
  align-self: flex-start;
  margin-top: 10px;
  margin-left: 15px;
}
.stat-block-large .stat-label {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: #fff;
  white-space: nowrap; /* 保持标签不换行 */
}
.stat-block-large small {
  font-size: 0.9rem;
  color: #fff;
}

@media (max-width: 1024px) {
  .network-row {
    flex-direction: column;
  }
  .map-echarts-container {
    height: 350px;
  }
}

/* ===== 全媒体投放效果 ===== */
.media-showcase {
  margin: 80px auto;
  max-width: 1280px;
  padding: 0 24px;
}
.media-title {
  text-align: center;
  margin-bottom: 30px;
}
.media-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
}
.media-title .subtitle {
  font-size: 1.2rem;
  color: #333;
  margin-top: 8px;
}

.media-row {
  display: flex;
  gap: 40px;
  align-items: center;
}
.media-left {
  flex: 1;
  display: flex;
  justify-content: center;
}
.media-left .media-effect{
  height: 580px;
  width: 290px;
  position: relative;
  overflow: hidden;
}
.media-left .media-effect-overlay{
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -145px;
   height: 580px;
  width: 290px;
  z-index: 1;
}
.media-left .media-effect img {
  width: 244px;
    height: 490px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 24px;
    top: 40px;
     transition: transform 0.3s ease;
  will-change: transform;
}
.media-right {
  flex: 1;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.platform-item {
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;  
  padding: 4px;
  border: 1px solid #e2e2e2;
}
.platform-item.active { 
	box-shadow: 1px 4px 16px 0px rgba(32, 32, 32, 0.4);
	background-image: linear-gradient(180deg, #1966ff 0%, #b721d2 100%);
  border-radius: 16px;
}
.platform-item .platform-bg{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;  
  border-radius: 16px;
  gap:5px;
}
.platform-item.active .platform-bg{
   background-color: #fff;
}
.platform-item.grayscale {
  filter: grayscale(100%);
  opacity: 0.6;
}
.platform-item i {
  font-size: 2rem;
}
.platform-item span {
  display: block;
  font-weight: 500;
  color: #1e2b3c;
}
/* 平台图标图片自适应 */
.platform-item .platform-bg img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 鼠标划过放大效果 - 使用 !important 确保优先级 */
.platform-item:hover {
  filter: none !important;
  transform: scale(1.08) !important;
  z-index: 10 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* 同时确保激活和灰度状态下的 hover 也生效 */
.platform-item.active:hover,
.platform-item.grayscale:hover {
  filter: none !important;
  transform: scale(1.08) !important;
  z-index: 10 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

@media (max-width: 768px) {
  .media-row {
    flex-direction: column;
  }
  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .platform-item .platform-bg img {
    max-width: 100%;
    height: auto;
  }
}

/* ===== 车展动态 + 咨询块 ===== */
.news-section {
  background-image: url('/static/images/tgmain/index/news-bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 0 0;
  height: 430px;
}

.news-row {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.news-panel {
  flex: 1;
  padding: 32px 0;
  color: #fff;
}

.news-label {
  font-size: 1.8rem;
  letter-spacing: 2px;
  opacity: 0.9;
}

.news-panel h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}

.news-list {
  list-style: none;
}
.news-item {
  padding: 8px 0;
  display: flex;
  gap: 15px;
  align-items: center;
  cursor: pointer;
}
.news-item .icon{
  position: relative;
  transform: rotate(-45deg);
  margin-right: 15px;
  flex-shrink: 0;
}
.news-item .icon::before,.news-item .icon::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: #fff;
  z-index: 1;
  position: absolute;
}
.news-item .icon::after{
  background-color: #fec516;
  top: -3px;  
  left: -3px;
}
.news-title {
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.news-item:hover {
  padding-left: 18px;
  transform: translateX(4px);
}

/* 右侧咨询块 */
.consult-panel {
  flex: 0.65;
  padding: 40px 28px;
  color: #333;
  border: 1px solid rgba(255,255,255,0.2);
  background-color: #ffffff;
	box-shadow: 1px 4px 12px 0px rgba(0, 41, 102, 0.3);
	border-radius: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: -60px; /* 负边距用于重叠效果 */
}

.consult-panel h4 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.consult-subtitle {
  font-size: 0.9rem;
  color: #999;
}

.consult-features {
  list-style: none;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 44px;
}

.consult-features li {
  margin-bottom: 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.consult-features i {
  color: #1966ff;
  font-size: 1.1rem;
}

.consult-phone {
  margin-bottom: 25px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.phone-label {
  font-size: 0.9rem;
  opacity: 0.7;
}

.phone-number {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1966ff;
}
.consult-header{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.consult-btn {
  display: inline-block;
  background: #1966ff;
  color: #fff;
  padding: 14px 50px;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
  font-size: 1.1rem;
  margin: 0 auto;
  background-image: linear-gradient(90deg, #1966ff 0%, #0fadff 100%), linear-gradient(#a240d1, #a240d1);
	background-blend-mode: normal, normal;
	box-shadow: 1px 4px 8px 0px rgba(3, 185, 231, 0.5);
}

.consult-btn:hover {
  background: #1966ff;
  transform: translateY(-2px);
}

.consult-btn i {
  margin-left: 8px;
  transition: transform 0.2s;
}

.consult-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .news-row {
    flex-direction: column;
    gap: 30px;
  }
  .consult-panel {
    width: 100%;
    margin-top: 0; /* 小屏取消负边距，避免遮挡 */
    margin-bottom: 30px;
  }
}

/* ===== 友情链接 ===== */
.friend-links {
  background: #333;
  padding: 20px 0;
  border-bottom: 1px solid #555;
}

.friend-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 20px;
  font-size: 0.9rem;
}

.friend-title {
  font-weight: 500;
  color: #fff;
}

.friend-links a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

.friend-links a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .friend-links-row {
    gap: 10px 15px;
  }
}

/* ===== 页脚 ===== */
.footer {
  background: #333;
  color: #999;
  padding: 40px 0 30px;
  text-align: center;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.security-badge, .beian {
  display: inline-block;
  margin: 0 10px;
}

.copyright {
  margin-top: 8px;
  opacity: 0.7;
  font-size: 0.85rem;
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 18px;
  }
  .city-dropdown {
    width: 280px;
    right: auto;
    left: 0;
  }
  .city-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-links {
    gap: 15px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
}

/* ===== 新增模态框样式 ===== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 关闭按钮移到外部右上角 */
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  background: #f0f5fc;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #1966ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2010;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.modal-close-btn:hover {
  background: #1966ff;
  color: #fff;
  transform: rotate(90deg);
}

.modal-container {
  background-color: #fff;
  width: 90%;
  max-width: 900px;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 20, 50, 0.3);
  position: relative;
  padding:10px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-height: 90vh;
  overflow-y: auto;
  background-image: linear-gradient(90deg, #bed4ff 0%, #c1e9fe 100%), linear-gradient(#ffffff, #ffffff);
	border-radius: 20px;
	border: solid 1px #ffffff;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.3);
	border-radius: 20px;
}

.modal-left {
  flex: 1.1;
  min-width: 260px;
}
.modal-left img {
 border-radius: 20px 0 0 20px;
 height: 100%;
}

.modal-right {
  flex: 1.2;
  min-width: 280px;
  padding: 20px 50px;
}
.modal-right form{
  display: flex;
  flex-direction: column;
}

/* 表单组必填红色星号 */
.form-group.required label::after {
  content: "*";
  color: #ff0000;
  margin-left: 4px;
  font-weight: bold;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  font-size: 1rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  font-size: 1rem;
  transition: 0.2s;
  background-color: #f9fcff;
}

/* 自定义select样式 */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 45px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #1966ff;
  box-shadow: 0 0 0 3px rgba(25,102,255,0.2);
}

.modal-submit-btn {
  background: linear-gradient(90deg, #1966ff, #0fadff);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 16px 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 20px rgba(25,102,255,0.3);
  margin: 10px auto 0;
  border-radius: 50px;
}

.modal-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(25,102,255,0.4);
}

/* 移动端自适应 */
@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
    gap: 30px;
  }
  .modal-left h2 {
    font-size: 2rem;
  }
  .modal-left h3 {
    font-size: 1.5rem;
  }
  .modal-container {
    padding: 30px 20px;
    width: 95%;
  }
  .modal-close-btn {
    top: 10px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .modal-event-title {
    font-size: 1.1rem;
  }
  .modal-feature-list li {
    font-size: 1rem;
  }
}

/* ===== 导航选中状态 + 向上箭头图标 ===== */
.nav-links a.active {
  color: #fff !important; /* 未滚动时白色 */
  position: relative;
}
.nav-links a.active i.nav-active-icon {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #fff; /* 白色箭头 */
}

/* 滚动后选中状态变蓝 */
.site-header.scrolled .nav-links a.active {
  color: #1966ff !important;
}
.site-header.scrolled .nav-links a.active i.nav-active-icon {
  color: #1966ff;
}

/* 移动端默认已有白色背景，选中文字显示蓝色 */
@media (max-width: 768px) {
  .nav-links a.active {
    color: #1966ff !important;
  }
  .nav-links a.active i.nav-active-icon {
    color: #1966ff;
  }
}

/* 关注微信悬浮层 */
.wechat-hover {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  white-space: nowrap;
}
.site-header.scrolled .wechat-hover {
  color: #333;
}
.wechat-hover i {
  font-size: 1.2rem;
}
.wechat-popup {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  padding: 15px;
  width: 150px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  z-index: 1100;
  margin-top: 10px;
}
.wechat-popup img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}
.wechat-popup p {
  color: #333;
  font-size: 0.85rem;
  margin: 0;
}
.wechat-hover:hover .wechat-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* 移动端微调 */
@media (max-width: 768px) {
  .wechat-popup {
    left: auto;
    right: 0;
    transform: translateY(10px);
  }
  .wechat-hover:hover .wechat-popup {
    transform: translateY(0);
  }
}

/* 成功提示 Toast */
.toast-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  white-space: nowrap;
  pointer-events: none;
}
.toast-message.show {
  opacity: 1;
  visibility: visible;
}

/* 手机端底部修复：让 news-section 高度自适应 */
@media (max-width: 768px) {
  .news-section {
    height: auto !important;
    padding-bottom: 40px;
  }
  .consult-panel {
    margin-bottom: 30px;
  }
}
.footer p.icp-info{
  display: flex;
  justify-content: center;
  gap: 5px;
  font-size: 0.9rem;
  color: #999;
  align-items: center;
}
.icpDetailBottom{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: #999;
}