/* ============================================
   Dealfeng Corporate Website — Global Styles
   ============================================ */

/* 字体自托管：Inter + Montserrat 变量字体（共 12 个 woff2，404KB）。
   原先从 fonts.loli.net 外链加载，那是第三方镜像站，一旦停服全站排版降级。
   现改为本地文件，无任何运行时外部依赖。
   字体本身为 SIL Open Font License 1.1，允许商业使用与自托管。 */
@import url('../fonts/fonts.css');

/* --- CSS Variables --- */
:root {
  --primary-dark: #0a1628;
  --primary: #0f2440;
  --primary-mid: #1a3a5c;
  --primary-light: #2a5a8c;
  --accent: #00a8e8;
  --accent-hover: #0090c8;
  --accent-glow: rgba(0, 168, 232, 0.3);
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: rgba(255,255,255,0.85);
  --text-white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0f2440 100%);
  --gradient-accent: linear-gradient(135deg, #00a8e8 0%, #0077b6 100%);
  --gradient-dark: linear-gradient(180deg, #0a1628 0%, #0f2440 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(10,22,40,0.7) 0%, rgba(10,22,40,0.4) 50%, rgba(10,22,40,0.8) 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-accent: 0 8px 30px rgba(0,168,232,0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1280px;
  --container-wide: 1440px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  /* overflow-x 同时加在 html 上。
     只加在 body 上时，若溢出发生在更高层（或有 fixed 子元素），
     手机上仍会出现横向滚动条 —— 用户截图里 solutions 页就是这个现象。 */
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  transition: opacity 0.3s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0, 168, 232, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
}

@media (max-width: 1024px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.section {
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
}

.section-dark {
  background: var(--gradient-dark);
  color: var(--text-white);
}

.section-gray {
  background: var(--gray-50);
}

.section-accent {
  background: var(--gradient-accent);
  color: var(--text-white);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h5 { font-size: 1.1rem; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 80px);
}

/* FAQ 标题较长（Frequently Asked Questions），720px 会折行，放宽到容器全宽保持单行 */
.faq-section .section-header {
  max-width: none;
}

.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-header .label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent);
}

/* 右侧同款横线，与左侧对称 */
.section-header .label::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent);
}

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

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.section-dark .section-header p {
  color: var(--text-light);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 50px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 168, 232, 0.4);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

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

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

.btn-ghost {
  color: var(--accent);
  padding: 10px 0;
  border-radius: 0;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.btn-ghost:hover::after {
  width: 100%;
}

.btn-ghost::before { display: none; }

.btn svg,
.btn i {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg,
.btn:hover i {
  transform: translateX(4px);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 60px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  height: 68px;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: -0.02em;
  z-index: 1001;
}

/* 品牌 logo 图片（透明底白字版，适配深色导航） */
.nav-logo .nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: #0072BC;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
}

.nav-logo span {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

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

.nav-cta {
  margin-left: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn {
  padding: 10px 28px;
  font-size: 0.88rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 4px;
}

.lang-toggle button {
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  border-radius: 50px;
  transition: all var(--transition-fast);
  letter-spacing: 0.03em;
}

.lang-toggle button.active {
  color: var(--white);
  background: rgba(0, 168, 232, 0.35);
}

.lang-toggle button:hover:not(.active) {
  color: rgba(255,255,255,0.8);
}

.lang-toggle-mobile {
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 12px;
}

.lang-toggle-mobile button {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.lang-toggle-mobile button.active {
  color: var(--white);
  background: rgba(0, 168, 232, 0.35);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  cursor: pointer;
  /* 必须有 position，z-index 才生效。
     不加的话菜单打开后全屏的 .nav-mobile（z-index:1000）会盖在按钮上，
     再点汉堡按钮点到的是遮罩层，菜单关不掉。 */
  position: relative;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 1000;
  padding: 0 32px 40px;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  overflow-y: auto;
  transition: opacity var(--transition-base);
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
}

/* 顶部关闭栏：左侧 logo + 右侧明确的 X 按钮 */
.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  margin-bottom: 16px;
  /* 跟随菜单滚动时也粘在顶部，X 按钮始终可见 */
  position: sticky;
  top: 0;
  background: var(--primary-dark);
  z-index: 1;
}

.nav-mobile-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}

.nav-mobile-logo .nav-mobile-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-mobile-logo .logo-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #0072BC;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.nav-mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  color: var(--white);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.nav-mobile-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.nav-mobile a {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition-fast);
}

.nav-mobile a:hover {
  color: var(--accent);
  padding-left: 12px;
}

@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-cta .lang-toggle { display: flex; }
  .nav-toggle { display: flex; }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
  padding: calc(var(--nav-height) + 20px) 0 80px;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

/* Hero 视频背景：object-fit: cover 保证任意尺寸都铺满不变形，
   与图片幻灯片的 background-size: cover 表现一致 */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 在遮罩层与 geo-lines 下面 */
  z-index: 0;
  pointer-events: none;
}

.hero-slide .hero-slide-overlay,
.hero-slide .geo-lines {
  z-index: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.3);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,22,40,0.55) 0%, rgba(10,22,40,0.15) 60%, transparent 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.hero-particles .particle {
  position: absolute;
  background: rgba(0, 168, 232, 0.15);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
  /* 子页 banner 只有 340px 高，波浪不能占太多，上限 90px */
  max-height: 90px;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 800px;
  padding: 0 clamp(20px, 4vw, 60px);
}

.hero-content .hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(0, 168, 232, 0.15);
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-content h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
}

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

.hero-indicators {
  position: absolute;
  bottom: 40px;
  left: clamp(20px, 4vw, 60px);
  z-index: 4;
  display: flex;
  gap: 12px;
}

.hero-indicators button {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hero-indicators button.active {
  width: 60px;
  background: var(--accent);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.6); }
}

/* --- Announcement Bar --- */
.announcement-bar {
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  padding: 14px 0;
}

.announcement-track {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.announcement-track:hover {
  animation-play-state: paused;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 50px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
}

.announcement-item .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.announcement-item .tag {
  padding: 2px 10px;
  background: rgba(0, 168, 232, 0.15);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Product Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* 首页“我们的方案”固定展示 3 个，栅格同步改三列，
   与案例/资讯区块对齐；关于页团队区共用 .products-grid 不受影响 */
#products-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  #products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
  #products-grid { grid-template-columns: 1fr; }
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  cursor: pointer;
  group: true;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-card .card-image {
  position: relative;
  height: 160px;
  background: var(--gradient-hero);
  overflow: hidden;
}

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

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

.product-card .card-icon {
  position: absolute;
  top: 136px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: var(--shadow-accent);
  z-index: 2;
  transition: transform var(--transition-bounce);
}

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

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

.product-card .card-body h4 {
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.product-card:hover .card-body h4 {
  color: var(--accent);
}

.product-card .card-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition-fast);
}

.product-card:hover .card-link {
  gap: 12px;
}

/* --- Stats Section --- */
.stats-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,168,232,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

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

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .suffix {
  font-size: 0.5em;
  color: var(--accent);
  margin-left: 4px;
}

.stat-label {
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 500;
}

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

@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cases-grid { grid-template-columns: 1fr; }
}

.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
}

.case-card .case-image {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.case-card .case-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.case-card .case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,22,40,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background var(--transition-base);
}

.case-card:hover .case-overlay {
  background: linear-gradient(180deg, rgba(10,22,40,0.3) 0%, rgba(10,22,40,0.95) 100%);
}

.case-card .case-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 6px 16px;
  background: rgba(0, 168, 232, 0.9);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-card h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.case-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
  max-height: 0;
  overflow: hidden;
}

.case-card:hover p {
  opacity: 1;
  transform: translateY(0);
  max-height: 100px;
  margin-top: 8px;
}

/* --- News Cards --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.news-card .news-image {
  height: 200px;
  overflow: hidden;
  background: var(--gradient-hero);
}

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

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

.news-card .news-body {
  padding: 24px;
}

.news-card .news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.news-card .news-meta .category {
  padding: 4px 12px;
  background: rgba(0, 168, 232, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 4px;
}

.news-card .news-meta .date {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.news-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.news-card:hover h4 {
  color: var(--accent);
}

.news-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: clamp(60px, 10vw, 100px) 0;
  overflow: hidden;
}

.cta-section .cta-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.cta-section .cta-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,168,232,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section .cta-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,168,232,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

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

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

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

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding-top: clamp(60px, 8vw, 100px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-brand .footer-logo .footer-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-brand .footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: #0072BC;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
}




.footer-col h5 {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 1rem;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}




/* --- Page Banner --- */
.page-banner {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300a8e8' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-banner .banner-content {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Filter Tabs --- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
}

.filter-tabs button {
  padding: 10px 26px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--gray-100);
  transition: all var(--transition-fast);
}

.filter-tabs button:hover {
  background: var(--gray-200);
  color: var(--text-primary);
}

.filter-tabs button.active {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

/* 企业简介：后台按空行分段渲染，段落之间留间距 */
#company-intro p + p {
  margin-top: 1em;
}

/* --- Inline Detail（案例详情图文区，两列布局） --- */
.inline-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* 两列图文展示需要真正的桌面宽度（图 + 正文 + 规格网格），
   768–1024px 之间强行两列会装不下，提前到 1024 就改单列。 */
@media (max-width: 1024px) {
  .inline-detail { grid-template-columns: 1fr; gap: 36px; }
}

/* grid 子项默认 min-width:auto，不会收缩到内容以下，
   内容一宽就把 1fr 轨道撞开导致横向溢出。加 min-width:0 允许收缩。 */
.inline-detail > * {
  min-width: 0;
}

.inline-detail .detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  background: var(--gradient-hero);
}

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

.inline-detail .detail-content h3 {
  margin-bottom: 20px;
}

.inline-detail .detail-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

.inline-detail .detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

/* 窄屏下规格卡改单列，两个小卡并排在手机上会挤 */
@media (max-width: 480px) {
  .inline-detail .detail-specs { grid-template-columns: 1fr; }
}

.inline-detail .spec-item {
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
  min-width: 0;
}

.inline-detail .spec-item .spec-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  /* 未翻译的 i18n key（如 SOLUTIONS.OPERATINGTEMP）是长串无空格，
     不强制换行会撞破卡片。 */
  overflow-wrap: anywhere;
  word-break: break-word;
}

.inline-detail .spec-item .spec-value {
  font-weight: 600;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

/* --- Timeline --- */
/* 不设 max-width，宽度与页面容器（其他区块）保持一致 */
.timeline {
  position: relative;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--gray-200));
}

@media (max-width: 768px) {
  .timeline::before { left: 20px; }
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

@media (max-width: 768px) {
  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
    padding-left: 50px;
  }
}

.timeline-item .timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.2);
  z-index: 2;
}

@media (max-width: 768px) {
  .timeline-item .timeline-dot { left: 20px; }
}

.timeline-item .timeline-content {
  flex: 1;
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.timeline-item .timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-item .timeline-content h4 {
  margin-bottom: 8px;
}

.timeline-item .timeline-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* --- Client Logos --- */
.client-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .client-logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .client-logos { grid-template-columns: repeat(3, 1fr); }
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 120px;
  padding: 22px 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-fast);
}

.client-logo .cl-badge {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gradient-hero);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* 后台上传的真实合作伙伴 logo：等比缩放不变形，统一高度保证栅格整齐 */
.client-logo .cl-logo-img {
  height: 46px;
  max-width: 130px;
  object-fit: contain;
  flex-shrink: 0;
}

.client-logo .cl-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.client-logo:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.client-logo:hover .cl-badge {
  background: var(--gradient-accent);
}

/* --- Forms --- */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.1);
}

.form-input::placeholder {
  color: var(--gray-400);
}

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

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* --- Contact Info Cards --- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .contact-cards { grid-template-columns: 1fr; }
}

.contact-card {
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-100);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.contact-card .card-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 168, 232, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--accent);
  transition: all var(--transition-base);
}

.contact-card:hover .card-icon {
  background: var(--gradient-accent);
  color: var(--white);
}

.contact-card h4 {
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- 3D Card Tilt --- */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card .tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.tilt-card .tilt-glare::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.15) 0%, transparent 60%);
  transform: translate(-25%, -25%);
}

/* --- Floating Contact Button --- */
.float-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.float-contact .float-btn {
  width: 56px;
  height: 56px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: var(--shadow-accent);
  transition: all var(--transition-base);
  animation: floatPulse 3s ease infinite;
}

.float-contact .float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 40px rgba(0, 168, 232, 0.5);
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 168, 232, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(0, 168, 232, 0.5); }
}

.back-top {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* --- Search Box --- */
.search-box {
  position: relative;
  max-width: 480px;
  margin: 0 auto 40px;
}

.search-box input {
  width: 100%;
  padding: 16px 24px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.1);
}

/* --- Article List --- */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-100);
  /* 卡片是 <a> 链接（整卡可点跳详情），去掉默认链接样式，继承正文颜色 */
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

@media (max-width: 768px) {
  .article-item { grid-template-columns: 1fr; }
}

.article-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gray-200);
}

.article-item .article-thumb {
  height: 200px;
  overflow: hidden;
  background: var(--gradient-hero);
}

@media (min-width: 769px) {
  .article-item .article-thumb { height: auto; }
}

.article-item .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.article-item:hover .article-thumb img {
  transform: scale(1.06);
}

.article-item .article-body {
  padding: 28px 28px 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .article-item .article-body { padding: 20px; }
}

.article-item .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.article-item h4 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  transition: color var(--transition-fast);
}

.article-item:hover h4 {
  color: var(--accent);
}

.article-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Article Detail（资讯详情页，?id= 模式） --- */
.article-detail {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  padding: 48px;
}

@media (max-width: 768px) {
  .article-detail { padding: 24px; }
}

.article-detail .back-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 24px;
  transition: opacity var(--transition-fast);
}

.article-detail .back-link:hover { opacity: 0.7; }

.article-detail .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-detail .article-meta .category {
  padding: 4px 12px;
  background: rgba(0, 168, 232, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 4px;
}

.article-detail .article-meta .date {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.article-detail h2 {
  font-size: 1.9rem;
  line-height: 1.35;
  margin-bottom: 24px;
}

/* 头图：宽幅展示，没图时渐变占位不留白 */
.article-detail .detail-hero {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.article-detail .detail-hero-placeholder {
  height: 260px;
  max-height: none;
}

.article-detail .detail-head {
  margin-bottom: 8px;
}

/* 导语（后台“摘要”字段）：与正文区分的大字引导样式 */
.article-detail .article-lead {
  padding: 20px 24px;
  margin-bottom: 28px;
  background: rgba(0, 168, 232, 0.06);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-detail .article-lead p {
  color: #334155;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.85;
  margin-bottom: 0;
}

.article-detail .article-content {
  border-top: 1px solid var(--gray-100);
  padding-top: 28px;
}

.article-detail .article-content p {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 1rem;
  margin-bottom: 1.2em;
}

/* --- Certifications Grid --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

.cert-item {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

/* 认证卡片图片：证书/报告按竖版小图展示（固定 140x186 竖框），
   传什么比例的图都居中裁切为竖版封面，不会 oversized */
.cert-item .cert-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 186px;
  margin: 0 auto 18px;
}

.cert-item .cert-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

/* 没传认证图时的渐变占位：尺寸直接继承 .cert-image 的固定竖框（140x186），
   不能再写 width/height，否则会覆盖固定尺寸导致占位块撑满卡片 */
.cert-item .cert-image-empty {
  background: var(--gradient-hero);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.55);
}

.cert-item .cert-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: rgba(0, 168, 232, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
}

.cert-item h5 {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.cert-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* --- Map --- */
.map-container {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  border: 2px dashed var(--gray-300);
}

/* --- Loading / Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader .loader {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Geometric Background --- */
.geo-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.05;
}

.geo-lines .line {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.hidden { display: none !important; }

/* --- Smooth page load --- */
body.page-loaded {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Responsive fine-tuning --- */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-indicators { bottom: 100px; }
  .stats-grid .stat-item::after { display: none; }
  .page-banner { height: 260px; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .float-contact { bottom: 20px; right: 20px; }
  .float-contact .float-btn { width: 48px; height: 48px; font-size: 1.1rem; }
}

/* ============================================
   联系页地图区块
   本地静态底图 + HTML/SVG 标注，无任何地图 SDK 依赖
   ============================================ */

.map-block {
  /* 标记点坐标，单位是「底图图片自身的百分比」。
     必须配合下面 .map-visual 的 aspect-ratio 与 background-size 使用：
     容器宽高比 = 图片宽高比 且 background-size:100% 100%，
     百分比坐标才与图片像素一一对应，标记点不会随容器尺寸漂移。

     坐标是量出来的，不是估的：把底图东亚区域裁出来放大 12 倍，
     按辽东半岛 / 山东半岛 / 朝鲜半岛 三个参照物定位出渤海湾西岸，
     得到原图像素 (680, 255)，除以 1376×768 得到下面两个值。
     之前目测的 29.7% 偏北约 27px，标点落到了内蒙古。
     要调到其他城市用同样方法重新量，不要目估。 */
  --pin-x: 49.4%;
  --pin-y: 33.2%;
  /* 标签放在标记点右下方的太平洋空白海域：
     那里没有陆地图形干扰，深色底上文字最清楚，引线也短。
     旧位置在左上角，既跑得远又容易溢出被裁。 */
  --label-x: 57.5%;
  --label-y: 31%;
  --map-accent: #00a8e8;
}

.map-visual {
  position: relative;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  /* 与底图 1376×768 严格一致。
     之前用 cover + 不同宽高比，图片被左右裁切，
     导致百分比坐标和图片实际位置错位，标记点跑到内陆去了。 */
  aspect-ratio: 1376 / 768;
  background-color: #0d2137;
  background-image: url('../img/world-map.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- 引线：从标签右下角连到标记点 --- */
.map-leader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-leader line {
  stroke: var(--map-accent);
  stroke-width: 1.2;
  opacity: 0.9;
  stroke-dasharray: 4 3;
}

/* --- 标记点 --- */
.map-pin {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  width: 0;
  height: 0;
  pointer-events: none;
}

.map-pin-dot,
.map-pin-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-pin-dot {
  width: 11px;
  height: 11px;
  background: #fff;
  box-shadow: 0 0 0 3px var(--map-accent),
              0 0 16px 4px rgba(0, 168, 232, 0.75);
}

/* 两圈错开时间的扩散波，做出"这里就是我们"的视觉引导 */
.map-pin-ring {
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--map-accent);
  animation: mapPinPulse 2.8s ease-out infinite;
}

.map-pin-ring-2 { animation-delay: 1.4s; }

@keyframes mapPinPulse {
  0%   { width: 11px; height: 11px; opacity: 0.9; }
  100% { width: 68px; height: 68px; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin-ring { animation: none; opacity: 0; }
}

/* --- 标签：落在标记点右下方的太平洋空白区 --- */
.map-pin-label {
  position: absolute;
  left: var(--label-x);
  top: var(--label-y);
  text-align: left;
  max-width: 34%;
  pointer-events: none;
}

.map-pin-label strong {
  display: block;
  color: #fff;
  font-family: var(--font-heading, inherit);
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
  /* 青色光晕 + 黑色描边：前者让字从背景里“亮”出来且用的是品牌色不违和，
     后者保证落在浅色陆地上也能读清 */
  text-shadow: 0 0 20px rgba(0, 168, 232, 0.65),
               0 2px 10px rgba(4, 18, 31, 0.9);
}

.map-pin-label span {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  /* 实心品牌色底 + 深色字，对比强但仍在同一色系内 */
  color: #04121f;
  background: var(--map-accent);
  border: none;
  box-shadow: 0 0 16px rgba(0, 168, 232, 0.5);
}

/* --- 地图下方的联系信息条 --- */
.map-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.map-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(0, 168, 232, 0.35);
}

.map-info-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--map-accent);
}

.map-info-value {
  color: var(--text-body, #334155);
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.map-info-value:hover { color: var(--map-accent); }

/* --- 手机：地图很窄，标签缩到标记点下方，信息条改单列 ---
   注意不改 aspect-ratio，否则标记点坐标又会错位 */
@media (max-width: 640px) {
  .map-leader { display: none; }

  .map-pin-label {
    left: 50%;
    top: auto;
    bottom: 6%;
    transform: translateX(-50%);
    text-align: center;
    max-width: 86%;
  }
  .map-pin-label strong { font-size: 0.9rem; }
  .map-pin-label span { margin-top: 0.3rem; }

  .map-info {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
  }
}
/* ============================================
   FAQ 手风琴（联系页）
   ============================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(0, 168, 232, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.02rem;
  line-height: 1.5;
  text-align: left;
  background: none;
  border: none;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item.open .faq-question .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(180deg);
}

/* 用 max-height 过渡做展开动画；关闭时 0，展开时给足空间 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid var(--gray-100);
  padding-top: 18px;
}






@media (max-width: 640px) {
  .faq-question { padding: 16px 18px; font-size: 0.96rem; }
  .faq-answer-inner { padding: 16px 18px 18px; }
}

/* =====================================================
   产品页四段式改版：总介绍 / 产品线 / 基座 / 服务
   延用现有设计变量（白卡片、圆角、阴影、accent 点缀）
   ===================================================== */

/* --- 第一段：总介绍下方的亮点条 --- */
.intro-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.intro-highlight {
  padding: 22px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--accent);
}

.intro-highlight .ih-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.intro-highlight .ih-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .intro-highlights { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .intro-highlights { grid-template-columns: 1fr; }
}

/* --- 第二段：产品线（旋筒型号卡） --- */
.rotor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .rotor-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

.rotor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

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

.rotor-card .rc-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.rotor-card .rc-model {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
}

.rotor-card .rc-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.rotor-card .rc-diagram {
  padding: 22px;
  display: flex;
  justify-content: center;
  color: var(--gray-400);
  background:
    linear-gradient(var(--gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
  background-size: 22px 22px;
  border-bottom: 1px solid var(--gray-100);
}

/* 后台传了产品图就用图（contain 不变形），没传则显示 SVG 示意图 */
.rotor-card .rc-diagram img {
  max-width: 100%;
  height: 140px;
  object-fit: contain;
}

.rotor-card .rc-specs {
  padding: 14px 22px 4px;
}

.rotor-card .rc-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px dashed var(--gray-200);
}

.rotor-card .rc-spec-row:last-child {
  border-bottom: none;
}

.rotor-card .rc-spec-row .k {
  color: var(--gray-500);
  flex-shrink: 0;
}

.rotor-card .rc-spec-row .v {
  color: var(--primary);
  font-weight: 600;
  text-align: right;
}

.rotor-card .rc-desc {
  padding: 12px 22px 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.rotor-card .card-link {
  margin: auto 22px 20px;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

/* --- 第三段：基座系统卡片 --- */
.found-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .found-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

.found-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.found-card .fc-diagram {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--gray-100);
  background:
    linear-gradient(var(--gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* 后台传了基座示意图就用图，没传则显示 SVG */
.found-card .fc-diagram img {
  max-width: 90%;
  max-height: 130px;
  object-fit: contain;
}

/* 自定义区块条目没传图时的序号占位 */
.found-card .fc-diagram .fc-num-big {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.55;
}

.found-card .fc-body {
  padding: 22px;
}

.found-card .fc-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.found-card h3 {
  font-size: 1.15rem;
  margin: 8px 0 10px;
}

.found-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.found-card .best-for {
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.03em;
}

/* --- 第四段：服务（重点大卡 + 普通卡片） --- */
.svc-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
  background: var(--white);
}

.svc-lead .svc-copy {
  padding: 36px;
}

.svc-lead .svc-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.svc-lead .svc-copy h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.svc-lead .svc-copy p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.svc-lead .svc-steps {
  list-style: none;
}

.svc-lead .svc-steps li {
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
  padding: 9px 0;
  border-top: 1px dashed var(--gray-200);
  color: var(--gray-600);
}

.svc-lead .svc-steps li:first-child {
  border-top: none;
}

.svc-lead .svc-steps li .n {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* 重点服务右侧深色区：只展示媒体（图或视频），不传任何媒体时
   就是与首页轮播同款的默认渐变（--gradient-hero），不放任何文字 */
.svc-lead .svc-visual {
  background: var(--gradient-hero);
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.svc-lead .svc-media {
  width: 100%;
}

.svc-lead .svc-media img,
.svc-lead .svc-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 820px) {
  .svc-lead { grid-template-columns: 1fr; }
  .svc-lead .svc-visual { min-height: 260px; }
  .svc-lead .svc-media img,
  .svc-lead .svc-media video { min-height: 260px; }
}

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

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

.svc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
  transition: all var(--transition-base);
}

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

.svc-card h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.svc-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   案例页重构：模拟案例 + 实际案例
   ============================================================ */

/* --- 模拟案例横幅 --- */
.sim-banner {
  background: var(--bg-secondary, #f0f4f8);
  border-left: 3px solid var(--accent, #00a8e8);
  padding: 16px 22px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
}

/* --- 模拟案例网格 --- */
.sim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .sim-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sim-grid { grid-template-columns: 1fr; }
}

/* --- 模拟案例卡片 --- */
.sim-card {
  background: #fff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.sim-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg, 0 10px 40px rgba(0,0,0,0.08));
}

.sim-card-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-card-head .sc-type {
  font-weight: 700;
  font-size: 1.05rem;
}

.sim-card-head .sc-badge {
  font-size: 0.72rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-color, #e2e8f0);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.sim-specs {
  padding: 14px 20px 4px;
}

.sim-specs .sim-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border-color, #e2e8f0);
}

.sim-specs .sim-row:last-child {
  border-bottom: none;
}

.sim-specs .sim-row .sk {
  color: var(--text-secondary);
}

.sim-specs .sim-row .sv {
  font-weight: 600;
  text-align: right;
}

/* --- 回本周期的进度条 --- */
.roi-block {
  padding: 14px 20px 18px;
  border-top: 1px solid var(--border-color, #e2e8f0);
  margin-top: 4px;
}

.roi-toprow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.roi-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.roi-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent, #00a8e8);
}

.roi-track {
  position: relative;
  height: 6px;
  background: var(--bg-secondary, #f0f4f8);
  border-radius: 3px;
  overflow: hidden;
}

.roi-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 3px;
}

.roi-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 6px;
}

.sim-note {
  padding: 0 20px 16px;
  font-size: 0.78rem;
  color: #64748b;
  font-style: italic;
  line-height: 1.5;
}

/* --- 实际案例（左媒体右内容）--- */
.case-item {
  background: #fff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 380px 1fr;
  margin-bottom: 28px;
}

.case-item:last-child {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .case-item { grid-template-columns: 1fr; }
}

/* 左侧媒体区 */
.case-media {
  position: relative;
  min-height: 380px;
  background: var(--gradient-hero, linear-gradient(135deg, #0a1628, #1a3a5c));
  overflow: hidden;
}

.case-media-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 媒体信息叠加层 */
.case-media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(10,22,40,0.7) 0%, rgba(10,22,40,0.5) 30%, rgba(10,22,40,0.5) 60%, rgba(10,22,40,0.9) 100%);
  color: #fff;
  z-index: 1;
}

.cm-kicker {
  font-size: 0.72rem;
  color: var(--accent, #00a8e8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.case-media-overlay .cm-shipname {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.case-media-overlay .cm-tag {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.cm-status-box {
  align-self: flex-start;
  margin-top: auto;
}

.cm-status {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--accent, #00a8e8);
  color: var(--accent, #00a8e8);
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: 600;
  background: rgba(0,168,232,0.1);
  backdrop-filter: blur(4px);
}

/* 右侧内容区 */
.case-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

/* 顶部行：vesselType + 结果数字 */
.case-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.case-vessel-type {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  max-width: calc(100% - 140px);
}

/* 标题 */
.case-title {
  font-size: 1.3rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary, #1e293b);
  max-width: calc(100% - 120px);
}

/* 结果数字（绝对定位右上角） */
.case-result {
  text-align: right;
}

.case-result .cr-num {
  display: block;
  font-size: 2rem;
  color: var(--accent, #00a8e8);
  line-height: 1;
  font-weight: 700;
}

.case-result .cr-lbl {
  display: block;
  font-size: 0.65rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  font-weight: 600;
}

/* 标题 */
.case-title {
  font-size: 1.3rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary, #1e293b);
}

/* 规格条 */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-color, #e2e8f0);
  border-bottom: 1px solid var(--border-color, #e2e8f0);
  padding: 14px 0;
}

@media (max-width: 820px) {
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
}

.spec-strip div {
  padding: 4px 16px 4px 0;
  border-left: 1px solid var(--border-color, #e2e8f0);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-strip div:first-child {
  border-left: none;
  padding-left: 0;
}

.spec-strip .sp-k {
  font-size: 0.72rem;
  color: #0f172a;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 4px;
}

.spec-strip .sp-v {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary, #1e293b);
}

.case-body .case-desc {
  font-size: 0.92rem;
  color: var(--text-secondary, #475569);
  margin: 0;
  line-height: 1.7;
}

/* Summary chips */
.case-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  font-size: 0.78rem;
  background: #e0f2fe;
  border: 1px solid #0ea5e9;
  padding: 5px 12px;
  border-radius: 16px;
  color: #0369a1;
  font-weight: 600;
}

.case-source {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
  margin-top: 4px;
}
