/* ========================================================
   贵州禾裕鑫智能科技有限公司 - 官方网站样式表
   Design System & Styling
   ======================================================== */

:root {
  --primary: #00c1e2;
  --primary-hover: #00a8c5;
  --primary-light: rgba(0, 193, 226, 0.12);
  --accent: #00c1e2;
  --accent-glow: rgba(0, 193, 226, 0.25);
  
  --dark-navy: #0b132b;
  --navy-deep: #0f1c3f;
  --navy-card: #152249;
  
  --text-main: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-light: #f3f4f6;
  --text-white: #ffffff;

  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --border-color: #e2e8f0;
  --border-light: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 2px 8px rgba(11, 19, 43, 0.04);
  --shadow-md: 0 6px 20px rgba(11, 19, 43, 0.08);
  --shadow-lg: 0 16px 36px rgba(11, 19, 43, 0.12);
  --shadow-hover: 0 20px 40px rgba(0, 193, 226, 0.18);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1560px; /* 内容区左右各加大160px至1560px */
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================
   公共组件与按钮
   ======================================================== */

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 3.3rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: 0;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.section-header.center {
  text-align: center;
  margin-bottom: 50px;
}

.section-header.light .section-tag {
  color: var(--accent);
}

.section-header.light .section-title {
  color: var(--text-white);
}

.section-header.light .section-subtitle {
  color: #cbd5e1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #009eb8 100%);
  color: #ffffff;
  box-shadow: none; /* 去除蓝色胶囊按钮外发光 */
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  box-shadow: none; /* 去除悬停时外发光 */
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ========================================================
   顶部导航栏 Header
   ======================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1560px; /* 内容区左右各加大160px，与主内容区对齐 */
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-cn {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1;
  transition: var(--transition);
}

.site-header.scrolled .brand-cn {
  color: var(--dark-navy);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding: 10px 0 16px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

/* 下划线指针变成等腰三角形，向下移动16px至 bottom: -12px */
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid currentColor;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-header.scrolled .nav-link {
  color: var(--text-secondary);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  color: var(--primary);
}

.nav-actions {
  display: none;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
}

.mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

.site-header.scrolled .mobile-toggle span {
  background: var(--dark-navy);
}

/* ========================================================
   首屏轮播 Hero Section
   ======================================================== */

.hero-section {
  position: relative;
  height: calc(100vh + 20px);
  min-height: 660px;
  max-height: 920px;
  overflow: hidden;
  background: var(--dark-navy);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 19, 43, 0.52) 0%,
    rgba(11, 19, 43, 0.32) 45%,
    rgba(11, 19, 43, 0.12) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 10;
  padding-top: 80px;
  transform: translateY(-60px);
}

.hero-title {
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 34px;
  letter-spacing: 0;
  max-width: 980px;
  text-shadow: none; /* 严格去除文字投影 */
}

/* 大标题与按钮从下到上出现的交互效果：采用关键帧动画，确保首次加载与轮播切换均能完美触发慢速升流动效 */
.hero-slide .hero-title {
  opacity: 0;
  transform: translateY(42px);
  will-change: transform, opacity;
}

.hero-slide.active .hero-title {
  animation: heroTitleFadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

.hero-slide .hero-btns {
  opacity: 0;
  transform: translateY(32px);
  will-change: transform, opacity;
}

.hero-slide.active .hero-btns {
  animation: heroBtnsFadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

@keyframes heroTitleFadeUp {
  0% {
    opacity: 0;
    transform: translateY(42px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBtnsFadeUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.highlight-text {
  background: linear-gradient(120deg, #ffffff 25%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* 轮播进度条指示器（放置在右侧、细线极简风） */
.hero-progress-container {
  position: absolute;
  bottom: 46px;
  left: 0;
  right: 0;
  z-index: 20;
  pointer-events: none;
}

.hero-progress-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* 放置在右侧 */
}

.hero-progress-track {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.progress-item {
  width: 68px;
  height: 2px; /* 变细为 2px 精致线条 */
  background: rgba(255, 255, 255, 0.22);
  border-radius: 1px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease, height 0.2s ease;
}

.progress-item:hover {
  background: rgba(255, 255, 255, 0.5);
  height: 3px;
}

.progress-item .progress-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 1px;
}

.progress-item.active {
  background: rgba(255, 255, 255, 0.3);
}

.progress-item.active .progress-bar-fill {
  animation: progressFill 5s linear forwards;
}

@keyframes progressFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* ========================================================
   关于企业 About Section
   ======================================================== */

.about-section {
  padding: 150px 0; /* 距离上下文间距各加大50px至150px */
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-frame:hover .about-img {
  transform: scale(1.03);
}

.about-title,
.services-title {
  font-size: 3.3rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 24px;
  letter-spacing: 0;
}

.section-header.light .services-title {
  color: var(--text-white);
}

.about-desc {
  font-size: 1.05rem;
  color: #64748b; /* 统一高级科技灰色 */
  line-height: 1.85;
  margin-bottom: 34px;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
}

.stat-card {
  text-align: left;
}

.stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-unit {
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================================
   核心业务 Services Section (背景大图 + 深色蒙层)
   ======================================================== */

.services-section {
  position: relative;
  padding: 110px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
}

.section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 43, 0.92);
}

.section-inner {
  position: relative;
  z-index: 5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(21, 34, 73, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(27, 43, 90, 0.9);
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 193, 226, 0.35), rgba(0, 193, 226, 0.15));
  border: 1px solid rgba(0, 193, 226, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.4;
}

.card-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
}

.card-list li {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}

.card-list li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/* ========================================================
   深度解决方案 Solutions Section (3D Coverflow 轮播样式)
   ======================================================== */

.solutions-section {
  padding: 110px 0 120px; /* 上下文间距各加大20px */
  background: var(--bg-page);
  position: relative;
  overflow: hidden;
}

/* 3D Coverflow 舞台：高度适度展开，完美容纳加宽加高后的立体卡片 */
.coverflow-stage {
  position: relative;
  width: 100%;
  height: 500px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.coverflow-track {
  position: relative;
  width: 100%;
  max-width: 1560px; /* 内容区左右各加大160px，视野开阔舒展 */
  height: 100%;
  margin: 0 auto;
}

/* 卡片宽度加大至390px，高度调整至440px，比例舒展大气 */
.coverflow-card {
  position: absolute;
  top: 50%;
  margin-top: -220px;
  width: 390px;
  height: 440px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none; /* 去除卡片投影 */
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  user-select: none;
  transform-style: preserve-3d;
}

/* 5 个 3D 透视槽位（加宽间距，最外两侧卡片与 1560px 内容区边缘严格精准对齐） */

/* 最左侧（左2）：精准贴齐内容区左边缘，向内立体倾斜 */
.coverflow-card.slot-far-left {
  left: 50%;
  transform: translateX(calc(-50% - 655px)) perspective(900px) rotateY(50deg) scale(0.78);
  z-index: 2;
  opacity: 0.72;
}

/* 中间左侧（左1）：平滑过渡倾斜角40deg，向左外移至 -355px */
.coverflow-card.slot-mid-left {
  left: 50%;
  transform: translateX(calc(-50% - 355px)) perspective(900px) rotateY(40deg) scale(0.88);
  z-index: 5;
  opacity: 0.92;
}

/* 正中间（选中项）：居中放大直立，深色高科技信息模块 */
.coverflow-card.slot-center {
  left: 50%;
  transform: translateX(-50%) perspective(900px) rotateY(0deg) scale(1.05);
  z-index: 10;
  opacity: 1;
  box-shadow: none; /* 去除卡片投影 */
}

/* 中间右侧（右1）：平滑过渡倾斜角-40deg，向右外移至 +355px */
.coverflow-card.slot-mid-right {
  left: 50%;
  transform: translateX(calc(-50% + 355px)) perspective(900px) rotateY(-40deg) scale(0.88);
  z-index: 5;
  opacity: 0.92;
}

/* 最右侧（右2）：精准贴齐内容区右边缘，向内立体倾斜 */
.coverflow-card.slot-far-right {
  left: 50%;
  transform: translateX(calc(-50% + 655px)) perspective(900px) rotateY(-50deg) scale(0.78);
  z-index: 2;
  opacity: 0.72;
}

/* 侧边卡片：纯净高清图片封面，无遮罩层 */
.card-cover-view {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end; /* 向下对齐卡片底部 */
  justify-content: center;
  padding: 0 16px 20px; /* 距离卡片底部 20px */
  transition: opacity 0.4s ease;
}

/* 文字直接放在卡片底部 20px 处，无外框，无文字阴影 */
.card-cover-title {
  position: relative;
  z-index: 2;
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  background: none;
  border: none;
  padding: 0;
  text-align: center;
  letter-spacing: 0.5px;
  text-shadow: none; /* 去除文字投影 */
}

/* 中间选中项：覆盖展示精简文字信息模块（纵向浅亮渐变，通透清爽） */
.card-detail-view {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #20d2f4 0%, #0aa8d4 100%); /* 底部颜色再调浅至 #0aa8d4，整体更加轻快明澈 */ /* 渐变色稍微变浅变亮，更清透纯净 */
  color: #ffffff;
  padding: 46px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.detail-title {
  font-size: 1.45rem; /* 字号改成和正面一致的 1.45rem */
  font-weight: 400; /* 保持常规轻量优雅字重 */
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.35;
  text-shadow: none; /* 去掉文字投影 */
}

.detail-desc {
  font-size: 1.08rem; /* 下面小字加大一号至 1.08rem，更舒展易读 */
  font-weight: 400; /* 严格取消一切加粗，保持纤细轻量常规字重 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #f0faff;
  line-height: 1.85;
  text-align: justify;
  letter-spacing: 0.2px;
  margin: 0;
  word-break: break-word;
}

/* 处于正中间 slot-center 时激活深色面板 */
.coverflow-card.slot-center .card-cover-view {
  opacity: 0;
  pointer-events: none;
}

.coverflow-card.slot-center .card-detail-view {
  opacity: 1;
  pointer-events: auto;
}

/* 位于卡片下方的左右箭头轮播指示器（去除投影） */
.sol-arrow-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.sol-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--text-main);
  border: none; /* 严格去除圆形描边 */
  box-shadow: none; /* 去除投影 */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.sol-arrow-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.sol-arrow-btn:hover {
  background: var(--primary); /* #00c1e2 */
  color: #ffffff;
  border: none; /* 去除悬停时描边 */
  box-shadow: none; /* 去除投影 */
  transform: translateY(-2px);
}

.sol-arrow-btn.prev-arrow:hover svg {
  transform: translateX(-2px);
}

.sol-arrow-btn.next-arrow:hover svg {
  transform: translateX(2px);
}

/* ========================================================
   业务范围矩阵 Scopes Section (8张竖图展示)
   ======================================================== */

.scopes-section {
  position: relative;
  padding: 110px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 19, 38, 0.35) 0%,
    rgba(7, 19, 38, 0.55) 50%,
    rgba(7, 19, 38, 0.72) 100%
  );
}

.scopes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.scope-card {
  height: 280px; /* 卡片高度缩减100px至280px */
  perspective: 1200px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  box-shadow: none;
}

/* 卡片翻转容器：以卡片中心为轴心翻转 */
.scope-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
  transform-origin: center center;
  border-radius: var(--radius-md);
}

/* 鼠标悬停时从中心 3D 翻转 180 度 */
.scope-card:hover .scope-card-inner {
  transform: rotateY(180deg);
}

.scope-card-front,
.scope-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: none; /* 严格去除卡片描边 */
  outline: none;
}

.scope-card-front {
  background: var(--navy-card);
}

.scope-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.scope-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.scope-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 19, 38, 0.92) 0%,
    rgba(7, 19, 38, 0.45) 45%,
    transparent 80%
  );
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.scope-name {
  font-size: 1.15rem;
  font-weight: 400; /* 去掉文字加粗，保持常规轻量优雅字重 */
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.5px;
}

/* 背面样式：浅色通透科技冰晶磨砂质感面板，颜色更浅更纯净，无描边 */
.scope-card-back {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(236, 248, 255, 0.86) 50%,
    rgba(214, 238, 255, 0.82) 100%
  );
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 22px 20px;
  border: none; /* 严格去除描边 */
}

.scope-card:hover .scope-card-back {
  border: none; /* 悬停保持无描边 */
}

.scope-back-title {
  font-size: 1.18rem;
  font-weight: 400; /* 保持常规轻量优雅字重 */
  color: #0b2239; /* 浅底色适配深邃科技深蓝标题，清晰典雅 */
  margin-bottom: 12px;
  line-height: 1.35;
  text-align: center;
}

.scope-back-divider {
  width: 32px;
  height: 1.5px; /* 精致纤细下划线，显高级轻盈 */
  background: var(--primary);
  margin-bottom: 16px;
  border-radius: 1px;
}

.scope-back-desc {
  font-size: 0.88rem;
  font-weight: 400;
  color: #334155; /* 深灰蓝，极佳可读性与高级感 */
  line-height: 1.65;
  text-align: center;
  padding: 0 6px;
  margin: 0;
  letter-spacing: 0.3px;
}

/* ========================================================
   典型案例 Cases Section (双行全屏横排慢速无缝跑马灯)
   ======================================================== */

.cases-section {
  padding: 100px 0 160px; /* 标签距离页脚的高度加大 50px */
  background: var(--bg-page);
  position: relative;
  overflow: hidden;
}

.cases-marquee-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 75px; /* 工程实践与应用标杆标题与标签间距加大 50px */
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.cases-marquee-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  flex-shrink: 0;
  will-change: transform;
}

/* 第一行：从左至右极慢速平滑自动播放 (向右平滑移动) - 放慢至200s */
.row-left-to-right .marquee-track {
  animation: marqueeL2R 200s linear infinite;
}

/* 第二行：从右至左极慢速平滑自动播放 (向左平滑移动) - 放慢至200s */
.row-right-to-left .marquee-track {
  animation: marqueeR2L 200s linear infinite;
}

/* 鼠标悬停时平滑暂停播放，便于访客清晰查看，卡片保持静止不放大 */
.cases-marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeL2R {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes marqueeR2L {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 跑马灯卡片样式：图标+标题形式，纯白卡片、无描边、无阴影、悬停平稳不放大 */
.marquee-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 26px;
  background: #ffffff;
  border-radius: 14px;
  border: none;
  outline: none;
  box-shadow: none;
  flex-shrink: 0;
  min-width: 290px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.28s ease, border-radius 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 鼠标悬停时：上方左右两端圆角改成0，与上方自然弹出的图片无缝拼接成一体 */
.marquee-card:hover {
  background: #edf3f8;
  border-radius: 0 0 14px 14px; /* 上方左右两端圆角改为 0，下方保持圆润 */
  transform: none;
  border: none;
  outline: none;
}

/* 精致科技矢量图标容器 */
.marquee-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 193, 226, 0.12) 0%, rgba(15, 28, 63, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.marquee-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  display: block;
}

.marquee-card:hover .marquee-icon-box {
  background: rgba(0, 193, 226, 0.22);
  color: var(--primary-hover);
}

/* 标题文字：饱满清晰、高对比度、不换行 */
.marquee-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.marquee-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  letter-spacing: 0.2px;
  transition: color 0.3s ease;
}

.marquee-card:hover .marquee-title {
  color: var(--primary);
}

/* ========================================================
   企业资质背书 Credentials Section
   ======================================================== */

.credentials-section {
  padding: 0 0 90px 0;
  background: #ffffff;
}

.credential-card {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--dark-navy) 100%);
  border-radius: var(--radius-lg);
  padding: 44px 50px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cred-left {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.cred-emblem {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  background: rgba(0, 193, 226, 0.15);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.cred-emblem svg {
  width: 30px;
  height: 30px;
}

.cred-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.cred-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.code-highlight {
  font-family: monospace;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
}

.cred-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cred-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.ci-label {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.ci-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

/* ========================================================
   页脚 Footer
   ======================================================== */

.site-footer {
  background: #060b18;
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.footer-brand-en {
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748b;
  letter-spacing: 0.4px;
  line-height: 1.3;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 22px;
  max-width: 460px;
}

.footer-info-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-chip {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.82rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 14px;
}

.icp-link {
  color: #94a3b8;
  transition: var(--transition);
}

.icp-link:hover {
  color: var(--accent);
}

/* ========================================================
   返回顶部悬浮按钮
   ======================================================== */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--dark-navy);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ========================================================
   响应式媒体查询
   ======================================================== */

@media (max-width: 1024px) {
  .services-grid,
  .scopes-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img {
    height: 380px;
  }

  .credential-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px 30px;
  }

  .feature-card.large-card,
  .feature-card.large-card.reverse {
    grid-template-columns: 1fr;
  }

  .feature-card.large-card.reverse .feature-img-box {
    order: 1;
  }

  .feature-card.large-card.reverse .feature-content {
    order: 2;
  }

  .feature-img-box {
    height: 300px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 68px;
  }

  .nav-container {
    height: 68px;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px 0;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-actions {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu .nav-link,
  .site-header .nav-menu .nav-link {
    color: var(--text-main);
    padding: 8px 16px;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active,
  .site-header .nav-menu .nav-link:hover,
  .site-header .nav-menu .nav-link.active {
    color: var(--primary);
  }

  .hero-title {
    font-size: 2.6rem;
    font-weight: 400;
  }

  .hero-progress-container {
    bottom: 24px;
  }

  .progress-item {
    width: 46px;
    height: 2px;
  }

  .section-title,
  .about-title,
  .services-title {
    font-size: 2.35rem;
    font-weight: 400;
  }

  .coverflow-stage {
    height: 360px;
  }

  .coverflow-card {
    width: 260px;
    height: 330px;
    margin-top: -165px;
  }

  .coverflow-card.slot-far-left {
    transform: translateX(calc(-50% - 220px)) perspective(600px) rotateY(42deg) scale(0.68);
    opacity: 0.4;
  }

  .coverflow-card.slot-mid-left {
    transform: translateX(calc(-50% - 120px)) perspective(600px) rotateY(30deg) scale(0.84);
  }

  .coverflow-card.slot-center {
    transform: translateX(-50%) perspective(600px) rotateY(0deg) scale(1);
  }

  .coverflow-card.slot-mid-right {
    transform: translateX(calc(-50% + 120px)) perspective(600px) rotateY(-30deg) scale(0.84);
  }

  .coverflow-card.slot-far-right {
    transform: translateX(calc(-50% + 220px)) perspective(600px) rotateY(-42deg) scale(0.68);
    opacity: 0.4;
  }

  .detail-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .services-grid,
  .scopes-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .marquee-card {
    padding: 12px 18px;
    min-width: 220px;
  }

  .marquee-icon-box {
    width: 38px;
    height: 38px;
  }

  .marquee-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .marquee-title {
    font-size: 0.95rem;
  }

  .cases-marquee-container {
    gap: 16px;
  }

  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cred-left {
    flex-direction: column;
  }

  .cred-right {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* 典型案例标签悬停时，正上方由下到上自然出现、底部平直贴合的对应图片 */
.case-hover-preview {
  position: fixed;
  z-index: 99999;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  border-radius: 14px 14px 0 0; /* 下面左右两端圆角彻底去掉，平直与标签紧密贴合 */
  box-shadow: none; /* 严格无投影 */
  border: none;
  outline: none;
  background: transparent;
  transform-origin: bottom center;
  transform: translateY(16px);
  clip-path: inset(100% 0 0 0); /* 初始自下而上遮罩隐藏 */
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s;
}

.case-hover-preview.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  clip-path: inset(0 0 0 0); /* 由下到上自然展开呈现 */
}

.case-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px 14px 0 0; /* 下面左右两端圆角去掉 */
}

/* 关于企业核心指标数字蹦字微弹跳动效 */
@keyframes statPopBounce {
  0% {
    transform: scale(0.8) translateY(6px);
    opacity: 0.3;
  }
  60% {
    transform: scale(1.08) translateY(-2px);
    opacity: 1;
  }
  82% {
    transform: scale(0.98) translateY(1px);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.stat-card .stat-value {
  display: inline-flex;
  align-items: baseline;
  will-change: transform, opacity;
}

.stat-card.animate .stat-value {
  animation: statPopBounce 1.1s cubic-bezier(0.25, 1.25, 0.5, 1) both; /* 放慢弹性动效，节奏更从容舒适 */
}

.stat-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
