/* ============================================================
   CSS VARIABLES — 主题色彩系统
   ============================================================ */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --accent: #F97316;
  --accent-hover: #EA580C;
  --gradient-start: #667eea;
  --gradient-mid: #764ba2;
  --gradient-end: #3B82F6;
  --dark: #0F172A;
  --dark-secondary: #1E293B;
  --text: #334155;
  --text-light: #64748B;
  --bg: #F8FAFC;
  --bg-white: #FFFFFF;
  --border: #E2E8F0;
  --success: #10B981;
  --cyan: #06B6D4;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow: 0 4px 24px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, .12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --max-width: 1280px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

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

ul,
ol {
  list-style: none;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Common */
.section {
  padding: 88px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--primary);
  background: rgba(37, 99, 235, .08);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  object-fit: contain;
}

.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.logo-text span {
  color: var(--primary);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(37, 99, 235, .06);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, .04);
}

/* Header Phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 16px;
  background: rgba(37, 99, 235, .06);
  border-radius: 24px;
  flex-shrink: 0;
}

.header-phone svg {
  width: 16px;
  height: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  z-index: 999;
  padding: 80px 20px 24px;
  transition: var(--transition);
  box-shadow: none;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
}

.mobile-nav.active {
  transform: translateX(0);
  visibility: visible;
  box-shadow: var(--shadow-lg);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

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

.mobile-nav .sub-links {
  padding-left: 16px;
}

.mobile-nav .sub-links a {
  font-size: 14px;
  color: var(--text-light);
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 998;
}

.overlay.active {
  display: block;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.banner {
  position: relative;
  width: 100%;
  height: clamp(480px, 60vw, 680px);
  overflow: hidden;
  margin-top: 76px;
}

.banner-slides {
  display: flex;
  height: 100%;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.banner-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* === Banner 三屏图片背景 === */
.banner-slide:nth-of-type(1) {
  background: url('../images/bg1.jpg') center/cover no-repeat;
}
.banner-slide:nth-of-type(2) {
  background: url('../images/bg2.jpg') center/cover no-repeat;
}
.banner-slide:nth-of-type(3) {
  background: url('../images/bg3.jpg') center/cover no-repeat;
}

.banner-slide::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0, 0, 0, .4);
}


.banner-slide::after {
  content: none;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 720px;
  padding: 0 24px;
}

.banner-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.banner-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}

.banner-title span {
  background: linear-gradient(135deg, #60A5FA, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-desc {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(255, 255, 255, .8);
  margin-bottom: 36px;
  line-height: 1.6;
}

.banner-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 28px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(249, 115, 22, .35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, .45);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, .5);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Banner Arrows & Dots */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
  cursor: pointer;
}

.banner-arrow:hover {
  background: rgba(255, 255, 255, .3);
}

.banner-arrow--prev {
  left: 24px;
}

.banner-arrow--next {
  right: 24px;
}

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

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: var(--transition);
}

.banner-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

/* Banner scroll indicator */
.banner-scroll {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: .6;
}

.banner-scroll span {
  font-size: 11px;
  color: #fff;
  letter-spacing: .06em;
}

.banner-scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 11px;
  position: relative;
}

.banner-scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {

  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: .3;
    transform: translateX(-50%) translateY(6px);
  }
}

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

.service-card {
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

/* 卡片背景 — 深色半透明遮罩，文字用白色 */
.service-card::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: rgba(0,0,0,.40);
  transition: var(--transition);
}
.service-card:hover::after {
  background: rgba(0,0,0,.25);
}

/* 顶部彩色装饰线 */
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover::before { transform: scaleX(1); }

/* 六张卡片 — 不同的背景图片 + 白色遮罩 */
.service-card:nth-child(1) { background: url('../images/bg1.jpg') center top/cover no-repeat; }
.service-card:nth-child(2) { background: url('../images/bg2.jpg') center top/cover no-repeat; }
.service-card:nth-child(3) { background: url('../images/bg3.jpg') center top/cover no-repeat; }
.service-card:nth-child(4) { background: url('../images/bg1.jpg') center bottom/cover no-repeat; }
.service-card:nth-child(5) { background: url('../images/bg2.jpg') center bottom/cover no-repeat; }
.service-card:nth-child(6) { background: url('../images/bg3.jpg') center bottom/cover no-repeat; }

.service-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  position: relative; z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.service-card p {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  position: relative; z-index: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: var(--transition);
  position: relative; z-index: 1;
}

.service-card .service-link:hover {
  gap: 8px;
}

/* —— 配套制造能力说明条 —— */
.services-note {
  margin-top: 40px;
  text-align: center;
  padding: 18px 32px;
  background: rgba(37, 99, 235, .04);
  border: 1px dashed rgba(37, 99, 235, .18);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}
.services-note em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.services-note strong {
  color: var(--text);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.about-visual-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

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

.about-visual-card .num {
  font-size: 36px;
  font-weight: 800;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 数字动画容器 — ghost占位 + value绝对定位，彻底不抖动 */
.num-counter {
  position: relative;
  display: inline-block;
}
.num-ghost {
  visibility: hidden;
  white-space: nowrap;
}
.num-value {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.about-visual-card .label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

.about-text h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.8;
}

.about-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-white);
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text);
}

.about-badge svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* ============================================================
   ADVANTAGES SECTION
   ============================================================ */
.advantages {
  background: var(--bg-white);
}

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

.advantage-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.advantage-card:hover {
  background: var(--bg);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(102, 126, 234, .12), rgba(118, 75, 162, .12));
}

.advantage-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================================
   APPLICATIONS SECTION
   ============================================================ */
.applications {
  background: var(--bg);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.app-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-white);
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.app-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.app-card .app-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(59, 130, 246, .08));
}

.app-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

/* ============================================================
   CASES SECTION
   ============================================================ */
.cases {
  background: var(--bg-white);
}

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

.case-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}

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

.case-image {
  height: 200px;
  background: linear-gradient(135deg, #E0E7FF, #EDE9FE, #E0F2FE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.case-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(255, 255, 255, .8));
}

.case-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(37, 99, 235, .85);
  padding: 4px 12px;
  border-radius: 12px;
}

.case-body {
  padding: 24px;
}

.case-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.case-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news {
  background: var(--bg);
}

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

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}

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

.news-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  background: linear-gradient(135deg, var(--dark) 0%, #1E293B 50%, #1E3A5F 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 90%, rgba(37, 99, 235, .2) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(124, 58, 237, .2) 0%, transparent 40%);
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta p {
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  margin-bottom: 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-secondary);
  color: rgba(255, 255, 255, .65);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer p,
.footer a {
  font-size: 14px;
  line-height: 1.8;
}

.footer a {
  color: rgba(255, 255, 255, .65);
  transition: var(--transition);
}

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

.footer-about p {
  margin-bottom: 8px;
}

.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact .contact-item svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--primary-light);
}

.footer-qr {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .3);
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  font-size: 13px;
  text-align: center;
  color: rgba(255, 255, 255, .35);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transition: opacity .6s ease;
}

.fade-up.visible {
  opacity: 1;
}

/* ============================================================
   RESPONSIVE — Tablet (< 1024px)
   ============================================================ */
@media (max-width:1024px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 64px 0;
  }

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

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

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

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

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .about-illustration {
    max-width: 320px;
    margin: 0 auto 16px;
  }

  .about-visual-card .num {
    font-size: 30px;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (< 768px)
   ============================================================ */
@media (max-width:768px) {
  /* 手机端容器全宽 */
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  /* Header */
  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .logo-text {
    font-size: 14px;
  }

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

  .nav,
  .header-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .banner {
    margin-top: 56px;
    height: 320px;
  }

  .banner-title {
    font-size: 22px !important;
  }

  .banner-desc {
    font-size: 13px !important;
  }

  .btn {
    padding: 10px 22px;
    font-size: 13px;
  }

  /* Grids → 1-2 columns */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px 20px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

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

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* About section — 手机端紧凑布局 */
  .about-grid {
    gap: 24px;
  }

  .about-illustration {
    max-width: 240px;
    margin: 0 auto 12px;
  }

  .about-visual {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-page-grid .about-visual {
    grid-template-columns: 1fr;
  }

  .about-stats {
    gap: 8px;
    margin-top: 12px;
  }

  .about-visual-card {
    padding: 18px 12px;
    border-radius: var(--radius);
  }

  .about-visual-card .num {
    font-size: 26px;
  }

  .about-visual-card .label {
    font-size: 12px;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .about-text p {
    font-size: 14px;
  }

  .about-badges {
    gap: 8px;
  }

  .about-badge {
    font-size: 11px;
    padding: 5px 10px;
  }

  /* Banner arrows */
  .banner-arrow {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .banner-arrow--prev {
    left: 6px;
  }

  .banner-arrow--next {
    right: 6px;
  }

  .banner-tag {
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: 14px;
  }

  .banner-btns {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .banner-scroll {
    display: none;
  }

  /* 案例卡片 */
  .case-image {
    min-height: 160px;
  }

  .case-body {
    padding: 16px;
  }

  .case-body h3 {
    font-size: 15px;
  }

  /* 新闻卡片 */
  .news-card {
    padding: 20px;
  }

  /* 服务图标缩小 */
  .service-icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 24px;
    border-radius: 14px;
    margin-bottom: 14px;
  }

  /* 手机端取消fixed背景，改为scroll避免iOS兼容问题 */
  .services {
    background-attachment: scroll;
  }
}

/* ============================================================
   RESPONSIVE — Widescreen (> 1440px)
   ============================================================ */
@media (min-width:1441px) {
  .banner {
    height: 720px;
  }

  .container {
    max-width: 1400px;
  }

  .header-inner {
    max-width: 1400px;
  }

  .banner-title {
    font-size: 56px;
  }
}

/* ============================================================
   SVG PATTERN DEFINITIONS (inlined via CSS background)
   ============================================================ */

/* Dot grid pattern — used across multiple sections */
.pattern-dots {
  background-image: radial-gradient(circle, rgba(37, 99, 235, .08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Tech grid pattern */
.pattern-grid {
  background-image:
    linear-gradient(rgba(37, 99, 235, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Diagonal stripe pattern — modern tech feel */
.pattern-diagonal {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px,
      rgba(37, 99, 235, .02) 10px, rgba(37, 99, 235, .02) 20px);
}

/* ============================================================
   SERVICES SECTION — Background & Decor
   ============================================================ */
.services {
  position: relative;
  background: var(--bg-white);
}

/* 点阵纹理叠加 */
.services::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 100%;
  background-image: radial-gradient(circle, rgba(37, 99, 235, .04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

/* Service card icon — replace emoji with styled SVG backgrounds */
.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-icon-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .6), transparent);
}

.service-card:nth-child(1) .service-icon-wrap {
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  color: #fff;
}

.service-card:nth-child(2) .service-icon-wrap {
  background: linear-gradient(135deg, #7C3AED, #8B5CF6);
  color: #fff;
}

.service-card:nth-child(3) .service-icon-wrap {
  background: linear-gradient(135deg, #F97316, #FB923C);
  color: #fff;
}

.service-card:nth-child(4) .service-icon-wrap {
  background: linear-gradient(135deg, #06B6D4, #22D3EE);
  color: #fff;
}

.service-card:nth-child(5) .service-icon-wrap {
  background: linear-gradient(135deg, #10B981, #34D399);
  color: #fff;
}

.service-card:nth-child(6) .service-icon-wrap {
  background: linear-gradient(135deg, #EC4899, #F472B6);
  color: #fff;
}

/* ============================================================
   ABOUT SECTION — Illustration & Background
   ============================================================ */
.about {
  position: relative;
  background:
    radial-gradient(ellipse at 85% 30%, rgba(37, 99, 235, .06) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 70%, rgba(124, 58, 237, .04) 0%, transparent 60%),
    var(--bg);
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.about .container {
  position: relative;
  z-index: 1;
}

/* About illustration — circuit board image */
.about-illustration {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  margin: 0 auto;
}

.about-circuit-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(37, 99, 235, .12);
}

/* ============================================================
   ADVANTAGES SECTION — Background & Decor
   ============================================================ */
.advantages {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, .06) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(6, 182, 212, .05) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(124, 58, 237, .04) 0%, transparent 50%),
    var(--bg-white);
  overflow: hidden;
}

.advantages::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(135deg, transparent 49.5%, rgba(37, 99, 235, .03) 49.5%, rgba(37, 99, 235, .03) 50.5%, transparent 50.5%);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.advantages .container {
  position: relative;
  z-index: 1;
}

/* Advantage card enhanced */
.advantage-card {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
}

.advantage-card:hover {
  background: rgba(0, 0, 0, .7);
  border-color: rgba(255, 255, 255, .2);
}

.advantage-card h3 {
  color: #fff;
}

.advantage-card p {
  color: rgba(255, 255, 255, 1);
}

.advantage-card .advantage-icon {
  font-size: 32px;
  background: rgba(255, 255, 255, .1);
}

/* Per-card decorative background images */
.advantage-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: .8;
  transition: opacity var(--transition);
}

.advantage-card:nth-child(1)::before {
  background-image: url('../images/p1.jpg');
}
.advantage-card:nth-child(2)::before {
  background-image: url('../images/p2.jpg');
}
.advantage-card:nth-child(3)::before {
  background-image: url('../images/p3.jpg');
}
.advantage-card:nth-child(4)::before {
  background-image: url('../images/p4.jpg');
}

/* Ensure card content renders above background image */
.advantage-card > * {
  position: relative;
  z-index: 1;
}

/* ============================================================
   APPLICATIONS SECTION — Background
   ============================================================ */
.applications {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, .05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, .05) 0%, transparent 50%),
    var(--bg);
}

.applications::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(37, 99, 235, .04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

.applications .container {
  position: relative;
  z-index: 1;
}

/* App card enhanced */
.app-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .1);
}

.app-card:hover {
  background: rgba(0, 0, 0, .7);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.app-card h4 {
  color: #fff;
}

.app-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: .75;
  pointer-events: none;
  z-index: 0;
}

.app-card:nth-child(1)::before { background-image: url('../images/app-security.jpg'); }
.app-card:nth-child(2)::before { background-image: url('../images/app-medical.jpg'); }
.app-card:nth-child(3)::before { background-image: url('../images/app-multimedia.jpg'); }
.app-card:nth-child(4)::before { background-image: url('../images/app-network.jpg'); }
.app-card:nth-child(5)::before { background-image: url('../images/app-industrial.jpg'); }
.app-card:nth-child(6)::before { background-image: url('../images/app-instrument.jpg'); }

/* about.html 行业应用（10张卡片，不同顺序） */
.app-grid--about .app-card:nth-child(1)::before { background-image: url('../images/app-robot.jpg'); }
.app-grid--about .app-card:nth-child(2)::before { background-image: url('../images/app-medical.jpg'); }
.app-grid--about .app-card:nth-child(3)::before { background-image: url('../images/app-power.jpg'); }
.app-grid--about .app-card:nth-child(4)::before { background-image: url('../images/app-railway.jpg'); }
.app-grid--about .app-card:nth-child(5)::before { background-image: url('../images/app-security.jpg'); }
.app-grid--about .app-card:nth-child(6)::before { background-image: url('../images/app-instrument.jpg'); }
.app-grid--about .app-card:nth-child(7)::before { background-image: url('../images/app-automation.jpg'); }
.app-grid--about .app-card:nth-child(8)::before { background-image: url('../images/app-automotive.jpg'); }
.app-grid--about .app-card:nth-child(9)::before { background-image: url('../images/app-energy.jpg'); }
.app-grid--about .app-card:nth-child(10)::before { background-image: url('../images/app-consumer.jpg'); }

.app-card .app-icon {
  background: rgba(255, 255, 255, .1);
  position: relative;
  z-index: 1;
}

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

/* ============================================================
   CASES SECTION — Product Images & Background
   ============================================================ */
.cases {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(249, 115, 22, .04) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(37, 99, 235, .04) 0%, transparent 50%),
    var(--bg-white);
}

.case-image {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  min-height: 220px;
}

.case-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, .15) 0%, rgba(15, 23, 42, .05) 40%, rgba(15, 23, 42, .5) 100%);
}

.case-image--pcb {
  background: linear-gradient(135deg, #0a1628 0%, #0f2b3d 30%, #1a4a3a 70%, #0d2818 100%);
}

.case-image--ctrl {
  background: linear-gradient(135deg, #0f172a 0%, #1a1a3e 30%, #1e3a5f 70%, #0a1628 100%);
}

.case-image--oled {
  background: linear-gradient(135deg, #0a1628 0%, #1a1040 30%, #2d1a4a 70%, #0f172a 100%);
}

/* PCB trace pattern inside case images */
.case-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg stroke='%2360a5fa' stroke-width='1' fill='none' opacity='0.6'%3E%3Cpath d='M0 60 h80 l15 15 v50 l-15 15 h-30' /%3E%3Ccircle cx='80' cy='60' r='2' fill='%2360a5fa'/%3E%3Ccircle cx='50' cy='140' r='2' fill='%2360a5fa'/%3E%3Cpath d='M300 100 h-90 l-20 20 v60' /%3E%3Ccircle cx='210' cy='100' r='2' fill='%2360a5fa'/%3E%3Ccircle cx='190' cy='180' r='2' fill='%2360a5fa'/%3E%3Cpath d='M0 220 h120 l25-25 v-50' /%3E%3Ccircle cx='120' cy='220' r='2' fill='%2360a5fa'/%3E%3Ccircle cx='145' cy='145' r='2' fill='%2360a5fa'/%3E%3Cpath d='M180 300 v-70 l30-30 h70' /%3E%3Ccircle cx='180' cy='230' r='2' fill='%2360a5fa'/%3E%3Ccircle cx='280' cy='200' r='2' fill='%2360a5fa'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* Product icon overlay */
.case-icon-overlay {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 56px;
  opacity: .85;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3));
}

/* ============================================================
   CTA SECTION — Enhanced Background
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 30%, #1E3A5F 60%, #1a1040 100%);
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250' viewBox='0 0 250 250'%3E%3Crect width='250' height='250' fill='none'/%3E%3Cg stroke='%23ffffff' stroke-width='1' fill='none'%3E%3Ccircle cx='40' cy='40' r='4' fill='%23ffffff'/%3E%3Cpath d='M40 40 h100 l15 15 v40' /%3E%3Ccircle cx='155' cy='95' r='3' fill='%23ffffff'/%3E%3Ccircle cx='180' cy='180' r='4' fill='%23ffffff'/%3E%3Cpath d='M180 180 v-50 l-25-25 h-60' /%3E%3Ccircle cx='95' cy='105' r='3' fill='%23ffffff'/%3E%3Cpath d='M0 200 h70 l20-20 v-60' /%3E%3Ccircle cx='70' cy='200' r='3' fill='%23ffffff'/%3E%3Ccircle cx='90' cy='120' r='3' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 250px 250px;
}

.cta .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   NEWS SECTION — Background
   ============================================================ */
.news {
  position: relative;
  background:
    radial-gradient(ellipse at 70% 0%, rgba(37, 99, 235, .04) 0%, transparent 60%),
    var(--bg);
}

/* ============================================================
   FOOTER — Enhanced
   ============================================================ */
.footer {
  position: relative;
  background: var(--dark-secondary);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--cyan));
}

/* ============================================================
   DECORATIVE BLOB ORBS (shared across sections)
   ============================================================ */
.decor-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  opacity: .15;
}

.decor-blob--blue {
  background: #3B82F6;
}

.decor-blob--purple {
  background: #7C3AED;
}

.decor-blob--cyan {
  background: #06B6D4;
}

.decor-blob--orange {
  background: #F97316;
}

/* ============================================================
   CIRCUIT DECORATION (Shared)
   ============================================================ */
.circuit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.circuit-bg .line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .06), transparent);
}

.circuit-bg .line-h1 {
  top: 20%;
  left: 0;
  width: 100%;
  height: 1px;
}

.circuit-bg .line-h2 {
  top: 60%;
  left: 0;
  width: 100%;
  height: 1px;
}

.circuit-bg .line-v1 {
  top: 0;
  left: 30%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, .06), transparent);
}

.circuit-bg .line-v2 {
  top: 0;
  left: 70%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, .06), transparent);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: .12;
  }

  50% {
    opacity: .25;
  }
}

.float-anim {
  animation: float 6s ease-in-out infinite;
}

.pulse-anim {
  animation: pulse-glow 4s ease-in-out infinite;
}

/* ============================================================
   SUB-PAGE: PAGE BANNER (关于/联系/新闻)
   ============================================================ */
.page-banner {
  position: relative;
  padding: 120px 0 72px;
  background: linear-gradient(135deg, var(--dark) 0%, #1E293B 50%, #1E3A5F 100%);
  color: #fff;
  overflow: hidden;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, .25) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(124, 58, 237, .15) 0%, transparent 45%);
  pointer-events: none;
}
.page-banner .container {
  position: relative;
  z-index: 1;
}
.page-banner-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.page-banner-content h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  margin: 12px 0 16px;
}
.page-banner-content h1 span {
  color: var(--accent);
}
.page-banner-content p {
  color: rgba(255, 255, 255, .65);
  font-size: 17px;
}

/* ============================================================
   SUB-PAGE: ABOUT
   ============================================================ */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-page-grid .about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-page-grid .about-illustration {
  grid-column: 1 / -1;
}
.about-page-grid .about-stats {
  grid-column: 1 / -1;
}
.about-page-grid .about-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}
.about-page-grid .about-text p {
  margin-bottom: 14px;
  line-height: 1.85;
}
.about-page-grid .about-text strong {
  color: var(--dark);
}

/* ============================================================
   COMPANY OVERVIEW — Enhanced Styles
   ============================================================ */

/* 板块整体微调 */
.company-overview {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(37, 99, 235, .04) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 100%, rgba(6, 182, 212, .03) 0%, transparent 60%),
    var(--bg-white);
}

/* 企业亮点条 */
.highlight-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hl-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, .06);
  border: 1px solid rgba(37, 99, 235, .12);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* 核心优势卡片组 */
.core-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.core-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.core-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.core-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(124, 58, 237, .06));
}
.core-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.core-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* 统计卡片增强 — about页专属 */
.about-visual-card {
  position: relative;
  overflow: hidden;
}
.about-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.about-visual-card:nth-child(1)::before { background: linear-gradient(90deg, #3B82F6, #60A5FA); }
.about-visual-card:nth-child(2)::before { background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.about-visual-card:nth-child(3)::before { background: linear-gradient(90deg, #F97316, #FB923C); }
.about-visual-card:nth-child(4)::before { background: linear-gradient(90deg, #10B981, #34D399); }
.about-visual-card .stat-icon {
  font-size: 22px;
  text-align: center;
  margin-bottom: 4px;
}

/* 亮点条 + 核心卡片 响应式 */
@media (max-width: 768px) {
  .highlight-strip {
    gap: 8px;
  }
  .hl-pill {
    font-size: 12px;
    padding: 4px 12px;
  }
  .core-card {
    padding: 14px;
    gap: 10px;
  }
  .core-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
  }
  .core-body h4 {
    font-size: 14px;
  }
  .core-body p {
    font-size: 12px;
  }
  .about-visual-card .stat-icon {
    font-size: 18px;
  }
}

/* R&D Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  position: relative;
}
.process-num {
  font-size: 36px;
  font-weight: 800;
  color: rgba(37, 99, 235, .12);
  margin-bottom: 8px;
  line-height: 1;
}
.process-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.process-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.process-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.process-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tech-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.tech-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.tech-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.tech-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.tech-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   SUB-PAGE: CONTACT
   ============================================================ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
.contact-form-wrap h2,
.contact-info-wrap h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

/* Form */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .form-group {
  margin-bottom: 18px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-form label .required {
  color: #e53e3e;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}
.contact-form textarea {
  resize: vertical;
}

/* Contact Info */
.contact-info-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: var(--transition);
}
.contact-info-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}
.contact-info-icon {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1;
}
.contact-info-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.contact-info-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}
.contact-qr-wrap {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Visit Grid */
.visit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.visit-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.visit-card:hover {
  box-shadow: var(--shadow);
}
.visit-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.visit-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.visit-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   ABOUT PAGE: CONTACT SECTION
   ============================================================ */

/* Quick contact bar */
.contact-quick-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.contact-quick-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-quick-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.contact-quick-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.contact-quick-label {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-quick-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

/* Department cards */
.contact-dept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.contact-dept-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.contact-dept-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.contact-dept-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.contact-dept-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.contact-dept-contact {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.contact-dept-phone {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-dept-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Address grid */
.contact-addr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-addr-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}
.contact-addr-card:hover {
  box-shadow: var(--shadow);
}
.contact-addr-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.contact-addr-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact-addr-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-image {
  width: 100%;
  display: block;
}

/* Responsive for contact section */
@media (max-width: 768px) {
  .contact-quick-bar {
    grid-template-columns: 1fr;
  }
  .contact-dept-grid {
    grid-template-columns: 1fr;
  }
  .contact-addr-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SUB-PAGE: NEWS
   ============================================================ */
.news-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.news-filter-btn {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  cursor: pointer;
  transition: var(--transition);
}
.news-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.news-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* News card grid — 4 per row */
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.news-card-link {
  display: block;
  color: inherit;
  transition: var(--transition);
}
.news-card-link:hover {
  transform: translateY(-3px);
}
.news-card-item {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.news-card-link:hover .news-card-item {
  box-shadow: var(--shadow-lg);
}
.news-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}
.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.news-card-item:hover .news-card-img-wrap img {
  transform: scale(1.05);
}
.news-card-body {
  padding: 18px 16px 20px;
}
.news-card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-right: 10px;
}
.news-card-date {
  font-size: 12px;
  color: var(--text-light);
}
.news-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin: 10px 0 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   SUB-PAGE: CASES
   ============================================================ */

/* Category tabs */
.cases-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.cases-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.cases-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37,99,235,.04);
}
.cases-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.cases-tab-icon {
  font-size: 15px;
}

/* Case cards reuse .news-card-grid + .news-card-item from news.css */
.news-card-grid,
.cases-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Pagination */
.paginator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pag-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.pag-btn:hover { background: rgba(37,99,235,.06); }
.pag-btn.pag-disabled {
  color: #c0c6cc;
  cursor: default;
  background: transparent;
}
.pag-num {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.pag-num:hover { border-color: var(--primary); color: var(--primary); }
.pag-num.pag-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pag-ellipsis {
  width: 36px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}
.pag-info {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-light);
}

/* Stats bar */
.cases-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.cases-stat-num {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.cases-stat-num span {
  font-size: .6em;
  color: var(--accent);
}
.cases-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .cases-tabs {
    gap: 6px;
  }
  .cases-tab {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 8px;
  }
  .cases-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* ============================================================
   RESPONSIVE: SUB-PAGES
   ============================================================ */
@media (max-width: 1024px) {
  .about-page-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
  .visit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-card-grid,
  .cases-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
  .visit-grid {
    grid-template-columns: 1fr;
  }
  .news-card-grid,
  .cases-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .news-card-grid,
  .cases-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE PATTERN ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
  .services::before,
  .about::before,
  .advantages::before,
  .applications::before {
    background-size: 16px 16px;
  }

  .case-icon-overlay {
    font-size: 40px;
  }
}

/* ============================================================
   SUB-PAGE: SERVICES — 硬件研发详情页
   ============================================================ */

/* 板块背景 */
.services-detail-section {
  position: relative;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(37, 99, 235, .04) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 60%, rgba(124, 58, 237, .03) 0%, transparent 50%),
    var(--bg-white);
}

/* 3列网格 */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 服务详情卡片 */
.sd-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.08);
}
.sd-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.sd-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform .5s ease;
}
.sd-card:hover .sd-card-bg {
  transform: scale(1.06);
}
.sd-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15,23,42,.15) 0%, rgba(15,23,42,.35) 40%, rgba(15,23,42,.88) 100%);
}
.sd-card-body {
  position: relative;
  z-index: 2;
  padding: 32px 24px 24px;
  color: #fff;
}
.sd-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sd-card-body p {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* 服务图标 */
.sd-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.sd-icon--blue   { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.sd-icon--purple { background: linear-gradient(135deg, #7C3AED, #8B5CF6); }
.sd-icon--orange { background: linear-gradient(135deg, #F97316, #FB923C); }
.sd-icon--cyan   { background: linear-gradient(135deg, #06B6D4, #22D3EE); }
.sd-icon--green  { background: linear-gradient(135deg, #10B981, #34D399); }
.sd-icon--pink   { background: linear-gradient(135deg, #EC4899, #F472B6); }

/* 技术标签 */
.sd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sd-tags span {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* ============================================================
   MANUFACTURING SECTION
   ============================================================ */
.mfg-section {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(249, 115, 22, .04) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 20%, rgba(37, 99, 235, .04) 0%, transparent 50%),
    var(--bg);
}
.mfg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mfg-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.08);
}
.mfg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.mfg-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform .5s ease;
}
.mfg-card:hover .mfg-card-bg {
  transform: scale(1.06);
}
.mfg-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15,23,42,.1) 0%, rgba(15,23,42,.5) 45%, rgba(15,23,42,.9) 100%);
}
.mfg-card-body {
  position: relative;
  z-index: 2;
  padding: 36px 28px 28px;
  color: #fff;
}
.mfg-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.mfg-card-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.mfg-card-body > p {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}
.mfg-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}
.mfg-list li {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  padding: 4px 0 4px 16px;
  position: relative;
}
.mfg-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 11px;
}

/* ============================================================
   SERVICES PAGE — RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sd-card {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .services-detail-grid {
    grid-template-columns: 1fr;
  }
  .sd-card {
    min-height: 260px;
  }
  .sd-card-body {
    padding: 24px 18px 20px;
  }
  .sd-card-body h3 {
    font-size: 18px;
  }
  .mfg-grid {
    grid-template-columns: 1fr;
  }
  .mfg-card {
    min-height: 320px;
  }
  .mfg-card-body {
    padding: 28px 20px 22px;
  }
  .mfg-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SERVICE DETAIL SUB-PAGES (design/circuit/embedded/pcb/prototype/testing)
   ============================================================ */

/* 服务概述 左右两栏 */
.service-detail-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sd-intro-visual {
  position: relative;
}
.sd-intro-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
.sd-intro-text h2 {
  font-size: clamp(24px, 3.5vw, 30px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.sd-intro-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 12px;
}
.sd-intro-text strong {
  color: var(--dark);
}

/* 技术要点 3列卡片 */
.tech-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}
.tp-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}
.tp-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(124,58,237,.06));
}
.tp-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.tp-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
}

/* 4步流程 */
.mini-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mini-step {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
}
.mini-step:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.ms-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  margin-bottom: 14px;
}
.mini-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.mini-step p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

/* 应用场景列表 */
.app-scene-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.app-scene-item {
  display: flex;
  gap: 16px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  align-items: flex-start;
}
.app-scene-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}
.as-icon {
  font-size: 30px;
  flex-shrink: 0;
  line-height: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(124,58,237,.04));
}
.app-scene-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.app-scene-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================================
   SERVICE SUB-PAGES — RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .service-detail-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tech-points-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mini-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-detail-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sd-intro-text h2 {
    font-size: 22px;
  }
  .sd-intro-text p {
    font-size: 14px;
  }
  .tech-points-grid {
    grid-template-columns: 1fr;
  }
  .tp-card {
    padding: 22px 16px;
  }
  .mini-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .mini-step {
    padding: 20px 12px;
  }
  .app-scene-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   NEWS DETAIL PAGE
   ============================================================ */

.article-section {
  padding: 48px 0 64px;
  background: var(--bg);
}
.article-section .container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: flex-start;
}

/* 返回链接 */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 24px;
  transition: var(--transition);
}
.article-back:hover {
  gap: 8px;
}

/* 文章头部 */
.article-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.article-date {
  font-size: 13px;
  color: var(--text-light);
}
.article-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 28px;
}

/* 头图 */
.article-feature-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  background: #e2e8f0;
}
.article-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 正文排版 */
.article-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}
.article-body p {
  margin-bottom: 20px;
}
.article-body strong {
  color: var(--dark);
  font-weight: 700;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 12px;
}
.article-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 10px;
}

/* 文章底部导航 */
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-nav-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.article-nav-btn:hover {
  background: rgba(37,99,235,.06);
  border-color: var(--primary);
}

/* 侧边栏 */
.article-sidebar {
  position: sticky;
  top: 96px;
}
.article-sidebar-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 20px;
}
.article-sidebar-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.related-item {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.related-item:last-child {
  border-bottom: none;
}
.related-item a {
  display: block;
  transition: var(--transition);
}
.related-item a:hover {
  color: var(--primary);
}
.related-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
  margin-top: 6px;
}
.related-item .news-card-tag,
.related-item .news-card-date {
  font-size: 11px;
}

/* 文章页响应式 */
@media (max-width: 1024px) {
  .article-section .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-section {
    padding: 32px 0 48px;
  }
  .article-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .article-body {
    font-size: 14px;
    line-height: 1.8;
  }
  .article-nav {
    flex-direction: column;
    gap: 8px;
  }
  .article-nav-btn {
    width: 100%;
    text-align: center;
  }
  .article-sidebar-section {
    padding: 18px 16px;
  }
}
