/* ============================================================
   豪克能® 官方网站 — 前端设计系统
   设计语言：磨砂亚麻（frosted linen）· 清新商务 · 纸张般静谧
   品牌参考：Linear（字体）· Notion（背景温度）· Loom（按钮）· Height（紧凑卡片）
   红线：字重 ≤600 · 卡片圆角仅 8px/40px · 不用纯黑纯白 · 导航无阴影
   ============================================================ */

/* ---------- 1. 设计令牌 (Design Tokens) ---------- */
:root {
  /* Brand */
  --primary: #FF8000;
  --primary-hover: #E67300;
  --primary-light: rgba(255, 128, 0, 0.08);
  --primary-glow: rgba(255, 128, 0, 0.15);

  /* Canvas & Surfaces */
  --canvas: #fcfcfc;
  --sky-wash: #f0f4fe;
  --card-surface: #ffffff;
  --overlay: rgba(252, 252, 252, 0.2);

  /* Text */
  --midnight: #020520;
  --graphite: #14141e;
  --slate: #374151;
  --fog: #696a72;
  --deep-fog: #95959b;
  --steel: #6b7280;

  /* Accent */
  --signal-blue: #145aff;
  --action: #0f1f3d;
  --emerald: #16ca2e;
  --coral: #f26052;
  --info-blue: #0099ff;
  --amber-tag: #ffa64d;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-mono: 'Roboto Mono', 'JetBrains Mono', monospace;

  /* Sizing */
  --max-width: 1200px;
  --section-gap: 80px;

  /* Radius */
  --radius-pill: 100px;
  --radius-large-card: 40px;
  --radius-modal: 32px;
  --radius-img: 16px;
  --radius-btn: 12px;
  --radius-input: 12px;
  --radius-card: 8px;
  --radius-badge: 4px;

  /* Shadows */
  --shadow-card: rgba(0, 0, 0, 0.1) 0px 0px 4px -2px;
  --shadow-elevated: rgba(0, 0, 0, 0.25) 0px 0px 4px -2px;
  --shadow-feature: rgba(0, 0, 0, 0.04) 0px 0.36px 0.9px -0.5px, rgba(0, 0, 0, 0.07) 0px 1.37px 3.4px -0.5px, rgba(0, 0, 0, 0.18) 0px 6px 15px -1px;
  --shadow-primary-focus: rgba(255, 128, 0, 0.1) 0 0 50px -28px, rgba(0, 0, 0, 0.18) 0 0 3px -1px;
  --shadow-hero-glow: rgba(255, 128, 0, 0.1) 0 0 100px -28px;

  /* Layout heights */
  --phone-bar-h: 36px;
  --navbar-h: 68px;
}

/* ---------- 2. 基础重置 (Reset) ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.06px;
  color: var(--slate);
  background-color: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* 固定头部补偿：36px 电话栏 + 68px 导航栏 */
  padding-top: calc(36px + var(--navbar-h));
  scroll-padding-top: calc(36px + var(--navbar-h) + 16px);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--action);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ---------- 3. 排版比例 (Typography Scale) ---------- */
.display {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.51px;
  font-weight: 600;
  color: var(--midnight);
}

.heading-lg {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.76px;
  font-weight: 600;
  color: var(--graphite);
}

.heading {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.22px;
  font-weight: 600;
  color: var(--graphite);
}

.heading-sm {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.16px;
  font-weight: 600;
  color: var(--graphite);
}

.caption {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.13px;
  font-weight: 500;
}

.mono {
  font-family: var(--font-mono);
}

.text-fog { color: var(--fog); }
.text-steel { color: var(--steel); }
.text-deep-fog { color: var(--deep-fog); }
.text-primary { color: var(--primary); }

/* 区块标题组 */
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--signal-blue);
  border-radius: 2px;
}

.section-head.center .section-eyebrow::before {
  display: none;
}

.section-head p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fog);
}

/* ---------- 4. 布局容器 (Layout) ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  background-color: var(--canvas);
}

.section-alt {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  background-color: var(--sky-wash);
}

.main-content {
  min-height: 60vh;
}

/* 通用网格 */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 5. 按钮 (Buttons) ---------- */
.btn-primary,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.1px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary-focus);
}

.btn-outline {
  background-color: transparent;
  color: var(--action);
  border: 1px solid var(--action);
}

.btn-outline:hover {
  border-color: var(--midnight);
  color: var(--midnight);
  background-color: var(--primary-light);
}

.btn-ghost {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* 文字链接带箭头 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--action);
}

.link-arrow i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.link-arrow:hover {
  color: var(--primary);
}

.link-arrow:hover i {
  transform: translateX(4px);
}

/* ---------- 6. 顶部电话栏 (Top Phone Bar) ---------- */
.top-phone-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 36px;
  line-height: 36px;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  font-size: 14px;
}

.top-phone-bar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.top-phone-label {
  color: var(--fog);
}

.top-phone-bar a {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  margin-left: 4px;
}

.top-phone-bar a i {
  font-size: 14px;
  margin-right: 4px;
}

.top-phone-bar a:hover {
  color: var(--primary-hover);
}

/* ---------- 7. 主导航栏 (Navbar) ---------- */
.navbar {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(252, 252, 252, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

/* 滚动后：仅加边框分隔，导航不加阴影（红线） */
.navbar.is-scrolled {
  border-bottom-color: rgba(2, 5, 32, 0.08);
  background-color: rgba(252, 252, 252, 0.92);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--navbar-h);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  border-radius: var(--radius-btn);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link i.fa-chevron-down {
  font-size: 9px;
  transition: transform 0.25s ease;
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-item.active > .nav-link {
  color: var(--primary);
  font-weight: 600;
}

.nav-item.open > .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-btn);
  color: var(--slate);
  font-size: 15px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.search-icon:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

/* 汉堡按钮 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: var(--radius-btn);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--graphite);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 8. 下拉菜单 (Dropdown) ---------- */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background-color: var(--card-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-elevated);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1001;
}

/* 悬停桥接，避免空隙丢失 hover */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item:hover > .nav-dropdown,
.nav-item.open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--slate);
  border-radius: var(--radius-badge);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-dropdown a i {
  width: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--primary);
}

.nav-dropdown a:hover {
  background-color: var(--sky-wash);
  color: var(--primary);
}

/* 产品巨型下拉（八大分类 + 三级产品项） */
.nav-megamenu {
  min-width: 900px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 28px;
}

.mega-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--midnight);
  padding: 4px 0 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(2, 5, 32, 0.07);
}

.mega-col-title i {
  color: var(--primary);
  font-size: 13px;
}

.mega-col a.sub-link {
  display: block;
  padding: 5px 0;
  font-size: 12.5px;
  color: var(--fog);
  border-radius: 0;
}

.mega-col a.sub-link:hover {
  background: none;
  color: var(--primary);
  padding-left: 4px;
}

/* ---------- 8b. 产品导航飞出菜单（二级垂直列表 + 三级右侧飞出面板） ---------- */
.nav-flyout-menu {
  min-width: 292px;
  padding: 10px;
}

.nav-fly-row {
  position: relative;
}

.nav-fly-row .nav-fly-link {
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--graphite);
}

.nav-fly-row .nav-fly-link > i:first-child {
  width: 20px;
  text-align: center;
  color: var(--primary);
  font-size: 13px;
}

.nav-fly-row .nav-fly-link span {
  flex: 1;
  min-width: 0;
}

.nav-fly-caret {
  font-size: 10px;
  color: var(--deep-fog);
  transition: transform 0.18s ease, color 0.18s ease;
}

.nav-fly-row:hover > .nav-fly-link,
.nav-fly-row.open > .nav-fly-link {
  background-color: var(--sky-wash);
  color: var(--primary);
}

.nav-fly-row:hover > .nav-fly-link .nav-fly-caret,
.nav-fly-row.open > .nav-fly-link .nav-fly-caret {
  color: var(--primary);
  transform: translateX(2px);
}

/* 右侧三级飞出面板（纯 CSS 悬停 + JS .open 悬停意图双通道） */
.nav-flyout {
  position: absolute;
  top: -10px;
  left: calc(100% + 6px);
  min-width: 252px;
  max-height: 70vh;
  overflow-y: auto;
  background-color: var(--card-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-elevated);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1002;
}

/* 二级→三级面板的悬停桥接，避免 6px 空隙丢失 hover */
.nav-flyout::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -8px;
  width: 8px;
}

.nav-fly-row:hover > .nav-flyout,
.nav-fly-row.open > .nav-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-flyout a {
  font-size: 12.5px;
  padding: 7px 10px;
  border-radius: 6px;
}

.nav-flyout a i {
  font-size: 11px;
}

.nav-fly-sep {
  height: 1px;
  background: rgba(2, 5, 32, 0.07);
  margin: 8px 10px;
}

.nav-flyout a.nav-fly-all {
  color: var(--primary);
  font-weight: 500;
  border-top: 1px solid rgba(2, 5, 32, 0.07);
  border-radius: 0;
  margin-top: 6px;
  padding-top: 10px;
}

.nav-fly-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(2, 5, 32, 0.07);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  border-radius: 0;
}

.nav-fly-more:hover {
  background: none;
}

/* ---------- 9. 移动端菜单 (Mobile Menu) ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 84vw;
  height: 100vh;
  background-color: var(--canvas);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 20px 22px 40px;
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(2, 5, 32, 0.45);
  z-index: 1199;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--slate);
}

.mobile-menu-close:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--graphite);
  border-bottom: 1px solid rgba(2, 5, 32, 0.06);
}

.mobile-nav-link.active {
  color: var(--primary);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-submenu.is-open {
  max-height: 800px;
}

.mobile-submenu a {
  display: block;
  padding: 9px 4px 9px 16px;
  font-size: 13.5px;
  color: var(--fog);
}

.mobile-submenu a:hover {
  color: var(--primary);
}

.mobile-menu-cta {
  margin-top: 24px;
}

.mobile-menu-contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(2, 5, 32, 0.06);
  font-size: 13px;
  color: var(--fog);
}

.mobile-menu-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--slate);
}

.mobile-menu-contact i {
  color: var(--primary);
  width: 16px;
}

/* ---------- 10. 英雄区 / Banner 轮播 ---------- */
.hero-section {
  position: relative;
  background-color: var(--midnight);
  color: #fff;
  overflow: hidden;
  /* 仅英雄区携带蓝色洗色径向渐变（红线：其它区块不加彩色渐变） */
  background-image:
    radial-gradient(1100px 520px at 78% -8%, rgba(20, 90, 255, 0.28), transparent 60%),
    radial-gradient(760px 420px at 8% 108%, rgba(255, 128, 0, 0.14), transparent 62%);
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: var(--shadow-hero-glow);
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 2;
  padding: 96px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--overlay);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hero-badge i {
  color: var(--primary);
}

.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.51px;
  font-weight: 600;
  color: #fff;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero p.lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* 顶部 Banner 轮播 */
.top-banner-carousel {
  position: relative;
  width: 100%;
  height: 530px;
  overflow: hidden;
  background-color: var(--midnight);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 纯图片展示：无任何滤镜/遮罩，保持原始色彩 */
  filter: none;
}

.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.45);
  transition: width 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.carousel-dot.active {
  width: 28px;
  background-color: var(--primary);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  background-color: rgba(252, 252, 252, 0.16);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.2s ease;
}

.top-banner-carousel:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background-color: rgba(255, 128, 0, 0.85);
}

.carousel-arrow.prev { left: 24px; }
.carousel-arrow.next { right: 24px; }

/* ---------- 11. 卡片 (Cards) ---------- */
/* 产品卡片：紧凑 8px 圆角 + 近乎不可见阴影 */
.product-card {
  background-color: var(--card-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-feature);
}

.product-card .card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--sky-wash);
}

.product-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .card-media img {
  transform: scale(1.04);
}

.card-media .media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--deep-fog);
  background: linear-gradient(135deg, var(--sky-wash), #e6ecfb);
}

.product-card .card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card .card-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.16px;
  color: var(--graphite);
  line-height: 1.4;
}

.product-card .card-title a {
  color: inherit;
}

.product-card .card-title a:hover {
  color: var(--primary);
}

.product-card .card-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--steel);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 4px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--steel);
  line-height: 1.5;
}

.feature-list li i {
  color: var(--primary);
  font-size: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}

.card-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 案例卡片 */
.case-card {
  background-color: var(--card-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-feature);
}

.case-card .card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--sky-wash);
}

.case-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover .card-media img {
  transform: scale(1.04);
}

.case-card .card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.case-card .card-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.16px;
  color: var(--graphite);
  line-height: 1.4;
}

.case-card .card-title a { color: inherit; }
.case-card .card-title a:hover { color: var(--primary); }

.case-card .card-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--steel);
}

/* 新闻列表项：左日期块 + 中封面 + 右标题摘要 */
.news-list-item {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 24px;
  background-color: var(--card-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-list-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-feature);
}

.news-date-block {
  flex-shrink: 0;
  width: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 0;
  border-radius: var(--radius-card);
  background-color: var(--sky-wash);
  border: 1px solid rgba(20, 90, 255, 0.1);
}

.news-date-block .day {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.76px;
  color: var(--midnight);
  font-family: var(--font-mono);
}

.news-date-block .month-year {
  font-size: 11px;
  font-weight: 500;
  color: var(--fog);
  letter-spacing: 0.04em;
}

.news-list-item.has-image .news-thumb {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-img);
  overflow: hidden;
  background-color: var(--sky-wash);
}

.news-list-item .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 新闻缩略图缺图占位（与卡片 .media-placeholder 同一视觉语言） */
.news-thumb .media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--deep-fog);
  background: linear-gradient(135deg, var(--sky-wash), #e6ecfb);
}

.news-list-item .news-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.news-list-item .news-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.16px;
  color: var(--graphite);
  line-height: 1.4;
}

.news-list-item .news-title a { color: inherit; }
.news-list-item .news-title a:hover { color: var(--primary); }

.news-list-item .news-excerpt {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--steel);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--deep-fog);
}

.news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 大型功能区块卡片：40px 圆角 + 级联阴影 + 52x72 内边距 */
.feature-card {
  background-color: var(--canvas);
  border-radius: var(--radius-large-card);
  box-shadow: var(--shadow-feature);
  padding: 52px 72px;
}

.feature-card .feature-media {
  border-radius: var(--radius-img);
  overflow: hidden;
  margin-top: 32px;
}

.feature-card .feature-media img {
  width: 100%;
  border-radius: var(--radius-img);
}

/* 技术名词小卡片 */
.tech-term-card {
  background-color: var(--card-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  border-left: 3px solid var(--primary);
}

.tech-term-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-term-card h4 i { color: var(--primary); }

.tech-term-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--fog);
}

/* ---------- 12. 数据指标行 (Stats Row) ---------- */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.stats-row.center {
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-item .stat-number {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.76px;
  line-height: 1;
  color: var(--primary);
  font-family: var(--font-mono);
}

.hero-section .stat-item .stat-number {
  color: #fff;
}

.stat-item .stat-label {
  font-size: 13px;
  color: var(--fog);
  margin-top: 6px;
}

.hero-section .stat-item .stat-label {
  color: rgba(255, 255, 255, 0.6);
}

/* 指标带正向色 */
.metric-positive .stat-number { color: var(--emerald); }

/* ---------- 13. 合作伙伴 Logo 墙 ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding: 16px;
  background-color: var(--card-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-item img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  filter: grayscale(100%);
  opacity: 0.62;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-feature);
}

.partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- 14. 面包屑 (Breadcrumb) ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0;
  font-size: 13px;
  color: var(--deep-fog);
}

.breadcrumb a {
  color: var(--fog);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .separator {
  color: var(--deep-fog);
  font-size: 11px;
}

.breadcrumb .current {
  color: var(--slate);
  font-weight: 500;
}

/* 页面标题条（含面包屑的页头） */
.page-header {
  background-color: var(--sky-wash);
  border-bottom: 1px solid rgba(2, 5, 32, 0.05);
}

.page-header .page-title {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.76px;
  color: var(--midnight);
  padding-bottom: 24px;
}

/* ---------- 15. CTA 区块（圆角卡片） ---------- */
.cta-section {
  position: relative;
  padding: 0 24px;
  margin-bottom: 60px;
  text-align: center;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background-color: var(--midnight);
  color: #fff;
  border-radius: var(--radius-large-card);
  padding: 72px 48px;
  overflow: hidden;
}

.cta-section .container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(720px 340px at 50% 0%, var(--primary-glow), transparent 62%);
  pointer-events: none;
  border-radius: inherit;
}

.cta-section h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.76px;
  line-height: 1.15;
  color: #fff;
  max-width: 720px;
}

.cta-section p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.68);
  max-width: 560px;
}

.cta-section .cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ---------- 16. 搜索框 (Search Box) ---------- */
.search-box {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}

.search-box input {
  flex: 1;
  height: 52px;
  padding: 15px 20px;
  font-size: 14px;
  color: var(--graphite);
  background-color: var(--card-surface);
  border: 1px solid #cfcfcf;
  border-right: none;
  border-radius: var(--radius-input) 0 0 var(--radius-input);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input::placeholder {
  color: var(--deep-fog);
}

.search-box input:focus {
  border-color: var(--info-blue);
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.15);
}

.search-box button {
  height: 52px;
  padding: 0 28px;
  background-color: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--primary);
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease;
}

.search-box button:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* ---------- 17. 徽章 / 标签 (Badge & Tag) ---------- */
.badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: var(--radius-badge);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

/* 默认：主色浅底 */
.badge,
.tag {
  background-color: var(--primary-light);
  color: var(--primary-hover);
}

.badge-blue, .tag-blue {
  background-color: rgba(20, 90, 255, 0.1);
  color: var(--signal-blue);
}

.badge-green, .tag-green {
  background-color: rgba(22, 202, 46, 0.1);
  color: var(--emerald);
}

.badge-coral, .tag-coral {
  background-color: rgba(242, 96, 82, 0.1);
  color: var(--coral);
}

.badge-amber, .tag-amber {
  background-color: rgba(255, 166, 77, 0.14);
  color: #d97706;
  border: 1px solid rgba(255, 166, 77, 0.5);
}

.badge-gray, .tag-gray {
  background-color: rgba(105, 106, 114, 0.1);
  color: var(--fog);
}

/* ---------- 18. 表单输入 (Forms) ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--coral);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 15px;
  font-size: 14px;
  font-weight: 400;
  color: var(--graphite);
  background-color: var(--card-surface);
  border: 1px solid #cfcfcf;
  border-radius: var(--radius-input);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-control::placeholder {
  color: var(--deep-fog);
}

.form-control:focus {
  border-color: var(--info-blue);
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23696a72' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-hint {
  font-size: 12px;
  color: var(--deep-fog);
  margin-top: 6px;
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-card);
  font-size: 13px;
  margin-bottom: 18px;
}

.form-message.success {
  background-color: rgba(22, 202, 46, 0.1);
  color: var(--emerald);
}

.form-message.error {
  background-color: rgba(242, 96, 82, 0.1);
  color: var(--coral);
}

/* ---------- 19. 分类页标签切换 (Service Tabs) ---------- */
.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 40px;
}

.service-tabs a {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  background-color: var(--card-surface);
  border: 1px solid rgba(2, 5, 32, 0.1);
  transition: all 0.2s ease;
}

.service-tabs a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.service-tabs a.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------- 20. FAQ 手风琴 (Accordion) ---------- */
.faq-item {
  background-color: var(--card-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--graphite);
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover { color: var(--primary); }

.faq-question .faq-icon {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--fog);
}

/* ---------- 21. 富文本正文 (Rich Content) ---------- */
.rich-content {
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  color: var(--graphite);
  font-weight: 600;
  margin: 28px 0 14px;
  letter-spacing: -0.22px;
}

.rich-content h2 { font-size: 24px; }
.rich-content h3 { font-size: 19px; }
.rich-content p { margin-bottom: 16px; }

.rich-content img {
  border-radius: var(--radius-img);
  margin: 20px 0;
}

.rich-content ul,
.rich-content ol {
  margin: 0 0 16px 20px;
}

.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content li { margin-bottom: 8px; }

.rich-content a { color: var(--signal-blue); }
.rich-content a:hover { color: var(--primary); }

.rich-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 4px 0 4px 20px;
  margin: 20px 0;
  color: var(--fog);
  font-style: normal;
}

.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.rich-content th,
.rich-content td {
  border: 1px solid rgba(2, 5, 32, 0.1);
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
}

.rich-content th {
  background-color: var(--sky-wash);
  font-weight: 600;
  color: var(--graphite);
}

/* ---------- 22. 返回顶部 & 滚动渐入 ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background-color: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: var(--shadow-primary-focus);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  color: #fff;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 23. 页脚 (Footer) ---------- */
.site-footer {
  background-color: var(--midnight);
  color: rgba(255, 255, 255, 0.62);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.footer-brand .footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.1px;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px !important;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
}

.footer-contact li i {
  color: var(--primary);
  font-size: 14px;
  margin-top: 4px;
  width: 16px;
  flex-shrink: 0;
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.58);
}

.footer-contact li a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom .footer-legal {
  display: flex;
  gap: 20px;
}

.footer-bottom .footer-legal a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom .footer-legal a:hover { color: var(--primary); }

/* ---------- 24. 空状态 / 404 ---------- */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--fog);
}

.empty-state i {
  font-size: 56px;
  color: var(--deep-fog);
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 14px;
  margin-bottom: 24px;
}

/* ---------- 25. 分页 (Pagination) ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  background-color: var(--card-surface);
  border: 1px solid rgba(2, 5, 32, 0.1);
  transition: all 0.2s ease;
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination .active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ---------- 26. 通用工具类 ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-12 { gap: 12px; }

/* ---------- 27. 响应式断点 ---------- */
/* 平板 ≤1024px */
@media (max-width: 1024px) {
  .nav-megamenu {
    min-width: 680px;
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-fly-row > .nav-flyout {
    display: none;
  }

  .nav-fly-caret {
    display: none;
  }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .feature-card { padding: 44px 40px; }

  .hero h1,
  .display { font-size: 44px; letter-spacing: -1px; }

  .heading-lg,
  .cta-section h2,
  .page-header .page-title { font-size: 32px; }
}

/* 移动端 ≤768px */
@media (max-width: 768px) {
  :root {
    --section-gap: 56px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* 导航折叠为汉堡 */
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .search-icon { display: none; }

  .top-phone-bar a { font-size: 16px; }

  .top-banner-carousel { height: 300px; }
  .carousel-arrow { display: none; }

  .hero { padding: 64px 0; }
  .hero h1,
  .display { font-size: 34px; letter-spacing: -0.76px; }
  .hero p.lead { font-size: 15px; }

  .heading-lg,
  .cta-section h2,
  .page-header .page-title { font-size: 26px; letter-spacing: -0.5px; }

  .heading { font-size: 20px; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .stats-row { gap: 28px; }
  .stat-item .stat-number { font-size: 30px; }

  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .feature-card {
    padding: 32px 24px;
  }

  /* 新闻列表项竖向堆叠 */
  .news-list-item {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .news-list-item.has-image .news-thumb { width: 100%; }

  .news-date-block {
    width: 100%;
    flex-direction: row;
    gap: 10px;
    padding: 10px 16px;
    justify-content: flex-start;
  }

  .search-box { flex-direction: column; gap: 10px; }
  .search-box input {
    width: 100%;
    border-right: 1px solid #cfcfcf;
    border-radius: var(--radius-input);
  }
  .search-box button {
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-input);
  }

  .back-to-top { right: 18px; bottom: 18px; }
  .cta-section { padding: 0 18px; margin-bottom: 40px; }
  .cta-section .container { padding: 48px 24px; border-radius: 24px; }
}

/* 小屏手机 ≤480px */
@media (max-width: 480px) {
  .hero h1,
  .display { font-size: 28px; }
  .btn-primary, .btn-outline, .btn-ghost { width: 100%; }
  .hero-actions { width: 100%; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
