:root {
  --blue: #0968b7;
  --deep-blue: #053f86;
  --navy: #071b35;
  --light-blue: #eef7ff;
  --cyan: #25b6d9;
  --orange: #f28b22;
  --red: #d8272f;
  --text: #26384d;
  --muted: #6d7c8d;
  --line: #e7edf4;
  --white: #ffffff;
  --shadow: 0 16px 35px rgba(7, 27, 53, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ================= 全局容器 ================= */
.am-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  height: 36px;
  background: #f4f8fc;
  color: #526477;
  font-size: 13px;
  border-bottom: 1px solid #e5edf5;
}

.topbar-inner {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-contact {
  display: flex;
  gap: 26px;
}

/* 底部 Logo 相关保持保留，用于 Footer */
.logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  position: relative;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 20px rgba(9, 104, 183, 0.22);
  flex: none;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(18deg);
}

.logo-mark::before {
  width: 28px;
  height: 28px;
  left: 8px;
  top: 7px;
}

.logo-mark::after {
  width: 12px;
  height: 12px;
  right: 8px;
  bottom: 9px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
}

.logo-text strong {
  display: block;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: 1px;
  color: var(--deep-blue);
}

.logo-text em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #7b8fa6;
  letter-spacing: 1.8px;
  margin-top: 4px;
}

/* ================= 首页主体内容 ================= */
.hero {
  position: relative;
  min-height: 620px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 16%, rgba(37, 182, 217, 0.35), transparent 28%),
    linear-gradient(110deg, rgba(5, 36, 83, 0.96), rgba(6, 72, 136, 0.92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 110px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 88px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 560px;
  height: 560px;
  right: -150px;
  top: -110px;
  border: 70px solid rgba(255, 255, 255, 0.05);
}

.hero::after {
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: -180px;
  background: rgba(37, 182, 217, 0.12);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 65%, rgba(255,255,255,0.08) 65% 66%, transparent 66%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,0.12), transparent 34%);
  opacity: 0.75;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #aeeeff;
  font-size: 13px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--cyan);
}

.hero-copy h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.16;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.hero-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 48px;
  padding: 0 24px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(242, 139, 34, 0.32);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-card {
  position: relative;
  min-height: 410px;
  border-radius: 8px;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.19), rgba(255,255,255,0.06)),
    linear-gradient(0deg, rgba(255,255,255,0.12), transparent);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.pcb-board {
  position: absolute;
  inset: 38px 34px 96px 34px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 28%, #99e7ff 0 5px, transparent 6px),
    radial-gradient(circle at 75% 22%, #99e7ff 0 5px, transparent 6px),
    radial-gradient(circle at 52% 64%, #ffdc8b 0 6px, transparent 7px),
    linear-gradient(90deg, transparent 0 20%, rgba(255,255,255,0.26) 20% 21%, transparent 21% 100%),
    linear-gradient(0deg, transparent 0 30%, rgba(255,255,255,0.22) 30% 31%, transparent 31% 100%),
    linear-gradient(145deg, #0c87ba, #0b4d99);
  overflow: hidden;
}

.pcb-board::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: 40px;
  top: 48px;
  border-radius: 24px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.6) 0 3px, transparent 3px 10px),
    linear-gradient(135deg, rgba(8, 27, 54, 0.96), rgba(19, 59, 102, 0.92));
  box-shadow: 0 20px 38px rgba(0,0,0,0.28);
}

.pcb-board::after {
  content: "";
  position: absolute;
  left: 45px;
  bottom: 40px;
  width: 190px;
  height: 92px;
  border-radius: 14px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.42) 0 2px, transparent 2px 12px),
    rgba(2, 30, 65, 0.88);
}

.pcb-board span {
  position: absolute;
  display: block;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.pcb-board span:nth-child(1) { width: 160px; height: 4px; left: 70px; top: 64px; }
.pcb-board span:nth-child(2) { width: 4px; height: 130px; left: 115px; top: 64px; }
.pcb-board span:nth-child(3) { width: 230px; height: 4px; right: 88px; bottom: 75px; }
.pcb-board span:nth-child(4) { width: 4px; height: 145px; right: 134px; bottom: 75px; }
.pcb-board span:nth-child(5) { width: 105px; height: 4px; left: 170px; bottom: 138px; transform: rotate(-28deg); }
.pcb-board span:nth-child(6) { width: 120px; height: 4px; right: 190px; top: 120px; transform: rotate(35deg); }

.hero-card-info {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 28px;
  padding: 20px 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--navy);
}

.hero-card-info strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

.hero-card-info p {
  color: var(--muted);
  font-size: 14px;
}

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

.slider-dots span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
}

.slider-dots span.active {
  width: 30px;
  background: var(--orange);
}

.quick-menu {
  position: relative;
  z-index: 4;
  margin-top: -54px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 6px;
  overflow: hidden;
}

.quick-grid a {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  transition: background 0.25s ease, color 0.25s ease;
}

.quick-grid a:last-child {
  border-right: none;
}

.quick-grid a:hover {
  background: var(--blue);
  color: var(--white);
}

.quick-grid b {
  display: block;
  font-size: 19px;
  margin-bottom: 5px;
}

.quick-grid span {
  color: #8a98a8;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.quick-grid a:hover span {
  color: rgba(255, 255, 255, 0.75);
}

.section {
  padding: 92px 0;
}

.section-title {
  margin-bottom: 38px;
}

.section-title.centered {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-title span {
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 7px;
}

.section-title h2 {
  position: relative;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
  margin-top: 15px;
}

.section-title.centered h2::after {
  margin-left: auto;
  margin-right: auto;
}

.section-title p {
  color: var(--muted);
  font-size: 16px;
}

.split-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.split-title p {
  max-width: 500px;
}

.choose-section {
  padding-top: 112px;
  background:
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.choose-card {
  min-height: 250px;
  padding: 34px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 8px 26px rgba(9, 104, 183, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.choose-card:hover,
.choose-card.highlight {
  transform: translateY(-6px);
  border-color: rgba(9, 104, 183, 0.25);
  box-shadow: 0 18px 42px rgba(9, 104, 183, 0.13);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  font-weight: 800;
}

.choose-card h3,
.service-card h3,
.news-card h3 {
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 10px;
}

.choose-card p,
.service-card p,
.news-card p {
  color: var(--muted);
  font-size: 15px;
}

.services-section {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  min-height: 246px;
  padding: 34px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--deep-blue));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  color: var(--blue);
  background: var(--light-blue);
  border-radius: 12px;
  font-style: normal;
  font-size: 26px;
  font-weight: 700;
}

.service-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover a {
  color: #fff;
}

.service-card:hover i {
  color: var(--blue);
  background: #fff;
}

.quality-section {
  background: #f3f8fe;
}

.quality-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 58px;
  align-items: center;
}

.factory-panel {
  position: relative;
  min-height: 440px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.22)),
    repeating-linear-gradient(90deg, rgba(6, 63, 134, 0.14) 0 1px, transparent 1px 54px),
    linear-gradient(135deg, #dcecf7, #edf7fd);
  box-shadow: var(--shadow);
}

.factory-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 116px;
  background:
    repeating-linear-gradient(90deg, rgba(5, 63, 134, 0.25) 0 12px, transparent 12px 42px),
    linear-gradient(180deg, #c9d8e5, #9fb6ca);
}

.machine {
  position: absolute;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff, #cfddea);
  border: 1px solid #c1d3e2;
  box-shadow: 0 16px 30px rgba(0, 45, 100, 0.13);
}

.machine::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, #54d7ff 0 28%, #0b68b7 30% 68%, #063f86 70% 100%);
  right: 22px;
  top: 26px;
}

.machine-one { width: 210px; height: 170px; left: 42px; top: 85px; }
.machine-two { width: 260px; height: 210px; right: 44px; top: 54px; }
.machine-three { width: 220px; height: 132px; left: 112px; bottom: 64px; }

.scan-line {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 48%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 22px var(--cyan);
}

.quality-copy > p {
  color: var(--muted);
  margin-bottom: 26px;
}

.quality-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.quality-list li {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: #fff;
  border-left: 4px solid var(--blue);
  box-shadow: 0 10px 22px rgba(9, 104, 183, 0.08);
}

.quality-list b {
  color: var(--navy);
}

.quality-list span {
  color: var(--muted);
  font-size: 15px;
}

.about-section {
  background:
    linear-gradient(90deg, #fff 0 58%, #f7fbff 58% 100%);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 22px;
}

.text-link {
  color: var(--blue);
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.stats-grid div {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
}

.stats-grid strong {
  color: var(--blue);
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stats-grid span {
  color: var(--muted);
}

.news-section {
  background: #fff;
  padding: 50px 0;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
  gap: 50px;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
  margin-top: 50px;
}

.news-content .section-header {
  margin-bottom: 20px;
}

.news-content .section-header h2 {
  font-size: 32px;
  color: var(--navy);
  margin-top: 8px;
}

/* ===== 新闻 Tab 分类 ===== */
.news-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--line);
}

.news-tab-link {
  position: relative;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s ease;
}

.news-tab-link:hover {
  color: var(--blue);
}

.news-tab-link.current {
  color: var(--blue);
  font-weight: 700;
}

.news-tab-link.current::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--blue);
}

.news-tab-contents {
  position: relative;
}

.news-tab-panel {
  display: none;
}

.news-tab-panel.active {
  display: block;
}

.news-list {
  list-style: none;
}

.news-list li {
  border-bottom: 1px solid var(--line);
}

.news-list li a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  transition: color 0.2s ease;
}

.news-list li a:hover {
  color: var(--blue);
}

.news-list li a:hover .news-title {
  color: var(--blue);
}

.news-list .news-date {
  flex-shrink: 0;
  width: auto;
  height: auto;
  display: inline;
  margin-bottom: 0;
  color: var(--muted);
  background: none;
  border-radius: 0;
  font-size: 14px;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.news-list .news-title {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  transition: color 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 旧版新闻卡片样式保留 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  position: relative;
  padding: 32px 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(7, 27, 53, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.news-card .news-date {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
}

.news-date b {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.news-date span {
  display: block;
  margin-top: -12px;
  font-size: 12px;
  opacity: 0.86;
}

.news-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 182, 217, 0.16), transparent 28%),
    linear-gradient(135deg, #061c36, #082b57);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr 0.75fr 1.25fr;
  gap: 60px;
  padding: 58px 0;
}

.footer-logo .logo-mark {
  width: 42px;
  height: 42px;
}

.footer-logo strong {
  color: #fff;
  font-size: 24px;
}

.footer-brand p {
  margin-top: 16px;
}

.footer-wechat {
  margin-top: 24px;
}

.footer-wechat img {
  width: 96px;
  height: 96px;
  display: block;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}

.footer-wechat p {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 18px;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

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

.copyright {
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

@media (max-width: 1024px) {
  .topbar-contact {
    display: none;
  }

  .header-inner {
    height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero-inner,
  .quality-layout,
  .about-layout,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 360px;
  }

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

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

  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 16px, 1180px);
  }

  .topbar {
    display: none;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .logo-text strong {
    font-size: 22px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 76px 0 92px;
    gap: 34px;
  }

  .hero-card {
    min-height: 300px;
    padding: 20px;
  }

  .pcb-board {
    inset: 24px 20px 88px 20px;
  }

  .hero-card-info {
    left: 20px;
    right: 20px;
  }

  .quick-menu {
    margin-top: -32px;
  }

  .quick-grid,
  .choose-grid,
  .services-grid,
  .news-grid,
  .stats-grid,
  .footer-layout,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .quick-grid a {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 66px 0;
  }

  .split-title {
    display: block;
  }

  .section-title h2 {
    font-size: 29px;
  }

  .quality-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .about-section {
    background: #fff;
  }

  .news-tabs {
    flex-wrap: wrap;
    gap: 4px;
  }

  .news-tab-link {
    padding: 10px 14px;
    font-size: 14px;
  }

  .news-list li a {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 0;
  }

  .news-list .news-title {
    white-space: normal;
  }
}

/* ================= SEO: 侧栏样式 ================= */
.abouts-left {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  height: fit-content;
  position: sticky;
  top: 20px;
}

.abouts-left-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 2px solid #1890ff;
  position: relative;
}

.abouts-left-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #1890ff;
}

.abouts-left-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.abouts-left-nav li {
  margin-bottom: 8px;
}

.abouts-left-nav a {
  display: block;
  padding: 10px 15px;
  color: #555;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.abouts-left-nav a:hover {
  background: #f0f7ff;
  color: #1890ff;
  border-left-color: #1890ff;
  transform: translateX(5px);
}

.abouts-left-nav .current a,
.abouts-left-nav .active a {
  background: #e6f4ff;
  color: #1890ff;
  border-left-color: #1890ff;
  font-weight: bold;
}

/* 热门服务区域 */
.abouts-left h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.abouts-left .hot-services ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.abouts-left .hot-services li {
  margin-bottom: 10px;
}

.abouts-left .hot-services a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: #555;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.abouts-left .hot-services a:hover {
  background: #f0f7ff;
  color: #1890ff;
}

.abouts-left .hot-services a::before {
  content: '→';
  margin-right: 8px;
  color: #1890ff;
  font-weight: bold;
}

/* 响应式：移动端隐藏侧栏或调整布局 */
@media (max-width: 992px) {
  .abouts-left {
    position: static;
    margin-bottom: 30px;
  }
  
  .am-u-lg-3 {
    width: 100%;
  }
  
  .am-u-lg-9 {
    width: 100%;
  }
}

/* ================= SEO: 产品卡片网格样式 ================= */
.product-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  padding: 20px 0 !important;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: #1890ff;
}

.product-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* 产品图片 */
.product-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

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

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

/* 产品信息 */
.product-card-content {
  padding: 16px;
  flex: 1;
}

.product-card-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.4;
  height: 44px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.3s ease;
}

.product-card:hover .product-card-title {
  color: #1890ff;
}

.product-card-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  height: 45px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 详情按钮 */
.product-card-footer {
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: linear-gradient(135deg, #1890ff, #096dd9);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover .product-btn {
  background: linear-gradient(135deg, #40a9ff, #1890ff);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

/* 暂无产品提示 */
.no-products {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.no-products i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.no-products p {
  font-size: 16px;
  margin: 0;
}

/* 分页控件 */
.product-pagination {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #e8e8e8;
}

.pagination-info {
  text-align: center;
  font-size: 14px;
  color: #666;
}

.pagination-info a {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 4px;
  color: #1890ff;
  text-decoration: none;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination-info a:hover {
  color: #fff;
  background: #1890ff;
  border-color: #1890ff;
}

.pagination-info .pagebarCurrent {
  padding: 6px 12px;
  margin: 0 4px;
  background: #1890ff;
  color: #fff;
  border: 1px solid #1890ff;
  border-radius: 4px;
  font-weight: bold;
}

/* 产品页面特殊样式 */
.product-page .abouts-right-content h3 {
  border-bottom: 2px solid #1890ff;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.product-page .abouts-right-content h3 span {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

/* 响应式优化 */
@media (max-width: 992px) {
  .product-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .product-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .product-card-image {
    height: 180px;
  }
  
  .product-card-title {
    font-size: 15px;
    height: 42px;
  }
  
  .product-card-description {
    font-size: 13px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .product-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ================= 修复布局问题 ================= */
/* 确保新闻页和产品页的侧栏正常显示 */
.news-page .am-g,
.product-page .am-g {
  display: flex;
  flex-wrap: wrap;
}

.news-page .abouts-left,
.product-page .abouts-left {
  width: 25%;
  padding-right: 15px;
}

.news-page .abouts-right,
.product-page .abouts-right {
  width: 75%;
  padding-left: 15px;
}

/* 移动端适配 */
@media (max-width: 992px) {
  .news-page .abouts-left,
  .product-page .abouts-left,
  .news-page .abouts-right,
  .product-page .abouts-right {
    width: 100%;
    padding: 0;
  }
  
  .news-page .abouts-left,
  .product-page .abouts-left {
    margin-bottom: 30px;
  }
}

/* 防止分页控件影响布局 */
.product-pagination {
  clear: both;
}

/* 确保卡片网格不受影响 */
.product-cards-grid {
  clear: both;
}