*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #1f2937; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== Layout ===== */
.container {
  width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 24px;
}
@media (min-width: 1920px) {
  .container { max-width: 1440px; }
}
@media (max-width: 1439px) {
  .container { max-width: 1200px; padding: 0 20px; }
}
@media (max-width: 1199px) {
  .container { max-width: 1000px; padding: 0 16px; }
}
@media (max-width: 767px) {
  .container { padding: 0 12px; }
}

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #303643; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 60px; width: auto; filter: brightness(0) invert(1); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px; padding: 8px 16px;
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.88);
  transition: color 0.2s ease; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: #60a5fa; }
.nav-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; color: rgba(255,255,255,0.6); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.phone { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; }
.phone svg { width: 18px; height: 18px; color: #60a5fa; }

/* Dropdown - 白色底色大气设计 */
.dropdown {
  position: absolute; top: calc(100% - 1px); left: 50%; transform: translateX(-50%) translateY(-10px);
  background: #fff; border-radius: 12px; box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  border: 1px solid #e5e7eb; padding: 24px 28px; min-width: 560px; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}
/* hover桥接伪元素 - 解决鼠标移开消失问题 */
.nav-item::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 20px;
  background: transparent; z-index: 100; display: none;
}
.nav-item:hover::after { display: block; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dropdown-item {
  display: block; padding: 10px 16px; font-size: 14px; color: #4b5563;
  border-radius: 8px; transition: all 0.2s ease; white-space: nowrap;
}
.dropdown-item:hover { color: #1e5eff; background: #eff6ff; }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
/* 白色下拉三角箭头 */
.dropdown::before {
  content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}

/* Mobile Menu */
.mobile-toggle { display: none; padding: 8px; color: #fff; }
.mobile-toggle svg { width: 24px; height: 24px; stroke: #fff; }
.mobile-menu { display: none; }

@media (max-width: 1199px) {
  .nav, .header .phone { display: none; }
  .mobile-toggle { display: block; color: #fff; }
  .mobile-menu {
    display: block; max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    background: #303643; border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mobile-menu.open { max-height: 80vh; overflow-y: auto; }
  .mobile-nav-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.88);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .mobile-sub { padding: 0 0 10px 16px; display: none; }
  .mobile-sub.open { display: block; }
  .mobile-sub a { display: block; padding: 8px 0; font-size: 14px; color: rgba(255,255,255,0.55); }
  .mobile-sub a:hover { color: #60a5fa; }
  .mobile-phone { display: flex !important; align-items: center; gap: 6px; padding: 14px 0; color: #60a5fa; font-weight: 600; }
}

/* ===== Banner ===== */
.banner { position: relative; width: 100%; overflow: hidden; margin-top: 80px; }
.banner-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; z-index: 1; visibility: hidden;
}
.banner-slide.active { opacity: 1; z-index: 2; visibility: visible; position: relative; }
.banner-slide img { width: 100%; height: auto; display: block; }
.banner-overlay { display: none; }
.banner-content {
  position: absolute; bottom: 20px; left: 0; right: 0; z-index: 3;
  padding: 0;
}
.banner-text { max-width: 600px; }
.banner-title {
  font-size: 28px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 8px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
  opacity: 0; transform: translateY(20px); transition: all 0.6s ease 0.2s;
}
.banner-slide.active .banner-title { opacity: 1; transform: translateY(0); }
.banner-subtitle {
  font-size: 15px; color: rgba(255,255,255,0.9); margin-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  opacity: 0; transform: translateY(20px); transition: all 0.6s ease 0.35s;
}
.banner-slide.active .banner-subtitle { opacity: 1; transform: translateY(0); }
.banner-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px; background: #1e5eff; color: #fff;
  font-size: 16px; font-weight: 500; border-radius: 8px;
  transition: all 0.3s ease; margin-top: 24px;
  opacity: 0; transform: translateY(20px); transition: all 0.6s ease 0.5s, background 0.3s, box-shadow 0.3s;
}
.banner-slide.active .banner-btn { opacity: 1; transform: translateY(0); }
.banner-btn:hover { background: #2563eb; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,94,255,0.35); }
.banner-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 8px; }
.banner-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s ease; border: none; }
.banner-dot.active { width: 32px; border-radius: 5px; background: #1e5eff; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s ease; border: none; opacity: 0;
}
.banner:hover .banner-arrow { opacity: 1; }
.banner-arrow:hover { background: rgba(255,255,255,0.4); }
.banner-arrow svg { width: 20px; height: 20px; stroke: #fff; }
.banner-arrow.prev { left: 20px; }
.banner-arrow.next { right: 20px; }

/* ===== Mobile Banner (mbanner) ===== */
.mbanner { position: relative; width: 100%; overflow: hidden; margin-top: 80px; display: none; }
.mbanner-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; z-index: 1; visibility: hidden;
}
.mbanner-slide.active { opacity: 1; z-index: 2; visibility: visible; position: relative; }
.mbanner-slide img { width: 100%; height: auto; display: block; }
.mbanner .banner-arrow { display: none; }

@media (max-width: 1199px) {
  .banner-title { font-size: 36px; }
  .banner-subtitle { font-size: 16px; }
}
@media (max-width: 767px) {
  .banner { margin-top: 60px; display: none; }
  .mbanner { display: block; margin-top: 60px; }
  .header-inner { height: 60px; }
  .logo img { height: 38px; }
  .banner-title { font-size: 20px; }
  .banner-subtitle { font-size: 13px; }
  .banner-btn { padding: 10px 24px; font-size: 14px; }
  .banner-arrow { display: none; }
  .banner-content { bottom: 10px; }
  /* 顶部固定 header 高度从 80 → 60，内页 page-banner 需同步上移避免出现空隙 */
  .page-banner { margin-top: 60px !important; }
}

/* ===== Section Common ===== */
.section { padding: 80px 0; }
@media (max-width: 767px) { .section { padding: 50px 0; } }
.section-header { text-align: center; margin-bottom: 50px; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #1e5eff; }
.section-title { font-size: 36px; font-weight: 700; color: #1f2937; margin-top: 10px; }
.section-subtitle { font-size: 18px; color: #6b7280; margin-top: 10px; }
.section-divider { width: 60px; height: 3px; background: #1e5eff; margin: 16px auto 0; border-radius: 2px; }
@media (max-width: 767px) {
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }
}

/* ===== About Section ===== */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 60px; align-items: center; }
.about-img { border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.about-img img { width: 100%; height: auto; display: block; }
.about-name { font-size: 32px; font-weight: 700; color: #1f2937; }
.about-en { font-size: 15px; color: #9ca3af; margin-top: 4px; }
.about-text { color: #4b5563; line-height: 1.8; margin-top: 16px; font-size: 15px; word-break: break-word; overflow-wrap: break-word; }
.service-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.service-card {
  padding: 20px; background: #f8fafc; border: 1px solid #f1f5f9;
  border-radius: 12px; transition: all 0.3s ease;
}
.service-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); transform: translateY(-2px); }
.service-icon { width: 40px; height: 40px; background: rgba(30,94,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.service-icon svg { width: 20px; height: 20px; color: #1e5eff; }
.service-title { font-size: 16px; font-weight: 600; color: #1f2937; margin-bottom: 6px; }
.service-desc { font-size: 13px; color: #6b7280; line-height: 1.6; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 28px;
  border: 2px solid #1e5eff; color: #1e5eff; font-size: 15px; font-weight: 500;
  border-radius: 8px; transition: all 0.3s ease; margin-top: 24px;
}
.btn-outline:hover { background: #1e5eff; color: #fff; transform: translateY(-2px); }

@media (max-width: 1199px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { order: -1; max-width: 700px; margin: 0 auto; width: 100%; }
}
@media (max-width: 767px) {
  .service-cards { grid-template-columns: 1fr; }
  .about-name { font-size: 26px; }
}

/* ===== Products Section - 使用用户上传的 首页产品模版背景图 ===== */
.products {
  position: relative;
  background-image: url('../images/product_bg.png');
  background-size: cover; background-position: center;
}
.products .section-title { color: #1f2937; }

.category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.cat-tab {
  padding: 8px 20px; border: 1px solid #d1d5db; border-radius: 50px;
  color: #4b5563; font-size: 14px; font-weight: 500;
  transition: all 0.3s ease; cursor: pointer; background: transparent;
}
.cat-tab:hover, .cat-tab.active { background: #1e5eff; border-color: #1e5eff; color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.product-img { aspect-ratio: 1 / 1; overflow: hidden; background: #f8fafc; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 16px; text-align: center; }
.product-tag { font-size: 12px; color: #1e5eff; font-weight: 500; }
.product-name { font-size: 15px; font-weight: 600; color: #1f2937; margin-top: 4px; }

@media (max-width: 1199px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .product-name { font-size: 13px; } .cat-tab { padding: 6px 14px; font-size: 13px; } }

/* ===== Solutions Section ===== */
.solutions { background: #fff; }
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.solution-card {
  display: flex; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  overflow: hidden; transition: all 0.4s ease;
}
.solution-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); transform: translateY(-4px); }
.solution-img { width: 38%; flex-shrink: 0; overflow: hidden; }
.solution-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.solution-card:hover .solution-img img { transform: scale(1.05); }
.solution-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.solution-name { font-size: 20px; font-weight: 600; color: #1f2937; margin-bottom: 10px; transition: color 0.3s; }
.solution-card:hover .solution-name { color: #1e5eff; }
.solution-title { font-size: 20px; font-weight: 600; color: #1f2937; margin-bottom: 10px; transition: color 0.3s; }
.solution-card:hover .solution-title { color: #1e5eff; }
.solution-desc { font-size: 14px; color: #6b7280; line-height: 1.7; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.solution-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: #1e5eff; transition: gap 0.3s; }
.solution-link:hover { gap: 8px; }

@media (max-width: 1199px) {
  .solution-card { flex-direction: column; }
  .solution-img { width: 100%; aspect-ratio: 16 / 9; height: auto; }
  .solution-img img { height: auto; }
}
@media (max-width: 767px) {
  .solution-grid { grid-template-columns: 1fr; }
  .solution-name { font-size: 18px; }
  .solution-title { font-size: 18px; }
}

/* ===== News Section - 使用用户上传的 首页新闻模版背景图 ===== */
.news {
  position: relative;
  background-image: url('../images/news_bg.png');
  background-size: cover; background-position: center;
}
.news .section-title { color: #1f2937; }
.news .section-subtitle { color: #6b7280; }

.news-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; overflow: hidden; align-items: stretch; }
.news-grid > * { min-width: 0; }
.news-featured { cursor: pointer; }
.news-featured-img { aspect-ratio: 3 / 2; max-width: 100%; width: 100%; border-radius: 12px; overflow: hidden; margin-bottom: 20px; position: relative; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-featured:hover .news-featured-img img { transform: scale(1.05); }
.news-badge { position: absolute; top: 16px; left: 16px; padding: 4px 14px; background: #1e5eff; color: #fff; font-size: 12px; font-weight: 500; border-radius: 50px; }
.news-featured-date { font-size: 14px; color: #9ca3af; margin-bottom: 8px; }
.news-featured-title { font-size: 20px; font-weight: 600; color: #1f2937; line-height: 1.4; transition: color 0.3s; }
.news-featured:hover .news-featured-title { color: #1e5eff; }
.news-featured-summary { font-size: 15px; color: #6b7280; line-height: 1.7; margin-top: 10px; }

.news-list-item { display: flex; gap: 16px; padding: 18px 12px; border-bottom: 1px solid #e5e7eb; cursor: pointer; transition: background 0.3s; border-radius: 8px; min-width: 0; }
.news-list-item:hover { background: #f8fafc; }
.news-list-item:last-child { border-bottom: none; }
.news-date-block { flex-shrink: 0; width: 56px; height: 56px; background: #1e5eff; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.news-date-day { font-size: 22px; font-weight: 700; line-height: 1; }
.news-date-month { font-size: 11px; margin-top: 2px; }
.news-list-body { flex: 1; min-width: 0; }
.news-list-cat { font-size: 12px; color: #1e5eff; font-weight: 500; }
.news-list-title { font-size: 16px; font-weight: 500; color: #1f2937; margin-top: 4px; transition: color 0.3s; line-height: 1.5; word-break: break-word; overflow-wrap: break-word; }
.news-list-item:hover .news-list-title { color: #1e5eff; }

@media (max-width: 1199px) {
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .news-featured-img { aspect-ratio: 3 / 2; height: auto; }
  .news-featured-title { font-size: 17px; }
}

/* ===== Partners Section - 一排展示 + 左右切换 ===== */
.partners { background: #fff; }
.partner-carousel { position: relative; padding: 0 60px; /* 给左右按钮留出物理空间 */ }
@media (max-width: 1199px) and (min-width: 768px) { .partner-carousel { padding: 0 56px; } }
@media (max-width: 767px) { .partner-carousel { padding: 0 50px; } }

/* 视口窗口：仅负责遮挡溢出，不放按钮 */
.partner-viewport {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}

/* 横向轨道：一行排列，用 transform 整体平移 */
.partner-track {
  display: flex; gap: 24px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  touch-action: pan-y;
}

/* 单个 logo 卡片：5 列等分，logo 保持原生 1.96:1 比例 */
.partner-item {
  flex: 0 0 calc((100% - 96px) / 5); /* 5列：4个gap×24=96 */
  background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 10px;
  aspect-ratio: 231 / 118; /* 严格按用户图片实际比例 */
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.partner-item:hover {
  border-color: rgba(30,94,255,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.partner-item img {
  width: 70%; height: auto; max-height: 70%;
  object-fit: contain; display: block;
  filter: grayscale(20%); opacity: 0.85;
  transition: filter 0.3s, opacity 0.3s;
}
.partner-item:hover img { filter: grayscale(0); opacity: 1; }

/* 左右切换按钮：放在 carousel 外层，与 logo 物理隔离 */
.partner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; backdrop-filter: blur(6px);
  border: 1.5px solid #d1d5db;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s ease;
  color: #4b5563;
}
.partner-arrow:hover { background: #1e5eff; color: #fff; border-color: #1e5eff; box-shadow: 0 8px 20px rgba(30,94,255,0.25); }
.partner-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.partner-arrow:disabled:hover { background: rgba(255,255,255,0.95); color: #1f2937; border-color: #e5e7eb; box-shadow: none; }
.partner-arrow svg { width: 20px; height: 20px; stroke-width: 2.5; }
.partner-arrow.prev { left: 4px; }
.partner-arrow.next { right: 4px; }
@media (max-width: 767px) { .partner-arrow { width: 36px; height: 36px; } .partner-arrow svg { width: 16px; height: 16px; } }

/* 底部分页指示器 */
.partner-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 32px;
}
.partner-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #d1d5db; border: none; cursor: pointer;
  transition: all 0.3s ease; padding: 0;
}
.partner-dot.active { width: 28px; border-radius: 4px; background: #1e5eff; }

/* 响应式分页：列数变化 → 重算 flex 基础宽度 */
@media (max-width: 1199px) and (min-width: 768px) {
  .partner-item { flex: 0 0 calc((100% - 48px) / 3); } /* 3列：2个gap×24=48 */
  .partner-dots { margin-top: 28px; }
}
@media (max-width: 767px) {
  .partner-item { flex: 0 0 calc((100% - 24px) / 2); } /* 2列：1个gap×24=24 */
  .partner-dots { margin-top: 24px; }
}

/* ===== Footer ===== */
.footer { background: #0a1628; color: #fff; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: #1e5eff; }
.footer-contact { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: #1e5eff; flex-shrink: 0; }
.qr-placeholder { width: 110px; height: 110px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #9ca3af; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }

@media (max-width: 1199px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } .footer-bottom { flex-direction: column; gap: 8px; text-align: center; } }

/* ===== Scroll Reveal Animation ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
/* JS 加 visible 前的预渲染器帧：保持状态但不展开到视口外 */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1a1; }
/* ===== Global Overflow Guards (移动端防止横向滚动) ===== */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, table { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
/* 嵌入式 iframe 通用兜底：保留自身 width/height 属性 */
iframe[width][height] { max-width: 100%; }
[class*="-grid"] > *, [class*="-layout"] > *,
.news-featured, .news-featured-img,
.about-img, .about-content,
.solution-card, .solution-img, .solution-body { min-width: 0; }
.news-featured-img { max-width: 100%; }


