/* ==========================================================================
   河北道成电子科技 - 主样式表 v2.0 (2026 Edition)
   设计语言：Serene Aqua Tech 2.0
   ========================================================================== */

/* CSS Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-cn);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  color: var(--ink-800);
  background: var(--cloud-dancer);
  background-image:
    radial-gradient(at 20% 25%, hsla(195, 60%, 82%, 0.35) 0px, transparent 50%),
    radial-gradient(at 85% 10%, hsla(245, 65%, 85%, 0.25) 0px, transparent 50%),
    radial-gradient(at 30% 85%, hsla(175, 65%, 82%, 0.30) 0px, transparent 50%),
    radial-gradient(at 90% 75%, hsla(15, 70%, 85%, 0.20) 0px, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  font-feature-settings: "kern", "liga", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Design Tokens
   ========================================================================== */
:root {
  /* === Pantone 2026 主调 === */
  --cloud-dancer: #F0EBE3;
  --cloud-dancer-warm: #F5F1E8;
  --cloud-dancer-cool: #EBE8E0;
  --cloud-dancer-deep: #E5DFD5;

  /* === 行业主色：Transformative Teal === */
  --teal-900: #0A2E36;
  --teal-700: #0F4C5C;
  --teal-500: #1A6B7C;
  --teal-300: #5B9DAA;
  --teal-100: #B8D4DA;
  --teal-glow: rgba(15, 76, 92, 0.3);

  /* === Electric Indigo 强调色 === */
  --indigo-700: #3D3DA8;
  --indigo-500: #5B5BD6;
  --indigo-300: #8E8EE6;
  --indigo-glow: rgba(91, 91, 214, 0.25);

  /* === Digital Sage 鼠尾草 === */
  --sage-700: #4F6B5A;
  --sage-500: #7A9E7E;
  --sage-300: #A8C2AC;
  --sage-100: #E0EAE2;

  /* === Editorial Coral 珊瑚 === */
  --coral-700: #B04534;
  --coral-500: #E2725B;
  --coral-300: #F0A491;

  /* === 中性色 (Hued Near-Black) === */
  --ink-900: #1F1B16;
  --ink-800: #2A241D;
  --ink-700: #3D3530;
  --ink-600: #574D44;
  --ink-500: #75695E;
  --ink-400: #9A8E81;
  --ink-300: #BFB6A8;
  --ink-200: #DDD4C5;
  --ink-100: #EDE6D6;

  /* === 语义色 === */
  --success: #4F8B5A;
  --warning: #D4943D;
  --error: #C73E3A;
  --info: #5B9DAA;

  /* === 水滴主题色 === */
  --water-glow: rgba(15, 76, 92, 0.6);
  --water-mid: rgba(91, 157, 170, 0.5);
  --water-soft: rgba(184, 212, 218, 0.7);

  /* === Mesh Gradient === */
  --gradient-hero:
    radial-gradient(at 27% 37%, hsla(195, 60%, 80%, 1) 0px, transparent 50%),
    radial-gradient(at 97% 21%, hsla(245, 70%, 85%, 1) 0px, transparent 50%),
    radial-gradient(at 52% 99%, hsla(175, 65%, 82%, 1) 0px, transparent 50%),
    radial-gradient(at 10% 29%, hsla(256, 70%, 85%, 1) 0px, transparent 50%),
    radial-gradient(at 97% 96%, hsla(38, 70%, 85%, 1) 0px, transparent 50%),
    radial-gradient(at 33% 50%, hsla(222, 70%, 82%, 1) 0px, transparent 50%),
    radial-gradient(at 79% 53%, hsla(343, 70%, 85%, 1) 0px, transparent 50%);

  --gradient-aqua: linear-gradient(135deg, #F0EBE3 0%, #B8D4DA 50%, #5B9DAA 100%);
  --gradient-cta: linear-gradient(135deg, #0F4C5C 0%, #1A6B7C 60%, #5B5BD6 100%);
  --gradient-text: linear-gradient(135deg, #0F4C5C 0%, #5B5BD6 100%);
  --gradient-warm: linear-gradient(135deg, #F0EBE3 0%, #E2725B 100%);
  --gradient-water: linear-gradient(180deg,
                  rgba(184, 212, 218, 0) 0%,
                  rgba(91, 157, 170, 0.3) 50%,
                  rgba(15, 76, 92, 0.5) 100%);

  /* === 字体 === */
  --font-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Space Grotesk', 'Inter', sans-serif;
  --font-display: 'Fraunces', 'Noto Serif SC', serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* === 字号 === */
  --text-display-xl: clamp(3.5rem, 7vw, 5.5rem);
  --text-display-lg: clamp(2.75rem, 5.5vw, 4rem);
  --text-display-md: clamp(2rem, 4vw, 3rem);
  --text-h1: clamp(2rem, 3.5vw, 2.75rem);
  --text-h2: clamp(1.625rem, 3vw, 2.25rem);
  --text-h3: clamp(1.375rem, 2.5vw, 1.75rem);
  --text-h4: 1.25rem;
  --text-h5: 1.125rem;
  --text-body-lg: 1.125rem;
  --text-body: 1rem;
  --text-body-sm: 0.875rem;
  --text-caption: 0.75rem;
  --text-small: 0.6875rem;

  /* === 行高 === */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;
  --leading-loose: 1.9;

  /* === 字间距 === */
  --tracking-tighter: -0.04em;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-widest: 0.2em;

  /* === 字重 === */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 900;

  /* === 间距 === */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* === 容器 === */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;

  /* === 圆角 === */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-3xl: 48px;
  --radius-full: 9999px;
  --radius-blob: 60% 40% 50% 50% / 50% 60% 40% 50%;

  /* === 阴影 === */
  --shadow-xs: 0 1px 2px rgba(31, 27, 22, 0.04);
  --shadow-sm: 0 2px 8px rgba(31, 27, 22, 0.06), 0 1px 2px rgba(31, 27, 22, 0.04);
  --shadow-md: 0 8px 24px rgba(31, 27, 22, 0.08), 0 2px 6px rgba(31, 27, 22, 0.04);
  --shadow-lg: 0 16px 48px rgba(31, 27, 22, 0.10), 0 4px 12px rgba(31, 27, 22, 0.06);
  --shadow-xl: 0 24px 64px rgba(31, 27, 22, 0.12), 0 8px 24px rgba(31, 27, 22, 0.08);
  --shadow-2xl: 0 32px 96px rgba(31, 27, 22, 0.16);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(31, 27, 22, 0.04);

  --glow-teal: 0 0 32px rgba(15, 76, 92, 0.35);
  --glow-indigo: 0 0 32px rgba(91, 91, 214, 0.35);
  --glow-sage: 0 0 24px rgba(122, 158, 126, 0.4);
  --glow-warm: 0 0 32px rgba(226, 114, 91, 0.3);

  /* === 缓动 === */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* === 时长 === */
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;
  --duration-slower: 900ms;
}

/* Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-cn);
  font-weight: var(--weight-bold);
  color: var(--ink-900);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); font-weight: var(--weight-semibold); }
h5 { font-size: var(--text-h5); font-weight: var(--weight-semibold); }

p {
  line-height: var(--leading-relaxed);
  color: var(--ink-700);
}

a {
  color: var(--teal-700);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

a:hover {
  color: var(--indigo-500);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.text-mono {
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-wide);
}

.text-display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--weight-medium);
}

/* Container & Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-8); }
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--space-12); }
}

.section {
  padding: var(--space-20) 0;
  position: relative;
}

@media (min-width: 1024px) {
  .section { padding: var(--space-32) 0; }
}

/* Background Layers
   ========================================================================== */
.bg-noise::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(15, 76, 92, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 76, 92, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.bg-dots {
  background-image: radial-gradient(circle, rgba(15, 76, 92, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Mesh Grid + Water Drops System - 网格背景 + 水滴动画
   ========================================================================== */

/* 网格背景 - 与 Cloud Dancer 暖白基底完美融合 */
.bg-grid-water {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* 主网格线 */
.bg-grid-water::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 76, 92, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 76, 92, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}

/* 网格交叉点的水滴节点 */
.bg-grid-water::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(91, 157, 170, 0.25) 1.5px, transparent 2px);
  background-size: 56px 56px;
  background-position: 0 0;
}

/* 水滴雨幕容器 */
.water-rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* 单个水滴粒子 - 小颗粒 */
.water-drop {
  position: absolute;
  top: -20px;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle at 30% 30%,
    rgba(255, 255, 255, 1) 0%,
    rgba(91, 157, 170, 0.85) 50%,
    rgba(15, 76, 92, 0.7) 100%);
  border-radius: 50%;
  opacity: 0;
  animation: dropFall linear infinite;
  box-shadow:
    0 0 6px rgba(91, 157, 170, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.water-drop.lg {
  width: 7px;
  height: 7px;
  background: radial-gradient(circle at 30% 30%,
    rgba(255, 255, 255, 1) 0%,
    rgba(91, 157, 170, 0.8) 40%,
    rgba(15, 76, 92, 0.6) 100%);
  box-shadow:
    0 0 14px rgba(15, 76, 92, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* 水滴拖尾 */
.water-drop::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(91, 157, 170, 0.5) 60%,
    rgba(15, 76, 92, 0.8) 100%);
  border-radius: 1px;
}

.water-drop.lg::before {
  width: 1.5px;
  height: 28px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(91, 157, 170, 0.6) 40%,
    rgba(15, 76, 92, 0.85) 100%);
}

/* 涟漪效果 - 水滴到底部后扩散 */
.water-drop::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  background: radial-gradient(ellipse,
    rgba(91, 157, 170, 0.5) 0%,
    transparent 70%);
  border-radius: 50%;
  opacity: 0;
  animation: dropRipple 3s ease-out infinite;
  animation-delay: inherit;
}

@keyframes dropFall {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  5% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(110vh) translateX(-30px);
    opacity: 0;
  }
}

@keyframes dropRipple {
  0%, 60% {
    transform: translateX(-50%) scale(0);
    opacity: 0;
  }
  70% {
    opacity: 0.6;
  }
  100% {
    transform: translateX(-50%) scale(2.5);
    opacity: 0;
  }
}

/* 顶部装饰水滴分裂动画 */
.water-source {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  pointer-events: none;
  z-index: 2;
}

.water-source-drop {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 14px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(91, 157, 170, 0.7) 60%,
    rgba(15, 76, 92, 0.5) 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow:
    0 0 20px rgba(91, 157, 170, 0.6),
    inset 0 2px 0 rgba(255, 255, 255, 0.8);
  animation: sourceDropFall 4s ease-in infinite;
}

.water-source-ripple {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(ellipse,
    rgba(91, 157, 170, 0.7) 0%,
    transparent 70%);
  animation: sourceRipple 4s ease-out infinite;
}

@keyframes sourceDropFall {
  0% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
  60% { transform: translateX(-50%) translateY(50px) scale(0.8); opacity: 0.8; }
  75% { transform: translateX(-50%) translateY(60px) scale(1.3); opacity: 0.4; }
  100% { transform: translateX(-50%) translateY(70px) scale(0); opacity: 0; }
}

@keyframes sourceRipple {
  0%, 60% { width: 0; opacity: 0; }
  70% { width: 80px; opacity: 0.8; }
  100% { width: 140px; opacity: 0; }
}

/* 装饰大水滴 - 静态（视觉焦点） */
.water-drop-static {
  position: absolute;
  background: radial-gradient(circle at 30% 30%,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(91, 157, 170, 0.4) 40%,
    rgba(15, 76, 92, 0.2) 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow:
    0 8px 24px -4px rgba(15, 76, 92, 0.25),
    inset 0 4px 8px rgba(255, 255, 255, 0.6),
    inset 0 -4px 8px rgba(15, 76, 92, 0.1);
}

/* 横向流动水流（用于页面分隔） */
.water-flow {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(91, 157, 170, 0.4) 50%,
    transparent 100%);
  pointer-events: none;
}

.water-flow::before,
.water-flow::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse,
    rgba(91, 157, 170, 0.5) 0%,
    transparent 70%);
  top: -5px;
  animation: flowMove 8s linear infinite;
}

.water-flow::after {
  animation-delay: -4s;
  animation-duration: 10s;
}

@keyframes flowMove {
  0% { transform: translateX(-100px); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateX(calc(100vw + 100px)); opacity: 0; }
}

/* Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(248, 247, 242, 0.96);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  /* 关键：包含点击区域 */
  pointer-events: auto;
  isolation: isolate;
  /* 替换 border-bottom 为底部内嵌阴影 */
  box-shadow:
    inset 0 -1px 0 rgba(15, 76, 92, 0.08),
    inset 0 -2px 0 rgba(255, 255, 255, 0.4);
  transition: background var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth);
}

.navbar > * {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.navbar.scrolled {
  background: rgba(248, 247, 242, 0.98);
  box-shadow:
    0 4px 20px -4px rgba(15, 76, 92, 0.12),
    inset 0 -1px 0 rgba(15, 76, 92, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-2xl);
  margin: 0 auto;
  position: relative;   /* 让移动端搜索表单 absolute 限定在容器内 */
  padding: 0 var(--space-6);
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .nav-container { padding: 0 var(--space-8); }
}

/* 强制所有 nav 内部链接可点击 - 防御性规则 */
.navbar a,
.navbar button {
  position: relative;
  pointer-events: auto !important;
  cursor: pointer;
}

.navbar a::before,
.navbar a::after {
  pointer-events: none !important;
}

.navbar .nav-link {
  z-index: 3;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--ink-900);
  position: relative;
  z-index: 20;          /* 移动端搜索展开时，盖在浮层表单之上 */
}

.logo-image {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  /* border-radius: var(--radius-md); */
  transition: transform var(--duration-base) var(--ease-smooth);
}

.logo-wrapper:hover .logo-image {
  transform: rotate(-6deg) scale(1.05);
}

/* Logo Mark (CSS-only DC Logo) */
.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #5b5bd6 50%, #0cb5b5 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(91, 91, 214, 0.25);
  transition: transform var(--duration-base) var(--ease-smooth);
}

.logo-mark span {
  font-family: var(--font-display, 'Space Grotesk', system-ui);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo-wrapper:hover .logo-mark {
  transform: rotate(-6deg) scale(1.05);
}

.footer-brand .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.footer-brand .logo-mark span {
  font-size: 11px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-cn);
  font-size: var(--text-h5);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--teal-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-tagline {
  font-size: var(--text-small);
  color: var(--ink-500);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-left: var(--space-2);
  padding-left: var(--space-3);
  border-left: 1px solid var(--ink-300);
}

.nav-menu {
  display: none;
  list-style: none;
  gap: var(--space-2);
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-menu { display: flex; }
}

/* 中右组：新闻 / 关于我们。只在桌面显示，窄屏让用户走 hamburger 菜单 */
.nav-actions-group,
.nav-divider-v {
  display: none;
}

@media (min-width: 1024px) {
  .nav-actions-group,
  .nav-divider-v {
    display: inline-flex;
  }
}

/* 桌面端才显示搜索/语言切换，移动端隐藏在菜单中 */
.nav-icon-btn {
  display: none;
}

@media (min-width: 1024px) {
  .nav-icon-btn {
    display: inline-flex;
  }
}

/* (语言切换样式在下方，与搜索按钮共享设计语言) */

/* ============================================
   搜索按钮 + 语言切换器
   - 头部底部风格统一：相同的玻璃质感 + 圆角 + 阴影
   - hover 静止：只增强阴影，绝不位移/缩放
   ============================================ */

/* ============================================
   搜索按钮 + 搜索表单（互换模式）
   - 学习参考网站：按钮点击后变成搜索表单（同一位置）
   - 头部底部风格统一：与语言切换器同玻璃质感
   ============================================ */

/* === 搜索按钮 === */
.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 247, 244, 0.85) 100%);
  color: var(--teal-700);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(15, 76, 92, 0.03),
    0 1px 2px rgba(15, 76, 92, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 0 1.5px rgba(91, 157, 170, 0.18);
  transition: box-shadow var(--duration-base) var(--ease-smooth),
              color var(--duration-base) var(--ease-smooth),
              opacity 0.3s var(--ease-out-expo);
  -webkit-tap-highlight-color: transparent;
}

.search-btn:hover {
  color: var(--teal-900);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 6px 16px -4px rgba(15, 76, 92, 0.12),
    0 0 0 1px rgba(91, 157, 170, 0.3),
    0 0 0 1.5px rgba(91, 91, 214, 0.15);
}

.search-btn:active {
  background: linear-gradient(135deg,
    rgba(248, 247, 244, 0.95) 0%,
    rgba(240, 235, 227, 0.9) 100%);
}

.search-btn svg {
  width: 16px;
  height: 16px;
  transition: none;
}

/* === 搜索按钮容器（与表单同一位置） === */
.search-action {
  display: inline-flex;
  position: relative;
  align-items: center;
  flex-shrink: 0;
}

.search-action.open .search-btn { display: none; }

.search-action.open .search-form-inline {
  display: inline-flex;
  width: 280px;
  animation: searchSlideIn 0.3s var(--ease-spring);
}

@keyframes searchSlideIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

/* 移动端：从右侧展开的动画（不冲突 translateY(-50%)） */
@keyframes searchSlideInMobile {
  from { opacity: 0; transform: translateY(-50%) translateX(20px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* === 搜索表单（胶囊条） === */
.search-form-inline {
  display: none;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 6px 0 14px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 247, 244, 0.88) 100%);
  border: none;
  border-radius: var(--radius-full);
  width: 0;             /* 折叠态宽度 0 */
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(15, 76, 92, 0.03),
    0 1px 2px rgba(15, 76, 92, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 0 1.5px rgba(91, 157, 170, 0.22);
  transition: width 0.35s var(--ease-spring),
              box-shadow var(--duration-base);
}

.search-form-inline:focus-within {
  background: linear-gradient(135deg, #ffffff 0%, rgba(248, 247, 244, 0.95) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 6px 16px -4px rgba(15, 76, 92, 0.12),
    0 0 0 1px rgba(91, 157, 170, 0.4),
    0 0 0 1.5px rgba(91, 91, 214, 0.2);
}

.search-form-icon {
  color: var(--teal-700);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.search-input-inline {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink-900);
  font-size: 14px;
  font-family: var(--font-cn);
  font-weight: var(--weight-medium);
  letter-spacing: 0.01em;
}

.search-input-inline::placeholder {
  color: var(--ink-400);
  font-weight: var(--weight-normal);
}

.search-close-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--ink-500);
  font-size: 18px;
  font-weight: var(--weight-light);
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.search-close-inline:hover {
  background: var(--ink-100);
  color: var(--ink-800);
}

/* (保留下面原有的 .search-action / .search-btn / .search-form-inline 样式) */

.search-form-inline {
  display: none;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 6px 0 14px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 247, 244, 0.88) 100%);
  border: none;
  border-radius: var(--radius-full);
  width: 0;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(15, 76, 92, 0.03),
    0 1px 2px rgba(15, 76, 92, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 0 1.5px rgba(91, 157, 170, 0.22);
  transition: width 0.35s var(--ease-spring),
              box-shadow var(--duration-base);
}

.search-form-inline:focus-within {
  background: linear-gradient(135deg, #ffffff 0%, rgba(248, 247, 244, 0.95) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 6px 16px -4px rgba(15, 76, 92, 0.12),
    0 0 0 1px rgba(91, 157, 170, 0.4),
    0 0 0 1.5px rgba(91, 91, 214, 0.2);
}

.search-form-icon {
  color: var(--teal-700);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.search-input-inline {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink-900);
  font-size: 14px;
  font-family: var(--font-cn);
  font-weight: var(--weight-medium);
  letter-spacing: 0.01em;
}

.search-input-inline::placeholder {
  color: var(--ink-400);
  font-weight: var(--weight-normal);
}

.search-close-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--ink-500);
  font-size: 18px;
  font-weight: var(--weight-light);
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.search-close-inline:hover {
  background: var(--ink-100);
  color: var(--ink-800);
}

/* ============================================
   语言切换 - 无动画，固定样式
   - 每个按钮独立底色，文字居中
   ============================================ */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  flex-shrink: 0;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 247, 244, 0.85) 100%);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(15, 76, 92, 0.03),
    0 1px 2px rgba(15, 76, 92, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 0 1.5px rgba(91, 157, 170, 0.2);
  isolation: isolate;
}

.lang-btn {
  height: 32px;
  padding: 0 10px;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cn);
  font-size: 13px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.02em;
  color: var(--ink-600);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}

.lang-btn[data-lang="en"],
.lang-btn[data-lang="ru"] {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* 默认/非激活：透明底色，深色文字 */
.lang-btn {
  background: transparent;
  color: var(--ink-600);
}

/* 激活态：渐变底色，白色文字 */
.lang-btn.active {
  background: linear-gradient(135deg,
    var(--teal-700) 0%,
    var(--teal-500) 50%,
    var(--indigo-700) 100%);
  color: var(--cloud-dancer);
  box-shadow:
    0 3px 10px rgba(15, 76, 92, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lang-btn:hover:not(.active) {
  background: rgba(15, 76, 92, 0.06);
  color: var(--teal-800);
}

/* ============================================
   Nav Link 基础样式 (所有导航链接共用)
   ============================================ */
.nav-link {
  position: relative;
  display: inline-block;
  color: var(--ink-700);
  font-weight: var(--weight-medium);
  font-size: var(--text-body);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-smooth);
  z-index: 2;
  isolation: isolate;
  cursor: pointer;
  text-decoration: none;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--teal-100);
  border-radius: var(--radius-full);
  opacity: 0;
  transition: opacity var(--duration-fast);
  z-index: -1;
}

.nav-link:hover {
  color: var(--teal-900);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link.active {
  color: var(--teal-900);
}

.nav-link.active::before {
  opacity: 1;
  background: var(--teal-700);
  color: var(--cloud-dancer);
}

.nav-link.active {
  color: var(--cloud-dancer);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ============================================
   导航 - 三段式布局
   - 左段：Logo + 4 个主链接
   - 中右段：新闻资讯 + 关于我们（nav-link 风格，hover 出下拉）
   - 末段：搜索 + 语言切换（用 | 分隔线区分）
   ============================================ */

/* 主导航容器（flex space-between 让左中右分开） */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

/* 中右组：新闻资讯 + 关于我们（仅桌面端） */
@media (min-width: 1024px) {
  .nav-actions-group {
    display: inline-flex;
    align-items: center;
    gap: 2px;
  }
}

.nav-actions-group .nav-item-dropdown {
  position: relative;
}

/* 末段：搜索 + 语言切换 */
.nav-actions-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 垂直分隔线 */
.nav-divider-v {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(15, 76, 92, 0.12) 50%,
    transparent 100%);
  margin: 0 16px;
  flex-shrink: 0;
}

/* ============================================
   Nav Dropdown - 新闻资讯 / 关于我们 hover 下拉
   - 与左侧 nav-link 风格完全一致
   - 子项是浮层
   ============================================ */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-caret {
  opacity: 0.5;
  transition: transform var(--duration-fast) var(--ease-spring),
              opacity var(--duration-fast);
  flex-shrink: 0;
}

.nav-item-dropdown:hover .nav-caret,
.nav-item-dropdown:focus-within .nav-caret,
.nav-item-dropdown.active .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* 下拉容器 */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 247, 244, 0.96) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 0 1.5px rgba(91, 157, 170, 0.18),
    0 16px 40px -8px rgba(15, 76, 92, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo),
              visibility var(--duration-base);
  z-index: 100;
  isolation: isolate;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  pointer-events: auto;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(252, 250, 247, 0.96) 100%);
  border-left: 1.5px solid rgba(91, 157, 170, 0.18);
  border-top: 1.5px solid rgba(91, 157, 170, 0.18);
  border-radius: 2px;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* 关于我们 dropdown - 三列宽版 */
.nav-dropdown-wide {
  width: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 20px 16px;
  border-radius: var(--radius-xl);
}

.nav-dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--ink-700);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background var(--duration-fast), color var(--duration-fast),
              padding-left var(--duration-fast);
  white-space: nowrap;
  position: relative;
}

.nav-dropdown-item::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500) 0%, var(--indigo-500) 100%);
  transition: transform var(--duration-fast) var(--ease-spring);
}

.nav-dropdown-item:hover {
  background: linear-gradient(135deg, var(--teal-100) 0%, rgba(91, 157, 170, 0.12) 100%);
  color: var(--teal-900);
  padding-left: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-dropdown-item:hover::before {
  transform: translateY(-50%) scale(1);
}

/* 关于我们 dropdown - 三列分组样式 */
.nav-dropdown-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}

.nav-dropdown-section + .nav-dropdown-section {
  border-left: 1px solid rgba(15, 76, 92, 0.06);
  padding-left: 14px;
}

.nav-dropdown-title {
  font-size: 11px;
  font-weight: var(--weight-bold);
  color: var(--teal-700);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px 8px;
  position: relative;
}

.nav-dropdown-title::after {
  content: '';
  position: absolute;
  left: 12px;
  bottom: 4px;
  width: 16px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--teal-500) 0%, transparent 100%);
  border-radius: 1px;
}



.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  min-width: 38px;
  padding: 0 var(--space-3);
  background: var(--bg-elev);
  color: var(--ink-700);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-smooth);
  box-shadow:
    0 1px 2px rgba(15, 76, 92, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 0 1px rgba(15, 76, 92, 0.06);
}

.nav-icon-btn:hover {
  color: var(--teal-700);
  background: var(--teal-100);
  transform: translateY(-1px);
  box-shadow:
    0 4px 12px rgba(15, 76, 92, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 1px rgba(91, 93, 214, 0.15);
}

.nav-icon-btn svg {
  flex-shrink: 0;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-smooth);
 
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 0 1.5px rgba(221, 212, 197, 0.5);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 0 1.5px rgba(91, 157, 170, 0.2);
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-smooth);
}

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

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

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

/* Buttons - 渐变光晕环 hover 效果
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-cn);
  font-weight: var(--weight-semibold);
  font-size: var(--text-body-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-expo);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn > svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out-quart);
}

.btn:hover > svg {
  transform: translateX(3px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--text-body);
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--cloud-dancer);
  /* 多层阴影 - 主阴影 + 渐变光晕 + 内嵌高光 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(15, 76, 92, 0.15),
    0 0 0 1px rgba(91, 91, 214, 0.2),
    0 8px 20px -6px rgba(15, 76, 92, 0.4),
    0 4px 12px -4px rgba(91, 91, 214, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #5B5BD6 0%, #0F4C5C 100%);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.btn-primary > * { position: relative; z-index: 1; }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(15, 76, 92, 0.15),
    0 0 0 1.5px rgba(91, 91, 214, 0.4),
    0 16px 32px -8px rgba(15, 76, 92, 0.45),
    0 8px 16px -4px rgba(91, 91, 214, 0.35),
    0 0 24px -4px rgba(91, 91, 214, 0.3);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--teal-900);
  /* 双层柔和边框 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 0 1.5px rgba(221, 212, 197, 0.6),
    0 4px 12px -4px rgba(15, 76, 92, 0.1);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 0 1.5px rgba(91, 157, 170, 0.4),
    0 8px 20px -6px rgba(15, 76, 92, 0.18);
}

.btn-coral {
  background: var(--gradient-warm);
  color: var(--cloud-dancer);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(226, 114, 91, 0.25),
    0 8px 20px -6px rgba(176, 69, 52, 0.4),
    0 0 24px -4px rgba(226, 114, 91, 0.3);
}

.btn-coral:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 1.5px rgba(226, 114, 91, 0.4),
    0 16px 32px -8px rgba(176, 69, 52, 0.45),
    0 0 32px -4px rgba(226, 114, 91, 0.4);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--teal-700);
  font-weight: var(--weight-medium);
  font-size: var(--text-body-sm);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: gap var(--duration-normal) var(--ease-out-quart);
}

.btn-link:hover {
  gap: var(--space-3);
  color: var(--indigo-500);
}

.btn-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-normal) var(--ease-out-quart);
}

.btn-link:hover svg {
  transform: translateX(4px);
}

/* Cards - 双层渐变边框 + 内嵌光晕
   ========================================================================== */
.card {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  /* 关键：用多层 box-shadow 替代生硬 1px border */
  box-shadow:
    /* 内嵌高光 - 模拟细腻光从顶部洒下 */
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(15, 76, 92, 0.04),
    /* 极细白色描边 - 营造双层效果的第一层 */
    0 0 0 1px rgba(255, 255, 255, 0.6),
    /* 第二层柔和渐变描边 */
    0 0 0 1.5px rgba(91, 157, 170, 0.12),
    /* 主阴影 */
    0 8px 24px -8px rgba(15, 76, 92, 0.12),
    0 2px 6px -2px rgba(15, 76, 92, 0.06);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(15, 76, 92, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 0 1.5px rgba(91, 157, 170, 0.25),
    0 24px 48px -12px rgba(15, 76, 92, 0.18),
    0 8px 16px -4px rgba(15, 76, 92, 0.08);
}

/* Mesh Card - 渐变光晕卡片 */
.card-mesh {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 235, 227, 0.7) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  overflow: hidden;
  /* 双层渐变描边 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 0 1.5px rgba(91, 91, 214, 0.1),
    0 8px 24px -8px rgba(15, 76, 92, 0.12);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.card-mesh::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--teal-300) 0%, transparent 70%);
  opacity: 0.35;
  filter: blur(40px);
  transition: opacity var(--duration-slower);
  pointer-events: none;
}

.card-mesh::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -30%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, var(--indigo-300) 0%, transparent 70%);
  opacity: 0.25;
  filter: blur(40px);
  transition: opacity var(--duration-slower);
  pointer-events: none;
}

.card-mesh:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 0 1.5px rgba(91, 91, 214, 0.25),
    0 24px 48px -12px rgba(15, 76, 92, 0.2);
}

.card-mesh:hover::before,
.card-mesh:hover::after {
  opacity: 0.55;
}

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

/* Badges
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.badge-teal {
  background: var(--teal-100);
  color: var(--teal-900);
}

.badge-sage {
  background: var(--sage-100);
  color: var(--sage-700);
}

.badge-coral {
  background: rgba(226, 114, 91, 0.15);
  color: var(--coral-700);
}

.badge-indigo {
  background: rgba(91, 91, 214, 0.12);
  color: var(--indigo-700);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  color: var(--teal-700);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(184, 212, 218, 0.4) 0%, rgba(91, 157, 170, 0.2) 100%);
  border-radius: var(--radius-full);
  /* 多层阴影 - 精致小标签 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 0 1.5px rgba(91, 157, 170, 0.15);
}

.section-title {
  font-size: var(--text-display-md);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tighter);
  margin-bottom: var(--space-4);
  color: var(--ink-900);
}

.section-desc {
  font-size: var(--text-body-lg);
  color: var(--ink-600);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section - 网格 + 水滴背景
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  /* 保留 Cloud Dancer 暖白基底 */
  background-color: var(--cloud-dancer);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--cloud-dancer);
  background-image:
    radial-gradient(at 20% 30%, hsla(195, 60%, 85%, 0.4) 0px, transparent 50%),
    radial-gradient(at 80% 15%, hsla(245, 65%, 88%, 0.3) 0px, transparent 50%),
    radial-gradient(at 30% 75%, hsla(175, 65%, 85%, 0.35) 0px, transparent 50%),
    radial-gradient(at 90% 65%, hsla(15, 70%, 88%, 0.25) 0px, transparent 50%);
}

/* Hero 内的网格层 */
.hero .bg-grid-water {
  z-index: 1;
  opacity: 0.85;
}

/* Hero 内的水滴雨幕 */
.hero .water-rain {
  z-index: 2;
}

/* Hero 顶部水滴源（分裂动画） */
.hero .water-source {
  top: -20px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-16) 0;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-20);
  }
}

.hero-text {
  position: relative;
  z-index: 11;
}

.hero-tagline {
  margin-bottom: var(--space-6);
  animation: textFadeIn 1s var(--ease-out-expo) both;
  position: relative;
  z-index: 12;
}

.hero-title {
  font-family: var(--font-cn);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--weight-bold);
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
  color: var(--ink-900);
  margin-bottom: var(--space-6);
  animation: fadeInUp 1s var(--ease-out-expo) 0.2s both;
  position: relative;
  z-index: 12;
}

.hero-title .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* 标题内的水滴图标 */
.title-water-icon {
  display: inline-block;
  width: 34px;
  height: 42px;
  vertical-align: middle;
  margin-right: 4px;
  margin-top: -8px;
  animation: dropFloat 3.5s ease-in-out infinite;
  filter: drop-shadow(0 5px 10px rgba(15, 76, 92, 0.28));
  position: relative;
  top: -4px;
}

.title-water-icon svg {
  width: 100%;
  height: 100%;
}

@keyframes dropFloat {
  0%, 100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-6px) rotate(3deg);
  }
}

.hero-subtitle {
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
  color: var(--ink-600);
  max-width: 540px;
  margin-bottom: var(--space-8);
  animation: fadeInUp 1s var(--ease-out-expo) 0.4s both;
  position: relative;
  z-index: 12;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  animation: fadeInUp 1s var(--ease-out-expo) 0.6s both;
  position: relative;
  z-index: 12;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
  animation: fadeInUp 1s var(--ease-out-expo) 0.8s both;
  position: relative;
  z-index: 12;
}

.hero-stat {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--weight-bold);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--space-1);
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
}

/* 数字旁边的「+ / 万+ / M+ / 年 / yr」等单位 —— 字号小一档，更精致 */
.hero-stat-number .hero-stat-unit {
  font-size: 0.55em;
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
  margin-left: 0.05em;
  /* 单位不强制换色，跟随父级渐变；如需单独色块可在此覆盖 */
}


.hero-stat-label {
  font-size: var(--text-caption);
  color: var(--ink-500);
  letter-spacing: var(--tracking-wide);
}

/* Hero Visual - 智慧水务数据看板 */
.hero-visual {
  position: relative;
  height: 580px;
  z-index: 10;
  animation: fadeInUp 1.2s var(--ease-out-expo) 0.4s both;
}

@media (max-width: 1023px) {
  .hero-visual { height: 500px; }
}

.hero-orb {
  position: absolute;
  border-radius: var(--radius-blob);
  filter: blur(60px);
  opacity: 0.7;
}

.hero-orb-1 {
  width: 360px;
  height: 360px;
  top: -10%;
  right: 10%;
  background: radial-gradient(circle, var(--teal-300) 0%, var(--indigo-300) 100%);
  animation: float 10s ease-in-out infinite;
}

.hero-orb-2 {
  width: 280px;
  height: 280px;
  bottom: 5%;
  left: -5%;
  background: radial-gradient(circle, var(--coral-300) 0%, var(--teal-100) 100%);
  animation: float 12s ease-in-out infinite -4s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  right: -5%;
  background: radial-gradient(circle, var(--indigo-300) 0%, var(--sage-300) 100%);
  animation: float 14s ease-in-out infinite -8s;
}

/* Dashboard Container */
.dashboard {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 28px;
  padding: 0;
  overflow: hidden;
  /* 双层渐变边框 + 强化阴影让卡片更突出于水滴之上 */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 0 1.5px rgba(91, 91, 214, 0.2),
    0 32px 80px -16px rgba(15, 76, 92, 0.3),
    0 12px 32px -8px rgba(15, 76, 92, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  z-index: 13;
}

.dashboard-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 20% 0%, rgba(184, 212, 218, 0.4) 0%, transparent 50%),
    radial-gradient(at 80% 100%, rgba(142, 142, 230, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

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

/* Dashboard Header */
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(221, 212, 197, 0.4);
}

.dash-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4F8B5A;
  box-shadow: 0 0 12px rgba(79, 139, 90, 0.6);
  animation: glowPulse 2s ease-in-out infinite;
}

.dash-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: -0.01em;
}

.dash-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-time {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--coral-700);
  letter-spacing: 0.05em;
}

.dash-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral-500);
  animation: glowPulse 1.5s ease-in-out infinite;
}

/* Dashboard Metrics */
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(221, 212, 197, 0.4);
  padding: 1px 0;
}

.dash-metric {
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.5);
  position: relative;
}

.dash-metric:first-child::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(15, 76, 92, 0.15), transparent);
}

.metric-label {
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.metric-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric-unit {
  font-size: 12px;
  color: var(--ink-500);
  font-weight: 500;
}

.metric-trend {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.metric-trend.up {
  color: #4F8B5A;
}

/* Dashboard Chart */
.dash-chart {
  padding: 20px 22px 14px;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.chart-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink-500);
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
}

.chart-svg {
  width: 100%;
  height: 100px;
  display: block;
}

.chart-pulse-dot {
  animation: chartPulse 1.8s ease-out infinite;
}

@keyframes chartPulse {
  0% { opacity: 0.5; transform: scale(1); transform-origin: center; }
  100% { opacity: 0; transform: scale(2.5); transform-origin: center; }
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-400);
  letter-spacing: 0.02em;
}

/* Dashboard Devices */
.dash-devices {
  padding: 14px 22px 22px;
  border-top: 1px solid rgba(221, 212, 197, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.device-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.device-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.device-avatar-teal {
  background: linear-gradient(135deg, #B8D4DA 0%, #5B9DAA 100%);
  color: #0F4C5C;
}

.device-avatar-sage {
  background: linear-gradient(135deg, #E0EAE2 0%, #7A9E7E 100%);
  color: #4F6B5A;
}

.device-avatar-coral {
  background: linear-gradient(135deg, #F0A491 0%, #E2725B 100%);
  color: #B04534;
}

.device-info {
  flex: 1;
  min-width: 0;
}

.device-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-800);
  line-height: 1.3;
  margin-bottom: 2px;
}

.device-meta {
  font-size: 11px;
  color: var(--ink-500);
  line-height: 1.3;
}

.device-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.device-status-online {
  background: rgba(79, 139, 90, 0.12);
  color: #4F8B5A;
}

.device-status-warn {
  background: rgba(212, 148, 61, 0.15);
  color: #B07A2F;
}

/* Float Tags - 浮动装饰卡（替代之前的孤立卡片） */
.float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 12px 32px -8px rgba(15, 76, 92, 0.25),
    0 4px 12px -4px rgba(15, 76, 92, 0.15);
  z-index: 14;
}

.float-tag-1 {
  top: 8%;
  right: -8%;
  animation: float 8s ease-in-out infinite;
}

.float-tag-2 {
  bottom: 12%;
  left: -12%;
  animation: float 10s ease-in-out infinite -4s;
}

@media (max-width: 1023px) {
  .float-tag-1 { right: 0; }
  .float-tag-2 { left: 0; }
}

.float-tag-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1A6B7C 0%, #5B5BD6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.float-tag-icon-warm {
  background: linear-gradient(135deg, #E2725B 0%, #B04534 100%);
}

.float-tag-content {
  display: flex;
  flex-direction: column;
}

.float-tag-value {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.float-tag-label {
  font-size: 10px;
  color: var(--ink-500);
  letter-spacing: 0.02em;
  margin-top: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--ink-500);
  font-size: var(--text-small);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  animation: fadeInUp 1s var(--ease-out-expo) 1.2s both;
  z-index: 15;
  background: rgba(240, 235, 227, 0.7);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.5);
}

.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid var(--ink-500);
  border-radius: 11px;
  position: relative;
}

.mouse-icon::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--ink-500);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 8px); opacity: 0.3; }
}

/* Stats Section
   ========================================================================== */
.stats-section {
  padding: var(--space-16) 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  position: relative;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--weight-bold);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: var(--tracking-tighter);
}

.stat-suffix {
  font-size: 0.6em;
  color: var(--indigo-500);
  -webkit-text-fill-color: var(--indigo-500);
}

.stat-label {
  font-size: var(--text-body-sm);
  color: var(--ink-600);
  letter-spacing: var(--tracking-wide);
}

/* Grids
   ========================================================================== */
.products-grid,
.features-grid,
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .products-grid,
  .features-grid,
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Product Card - 内部细节精致化
   ========================================================================== */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #B8D4DA 0%, #5B9DAA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  /* icon 多层阴影 - 内嵌高光 + 柔和外光晕 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(15, 76, 92, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 6px 16px -4px rgba(15, 76, 92, 0.25);
  transition: transform var(--duration-normal) var(--ease-spring);
}

.product-card:hover .product-icon {
  transform: scale(1.05) rotate(-3deg);
}

.product-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.5) 0%, transparent 60%);
}

.product-icon svg {
  width: 26px;
  height: 26px;
  color: var(--teal-900);
  position: relative;
  z-index: 1;
}

.product-title {
  font-size: var(--text-h4);
  font-weight: var(--weight-bold);
  color: var(--ink-900);
  margin-bottom: var(--space-2);
  letter-spacing: -0.015em;
}

.product-desc {
  font-size: var(--text-body);
  color: var(--ink-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.product-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-body-sm);
  color: var(--ink-700);
  padding-left: 0;
}

.product-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-300) 0%, var(--teal-500) 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
}

.product-features li {
  position: relative;
}

/* SVG check mark 替代 dot - 更精致 */
.product-features li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 4px;
  border-left: 1.5px solid white;
  border-bottom: 1.5px solid white;
  transform: translateY(-65%) rotate(-45deg);
}

.product-features li::before {
  background: linear-gradient(135deg, var(--teal-300) 0%, var(--teal-500) 100%);
}

/* Badge 优化 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  /* badge 双层描边 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.4);
}

.badge-teal {
  background: linear-gradient(135deg, rgba(184, 212, 218, 0.5) 0%, rgba(91, 157, 170, 0.3) 100%);
  color: var(--teal-900);
}

.badge-sage {
  background: linear-gradient(135deg, rgba(224, 234, 226, 0.6) 0%, rgba(122, 158, 126, 0.3) 100%);
  color: var(--sage-700);
}

.badge-coral {
  background: linear-gradient(135deg, rgba(240, 164, 145, 0.4) 0%, rgba(226, 114, 91, 0.25) 100%);
  color: var(--coral-700);
}

.badge-indigo {
  background: linear-gradient(135deg, rgba(142, 142, 230, 0.3) 0%, rgba(91, 91, 214, 0.2) 100%);
  color: var(--indigo-700);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: glowPulse 2s ease-in-out infinite;
}

/* CTA Section
   ========================================================================== */
.cta-section {
  position: relative;
  padding: var(--space-20) 0;
  overflow: hidden;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, #0F4C5C 0%, #1A6B7C 50%, #5B5BD6 100%);
  border-radius: 32px;
  padding: var(--space-16) var(--space-8);
  text-align: center;
  overflow: hidden;
  /* 替换单一 shadow 为多层精致光晕 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(15, 76, 92, 0.2),
    0 0 0 1px rgba(91, 91, 214, 0.25),
    0 24px 64px -16px rgba(15, 76, 92, 0.5),
    0 8px 24px -8px rgba(91, 91, 214, 0.35),
    0 0 60px -20px rgba(91, 91, 214, 0.4);
}

@media (min-width: 768px) {
  .cta-card { padding: var(--space-20) var(--space-16); }
}

/* CTA 网格装饰背景 */
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
  pointer-events: none;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(91, 91, 214, 0.4) 0%, transparent 60%);
  filter: blur(60px);
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(91, 157, 170, 0.4) 0%, transparent 60%);
  filter: blur(60px);
}

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

.cta-title {
  font-size: var(--text-display-md);
  font-weight: var(--weight-bold);
  color: var(--cloud-dancer);
  margin-bottom: var(--space-4);
  letter-spacing: var(--tracking-tighter);
}

.cta-desc {
  font-size: var(--text-body-lg);
  color: rgba(240, 235, 227, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.btn-on-dark {
  background: var(--cloud-dancer);
  color: var(--teal-900);
  box-shadow: var(--shadow-md);
}

.btn-on-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--cloud-dancer-warm);
}

.btn-on-dark-ghost {
  background: transparent;
  color: var(--cloud-dancer);
  border: 1.5px solid rgba(240, 235, 227, 0.4);
}

.btn-on-dark-ghost:hover {
  background: rgba(240, 235, 227, 0.15);
  border-color: var(--cloud-dancer);
}

/* Footer
   ========================================================================== */
.footer {
  position: relative;
  background: var(--ink-900);
  color: var(--ink-300);
  padding: var(--space-20) 0 var(--space-8);
  margin-top: var(--space-20);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  height: 200px;
  background: var(--gradient-aqua);
  opacity: 0.1;
  filter: blur(80px);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .footer-content { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
  /* 让 brand 跨两列 */
  .footer-content .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  /* 大屏：5 列布局 - 1.5fr + 1fr x 4（品牌 + 4 个列） */
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: var(--space-10);
  }
  .footer-content .footer-brand { grid-column: auto; }
}

@media (min-width: 1280px) {
  .footer-content {
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: var(--space-12);
  }
}

.footer-brand h4 {
  color: var(--cloud-dancer);
  margin-bottom: var(--space-4);
  font-size: var(--text-h5);
}

.footer-desc {
  font-size: var(--text-body-sm);
  line-height: var(--leading-relaxed);
  color: var(--ink-400);
  margin-bottom: var(--space-6);
  max-width: 320px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-contact a {
  color: var(--ink-300);
  font-size: var(--text-body-sm);
}

.footer-contact a:hover { color: var(--cloud-dancer); }

.footer-column h5 {
  color: var(--cloud-dancer);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: var(--ink-400);
  font-size: var(--text-body-sm);
  transition: color var(--duration-fast);
}

.footer-links a:hover { color: var(--cloud-dancer); }

/* Footer 列底部"查看更多 →" */
.footer-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-4);
  padding: 0;
  background: transparent;
  border: none;
  color: var(--teal-300, rgba(184, 212, 218, 0.85));
  font-size: var(--text-caption, 12px);
  font-weight: var(--weight-medium, 500);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 0.25s var(--ease-out-quart, ease), color 0.2s;
}
.footer-more:hover {
  color: var(--cloud-dancer, #F0EBE3);
  gap: 8px;
}

.footer-bottom {
  padding-top: var(--space-8);
  /* 替换 border-top 为顶部内嵌阴影 */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
  font-size: var(--text-body-sm);
  color: var(--ink-500);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

@keyframes textFadeIn {
  from {
    opacity: 0;
    letter-spacing: 0.3em;
    filter: blur(12px);
  }
  to {
    opacity: 1;
    letter-spacing: normal;
    filter: blur(0);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Scroll reveal - 默认隐藏 */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--ease-out-expo);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

/* 当容器获得 .in-view 时：所有子元素显示 + 错开延迟（最多 16 个，每 0.08s 一档） */
.reveal-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in-view > *:nth-child(1)  { transition-delay: 0.00s; }
.reveal-stagger.in-view > *:nth-child(2)  { transition-delay: 0.06s; }
.reveal-stagger.in-view > *:nth-child(3)  { transition-delay: 0.12s; }
.reveal-stagger.in-view > *:nth-child(4)  { transition-delay: 0.18s; }
.reveal-stagger.in-view > *:nth-child(5)  { transition-delay: 0.24s; }
.reveal-stagger.in-view > *:nth-child(6)  { transition-delay: 0.30s; }
.reveal-stagger.in-view > *:nth-child(7)  { transition-delay: 0.36s; }
.reveal-stagger.in-view > *:nth-child(8)  { transition-delay: 0.42s; }
.reveal-stagger.in-view > *:nth-child(9)  { transition-delay: 0.48s; }
.reveal-stagger.in-view > *:nth-child(10) { transition-delay: 0.54s; }
.reveal-stagger.in-view > *:nth-child(11) { transition-delay: 0.60s; }
.reveal-stagger.in-view > *:nth-child(12) { transition-delay: 0.66s; }
.reveal-stagger.in-view > *:nth-child(13) { transition-delay: 0.72s; }
.reveal-stagger.in-view > *:nth-child(14) { transition-delay: 0.78s; }
.reveal-stagger.in-view > *:nth-child(15) { transition-delay: 0.84s; }
.reveal-stagger.in-view > *:nth-child(n+16) { transition-delay: 0.90s; }

/* Forms
   ========================================================================== */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--ink-700);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* 替换 border 为多层阴影 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(15, 76, 92, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 0 1.5px rgba(221, 212, 197, 0.6);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--ink-900);
  font-family: var(--font-cn);
  font-size: var(--text-body);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(15, 76, 92, 0.04),
    0 0 0 1px rgba(91, 157, 170, 0.8),
    0 0 0 4px rgba(91, 157, 170, 0.15);
}

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

/* Selection
   ========================================================================== */
::selection {
  background: var(--teal-700);
  color: var(--cloud-dancer);
}

/* Focus styles
   ========================================================================== */
:focus-visible {
  outline: 0px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Utility classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }

/* Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* 水滴动画也停止 */
  .water-drop,
  .water-drop::before,
  .water-drop::after {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* Print styles
   ========================================================================== */
@media print {
  body { background: white; color: black; }
  .navbar, .footer, .cta-section { display: none; }
}

/* Mobile menu
   ========================================================================== */
.mobile-menu {
  display: none;  /* 默认完全隐藏，不参与布局 */
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(240, 235, 227, 0.98);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  backdrop-filter: blur(24px) saturate(200%);
  padding: var(--space-6);
  z-index: 998;
  box-shadow:
    inset 0 -1px 0 rgba(15, 76, 92, 0.06),
    0 12px 32px -12px rgba(15, 76, 92, 0.15);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  isolation: isolate;
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity var(--duration-normal) var(--ease-out-expo),
              transform var(--duration-normal) var(--ease-out-expo);
}

.mobile-menu.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.mobile-menu-list > li {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  color: var(--ink-800);
  font-weight: var(--weight-medium);
  font-size: 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: background var(--duration-fast) var(--ease-out-quart),
              color var(--duration-fast) var(--ease-out-quart),
              padding-left var(--duration-fast) var(--ease-out-quart);
}

.mobile-menu-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--teal-500) 0%, var(--indigo-500) 100%);
  border-radius: 2px;
  transition: height var(--duration-base) var(--ease-spring);
  pointer-events: none;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: linear-gradient(135deg, var(--teal-100) 0%, rgba(91, 157, 170, 0.15) 100%);
  color: var(--teal-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  padding-left: calc(var(--space-4) + 8px);
}

.mobile-menu-link:hover::before,
.mobile-menu-link.active::before {
  height: 60%;
}

/* Tag chip */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.65);
  /* 多层阴影替代 border */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 0 1.5px rgba(221, 212, 197, 0.4);
  border-radius: var(--radius-full);
  font-size: var(--text-caption);
  color: var(--ink-700);
  letter-spacing: var(--tracking-wide);
}

/* Image overlay */
.overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(15, 76, 92, 0.85) 0%,
    rgba(91, 91, 214, 0.7) 100%);
  z-index: 1;
}

/* Mesh grid background pattern */
.bg-mesh-pattern {
  position: relative;
}

.bg-mesh-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 20% 50%, hsla(195, 60%, 80%, 0.25) 0px, transparent 50%),
    radial-gradient(at 80% 50%, hsla(245, 65%, 82%, 0.25) 0px, transparent 50%);
  z-index: -1;
}

/* ============================================
   移动端：搜索按钮 + 表单
   ============================================ */
@media (max-width: 1023px) {
  /* 移动端：搜索按钮始终显示，点击后变成表单铺开 */
  .search-action {
    display: inline-flex;
    position: static;   /* 让表单 absolute 直接相对 navbar */
  }

  .search-btn {
    display: inline-flex;
    width: 36px;
    height: 36px;
  }

  .search-action.open .search-btn { display: none; }

  /* 搜索框展开时浮在 navbar 上层（覆盖整条 navbar 宽度），
     logo 用 z-index 顶在上面，nav-menu 临时隐藏，不挤压任何元素 */
  .search-action.open .search-form-inline {
    display: inline-flex;
    position: absolute;
    top: 50%;
    left: 12px;          /* 紧贴 logo 后开始（汉堡已隐藏） */
    right: 8px;
    transform: translateY(-50%);
    width: auto;
    height: 36px;
    z-index: 20;
    padding-left: 14px;
    animation: searchSlideInMobile 0.28s var(--ease-spring);
  }

  /* 展开时：logo 已在基础规则上 z-index 顶层；菜单/新闻/关于组/汉堡按钮都隐藏 */
  .navbar:has(.search-action.open) .nav-menu,
  .navbar:has(.search-action.open) .nav-actions-group,
  .navbar:has(.search-action.open) .nav-divider-v,
  .navbar:has(.search-action.open) .mobile-toggle {
    display: none;
  }
}

@media (max-width: 480px) {
  /* 极窄屏：搜索表单左侧再多让一些，给 logo 完全的左侧空间 */
  .search-action.open .search-form-inline {
    left: 8px;
    right: 6px;
  }
}

/* =============================================
   Hero CTA Row（各子页 Hero 区域按钮组）
   ============================================= */
.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-cta-row .btn {
  font-size: 0.95rem;
  padding: 10px 24px;
}

/* =============================================
   子页 hero 标题中 .highlight 也走渐变（首段 fallback 结尾高亮词）
   ============================================= */
.page-hero-title .highlight,
.cases-hero-title .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
}

/* =============================================
   通用 .page-hero 基础样式（各子页共享）
   单页 CSS（如 about.css）可用 .page-hero.<page>-hero 进一步微调
   ============================================= */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background-color: var(--cloud-dancer, #FAFAF5);
}

.page-hero .bg-grid-water {
  z-index: 1;
  opacity: 0.7;
}

.page-hero .water-rain {
  z-index: 2;
}

.page-hero .mesh-orbs {
  z-index: 3;
  opacity: 0.5;
}

.page-hero .container {
  position: relative;
  z-index: 10;
}

.page-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: var(--text-display-lg, 3rem);
  font-weight: var(--weight-bold, 700);
  letter-spacing: var(--tracking-tighter, -0.02em);
  margin: var(--space-6, 24px) 0 var(--space-4, 16px);
  color: var(--ink-900, #1A1A2E);
  line-height: var(--leading-tight, 1.2);
}

.page-hero-subtitle {
  font-size: var(--text-body-lg, 1.125rem);
  color: var(--ink-600, #4B5563);
  line-height: var(--leading-relaxed, 1.6);
}

/* ============================================
   通用页面 Tabs（.news-tab / .subpage-tab / .subject-tab / .subnav-tab 共享同一视觉）
   与 news 页面统一：圆角胶囊、teal 渐变激活态、hover 上浮
   容器 .news-filter-section 提供 sticky 背景模糊效果（仅在需要粘性的页面使用）
   ============================================ */
.news-filter-section {
  padding: var(--space-8) 0;
  background: var(--bg-elev);
  box-shadow: inset 0 -1px 0 rgba(15, 76, 92, 0.06);
  position: sticky;
  top: 76px;
  z-index: 30;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
}

.news-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
}

/* 各 view 的 tabs 容器（subpage / subject / subnav）也用同一套 flex 布局 */
.subpage-tabs,
.subject-tabs,
.subnav-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
}

/* 通用 tab 视觉：news/subpage/subject/subnav 全部一致 */
.news-tab,
.subpage-tab,
.subject-tab,
.subnav-tab {
  padding: var(--space-3) var(--space-6);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-cn);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  color: var(--ink-700);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-base) var(--ease-smooth);
  box-shadow: inset 0 0 0 1px rgba(15, 76, 92, 0.1);
}

.news-tab:hover,
.subpage-tab:hover,
.subject-tab:hover,
.subnav-tab:hover {
  color: var(--teal-900);
  box-shadow:
    inset 0 0 0 1px rgba(91, 157, 170, 0.4),
    0 4px 12px rgba(91, 157, 170, 0.1);
  transform: translateY(-1px);
}

.news-tab.active,
.subpage-tab.active,
.subject-tab.active,
.subnav-tab.active {
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-900) 100%);
  color: var(--cloud-dancer);
  box-shadow:
    0 4px 16px rgba(15, 76, 92, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 移动端：水平横滚 + 紧凑 */
@media (max-width: 768px) {
  .news-tabs,
  .subpage-tabs,
  .subject-tabs,
  .subnav-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-2);
  }
  .news-tab,
  .subpage-tab,
  .subject-tab,
  .subnav-tab {
    white-space: nowrap;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-small);
  }
}

/* ============================================
   招聘页面 - Career / Recruit
   极简留白风：纯白卡 + 微妙边框 + 大留白
   ============================================ */

/* 招聘 hero */
.recruit-hero .page-hero-title {
  font-size: var(--text-display-lg);
}
.recruit-hero .page-hero-subtitle {
  max-width: 640px;
  margin: 0 auto;
}

/* 岗位列表容器 */
.job-list {
  display: grid;
  gap: var(--space-4);
}

/* 单个 job 卡片：极简纯白卡 */
.job-card {
  background: #fff;
  border: 1px solid var(--ink-200, #DDD4C5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-smooth),
              box-shadow var(--duration-base) var(--ease-smooth);
}

.job-card[open] {
  border-color: rgba(15, 76, 92, 0.25);
  box-shadow: var(--shadow-sm);
}

/* 卡片顶部行：标题 + meta + 操作按钮 */
.job-card-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-7);
  cursor: pointer;
  user-select: none;
}

.job-card-title {
  margin: 0;
  font-family: var(--font-cn);
  font-size: var(--text-h4);
  font-weight: var(--weight-semibold);
  color: var(--ink-900);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
}

.job-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-2);
  font-size: var(--text-body-sm);
  color: var(--ink-600);
}

.job-card-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.job-card-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* 展开/收起图标 */
.job-expand-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 76, 92, 0.06);
  color: var(--teal-700);
  transition: background var(--duration-base) var(--ease-smooth),
              transform var(--duration-base) var(--ease-smooth);
  flex-shrink: 0;
}

.job-card[open] .job-expand-icon {
  transform: rotate(180deg);
  background: rgba(15, 76, 92, 0.12);
}

.job-expand-icon svg {
  width: 16px;
  height: 16px;
}

/* 卡片详情展开区 */
.job-card-detail {
  padding: 0 var(--space-7) var(--space-6);
  border-top: 1px solid rgba(15, 76, 92, 0.08);
  display: grid;
  gap: var(--space-5);
}

.job-detail-section {
  padding-top: var(--space-5);
}

.job-detail-label {
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--teal-700);
  margin: 0 0 var(--space-2);
  font-family: var(--font-mono);
}

.job-detail-content {
  font-size: var(--text-body-sm);
  color: var(--ink-700);
  line-height: var(--leading-relaxed);
  white-space: pre-wrap;
}

/* 展开区底部投递按钮 */
.job-detail-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: var(--space-4);
}

/* 空状态 */
.job-empty {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  color: var(--ink-500);
  background: #fff;
  border: 1px dashed rgba(15, 76, 92, 0.18);
  border-radius: var(--radius-lg);
  font-size: var(--text-body);
}

/* ============================================
   投递申请弹层 (Apply Modal)
   ============================================ */
.apply-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 76, 92, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-smooth);
}

.apply-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.apply-modal {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow:
    0 40px 80px rgba(15, 76, 92, 0.22),
    0 8px 24px rgba(15, 76, 92, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(32px) scale(0.97);
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.apply-modal-overlay.is-open .apply-modal {
  transform: translateY(0) scale(1);
}

.apply-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-7);
  border-bottom: 1px solid rgba(15, 76, 92, 0.08);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.apply-modal-title {
  margin: 0;
  font-family: var(--font-cn);
  font-size: var(--text-h4);
  font-weight: var(--weight-bold);
  color: var(--ink-900);
  letter-spacing: var(--tracking-tight);
}

.apply-modal-subtitle {
  margin: var(--space-1) 0 0;
  font-size: var(--text-body-sm);
  color: var(--ink-600);
}

.apply-modal-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 76, 92, 0.06);
  border: none;
  cursor: pointer;
  color: var(--ink-700);
  transition: background var(--duration-fast) var(--ease-smooth);
  flex-shrink: 0;
  padding: 0;
}

.apply-modal-close:hover {
  background: rgba(15, 76, 92, 0.14);
}

.apply-modal-body {
  padding: var(--space-6) var(--space-7) var(--space-7);
}

/* 弹层表单样式（复用 contact 表单视觉风格） */
.apply-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.apply-form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.apply-form-field:last-of-type {
  margin-bottom: 0;
}

.apply-form-label {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--ink-800);
  letter-spacing: var(--tracking-tight);
}

.apply-form-label .req {
  color: var(--teal-700);
  margin-left: 2px;
}

.apply-form-input,
.apply-form-textarea,
.apply-form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgba(15, 76, 92, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-cn);
  font-size: var(--text-body);
  color: var(--ink-900);
  background: var(--cloud-dancer);
  transition: border-color var(--duration-fast) var(--ease-smooth),
              box-shadow var(--duration-fast) var(--ease-smooth);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.apply-form-input:focus,
.apply-form-textarea:focus,
.apply-form-select:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(91, 157, 170, 0.2);
}

.apply-form-input::placeholder,
.apply-form-textarea::placeholder {
  color: var(--ink-400);
}

.apply-form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: var(--leading-relaxed);
}

.apply-form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230F4C5C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.apply-form-submit {
  margin-top: var(--space-5);
  width: 100%;
  padding: var(--space-4) var(--space-6);
  background: var(--gradient-cta);
  color: var(--cloud-dancer);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-cn);
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: transform var(--duration-base) var(--ease-smooth),
              box-shadow var(--duration-base) var(--ease-smooth),
              opacity var(--duration-base) var(--ease-smooth);
  letter-spacing: var(--tracking-tight);
}

.apply-form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 8px 24px rgba(15, 76, 92, 0.25);
}

.apply-form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* 提交中状态 */
.apply-form-submit.is-loading .apply-submit-label { display: none; }
.apply-submit-loading { display: none; }
.apply-form-submit.is-loading .apply-submit-loading { display: inline; }

/* 成功提示 */
.apply-success {
  display: none;
  text-align: center;
  padding: var(--space-10) var(--space-6);
}

.apply-success.is-visible {
  display: block;
}

.apply-success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(184, 212, 218, 0.5) 0%, rgba(91, 157, 170, 0.3) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--teal-800);
}

.apply-success-title {
  margin: 0 0 var(--space-2);
  font-size: var(--text-h3);
  font-weight: var(--weight-bold);
  color: var(--ink-900);
  letter-spacing: var(--tracking-tight);
}

.apply-success-desc {
  margin: 0;
  font-size: var(--text-body);
  color: var(--ink-600);
  line-height: var(--leading-relaxed);
}

/* 错误提示 */
.apply-form-error {
  background: rgba(226, 114, 91, 0.1);
  border: 1px solid rgba(226, 114, 91, 0.3);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--text-body-sm);
  color: var(--coral-700, #B85C38);
  display: none;
}

.apply-form-error.is-visible { display: block; }

/* ============================================
   福利板块（简化：保留 icon-card 风格，去掉 glow）
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}

.benefit-card {
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid rgba(15, 76, 92, 0.09);
  text-align: left;
  transition: border-color var(--duration-base) var(--ease-smooth),
              box-shadow var(--duration-base) var(--ease-smooth),
              transform var(--duration-base) var(--ease-out-expo);
}

.benefit-card:hover {
  border-color: rgba(15, 76, 92, 0.22);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-card--teal   .benefit-icon { background: rgba(184, 212, 218, 0.4); color: var(--teal-800); }
.benefit-card--sage   .benefit-icon { background: rgba(224, 234, 226, 0.6); color: var(--sage-700); }
.benefit-card--coral  .benefit-icon { background: rgba(240, 164, 145, 0.4); color: var(--coral-700, #B85C38); }
.benefit-card--indigo .benefit-icon { background: rgba(142, 142, 230, 0.3); color: var(--indigo-700); }

.benefit-title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-cn);
  font-size: var(--text-h5);
  font-weight: var(--weight-semibold);
  color: var(--ink-900);
  letter-spacing: var(--tracking-tight);
}

.benefit-desc {
  margin: 0;
  font-size: var(--text-body-sm);
  color: var(--ink-600);
  line-height: var(--leading-relaxed);
}

/* 底部 CTA */
.career-cta {
  margin-top: var(--space-12);
  padding: var(--space-10) var(--space-12);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(15, 76, 92, 0.94) 0%, rgba(91, 91, 214, 0.88) 100%);
  color: var(--cloud-dancer);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
}

/* .btn-ghost-light 在多处复用：
   - .career-cta 内：白色玻璃质感（继承 career-cta 默认）
   - .apply-modal .apply-success 内：浅色填充（依赖 inline 已设）
   - .job-card-actions 内：极简灰底（依赖 inline 已设）
   这里只给基础 reset，不过度约束。 */
.btn-ghost-light { font-family: inherit; cursor: pointer; }

.career-cta-text {
  flex: 1;
  min-width: 240px;
}

.career-cta-title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-cn);
  font-size: var(--text-h3);
  font-weight: var(--weight-bold);
  color: var(--cloud-dancer);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
}

.career-cta-desc {
  margin: 0;
  font-size: var(--text-body-sm);
  line-height: var(--leading-relaxed);
  color: rgba(248, 247, 242, 0.82);
}

.career-cta .btn-ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--cloud-dancer);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  transition: background var(--duration-base) var(--ease-smooth),
              transform var(--duration-base) var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}

.career-cta .btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
  .job-card-header {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding: var(--space-5);
  }
  .job-card-actions {
    justify-content: space-between;
  }
  .job-card-detail {
    padding: 0 var(--space-5) var(--space-5);
  }
  .apply-form-row {
    grid-template-columns: 1fr;
  }
  .career-cta {
    padding: var(--space-7) var(--space-5);
  }
  .career-cta-title {
    font-size: var(--text-h4);
  }
  .career-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .career-cta .btn-ghost-light {
    width: 100%;
    justify-content: center;
  }

  /* 弹窗：让出屏幕边距，避免内容贴边 */
  .apply-modal-overlay {
    padding: 0;
    align-items: flex-end; /* 弹窗从底部升起 */
    justify-content: center; /* 水平居中 */
  }
  .apply-modal {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 92vh;
    width: calc(100% - 24px); /* 左右各留 12px 边距 */
    max-width: none;
    margin-bottom: 12px;
  }
  .apply-modal-header {
    padding: var(--space-5) !important;
    padding-bottom: var(--space-4) !important;
  }
  .apply-modal-body {
    padding: var(--space-5) !important;
    padding-top: var(--space-4) !important;
  }
  .apply-form-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .apply-form-field {
    padding-left: 0 !important;
  }
  .apply-form-input,
  .apply-form-textarea,
  .apply-form-select {
    font-size: 16px; /* 防止 iOS 自动放大 */
  }
}

/* 隐藏拼写错误旧类 */
.benifits-grid { display: none; }

/* ==========================================================================
   首页 (home/index.php) 专用样式
   - 首页用的类名（.cases-grid, .section-footer, .case-card-content 等）
     大部分已在 cases.css 定义，这里只补齐缺失的、并覆盖首页场景
   ========================================================================== */

/* 首页案例网格 - 桌面 3 列 / 平板 2 列 / 手机 1 列 */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}
@media (min-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

/* section 底部按钮区 - 与 section-header 对应 */
.section-footer {
  text-align: center;
  margin-top: var(--space-12);
}

/* 首页案例卡片 - 内文区 */
.case-card-content {
  position: relative;
  z-index: 1;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-card-content h3 {
  font-size: var(--text-h5);
  font-weight: var(--weight-bold);
  color: var(--ink-900);
  margin: 0 0 var(--space-3);
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.case-card-content p {
  font-size: var(--text-body-sm);
  color: var(--ink-700);
  line-height: var(--leading-relaxed);
  margin: 0 0 var(--space-4);
}

/* 首页 case-meta（卡片底部客户/地区） */
.case-meta {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(15, 76, 92, 0.08);
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}

/* 首页案例卡片 - card-mesh 组合时整体卡片样式
   （cases.css 里的 .case-card 用 display:flex，这里叠加 card-mesh 即可） */
.case-card.case-card { /* 提高优先级，避免被 card-mesh 的 padding 撑变形 */
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

/* 案例卡片的 image 区域贴边铺满 */
.case-card .case-card-image {
  border-radius: 0;
}

/* 产品卡片的 image 区域贴边铺满 - 正方形容器，图片完整显示（contain） */
.products-grid .product-card.card-mesh {
  padding: var(--space-6) var(--space-6) var(--space-6);
  /* 顶部不放 padding，让图片贴边 */
  padding-top: 0;
}
.products-grid .product-card .product-card-image {
  position: relative;
  display: block;
  border-radius: 16px 16px 0 0;
  margin: 0 calc(-1 * var(--space-6));
  margin-bottom: var(--space-4);
  width: calc(100% + var(--space-6) * 2);
  max-width: none;
  /* 正方形容器：宽高相等 */
  aspect-ratio: 1 / 1;
  background: var(--cream-50, #F8F7F2);
  overflow: hidden;
}
.products-grid .product-card .product-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* 完整显示原始图片（不裁切） */
  object-fit: contain;
  object-position: center;
  padding: var(--space-3);
  display: block;
  transition: transform 0.5s var(--ease-smooth);
}
.products-grid .product-card:hover .product-card-image img {
  transform: scale(1.04);
}
/* 图片缺失时的占位 */
.products-grid .product-card .product-image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-50, #F8F7F2);
  font-size: 56px;
  opacity: 0.6;
}
/* 推荐徽章 - 浮在图片右上角 */
.products-grid .product-card .product-card-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  /* 比 card 内其他 badge 更紧凑、更精致 */
  padding: 5px 11px;
  font-size: 11px;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--teal-700, #0F4C5C);
  border: 1px solid rgba(91, 157, 170, 0.35);
  box-shadow:
    0 4px 12px -4px rgba(15, 76, 92, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* 案例卡片内容 padding */
.case-card .case-card-content {
  padding: var(--space-5) var(--space-6) var(--space-6);
}

/* 首页解决方案区 - card 用作 link 的微调（去掉下划线 / hover 颜色变化） */
.solutions-grid .card {
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo);
}
.solutions-grid .card:hover {
  transform: translateY(-6px);
}

/* 首页产品卡 - 卡片整体布局（确保 product-card 在 grid 里撑满高度） */
.products-grid .product-card {
  height: 100%;
}

/* 首页产品卡的标题：因移除了 product-card-header，需要一点上间距 */
.products-grid .product-card .product-title {
  margin-top: var(--space-2);
}

/* reveal 动画兜底：如果 IntersectionObserver / JS 未加载，
   容器内直接子元素至少应可见（不影响动画进行中的状态） */
.no-js .reveal-stagger > *,
.no-js .reveal > * {
  opacity: 1;
  transform: none;
}

