/* 智立云官网样式 - v2.0 专业级设计 */

:root {
  /* 主色 - 水务感青蓝渐变 */
  --primary: #0EA5E9;
  --primary-600: #0284C7;
  --primary-700: #0369A1;
  --primary-50: #ECFEFF;
  --primary-100: #CFFAFE;
  --primary-200: #A5F3FC;

  /* 中性色 */
  --gray-50: #F7F8FA;
  --gray-100: #EEF0F5;
  --gray-200: #E4E7ED;
  --gray-300: #C9CED8;
  --gray-500: #7A869A;
  --gray-600: #5A6A7A;
  --gray-700: #3D4858;
  --gray-800: #232B3A;
  --gray-900: #141824;

  /* 语义色 */
  --success: #00B42A;
  --success-light: #E8F7EC;
  --warning: #FF7D00;
  --warning-light: #FFF3E8;
  --danger: #F53F3F;
  --danger-light: #FCEDED;

  /* 功能变量 */
  --text: var(--gray-800);
  --text-secondary: var(--gray-500);
  --text-tertiary: var(--gray-300);
  --border: var(--gray-200);
  --border-light: var(--gray-100);
  --bg: var(--gray-50);
  --bg-card: #FFFFFF;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* 阴影 - 分层体系 */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 4px 16px rgba(14, 165, 233, 0.22);
  --shadow-primary-hover: 0 8px 24px rgba(14, 165, 233, 0.32);

  /* 渐变 */
  --primary-gradient: linear-gradient(135deg, #22D3EE 0%, #0EA5E9 50%, #0369A1 100%);
  --hero-gradient: linear-gradient(135deg, #ECFEFF 0%, #CFFAFE 50%, #A5F3FC 100%);
  --card-gradient: linear-gradient(180deg, #FFFFFF 0%, #F0FBFF 100%);

  /* 修复旧版断链变量：原 :root 未定义，导致 9 处 section/card 背景透明回退 */
  --water-light: #ECFEFF;
  --white: #FFFFFF;

  /* 布局 */
  --max-width: 1280px;
  --header-height: 68px;
  --section-py: 96px;

  /* 动效 */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

::selection {
  background: var(--primary-100);
  color: var(--primary-700);
}

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

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(228, 231, 237, 0.6);
  z-index: 1000;
  transition: all var(--transition-base);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-primary);
  flex-shrink: 0;
}

.logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

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

.nav a {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
  position: relative;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

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

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

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

/* ========== Button ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
  user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary-hover);
}

.btn-primary:active {
  background: var(--primary-700);
  transform: translateY(0);
  box-shadow: var(--shadow-primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  border-width: 1.5px;
}

.btn-outline:hover {
  background: var(--primary-50);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
  border-radius: var(--radius-full);
}

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

.btn-danger {
  background: var(--danger-light);
  color: var(--danger);
  border-color: transparent;
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 680px;
  padding-top: var(--header-height);
  background: var(--hero-gradient);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240,247,255,.75) 0%, rgba(230,240,255,.65) 50%, rgba(217,232,255,.55) 100%);
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(255,255,255,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(255,255,255,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(255,255,255,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.bubble {
  position: absolute;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.1));
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  animation: bubbleFloat 15s ease-in-out infinite;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--primary-700);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.hero-content h1 strong {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.hero-content p {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.8;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 520px;
  height: 440px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
  gap: 16px;
}

.equipment-placeholder svg {
  opacity: 0.7;
}

/* ========== Section base ========== */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

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

.section-header .tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-50);
  color: var(--primary-700);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-header.left {
  text-align: left;
}

.section-header.left p {
  margin: 0;
}

/* ========== Solutions ========== */
.solutions {
  background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
}

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

.solution-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
  position: relative;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}

.solution-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.solution-card:hover::after {
  opacity: 1;
}

.solution-card-image {
  height: 220px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.solution-card-image::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
}

.solution-card-image svg {
  position: relative;
  z-index: 1;
}

.solution-card-body {
  padding: 24px 28px 28px;
}

.solution-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.solution-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.75;
}

.solution-card .card-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  transition: gap var(--transition-fast);
}

.solution-card:hover .card-more {
  gap: 8px;
}

/* ========== Process ========== */
.process {
  background: #fff;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  background: #fff;
  border: 2px solid var(--primary-100);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
}

.process-step:hover .process-step-icon {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-primary);
}

.process-step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.process-step h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-900);
}

.process-step p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

.process-arrow {
  position: absolute;
  top: 36px;
  right: -28px;
  color: var(--primary-200);
  z-index: 0;
}

/* ========== Stats ========== */
.stats {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(100, 200, 255, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 100%, rgba(10, 26, 58, 0.7) 0%, transparent 50%),
    linear-gradient(135deg, #0EA5E9 0%, #0369A1 40%, #0A1A3A 100%);
  color: white;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 208, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stats::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.stat-item {
  text-align: center;
  padding: 32px 24px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.stat-item:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-item:not(:last-child)::after {
  display: none;
}

.stat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1;
  letter-spacing: -0.02em;
}
/* 单位后缀（如 ×24h）始终显示，避免计数动画起始帧出现 "0×24h" 闪现 */
.stat-number::after {
  content: attr(data-suffix);
  margin-left: 2px;
  font-size: 0.6em;
  font-weight: 600;
  opacity: 0.9;
}

.stat-label {
  font-size: 14px;
  opacity: 0.85;
  font-weight: 500;
}

/* ========== Products / inner pages hero ========== */
.products-hero {
  background: var(--hero-gradient);
  padding: 140px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.products-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255,255,255,0.4) 0%, transparent 70%);
  pointer-events: none;
}

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

.products-hero .tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  color: var(--primary-700);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
}

.products-hero h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.products-hero p {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-200);
}

.product-card-icon {
  height: 110px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.product-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--gray-800);
}

.product-featured {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: sticky;
  top: 100px;
}

.product-featured-tag {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-700);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-featured h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.featured-image {
  height: 280px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.featured-meta {
  display: grid;
  gap: 12px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
}

.meta-row:last-of-type {
  border-bottom: none;
}

.meta-label {
  color: var(--gray-500);
}

.meta-value {
  font-weight: 600;
  color: var(--gray-800);
}

.meta-bar {
  width: 120px;
  height: 6px;
  background: var(--primary-50);
  border-radius: 3px;
  overflow: hidden;
}

.meta-bar-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 3px;
}

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

.case-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  cursor: pointer;
}

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

.case-card-image {
  height: 220px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--primary);
  overflow: hidden;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.case-card:hover .case-card-image img {
  transform: scale(1.06);
}

.case-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.case-card-body {
  padding: 24px 28px;
}

.case-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-900);
  line-height: 1.5;
}

.case-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.case-card .btn {
  margin-top: 4px;
}

/* ========== News list ========== */
.news-layout {
  padding-top: 40px;
}

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

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

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

.news-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.news-card-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card .news-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gray-900);
  line-height: 1.5;
}

.news-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .card-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

/* ========== News detail content ========== */
.news-content {
  color: var(--gray-700);
  line-height: 1.9;
  font-size: 15px;
}

.news-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  color: var(--gray-900);
}

.news-content h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--gray-800);
}

.news-content p {
  margin-bottom: 16px;
  text-align: justify;
}

.news-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}

.news-content ul, .news-content ol {
  margin: 16px 0 16px 28px;
}

.news-content li {
  margin-bottom: 8px;
  color: var(--gray-700);
}

.news-content blockquote {
  margin: 20px 0;
  padding: 16px 24px;
  background: var(--primary-50);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--gray-600);
  font-style: italic;
}

.news-content a {
  color: var(--primary);
  text-decoration: underline;
}

.news-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.news-content th, .news-content td {
  border: 1px solid var(--border-light);
  padding: 12px 14px;
  text-align: left;
}

.news-content th {
  background: var(--primary-50);
  font-weight: 600;
  color: var(--gray-800);
}

.news-content code {
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: "SF Mono", Consolas, monospace;
}

/* ========== Contact ========== */
.contact-section {
  background: var(--hero-gradient);
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 30%, rgba(255,255,255,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 70%, rgba(255,255,255,0.3) 0%, transparent 60%);
  pointer-events: none;
}

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

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

.contact-form-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.contact-form-card > p {
  color: var(--gray-500);
  margin-bottom: 24px;
  font-size: 14px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--gray-800);
  transition: all var(--transition-fast);
  line-height: 1.5;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: var(--gray-300);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-50);
  background: #fff;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-info {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-primary);
}

.contact-info-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--gray-900);
}

.contact-info-item p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--primary);
  margin-top: 24px;
}

/* ========== Footer ========== */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 72px 0 24px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

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

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #94A3B8;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  font-size: 14px;
  transition: all var(--transition-fast);
}

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

.footer-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  transition: all var(--transition-fast);
  color: #94A3B8;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-qr {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-qr-item img {
  width: 84px;
  height: 84px;
  background: white;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.footer-qr-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #64748B;
}

.footer-bottom a {
  color: #64748B;
  margin: 0 8px;
}

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

/* ========== Toast ========== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--gray-800);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 2000;
  backdrop-filter: blur(10px);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========== About page ========== */
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.about-feature {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}

.about-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.about-feature h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.about-feature p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-grid,
  .product-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .stat-item {
    border-right: none;
  }

  .product-featured {
    position: static;
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
    border-top: 1px solid var(--border-light);
  }

  .nav a {
    padding: 12px 16px;
  }

  .nav.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-image {
    height: 320px;
  }

  .solution-cards,
  .cases-grid,
  .product-grid,
  .stats-grid,
  .footer-grid,
  .news-grid,
  .about-features {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .process-step {
    max-width: 280px;
  }

  .process-arrow {
    display: none;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .section-header p {
    font-size: 14px;
  }

  .products-hero h1 {
    font-size: 32px;
  }

  .contact-form-card {
    padding: 28px 24px;
  }

  .stat-item {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 36px;
  }
}

/* ===== 视频角标（列表卡片）===== */
.video-play-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(22,119,255,.92);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  pointer-events: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.4);
  transition: transform .2s ease, background .2s ease;
}
.video-play-badge svg { margin-left: 2px; }
.case-card:hover .video-play-badge,
.product-card:hover .video-play-badge { transform: translate(-50%,-50%) scale(1.1); background: rgba(9,74,181,.95); }
.video-corner-tag {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(15,23,42,.72);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 20px;
  display: inline-flex; align-items: center; gap: 4px;
  pointer-events: none;
  z-index: 3;
  backdrop-filter: blur(4px);
}
.product-card-icon { position: relative; }

/* ============================================================
   增强层：水务主题视觉 + 强动画（叠加在原有设计系统之上，不改动任何 PHP/JS 逻辑）
   - 占位图改用真实素材背景（DB 有图时 <img> 会盖住，互不影响）
   - 滚动揭示 / 首屏分层上浮 / 卡片光泽扫过 / 按钮发光 均为纯 CSS
   ============================================================ */

/* 首屏：真实背景图 + 轻量青蓝叠加 + 缓慢漂移，强化氛围 */
.hero {
  background-image:
    linear-gradient(135deg, rgba(236,254,255,.86) 0%, rgba(207,250,254,.74) 48%, rgba(165,243,252,.60) 100%),
    url('../images/hero_bg.png');
  background-size: cover, cover;
  background-position: center, center;
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { background-position: center 0%, center 0%; }
  100% { background-position: center 2%, center 100%; }
}

/* 首屏内容载入分层上浮 */
.hero-content > * { animation: heroRise .8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-content h1 { animation-delay: .05s; }
.hero-content p { animation-delay: .15s; }
.hero-content .hero-actions { animation-delay: .25s; }
.hero-visual { animation: heroRise 1s cubic-bezier(0.22, 1, 0.36, 1) .2s both; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 占位图：隐藏旧 SVG，改用真实素材背景（DB 有图时 <img> 覆盖在上方，不影响） */
.solution-card,
.case-card,
.news-card { position: relative; }

.solution-card-image,
.case-card-image,
.product-card-icon,
.featured-image,
.equipment-placeholder,
.news-card-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.solution-card-image > svg,
.case-card-image > svg,
.product-card-icon > svg,
.featured-image > svg,
.equipment-placeholder > svg,
.news-card-image > svg { display: none; }

/* 首页解决方案卡片：四张卡片区分配图（复用现有三张行业图，第四张循环回工业图） */
.solution-card:nth-child(1) .solution-card-image,
.solution-card:nth-child(4) .solution-card-image { background-image: url('../images/solution_industrial.png'); }
.solution-card:nth-child(2) .solution-card-image { background-image: url('../images/solution_municipal.png'); }
.solution-card:nth-child(3) .solution-card-image { background-image: url('../images/solution_reuse.png'); }
.solution-card-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* 无图时隐藏占位 SVG，避免通用图标叠加在照片上显得雷同 */
.solution-card-image svg { display: none; }
/* 配图暗化遮罩，提升质感与统一感 */
.solution-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(14,165,233,0.12) 0%, rgba(8,47,73,0.45) 100%);
}

.cases-grid .case-card:nth-child(1) .case-card-image { background-image: url('../images/case.png'); }
.cases-grid .case-card:nth-child(2) .case-card-image { background-image: url('../images/solution_municipal.png'); }
.cases-grid .case-card:nth-child(3) .case-card-image { background-image: url('../images/solution_reuse.png'); }
.cases-grid .case-card:nth-child(4) .case-card-image { background-image: url('../images/solution_industrial.png'); }
.cases-grid .case-card:nth-child(5) .case-card-image { background-image: url('../images/solution_municipal.png'); }
.cases-grid .case-card:nth-child(6) .case-card-image { background-image: url('../images/solution_reuse.png'); }

.product-card-icon { background-image: url('../images/product.png'); }
.product-grid .product-card:nth-child(1) .product-card-icon { background-image: url('../images/equip.png'); }
.product-grid .product-card:nth-child(2) .product-card-icon { background-image: url('../images/product.png'); }
.product-grid .product-card:nth-child(3) .product-card-icon { background-image: url('../images/case.png'); }
.product-grid .product-card:nth-child(4) .product-card-icon { background-image: url('../images/solution_industrial.png'); }

.featured-image { background-image: url('../images/equip.png'); }
.equipment-placeholder { background-image: url('../images/equip.png'); }

.news-grid .news-card:nth-child(1) .news-card-image { background-image: url('../images/news.png'); }
.news-grid .news-card:nth-child(2) .news-card-image { background-image: url('../images/solution_reuse.png'); }
.news-grid .news-card:nth-child(3) .news-card-image { background-image: url('../images/solution_municipal.png'); }

/* 滚动揭示动画（纯 CSS，无需 JS；不支持 view-timeline 的浏览器自动显示，绝不隐藏内容） */
@supports (animation-timeline: view()) {
  .solution-card,
  .case-card,
  .news-card,
  .product-card,
  .process-step,
  .stat-item,
  .about-feature,
  .section-header {
    opacity: 0;
    transform: translateY(34px);
    animation: revealUp both linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
  .solution-cards .solution-card:nth-child(2),
  .cases-grid .case-card:nth-child(2),
  .news-grid .news-card:nth-child(2),
  .product-grid .product-card:nth-child(2) { animation-range: entry 0% cover 25%; }
  @keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* 卡片悬停光泽扫过（在原有位移/阴影基础上叠加，不改原 hover 逻辑） */
.solution-card::before,
.case-card::before,
.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
  z-index: 2;
}
.solution-card:hover::before,
.case-card:hover::before,
.news-card:hover::before { transform: translateX(120%); }

/* 大图悬停扫光（Hero / 区块大图 / 详情主图，与卡片扫光一致） */
.img-shine { position: relative; overflow: hidden; }
.img-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s ease;
  pointer-events: none;
  z-index: 2;
}
.img-shine:hover::after { transform: translateX(120%); }

/* 按钮发光增强 */
.btn-primary { box-shadow: var(--shadow-primary), 0 0 0 0 rgba(14,165,233,.4); }
.btn-primary:hover { box-shadow: var(--shadow-primary-hover), 0 0 22px rgba(14,165,233,.35); }

/* 区块标题装饰线 */
.section-header h2 { position: relative; }
.section-header h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 3px;
  background: var(--primary-gradient);
}
.section-header.left h2::after { margin-left: 0; }

/* 滚动条细节 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-200); }

/* ============================================================
   B 进阶美化增强层（2026-09-12）
   目标：在不破坏现有 v2.0 设计体系的前提下，做出"肉眼可见"的升级
   - 品牌渐变主按钮 / 描边按钮渐变描边
   - 卡片 3D 悬浮抬升 + 渐变描边
   - 头部滚动玻璃增强 / 导航激活渐变下划线
   - 首屏玻璃卡角标 / 区块标题渐变 kicker
   - 全站滚动进度条 + 返回顶部（配合 main.js）
   ============================================================ */

/* 1. 品牌渐变主按钮（覆盖原纯色，全站 CTA 立即焕新） */
.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-gradient);
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(14, 165, 233, 0.34);
}
.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.97);
}

/* 描边按钮 hover 渐变描边（mask 实现，老浏览器自动降级为普通描边） */
.btn-outline {
  position: relative;
  z-index: 0;
}
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--primary-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}
.btn-outline:hover::before { opacity: 1; }

/* 2. 卡片 3D 悬浮抬升 + 渐变描边 */
.solution-card,
.case-card,
.product-card,
.news-card {
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.solution-card:hover,
.case-card:hover,
.product-card:hover,
.news-card:hover {
  transform: translateY(-10px) scale(1.012);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-100);
}
/* 顶部渐变细线常驻微亮，hover 加亮（原仅 hover 显示） */
.solution-card::after { opacity: 0.55; }
.solution-card:hover::after { opacity: 1; }

/* 3. 头部滚动玻璃增强 */
.header.scrolled {
  height: 58px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 24px rgba(20, 40, 80, 0.10);
  border-bottom-color: rgba(228, 231, 237, 0.5);
}

/* 4. 导航激活项渐变下划线 */
.nav a.active::after {
  background: var(--primary-gradient);
  width: 22px;
}

/* 5. 首屏玻璃卡角标（不改动 PHP，纯 CSS 注入） */
.hero-image::before {
  content: "● 物联网智控平台";
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(8, 47, 73, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* 6. 区块标题渐变 kicker */
.section-header .tag {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

/* 7. 滚动进度条（顶部，配合 main.js 更新 width） */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--primary-gradient);
  z-index: 1100;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

/* 8. 返回顶部（右下角渐变圆钮） */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 8px 22px rgba(14, 165, 233, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base), filter var(--transition-base);
  z-index: 1090;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); filter: brightness(1.06); }
.back-to-top svg { width: 20px; height: 20px; }

/* 移动端：返回顶部与进度条微调 */
@media (max-width: 768px) {
  .back-to-top { right: 16px; bottom: 20px; width: 42px; height: 42px; }
}

/* ============================================================
   C 明显可见的视觉升级层（2026-09-12）
   - 首屏渐变氛围叠层 + 玻璃数据芯片
   - 区块背景节奏（蓝/紫渐变分区）+ 装饰光斑
   - 标题渐变下划线
   - 解决方案卡片独立配色 + 图片缩放 + 了解链接
   - 统计数字放大与光晕
   ============================================================ */

/* 全局新增品牌渐变 */
:root{
  --grad-brand: linear-gradient(135deg, #0EA5E9 0%, #6366F1 100%);
}

/* 1) 首屏氛围叠层：让已有背景图带上品牌渐变气质 */
.hero{ position:relative; overflow:hidden; }
.hero::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(55% 55% at 82% 18%, rgba(99,102,241,0.30), transparent 60%),
    radial-gradient(50% 50% at 8% 92%, rgba(14,165,233,0.32), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
}
.hero .container, .hero-grid{ position:relative; z-index:2; }
.hero-content h1{ font-size:60px; }

/* 首屏玻璃数据芯片（index.php 注入 .hero-chips） */
.hero-chips{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
.hero-chip{
  display:flex; align-items:center; gap:10px;
  padding:10px 16px; border-radius:14px;
  background:rgba(255,255,255,0.66); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.85);
  box-shadow:0 10px 30px rgba(14,165,233,0.14);
}
.hero-chip b{ font-size:20px; font-weight:800; color:var(--primary-700); letter-spacing:-0.01em; }
.hero-chip span{ font-size:12px; color:var(--gray-500); }

/* 2) 区块背景节奏 + 装饰光斑 */
.section{ position:relative; }
.section > .container{ position:relative; z-index:1; }
.section::after{
  content:""; position:absolute; z-index:0; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(14,165,233,0.10), transparent 70%);
  top:-140px; right:-90px; pointer-events:none;
}
.solutions{ background:linear-gradient(180deg, #F0F9FF 0%, #ffffff 58%); }
.process{ background:linear-gradient(180deg, #ffffff 0%, #F5F3FF 100%); }

/* 3) 标题渐变下划线 */
.section-header h2{ position:relative; display:inline-block; }
.section-header h2::after{
  content:""; display:block; width:64px; height:4px; margin:16px auto 0; border-radius:4px;
  background:var(--grad-brand);
}
.section-header.left h2::after{ margin-left:0; }

/* 4) 解决方案卡片：独立配色 + 图片缩放 + 了解链接 */
.solution-card{ border-radius:18px; overflow:hidden; }
.solution-card-image{ height:200px; }
.solution-card-image img{ transition:transform .6s cubic-bezier(.2,.7,.2,1); }
.solution-card:hover .solution-card-image img{ transform:scale(1.08); }
.solution-card .card-more{
  display:inline-flex; align-items:center; gap:5px; margin-top:16px;
  font-size:13px; font-weight:600; color:var(--primary);
}
.solution-card .card-more svg{ width:14px; height:14px; transition:transform var(--transition-fast); }
.solution-card:hover .card-more svg{ transform:translateX(4px); }
/* 每张卡顶部强调色常驻，区分四卡 */
.solution-cards .solution-card:nth-child(1)::after{ background:linear-gradient(90deg,#0EA5E9,#22D3EE); opacity:1; }
.solution-cards .solution-card:nth-child(2)::after{ background:linear-gradient(90deg,#6366F1,#8B5CF6); opacity:1; }
.solution-cards .solution-card:nth-child(3)::after{ background:linear-gradient(90deg,#0EA5E9,#6366F1); opacity:1; }
.solution-cards .solution-card:nth-child(4)::after{ background:linear-gradient(90deg,#06B6D4,#3B82F6); opacity:1; }

/* 5) 统计数字放大与光晕 */
.stat-number{ font-size:52px; text-shadow:0 2px 20px rgba(255,255,255,0.18); }

/* 移动端微调 */
@media (max-width: 768px){
  .hero-content h1{ font-size:38px; }
  .hero-chips{ gap:10px; }
  .hero-chip{ padding:8px 12px; }
  .stat-number{ font-size:40px; }
}

/* ============================================================
   D 增强层（2026-09-12）
   - 子页面页面头：每页专属深色大图 banner（8 张不同头图）
   - 面包屑胶囊 / 底部渐变过渡
   - 卡片配图 IoT 化（替换原水务主题模板图）
   - 首页加固：动态科技网格 + 更大首屏标题
   ============================================================ */

/* ---------- 1. 子页面页面头：每页专属深色大图 banner ---------- */
.products-hero{
  position:relative;
  padding:178px 0 110px;
  text-align:left;
  background-color:#0A1A2F;
  background-size:cover, cover;
  background-position:center center, center center;
  background-repeat:no-repeat;
  background-image:
    linear-gradient(100deg, rgba(6,15,30,.95) 0%, rgba(6,15,30,.87) 38%, rgba(6,15,30,.42) 100%),
    url('../images/banner-products.jpg');
}
body.page-about        .products-hero{ background-image:linear-gradient(100deg, rgba(6,15,30,.95) 0%, rgba(6,15,30,.87) 38%, rgba(6,15,30,.42) 100%), url('../images/banner-about.jpg'); }
body.page-products     .products-hero{ background-image:linear-gradient(100deg, rgba(6,15,30,.95) 0%, rgba(6,15,30,.87) 38%, rgba(6,15,30,.42) 100%), url('../images/banner-products.jpg'); }
body.page-solutions    .products-hero{ background-image:linear-gradient(100deg, rgba(6,15,30,.95) 0%, rgba(6,15,30,.87) 38%, rgba(6,15,30,.42) 100%), url('../images/banner-solutions.jpg'); }
body.page-applications .products-hero{ background-image:linear-gradient(100deg, rgba(6,15,30,.95) 0%, rgba(6,15,30,.87) 38%, rgba(6,15,30,.42) 100%), url('../images/banner-applications.jpg'); }
body.page-advantages   .products-hero{ background-image:linear-gradient(100deg, rgba(6,15,30,.95) 0%, rgba(6,15,30,.87) 38%, rgba(6,15,30,.42) 100%), url('../images/banner-advantages.jpg'); }
body.page-cases        .products-hero{ background-image:linear-gradient(100deg, rgba(6,15,30,.95) 0%, rgba(6,15,30,.87) 38%, rgba(6,15,30,.42) 100%), url('../images/banner-cases.jpg'); }
body.page-news         .products-hero{ background-image:linear-gradient(100deg, rgba(6,15,30,.95) 0%, rgba(6,15,30,.87) 38%, rgba(6,15,30,.42) 100%), url('../images/banner-news.jpg'); }
body.page-contact      .products-hero{ background-image:linear-gradient(100deg, rgba(6,15,30,.95) 0%, rgba(6,15,30,.87) 38%, rgba(6,15,30,.42) 100%), url('../images/banner-contact.jpg'); }

/* 原白色光晕改为品牌光晕 + 顶部压暗（保证导航可读） */
.products-hero::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(58% 76% at 86% 46%, rgba(14,165,233,.34), transparent 62%),
    radial-gradient(42% 62% at 10% 102%, rgba(99,102,241,.28), transparent 68%),
    linear-gradient(180deg, rgba(3,8,18,.70) 0%, rgba(3,8,18,0) 34%);
}
/* 底部白色渐变过渡，深色 banner 顺滑接入下方内容 */
.products-hero::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:76px; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.97) 100%);
}
.products-hero .container{ position:relative; z-index:2; }

.products-hero h1{
  color:#fff; font-size:56px; line-height:1.14; letter-spacing:-0.02em;
  margin-bottom:16px; text-shadow:0 6px 30px rgba(0,0,0,.34);
}
.products-hero h1::before{
  content:""; display:block; width:64px; height:5px; border-radius:5px;
  margin-bottom:22px; background:linear-gradient(90deg,#38BDF8,#818CF8);
  box-shadow:0 0 22px rgba(56,189,248,.55);
}
.products-hero p{
  color:rgba(255,255,255,.85); font-size:18px; line-height:1.85;
  max-width:580px; margin:0;
}

/* 面包屑胶囊（纯 CSS 生成，每页文案不同） */
.products-hero .container::before{
  content:"首页";
  display:inline-block; margin-bottom:20px; padding:7px 18px;
  border-radius:999px; font-size:13px; letter-spacing:.03em;
  color:rgba(255,255,255,.9);
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
body.page-about        .products-hero .container::before{ content:"首页 / 关于智立云"; }
body.page-products     .products-hero .container::before{ content:"首页 / 物联网平台"; }
body.page-solutions    .products-hero .container::before{ content:"首页 / 物联网控制服务"; }
body.page-applications .products-hero .container::before{ content:"首页 / 应用定制开发"; }
body.page-advantages   .products-hero .container::before{ content:"首页 / 行业解决方案"; }
body.page-cases        .products-hero .container::before{ content:"首页 / 案例展示"; }
body.page-news         .products-hero .container::before{ content:"首页 / 新闻中心"; }
body.page-contact      .products-hero .container::before{ content:"首页 / 联系我们"; }

/* 详情页（内联 padding 的紧凑标题条）：同款 banner，紧凑版 */
.products-hero[style]{ padding:152px 0 58px !important; }
.products-hero[style] h1{ font-size:36px; }
.products-hero[style] h1::before{ margin-bottom:16px; }
.products-hero[style] p{ font-size:16px; max-width:760px; }

/* ---------- 2. 卡片配图 IoT 化（按页面作用域，与数据库 image 字段保持一致的兜底层） ---------- */

/* 产品中心：物联网平台 / 数据可视化大屏 / 设备远程监控 / 智能控制网关 */
body.page-products .product-grid .product-card:nth-child(1) .product-card-icon{ background-image:url('../images/product_cloud.jpg'); }
body.page-products .product-grid .product-card:nth-child(2) .product-card-icon{ background-image:url('../images/product_screen.jpg'); }
body.page-products .product-grid .product-card:nth-child(3) .product-card-icon{ background-image:url('../images/product_monitor.jpg'); }
body.page-products .product-grid .product-card:nth-child(4) .product-card-icon{ background-image:url('../images/product_gateway.jpg'); }

/* 案例展示（渲染顺序：小区机电 / 工业园区 / 智慧园区 / 制造企业产线） */
body.page-cases .cases-grid .case-card:nth-child(1) .case-card-image{ background-image:url('../images/case_community.jpg'); }
body.page-cases .cases-grid .case-card:nth-child(2) .case-card-image{ background-image:url('../images/case_industrialpark.jpg'); }
body.page-cases .cases-grid .case-card:nth-child(3) .case-card-image{ background-image:url('../images/case_smartpark.jpg'); }
body.page-cases .cases-grid .case-card:nth-child(4) .case-card-image{ background-image:url('../images/case_productionline.jpg'); }
body.page-cases .cases-grid .case-card:nth-child(5) .case-card-image{ background-image:url('../images/case_community.jpg'); }
body.page-cases .cases-grid .case-card:nth-child(6) .case-card-image{ background-image:url('../images/case_industrialpark.jpg'); }

/* 物联网控制服务（pages.type=solution：设备智能化改造 / 云端控制平台 / 行业解决方案） */
body.page-solutions .cases-grid .case-card:nth-child(1) .case-card-image{ background-image:url('../images/solution_upgrade.jpg'); }
body.page-solutions .cases-grid .case-card:nth-child(2) .case-card-image{ background-image:url('../images/solution_cloud.jpg'); }
body.page-solutions .cases-grid .case-card:nth-child(3) .case-card-image{ background-image:url('../images/solution_industry.jpg'); }

/* 应用定制开发（pages.type=application：工业制造 / 智慧园区 / 智慧农业） */
body.page-applications .cases-grid .case-card:nth-child(1) .case-card-image{ background-image:url('../images/app_manufacturing.jpg'); }
body.page-applications .cases-grid .case-card:nth-child(2) .case-card-image{ background-image:url('../images/app_smartpark.jpg'); }
body.page-applications .cases-grid .case-card:nth-child(3) .case-card-image{ background-image:url('../images/app_agriculture.jpg'); }

/* 行业解决方案（pages.type=advantage：自主研发 / 稳定可靠 / 快速响应） */
body.page-advantages .cases-grid .case-card:nth-child(1) .case-card-image{ background-image:url('../images/adv_rnd.jpg'); }
body.page-advantages .cases-grid .case-card:nth-child(2) .case-card-image{ background-image:url('../images/adv_reliable.jpg'); }
body.page-advantages .cases-grid .case-card:nth-child(3) .case-card-image{ background-image:url('../images/adv_support.jpg'); }

/* 新闻中心（news 表为空时占位；有数据时 <img> 覆盖） */
body.page-news .cases-grid .case-card:nth-child(1) .case-card-image{ background-image:url('../images/solution_industry.jpg'); }
body.page-news .cases-grid .case-card:nth-child(2) .case-card-image{ background-image:url('../images/solution_app.jpg'); }
body.page-news .cases-grid .case-card:nth-child(3) .case-card-image{ background-image:url('../images/solution_cloud.jpg'); }

/* 首页新闻卡片 + 平台推荐大图 + 首屏设备视觉 */
.news-grid .news-card:nth-child(1) .news-card-image{ background-image:url('../images/solution_industry.jpg'); }
.news-grid .news-card:nth-child(2) .news-card-image{ background-image:url('../images/solution_app.jpg'); }
.news-grid .news-card:nth-child(3) .news-card-image{ background-image:url('../images/solution_cloud.jpg'); }

.featured-image{ background-image:url('../images/product_cloud.jpg'); }
.equipment-placeholder{ background-image:url('../images/product_monitor.jpg'); }

/* 内容区配图统一圆角 */
.news-content img, .about-visual img{ border-radius:16px; }

/* ---------- 3. 首页再加固：动态科技网格 + 更大首屏标题 ---------- */
.page-index .hero::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background-image:
    linear-gradient(rgba(14,165,233,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.10) 1px, transparent 1px);
  background-size:46px 46px;
  -webkit-mask-image:radial-gradient(72% 72% at 52% 38%, #000 0%, transparent 78%);
          mask-image:radial-gradient(72% 72% at 52% 38%, #000 0%, transparent 78%);
  animation:gridDrift 26s linear infinite;
}
@keyframes gridDrift{
  from{ background-position:0 0, 0 0; }
  to  { background-position:46px 46px, 46px 46px; }
}
.page-index .hero-content h1{ font-size:62px; line-height:1.1; letter-spacing:-0.025em; }
@media (prefers-reduced-motion: reduce){
  .page-index .hero::after{ animation:none; }
}

/* ---------- 4. 子页面响应式 ---------- */
@media (max-width: 1024px){
  .products-hero h1{ font-size:44px; }
}
@media (max-width: 768px){
  .products-hero{ padding:150px 0 84px; }
  .products-hero h1{ font-size:32px; }
  .products-hero h1::before{ width:52px; height:4px; margin-bottom:16px; }
  .products-hero p{ font-size:16px; }
  .products-hero::after{ height:52px; }
  .products-hero[style]{ padding:140px 0 48px !important; }
  .products-hero[style] h1{ font-size:26px; }
  .page-index .hero-content h1{ font-size:36px; }
}
