/* ============================================================
   广融通供应链官网 — 全局样式表 v2.0
   设计理念：科技感 · 高级感 · 流畅动画
   色彩：深空蓝 + 电光蓝 + 青蓝点缀
   排版：Outfit (标题) + 系统字体 (正文)
   ============================================================ */

/* ---------- Google Fonts (moved to HTML <link> for non-blocking load) ---------- */

/* ============================================================
   Design Token System
   ============================================================ */
:root {
  /* === Color Tokens — 深空蓝科技色系 === */

  /* Primary — 电光蓝 */
  --color-primary-50:  #eef5ff;
  --color-primary-100: #dcecff;
  --color-primary-200: #b3d6ff;
  --color-primary-300: #7ab8ff;
  --color-primary-400: #4f95ff;
  --color-primary-500: #3b7eff;  /* base */
  --color-primary-600: #2b5fd9;
  --color-primary-700: #1f46b3;
  --color-primary-800: #1a3590;
  --color-primary-900: #142473;

  /* Accent — 青蓝 */
  --color-accent-400: #22d3ee;
  --color-accent-500: #06b6d4;
  --color-accent-600: #0891b2;

  /* Neutral — 冷调灰 */
  --color-neutral-50:  #f8fafc;
  --color-neutral-100: #f1f5f9;
  --color-neutral-200: #e2e8f0;
  --color-neutral-300: #cbd5e1;
  --color-neutral-400: #94a3b8;
  --color-neutral-500: #64748b;
  --color-neutral-600: #475569;
  --color-neutral-700: #334155;
  --color-neutral-800: #1e293b;
  --color-neutral-900: #0f172a;
  --color-neutral-950: #020617;

  /* Dark surface */
  --color-dark-bg:     #0a0e1a;
  --color-dark-surface:#111827;
  --color-dark-card:   #1a2236;
  --color-dark-border: #1e293b;

  /* Semantic */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error:   #ef4444;
  --color-info:    #3b82f6;

  /* === Typography Tokens === */
  --font-display:  'Outfit', system-ui, -apple-system, sans-serif;
  --font-body:     'Outfit', system-ui, -apple-system, 'Microsoft YaHei', 'PingFang SC', sans-serif;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */

  --leading-tight:   1.25;
  --leading-normal:  1.6;
  --leading-relaxed: 1.8;

  --weight-light:  300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold:600;
  --weight-bold:   700;
  --weight-extrabold:800;

  /* === Spacing Tokens (4px base) === */
  --space-1:  0.25rem;   /* 4px */
  --space-2:  0.5rem;    /* 8px */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.25rem;   /* 20px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */

  /* === Motion Tokens === */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;
  --duration-reveal: 700ms;

  /* === Shadow Tokens === */
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg:   0 10px 25px -5px rgba(0,0,0,0.08), 0 4px 10px -6px rgba(0,0,0,0.04);
  --shadow-xl:   0 20px 50px -12px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(59,126,255,0.15), 0 0 80px rgba(59,126,255,0.06);

  /* === Radius Tokens === */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.25rem;
  --radius-3xl:  1.5rem;
  --radius-full: 9999px;

  /* === Layout === */
  --container-max: 1280px;
  --header-height: 72px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  color: var(--color-neutral-700);
  background: var(--color-neutral-50);
  line-height: var(--leading-relaxed);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* === Selection === */
::selection {
  background: var(--color-primary-300);
  color: var(--color-primary-900);
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-neutral-100);
}
::-webkit-scrollbar-thumb {
  background: var(--color-neutral-300);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-neutral-400);
}

/* ============================================================
   Container
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

/* ============================================================
   Section
   ============================================================ */
.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-neutral-900);
  text-align: center;
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}

.section-title.align-left {
  text-align: left;
}

.section-subtitle {
  text-align: center;
  color: var(--color-neutral-500);
  font-size: var(--text-lg);
  margin-bottom: var(--space-16);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 32px;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-expo);
  border: 2px solid transparent;
  line-height: 1;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(59,126,255,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59,126,255,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-500);
  border-color: var(--color-primary-300);
}

.btn-outline:hover {
  background: var(--color-primary-50);
  border-color: var(--color-primary-500);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-neutral-600);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--color-neutral-100);
  color: var(--color-primary-500);
}

/* Button sizes */
.btn-sm { padding: 8px 20px; font-size: var(--text-sm); }
.btn-lg { padding: 16px 40px; font-size: var(--text-lg); }

/* ============================================================
   Header 导航栏
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-neutral-200);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: flex;
  align-items: center;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.logo-icon,
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-text-img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: #fff;
  letter-spacing: -0.01em;
  transition: color var(--duration-normal) var(--ease-out-expo);
}

.header.scrolled .logo-text {
  color: var(--color-neutral-900);
}

.header.scrolled .logo-icon rect {
  fill: var(--color-primary-500);
}

.footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-logo-text-img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

/* Desktop nav */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}

.nav-list {
  display: flex;
  gap: var(--space-1);
}

.nav-link {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,0.75);
  position: relative;
  transition: color var(--duration-fast) var(--ease-out-expo);
  border-radius: var(--radius-md);
  letter-spacing: 0.01em;
}

.header.scrolled .nav-link {
  color: var(--color-neutral-600);
}

.nav-link:hover {
  color: var(--color-primary-400);
  background: rgba(59,126,255,0.08);
}

.nav-link.active {
  color: var(--color-primary-400);
  font-weight: var(--weight-semibold);
}

.header.scrolled .nav-link.active {
  color: var(--color-primary-500);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-400), var(--color-accent-400));
  border-radius: var(--radius-full);
  transition: width var(--duration-normal) var(--ease-out-expo);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.icon-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out-expo);
  display: flex;
  align-items: center;
}

.header.scrolled .icon-btn {
  background: var(--color-neutral-100);
  border-color: var(--color-neutral-200);
  color: var(--color-neutral-600);
}

.icon-btn:hover {
  background: var(--color-primary-50);
  color: var(--color-primary-500);
  border-color: var(--color-primary-200);
}

.btn-consult {
  padding: 8px 20px;
  font-size: var(--text-sm);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px rgba(59,126,255,0.3);
}

.btn-consult:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(59,126,255,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  transition: all var(--duration-normal) var(--ease-out-expo);
  border-radius: 2px;
}

.header.scrolled .hamburger span {
  background: var(--color-neutral-800);
}

/* ============================================================
   Hero Banner — 深空科技风
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-dark-bg);
  overflow: hidden;
}

/* 科技网格背景 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(59,126,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,126,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* 光晕装饰 */
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(59,126,255,0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

/* 轮播幻灯片 */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slides::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.75) 35%, rgba(10,14,26,0.3) 55%, rgba(10,14,26,0.15) 100%);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.5s ease-in-out, transform 6s ease-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* 文字内容 */
.hero-content {
  position: absolute;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out-expo);
  pointer-events: none;
}

.hero-content.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-content.hero-content--left {
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
}

/* 标签 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 16px;
  background: rgba(59,126,255,0.12);
  border: 1px solid rgba(59,126,255,0.25);
  color: var(--color-primary-300);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  width: fit-content;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-400);
  box-shadow: 0 0 8px var(--color-accent-400);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: var(--weight-extrabold);
  color: #fff;
  margin-bottom: var(--space-5);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-primary-300), var(--color-accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-10);
  max-width: 480px;
  line-height: var(--leading-relaxed);
}

.hero-btns {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-btns .btn {
  font-size: var(--text-base);
  padding: 14px 36px;
  border-radius: var(--radius-lg);
}

.hero-btns .btn-outline {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.05);
}

.hero-btns .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* 轮播指示器 */
.hero-indicators {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
  z-index: 4;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-expo);
  border: 2px solid transparent;
}

.hero-dot.active {
  background: var(--color-primary-400);
  box-shadow: 0 0 12px rgba(59,126,255,0.6);
  border-color: rgba(255,255,255,0.3);
  width: 28px;
  border-radius: var(--radius-full);
}

.hero-dot:hover {
  background: rgba(255,255,255,0.5);
}

/* 轮播箭头 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.hero-arrow:hover {
  background: rgba(59,126,255,0.2);
  border-color: var(--color-primary-400);
  box-shadow: 0 0 20px rgba(59,126,255,0.2);
}

.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.4);
  font-size: var(--text-xs);
  z-index: 4;
  animation: floatHint 2.5s ease-in-out infinite;
  letter-spacing: 0.05em;
}

.scroll-hint svg {
  opacity: 0.6;
}

@keyframes floatHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.8; }
}

/* ============================================================
   核心业务 Section
   ============================================================ */
.services {
  background: var(--color-neutral-50);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary-200), transparent);
}

.services-grid {
  display: flex;
  gap: var(--space-6);
}

.service-card {
  flex: 1 1 0%;
  min-width: 0;
  display: block;
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-6) var(--space-10);
  text-align: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  border: 1px solid var(--color-neutral-200);
  cursor: pointer;
  transition: all 0.5s var(--ease-out-expo);
  overflow: hidden;
}

/* 顶部发光边框 */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary-400), var(--color-accent-400), transparent);
  transition: width 0.5s var(--ease-out-expo);
}

.service-card:hover::before {
  width: 80%;
}

/* 渐变背景层 */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(59,126,255,0.03) 0%, rgba(59,126,255,0.06) 100%);
  border-radius: var(--radius-2xl);
  z-index: 0;
  transition: height 0.5s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(59,126,255,0.1);
  border-color: rgba(59,126,255,0.2);
}

.service-card:hover::after {
  height: 100%;
}

.service-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  margin: 0 auto var(--space-6);
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--ease-out-expo);
  filter: drop-shadow(0 4px 8px rgba(59,126,255,0.08));
}

.service-card:hover .service-icon {
  transform: scale(1.15);
}

.service-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-neutral-900);
  margin-bottom: var(--space-3);
  font-weight: var(--weight-semibold);
  position: relative;
  z-index: 1;
  transition: color 0.5s var(--ease-out-expo);
  letter-spacing: -0.01em;
}

.service-card:hover .service-title {
  color: var(--color-primary-600);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  transition: color 0.5s var(--ease-out-expo);
}

.service-card:hover .service-desc {
  color: var(--color-neutral-600);
}

/* ============================================================
   企业文化图标增强（about.html 专用）
   ============================================================ */
.culture-grid {
  gap: var(--space-8);
}

.culture-grid .service-card {
  padding: var(--space-12) var(--space-6) var(--space-10);
}

.culture-icon-wrap {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(59,126,255,0.10) 0%, rgba(59,126,255,0.02) 100%);
  border: 1px solid rgba(59,126,255,0.14);
  box-shadow:
    0 10px 28px rgba(59,126,255,0.12),
    inset 0 1px 0 rgba(255,255,255,0.8);
  display: grid;
  place-items: center;
  margin: 0 auto var(--space-6);
  position: relative;
  transition: all 0.5s var(--ease-out-expo);
  animation: cultureFloat 5s ease-in-out infinite;
}

/* 外圈虚线装饰环 */
.culture-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: var(--radius-full);
  border: 1px dashed rgba(59,126,255,0.18);
  animation: cultureRotate 24s linear infinite;
  pointer-events: none;
}

/* 图标本身 */
.culture-icon-wrap img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 12px rgba(59,126,255,0.12));
  transition: transform 0.5s var(--ease-out-expo);
}

/* 错位呼吸，避免三个图标同步浮动 */
.culture-grid .service-card:nth-child(2) .culture-icon-wrap {
  animation-delay: -1.6s;
}
.culture-grid .service-card:nth-child(3) .culture-icon-wrap {
  animation-delay: -3.3s;
}

.culture-grid .service-card:hover .culture-icon-wrap {
  transform: scale(1.08) translateY(-6px);
  background: linear-gradient(135deg, rgba(59,126,255,0.16) 0%, rgba(59,126,255,0.04) 100%);
  border-color: rgba(59,126,255,0.24);
  box-shadow:
    0 14px 36px rgba(59,126,255,0.20),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.culture-grid .service-card:hover .culture-icon-wrap img {
  transform: scale(1.10);
}

@keyframes cultureFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes cultureRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 减少动态，尊重用户偏好 */
@media (prefers-reduced-motion: reduce) {
  .culture-icon-wrap,
  .culture-icon-wrap::before {
    animation: none;
  }
}

/* ============================================================
   关于我们 Section
   ============================================================ */
.about {
  background: #fff;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(59,126,255,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(6,182,212,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.about-wrap {
  display: flex;
  gap: var(--space-16);
  align-items: center;
}

.about-image {
  flex: 0 0 480px;
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--color-primary-400), var(--color-accent-400));
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
  z-index: -1;
}

.about-image:hover::before {
  opacity: 0.3;
}

.about-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-xl);
  object-fit: contain;
  display: block;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease-out-expo);
}

.about-image:hover .about-img {
  transform: scale(1.02);
}

.about-text {
  flex: 1;
}

.about-paragraph {
  font-size: var(--text-base);
  color: var(--color-neutral-600);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.about-text .btn-outline {
  margin-top: var(--space-4);
}

/* ============================================================
   企业实力数据 Section
   ============================================================ */
.stats {
  background: var(--color-dark-bg);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

/* 网络节点背景 */
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(59,126,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(6,182,212,0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(59,126,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.stats::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,126,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,126,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: var(--space-10) var(--space-4);
  position: relative;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  transition: all 0.5s var(--ease-out-expo);
}

.stat-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(59,126,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary-400), transparent);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--weight-extrabold);
  color: #fff;
  line-height: 1;
  margin-bottom: var(--space-3);
  letter-spacing: -0.03em;
}

.stat-number span {
  font-size: 1.5rem;
  font-weight: var(--weight-light);
  opacity: 0.7;
  margin-left: 2px;
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   新闻动态 Section
   ============================================================ */
.news-section {
  background: var(--color-neutral-50);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.news-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  border: 1px solid var(--color-neutral-100);
  position: relative;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-200);
}

.news-thumb {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.news-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.03) 100%);
}

.news-thumb-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.news-card:hover .news-thumb-img {
  transform: scale(1.06);
}

.news-thumb-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--color-primary-50), var(--color-neutral-100));
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-body {
  padding: var(--space-6);
}

.news-date {
  font-size: var(--text-xs);
  color: var(--color-neutral-400);
  margin-bottom: var(--space-2);
  display: block;
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
}

.news-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-neutral-900);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
  line-height: 1.5;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.news-card:hover .news-title {
  color: var(--color-primary-600);
}

.news-excerpt {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  text-align: center;
  margin-top: var(--space-12);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-dark-bg);
  color: rgba(255,255,255,0.6);
  padding-top: var(--space-16);
  position: relative;
  overflow: visible; /* 允许微信二维码悬浮层超出 footer 边界 */
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,126,255,0.2), transparent);
}

.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(59,126,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  /* 业务板块列加宽（minmax 下限 320px），避免 2 列布局下链接标题换行 */
  grid-template-columns: 2fr minmax(320px, 1.7fr) 1fr 1.3fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: #fff;
  margin-bottom: var(--space-4);
}

.footer-slogan {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-5);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  transition: all var(--duration-fast) var(--ease-out-expo);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-primary-400);
  transform: translateX(4px);
}

.footer-links-cols {
  column-count: 2;
  column-gap: 28px;
}

.footer-links-cols li {
  break-inside: avoid;
}

@media (max-width: 768px) {
  .footer-links-cols {
    column-count: 1;
  }
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  color: rgba(255,255,255,0.45);
}

.contact-info svg {
  flex-shrink: 0;
}

/* 微信/企业微信横向排列 */
.wechat-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.wechat-row .wechat-item {
  margin-bottom: 0;
}

/* 微信二维码悬浮层：鼠标移上"微信咨询"时弹出 */
.contact-info .wechat-item {
  position: relative;
  cursor: pointer;
}

/* 右侧（企业微信）的悬浮层向右对齐，避免超出页脚列 */
.wechat-row .wechat-item:last-child .wechat-qr-tooltip {
  left: auto;
  right: 0;
  transform-origin: bottom right;
}

.wechat-row .wechat-item:last-child .wechat-qr-tooltip::after {
  left: auto;
  right: 20px;
}

.wechat-qr-tooltip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  background: #fff;
  padding: 10px 10px 8px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom left;
  transition: all 0.28s var(--ease-out-expo);
  z-index: 30;
}

.wechat-item:hover .wechat-qr-tooltip,
.wechat-item:focus-within .wechat-qr-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wechat-qr-tooltip::after {
  content: '';
  position: absolute;
  left: 20px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px;
}

.wechat-qr-tooltip img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
}

.wechat-qr-tooltip em {
  display: block;
  text-align: center;
  font-style: normal;
  font-size: 12px;
  color: #333;
  margin-top: 6px;
  white-space: nowrap;
}

.footer-bottom {
  padding: var(--space-6) 0;
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.footer-bottom a:hover {
  color: var(--color-primary-400);
}

/* ============================================================
   Back to Top
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-dark-bg);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--duration-normal) var(--ease-out-expo);
  z-index: 999;
  backdrop-filter: blur(12px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-600);
  border-color: var(--color-primary-400);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59,126,255,0.35);
}

/* ============================================================
   Scroll Reveal Animation System
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 交错动画变体 */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* 交错延迟系统 */
.reveal-delay-1 { transition-delay: 0ms; }
.reveal-delay-2 { transition-delay: 100ms; }
.reveal-delay-3 { transition-delay: 200ms; }
.reveal-delay-4 { transition-delay: 300ms; }
.reveal-delay-5 { transition-delay: 400ms; }

/* ============================================================
   Particle Canvas
   ============================================================ */
#particleCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-slide {
    transform: none;
  }
}

/* ============================================================
   Responsive: Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --container-max: 960px;
  }

  .container {
    padding: 0 var(--space-6);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  .nav-link {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }

  .hero-content.hero-content--left {
    width: 60%;
    padding: 0 6%;
  }

  .about-wrap {
    flex-direction: column;
    gap: var(--space-10);
  }

  .about-image {
    flex: none;
    width: 100%;
    max-width: 500px;
  }

  .about-img {
    height: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   Responsive: Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 var(--space-4);
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: var(--text-base);
    margin-bottom: var(--space-10);
  }

  /* Header mobile */
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .lang-switch {
    display: none;
  }

  .header-actions .btn-consult,
  .header-actions .btn-office {
    display: none;
  }

  /* Hero */
  .hero {
    min-height: 560px;
  }

  .hero-content.hero-content--left {
    width: 100%;
    max-width: 100%;
    padding: 0 6%;
    text-align: center;
    align-items: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-desc {
    font-size: var(--text-base);
    max-width: 100%;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-arrow {
    display: none;
  }

  .hero-indicators {
    bottom: 90px;
  }

  /* Services */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .service-card {
    padding: var(--space-6) var(--space-4);
  }

  .service-icon {
    width: 56px;
    height: 56px;
  }

  /* 企业文化图标在移动端缩小 */
  .culture-icon-wrap {
    width: 144px;
    height: 144px;
  }

  .culture-icon-wrap img {
    width: 96px;
    height: 96px;
  }

  .culture-grid .service-card {
    padding: var(--space-8) var(--space-4);
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-number span {
    font-size: 1.2rem;
  }

  /* News */
  .news-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* Back to top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }
}

/* ============================================================
   Business Grid (首页-八大核心服务)
   ============================================================ */
.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-12) 0;
}

.business-card {
  background: #fff;
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary-400), transparent);
  transition: width 0.5s var(--ease-out-expo);
}

.business-card:hover::before {
  width: 60%;
}

.business-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-200);
}

.business-card .biz-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, var(--color-primary-50), var(--color-primary-100));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: transform 0.4s var(--ease-out-expo);
}

.business-card:hover .biz-icon {
  transform: scale(1.1);
}

.business-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-neutral-900);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.business-card p {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .business-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .business-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .business-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .business-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   首页新闻动态 — 后端接口动态加载（加载状态 / 空状态）
   ============================================================ */
.news-loading {
  text-align: center;
  padding: 60px 0;
}
.news-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-primary-100);
  border-top-color: var(--color-primary-500);
  border-radius: 50%;
  animation: news-spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes news-spin {
  to { transform: rotate(360deg); }
}
.news-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--color-neutral-400);
}
.news-empty svg {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  opacity: 0.3;
}

/* ============================================================
   向下翻页提示（首屏停留 2 秒后显示悬浮提示）
   ============================================================ */
.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%) translateY(24px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(13, 18, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo), visibility 0.4s;
  user-select: none;
  -webkit-user-select: none;
}

.scroll-hint.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.scroll-hint:hover {
  background: rgba(23, 30, 52, 0.95);
  box-shadow: 0 14px 36px rgba(59, 126, 255, 0.35);
}

.scroll-hint-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #e8edf7;
  white-space: nowrap;
}

.scroll-hint-arrow {
  position: relative;
  width: 16px;
  height: 20px;
}

.scroll-hint-arrow::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--color-primary-400, #3b7eff);
}

.scroll-hint-arrow::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 2px solid var(--color-primary-400, #3b7eff);
  border-bottom: 2px solid var(--color-primary-400, #3b7eff);
  animation: scroll-hint-bounce 1.4s ease-in-out infinite;
}

@keyframes scroll-hint-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(45deg); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(7px) rotate(45deg); opacity: 1; }
}

@media (max-width: 480px) {
  .scroll-hint {
    bottom: 28px;
    padding: 10px 16px;
  }
  .scroll-hint-text {
    font-size: 13px;
    letter-spacing: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint-arrow::after {
    animation: none;
  }
  .scroll-hint {
    transition: opacity 0.2s ease;
  }
}

/* 新闻封面图加载失败占位 */
.news-thumb.img-error {
  min-height: 220px;
  background: linear-gradient(135deg, var(--color-primary-50), var(--color-neutral-100));
}

.news-thumb.img-error::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 24 24' fill='none' stroke='%239aa3b5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='10' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center/contain no-repeat;
}
