/* ============================================
   德材汇科技 — 现代化样式表 v2
   风格：主流科技官网 · 简洁专业 · 精致细节
   ============================================ */

/* ---------- CSS Variables — Apple-Inspired Premium Palette ---------- */
:root {
  --primary: #1a3a5c;
  --primary-light: #0066CC;
  --primary-dark: #0f1e2e;
  --accent: #FF9500;
  --accent-secondary: #FF3B30;
  --text-dark: #1d1d1f;
  --text-muted: #86868b;
  --text-light: #a1a1a6;
  --bg-white: #ffffff;
  --bg-light: #f5f5f7;
  --bg-gray: #f1f1f1;
  --bg-dark: #0f172a;
  --border: #d2d2d7;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.25);
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);
  --shadow-glow-blue: 0 8px 32px rgba(0, 102, 204, 0.25);
  --shadow-glow-orange: 0 8px 32px rgba(255, 149, 0, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--accent); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- Scroll Animations ---------- */
.content img {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease forwards;
}

.content img:nth-child(2) { animation-delay: 0.1s; }
.content img:nth-child(3) { animation-delay: 0.2s; }
.content img:nth-child(4) { animation-delay: 0.3s; }
.content img:nth-child(5) { animation-delay: 0.4s; }
.content img:nth-child(6) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Skip Navigation ---------- */
.skip-nav {
  position: fixed;
  top: -100%;
  left: 16px;
  background: var(--primary-light);
  color: white;
  padding: 12px 28px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.25s ease;
  box-shadow: var(--shadow-lg);
}

.skip-nav:focus { top: 0; }

/* ---------- Navbar — Premium Frosted Light Theme ---------- */
.navbar {
  /* logo 主色 #292F89 在近黑底上只有 1.86:1（WCAG 图形下限 3:1），深蓝会整块被吃掉；
     在 #FFF 上是 11.28:1。这里用 0.9 而不是更低的不透明度，是为了兜住下限：
     导航栏是 sticky，滚动经过黑色 hero 时会透出暗色，0.9 保证最差情况仍等效
     约 #E6E6E6，深蓝仍有 9.04:1。 */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition);
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 102, 204, 0.08) 25%, 
    rgba(255, 149, 0, 0.05) 50%, 
    rgba(0, 102, 204, 0.08) 75%, 
    transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.navbar.scrolled::before { opacity: 1; }

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.09);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: all var(--transition);
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  inset: -8px;
  background: linear-gradient(135deg, rgba(0,102,204,0.3), rgba(255,149,0,0.2));
  border-radius: 12px;
  opacity: 0;
  transition: opacity var(--transition);
  filter: blur(12px);
}

.logo:hover::after { opacity: 1; }

.logo:hover { transform: scale(1.02); }

.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 12px 22px;
  color: rgba(29, 29, 31, 0.82);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
  letter-spacing: 0.02em;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,204,0.15), rgba(255,149,0,0.1));
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--primary-light);
  transform: translateY(-1px);
}

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

.nav-link.active {
  color: var(--primary-light);
  font-weight: 600;
  background: linear-gradient(135deg, rgba(0,102,204,0.12), rgba(0,102,204,0.04));
}

.nav-item:not(.dropdown) > .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, #0066CC, #00A0E9);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0,102,204,0.35);
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown > .nav-link {
  padding-right: 40px;
}

.dropdown > .nav-link::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 2px solid rgba(29,29,31,0.45);
  border-bottom: 2px solid rgba(29,29,31,0.45);
  transform: translateY(-50%) rotate(45deg);
  transition: all var(--transition);
}

.dropdown:hover > .nav-link::after,
.dropdown > .nav-link.active::after {
  transform: translateY(-50%) rotate(-135deg);
  border-color: #0066CC;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 220px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 1001;
  list-style: none;
  padding: 8px;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 12px 18px;
  color: rgba(29,29,31,0.8);
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all var(--transition);
  font-weight: 500;
}

.dropdown-link:hover {
  background: linear-gradient(135deg, rgba(0,102,204,0.1), rgba(255,149,0,0.06));
  color: var(--primary-light);
  padding-left: 24px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: all var(--transition);
}

.hamburger:hover { 
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,102,204,0.4);
}

.bar {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(29,29,31,0.8);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--primary-light);
}

.hamburger.active .bar:nth-child(2) { opacity: 0; }

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--primary-light);
}

/* ---------- Hero — Apple-Style Cinematic ---------- */
.hero {
  background: linear-gradient(180deg, #000000 0%, #0a0a14 30%, #0a1628 70%, #0d1f3c 100%);
  color: white;
  padding: 7rem 0 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 102, 204, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 149, 0, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 10% 70%, rgba(0, 102, 204, 0.15) 0%, transparent 50%);
  z-index: 0;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.3) 100%);
  z-index: 0;
}

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

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(40px);
  animation: heroTitleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

@keyframes heroTitleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0;
  transform: translateY(30px);
  animation: heroTextIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

@keyframes heroTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Content ---------- */
.content {
  padding: 0;
  background: var(--bg-white);
}

.content .container p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
  padding: 4rem 0 3.5rem;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Contact Info Block ---------- */
.contact-info-block {
  padding: 2rem 24px 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.contact-info-inner {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.8rem;
  min-width: 200px;
  flex: 1;
  max-width: 280px;
  transition: all var(--transition);
}

.contact-info-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-info-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.contact-info-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-label {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
}

.contact-info-value a {
  color: var(--text-dark);
  font-weight: 600;
}

.contact-info-value a:hover {
  color: var(--primary-light);
}

.content img {
  width: 100%;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.content img + img {
  margin-top: 2px;
}

.content img:hover {
  transform: scale(1.001);
}

/* ---------- Buttons — Apple-Style ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, #0066CC 0%, #0055aa 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0077e0 0%, #0066CC 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 102, 204, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, #FF9500 0%, #e68a00 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 149, 0, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #ffaa33 0%, #FF9500 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 149, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.btn-lg { padding: 14px 40px; font-size: 1rem; }

.button-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  padding: 4rem 0 1rem;
  border-bottom: 1px solid var(--border);
}

/* ---------- Top Button ---------- */
.top-button {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  display: none;
  z-index: 999;
  line-height: 1;
}

.top-button:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,58,92,0.3);
}

/* ---------- Floating Contact Rail（右侧悬浮联系条） ---------- */
.contact-rail {
  position: fixed;
  right: 0;
  /* top: 50%; */
  transform: translateY(-50%);
  z-index: 1400;
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  box-shadow: -8px 8px 32px rgba(0, 0, 0, 0.1);
  overflow: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
      bottom: 100px;
}

.contact-rail-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: var(--primary-light);
  border-bottom: 1px solid #eee;
  transition: all var(--transition);
}

.contact-rail-item:last-child {
  border-bottom: none;
  border-radius: 0 0 0 var(--radius-md);
}

.contact-rail-item:first-child {
  border-radius: var(--radius-md) 0 0 0;
}

.contact-rail-item:hover,
.contact-rail-item:focus-visible {
  background: rgba(0, 102, 204, 0.06);
  color: var(--primary);
  outline: none;
}

/* hover 向左滑出的信息面板（:focus-within 兼容键盘导航） */
.contact-rail-panel {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 168px;
  padding: 10px 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.contact-rail-panel::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.contact-rail-item:hover .contact-rail-panel,
.contact-rail-item:focus-visible .contact-rail-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.contact-rail-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.contact-rail-value {
  font-size: 0.9rem;
  color: var(--primary-light);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* 触屏设备：无 hover，隐藏浮层面板，图标直接点击（tel/mailto 原生唤起） */
@media (hover: none) {
  .contact-rail-panel { display: none; }
}

/* 移动端导航抽屉展开时隐藏悬浮条，避免叠在菜单上 */
@media (max-width: 768px) {
  body:has(.nav-menu.active) .contact-rail {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .contact-rail-item {
    width: 46px;
    height: 46px;
  }
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg-dark);
  position: relative;
  padding: 2rem 0 1.5rem;
  text-align: center;
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact-item {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-contact-icon {
  font-size: 0.8rem;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-icp-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-icp-row a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}

.footer-icp-row a:hover {
  color: var(--accent);
}

.footer-sep {
  color: rgba(255,255,255,0.15);
  font-size: 0.75rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.02em;
}

/* ---------- About Page ---------- */
.about-intro {
  padding: 4rem 0;
  background: var(--bg-white);
}

.about-intro-content {
  max-width: 820px;
  margin: 0 auto;
}

.about-intro-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.about-intro-content p:last-child { margin-bottom: 0; }

.about-intro-content p strong {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Stats Row */
.about-stats {
  padding: 3rem 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stats-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stats-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stats-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1.1;
}

.stats-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-left: 2px;
}

.stats-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Business Cards */
.about-section {
  padding: 4rem 0;
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 2rem;
}

.about-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.about-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.about-card:hover::before { opacity: 1; }

.about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--primary-light);
  transition: all var(--transition);
}

.about-card:hover .about-card-icon {
  background: var(--primary-light);
  color: white;
}

.about-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.about-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Subsidiary */
.about-subsection {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 100%);
}

.subsidiary-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition);
  position: relative;
}

.subsidiary-card:hover {
  box-shadow: var(--shadow-xl);
}

.subsidiary-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.subsidiary-header {
  padding: 2rem 2.5rem 0;
}

.subsidiary-header h2 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.subsidiary-header p {
  font-size: 0.92rem;
  color: var(--text-light);
}

.subsidiary-body {
  padding: 1.5rem 2.5rem;
}

.subsidiary-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.meta-tag {
  display: inline-block;
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.subsidiary-info p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.subsidiary-info p strong {
  color: var(--primary);
  font-weight: 600;
}

.subsidiary-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}

.subsidiary-stat {
  text-align: center;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.subsidiary-stat + .subsidiary-stat {
  border-left: 1px solid var(--border);
}

.subsidiary-stat .stat-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-light);
}

.subsidiary-stat .stat-u {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
}

.subsidiary-stat .stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Values */
.about-values {
  padding: 4rem 0;
  background: var(--bg-white);
}

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

.value-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.value-item:nth-child(1):hover { background: linear-gradient(135deg, #f0f4ff, #fff); }
.value-item:nth-child(2):hover { background: linear-gradient(135deg, #fff7ed, #fff); }
.value-item:nth-child(3):hover { background: linear-gradient(135deg, #ecfdf5, #fff); }

.value-number {
  display: inline-block;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-light);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.value-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto;
}

/* ---------- About: Culture (无锡创远) ---------- */
/* 设计语言对齐 about 页既有区块：平涂浅底、白卡 + #d2d2d7 描边、
   仅 #0066CC / #FF9500 两个强调色、16px 圆角、hover 上浮 + 顶部蓝橙渐变线 */
.culture-section {
  padding: 4rem 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Slogan 主标语：白卡，视觉权重等同 subsidiary-card */
.culture-slogan {
  margin: 2rem 0 3rem;
  padding: 2.75rem 2rem 2.5rem;
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.culture-slogan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
}

.slogan-line {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.slogan-part:nth-child(2) {
  color: var(--primary-light);
}

.slogan-sub {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* 小节标签（与 meta-tag 同语言：浅蓝药丸） */
.culture-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--primary-light);
  background: rgba(0, 102, 204, 0.07);
  margin-bottom: 1rem;
}

/* 愿景 / 使命 双卡片：复用 about-card 交互语言 */
.culture-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 3.5rem;
}

.culture-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.culture-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.culture-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.culture-card:hover::before { opacity: 1; }

.culture-lead {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.culture-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.culture-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.culture-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.culture-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
}

.culture-list-key {
  display: inline-block;
  margin-right: 0.4rem;
  font-weight: 600;
  color: var(--primary);
}

/* 小节标题：h2 与卡片之间的 1.25 级标题，配蓝橙短下划线 */
.culture-subhead {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  padding-bottom: 0.7rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.culture-subhead::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
}

/* 各组引语：单色蓝，不用渐变文字 */
.culture-motto {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary-light);
  margin: 1rem 0 2rem;
}

/* 核心价值观 四宫格：与 about-card 同款白卡，字块复用 about-card-icon 语言 */
.value-quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 3.5rem;
}

.value-quad {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition);
}

.value-quad:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-quad-char {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-light);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.04));
  transition: all var(--transition);
}

.value-quad:hover .value-quad-char {
  background: var(--primary-light);
  color: #ffffff;
}

.value-quad h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.value-quad p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 三栏通用网格（企业精神 / 理念 / 宗旨） */
.culture-tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.culture-tri-cards {
  margin-bottom: 3.5rem;
}

.culture-tri-cards:last-child {
  margin-bottom: 0;
}

.culture-philo {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.culture-philo:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.culture-philo h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.culture-philo p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .value-quad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .culture-section { padding: 3rem 0; }
  .culture-slogan { padding: 2rem 1.25rem; margin-bottom: 2rem; }
  .slogan-line { gap: 0.25rem 1rem; }
  .culture-two-col,
  .culture-tri-grid {
    grid-template-columns: 1fr;
  }
  .value-quad-grid {
    grid-template-columns: 1fr;
  }
  .culture-card { padding: 1.5rem; }
}

/* ---------- Homepage: About Split — Premium Glassmorphism ---------- */
.home-about {
  padding: 3rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  position: relative;
  overflow: hidden;
}

.home-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}

.home-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 2.5rem;
}

.home-about-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-dark) 0%, #0066CC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-about-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.home-about-text p strong {
  color: var(--text-dark);
  font-weight: 600;
}

.home-about-image {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.home-about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-about-image img:hover {
  transform: scale(1.03) rotateY(-2deg) rotateX(2deg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.15);
}

/* ---------- Homepage: Intro + Stats — Vibrant Gradient Cards ---------- */
.home-intro {
  padding: 3rem 0;
  background: #000;
  position: relative;
  overflow: hidden;
}

.home-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(0, 102, 204, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(255, 149, 0, 0.1) 0%, transparent 50%);
  z-index: 0;
}

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

.home-intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}

.home-intro-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.025em;
}

.home-intro-text p {
  font-size: 1.02rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.home-intro-text p strong {
  color: #ffffff;
  font-weight: 600;
}

.home-intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.intro-stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.intro-stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,204,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.intro-stat-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(0,102,204,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,102,204,0.15);
}

.intro-stat-item:hover::before { opacity: 1; }

.intro-stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.intro-stat-unit {
  font-size: 1rem;
  font-weight: 600;
  color: #FF9500;
  margin-left: 2px;
}

.intro-stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* ---------- Homepage: Services — 3D Floating Cards ---------- */
.home-services {
  padding: 3rem 0;
  background: #f5f5f7;
  position: relative;
  overflow: hidden;
}

.home-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2.5rem;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 2rem;
}

.home-service-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.4rem;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transform: translateY(0);
}

.home-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066CC, #FF9500);
  opacity: 0;
  transition: opacity var(--transition);
}

.home-service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,102,204,0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.home-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.home-service-card:hover::before { opacity: 1; }
.home-service-card:hover::after { opacity: 1; }

.home-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0066CC 0%, #0055aa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #ffffff;
  transition: all var(--transition-bounce);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
}

.home-service-card:hover .home-service-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 32px rgba(0, 102, 204, 0.4);
}

.home-service-card:nth-child(2) .home-service-icon {
  background: linear-gradient(135deg, #FF9500 0%, #e68a00 100%);
  box-shadow: 0 8px 24px rgba(255, 149, 0, 0.3);
}

.home-service-card:nth-child(2):hover .home-service-icon {
  box-shadow: 0 12px 32px rgba(255, 149, 0, 0.4);
}

.home-service-card:nth-child(3) .home-service-icon {
  background: linear-gradient(135deg, #34C759 0%, #2ca050 100%);
  box-shadow: 0 8px 24px rgba(52, 199, 89, 0.3);
}

.home-service-card:nth-child(3):hover .home-service-icon {
  box-shadow: 0 12px 32px rgba(52, 199, 89, 0.4);
}

.home-service-card:nth-child(4) .home-service-icon {
  background: linear-gradient(135deg, #00C9A7 0%, #00a890 100%);
  box-shadow: 0 8px 24px rgba(0, 201, 167, 0.3);
}

.home-service-card:nth-child(4):hover .home-service-icon {
  box-shadow: 0 12px 32px rgba(0, 201, 167, 0.4);
}

.home-service-card:nth-child(5) .home-service-icon {
  background: linear-gradient(135deg, #8B5CF6 0%, #7340d4 100%);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.home-service-card:nth-child(5):hover .home-service-icon {
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
}

.home-service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.home-service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.home-service-arrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0066CC;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.home-service-card:hover .home-service-arrow {
  color: #FF9500;
  gap: 8px;
}

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

@media (max-width: 768px) {
  .home-services-grid {
    grid-template-columns: 1fr;
  }
  .home-service-card {
    padding: 1.5rem 1.75rem;
  }
  .home-service-card h3 {
    font-size: 1.15rem;
  }
  .home-service-card p {
    font-size: 0.9rem;
  }
}

/* ---------- Homepage: Advantages — 核心优势 ---------- */
.home-advantages {
  padding: 3rem 0;
  background: var(--bg-white);
  position: relative;
}

.home-advantages::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 3rem;
}

.advantage-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.4rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.advantage-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.advantage-card:hover::before { opacity: 1; }

.advantage-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.04));
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: all var(--transition);
}

.advantage-card:hover .advantage-icon {
  background: var(--primary-light);
  color: #ffffff;
}

.advantage-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.55rem;
  line-height: 1.4;
}

.advantage-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.stagger-5 { transition-delay: 0.5s; }

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

@media (max-width: 768px) {
  .home-advantages { padding: 4rem 0; }
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 2rem;
  }
  .advantage-card { padding: 1.4rem 1.5rem; }
}

/* ---------- Homepage: Partners — Clean Minimalist Grid ---------- */
.home-partners {
  padding: 3rem 0;
  background: var(--bg-white);
  position: relative;
}

.home-partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}

.partner-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--bg-white);
  border: 1px solid #e8e8ed;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: #1d1d1f;
  transition: all var(--transition);
  min-width: 100px;
  letter-spacing: 0.01em;
}

.partner-brand:hover {
  border-color: #0066CC;
  color: #0066CC;
  background: rgba(0, 102, 204, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.1);
}

/* ---------- Homepage: Partners CTA — 查看完整案例按钮 ---------- */
.partners-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ---------- Cases Page — 案例中心 ---------- */
.cases-page-section {
  padding: 3rem 0;
  background: var(--bg-light);
}

.cases-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3rem;
}

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.6rem 1.5rem;
  transition: all var(--transition);
}

.case-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.case-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f0f0f3;
}

.case-card-logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.case-card-head h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
}

.case-card-desc {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.case-card-tag {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0, 102, 204, 0.07);
  border-radius: 999px;
  padding: 5px 13px;
}

.cases-page-footer {
  margin-top: 3.5rem;
  text-align: center;
}

.cases-page-footer p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

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

@media (max-width: 768px) {
  .cases-page-section {
    padding: 4rem 0;
  }
  .cases-page-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 2rem;
  }
}

/* ---------- Certificates Sections ---------- */
.certs-section,
.tech-certs-section {
  padding: 4rem 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}

.tech-certs-section {
  background: var(--bg-light);
}

.certs-grid,
.tech-certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* 技师认证四张一排，放宽容器宽度 */
.tech-certs-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
}

.cert-card,
.tech-cert-card {
  text-align: center;
  transition: all var(--transition);
}

.cert-image-placeholder,
.tech-cert-image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 320px;
  /* background: linear-gradient(135deg, var(--bg-light), var(--bg-gray));
  border: 2px dashed var(--border);
  border-radius: var(--radius-md); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tech-cert-image-placeholder {
  /* background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
  border-color: rgba(37,99,235,0.2); */
}

.cert-image-placeholder:hover,
.tech-cert-image-placeholder:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.cert-placeholder-icon,
.tech-cert-icon {
  font-size: 3rem;
  opacity: 1;
}

.tech-cert-icon { opacity: 1; }

.cert-placeholder-text,
.tech-cert-text {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
  background: rgba(255,255,255,0.8);
  padding: 4px 16px;
  border-radius: 20px;
}

.tech-cert-text {
  background: rgba(37,99,235,0.08);
  color: var(--primary-light);
}

.cert-label,
.tech-cert-label {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

.certs-tip {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 1.5rem;
}

/* ---------- Fullpage Scroll (services.html) ---------- */
.fullpage-container {
  overflow: hidden;
  height: 100vh;
  position: relative;
}

.fullpage-section {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(100%);
}

.fullpage-section.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}

.fullpage-section .container {
  max-width: 860px;
  padding: 0 48px;
}

.fullpage-section h1 {
  font-size: 2.8rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.fullpage-section h2 {
  font-size: 2rem;
  color: var(--primary-light);
  margin-bottom: 1.2rem;
  text-align: center;
  font-weight: 700;
}

.fullpage-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.section-content { margin-top: 1.5rem; }

.fullpage-navigation {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(37,99,235,0.2);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  position: relative;
}

.nav-dot:hover {
  background: rgba(37,99,235,0.45);
  transform: scale(1.25);
}

.nav-dot.active {
  background: var(--primary-light);
  border-color: rgba(37,99,235,0.3);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(37,99,235,0.25);
}

.section-1 { background: linear-gradient(135deg, #f0f4ff 0%, #dbe5ff 100%); }
.section-2 { background: linear-gradient(135deg, #ecfdf5 0%, #c8f7d5 100%); }
.section-3 { background: linear-gradient(135deg, #fff7ed 0%, #ffe6c4 100%); }
.section-4 { background: linear-gradient(135deg, #f0f9ff 0%, #cce8ff 100%); }
.section-5 { background: linear-gradient(135deg, #faf5ff 0%, #e7d5ff 100%); }
.section-6 { background: linear-gradient(135deg, #fef2f2 0%, #fccfcf 100%); }

/* ---------- Scroll-Triggered Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ---------- Floating Animation ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float {
  animation: float 6s ease-in-out infinite;
}

.float-slow { animation: float 8s ease-in-out infinite; }
.float-fast { animation: float 4s ease-in-out infinite; }

/* ---------- Shimmer Effect ---------- */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer-text {
  background: linear-gradient(90deg,
    var(--text-dark) 0%,
    #0066CC 25%,
    #FF9500 50%,
    #0066CC 75%,
    var(--text-dark) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ---------- Pulse Glow ---------- */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 102, 204, 0.2); }
  50% { box-shadow: 0 0 40px rgba(0, 102, 204, 0.4); }
}

.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* ---------- Number Counter Animation ---------- */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.count-animate {
  animation: countUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ---------- Gradient Border Animation ---------- */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-border {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #0066CC, #FF9500, #34C759, #0066CC);
  background-size: 300% 300%;
  animation: gradientFlow 4s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
}

.gradient-border:hover::before { opacity: 1; }

/* ---------- Parallax Decoration ---------- */
.parallax-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.parallax-blob-blue {
  background: rgba(0, 102, 204, 0.15);
  width: 400px;
  height: 400px;
}

.parallax-blob-orange {
  background: rgba(255, 149, 0, 0.1);
  width: 300px;
  height: 300px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { padding: 4rem 0; }
  .hero h1 { font-size: 2rem; }
  .certs-grid,
  .tech-certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 76px;
    flex-direction: column;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    width: 100%;
    text-align: left;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    padding: 1rem;
    gap: 2px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .nav-menu.active { left: 0; }

  .nav-item { width: 100%; }

  .nav-link { 
    padding: 14px 16px; 
    font-size: 0.95rem;
    color: rgba(29,29,31,0.82);
  }

  .nav-link.active { 
    background: linear-gradient(135deg, rgba(0,102,204,0.12), rgba(0,102,204,0.04));
    color: var(--primary-light);
  }

  .nav-link.active::after { display: none; }

  .dropdown > .nav-link { padding-right: 16px; }

  .dropdown > .nav-link::after {
    right: 16px;
    transform: translateY(-50%) rotate(-45deg);
    border-color: rgba(29,29,31,0.45);
  }

  .dropdown.open > .nav-link::after {
    transform: translateY(-50%) rotate(135deg);
    border-color: var(--primary-light);
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0,0,0,0.04);
    border-radius: 8px;
    opacity: 1;
    visibility: visible;
    display: none;
    margin-top: 2px;
    padding: 4px;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu { transform: none; }

  .dropdown.open .dropdown-menu { display: block; }

  .hero { padding: 3rem 0; }

  .hero h1 { font-size: 1.7rem; }

  .hero p { font-size: 0.95rem; }

  .content .container p {
    font-size: 0.95rem;
    padding: 2.5rem 0 2rem;
  }

  .button-group { padding: 2.5rem 0 0.5rem; gap: 10px; }

  .btn-lg { padding: 12px 32px; font-size: 0.95rem; }

  .top-button { width: 44px; height: 44px; font-size: 16px; bottom: 24px; right: 24px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .subsidiary-header { padding: 1.5rem 1.5rem 0; }
  .subsidiary-body { padding: 1rem 1.5rem; }
  .subsidiary-footer { grid-template-columns: repeat(3, 1fr); }
  .about-intro { padding: 2.5rem 0; }
  .about-section { padding: 2.5rem 0; }
  .about-subsection { padding: 2.5rem 0; }
  .about-values { padding: 2.5rem 0; }
  .home-about,
  .home-intro,
  .home-services,
  .home-partners { padding: 2.5rem 0; }
  .partners-section { padding: 2.5rem 0; }
  .certs-section,
  .tech-certs-section { padding: 2.5rem 0; }
  .home-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-services-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-intro-stats { gap: 12px; }
  .home-about-split { grid-template-columns: 1fr; gap: 32px; }
  .home-about-image img { max-width: 100%; }
  .partners-grid { gap: 10px; }
  .partner-brand { padding: 10px 18px; font-size: 0.85rem; min-width: 90px; }
  .contact-info-card { min-width: 100%; max-width: 100%; }
  .contact-info-inner { flex-direction: column; align-items: center; }

  .fullpage-section h1 { font-size: 1.8rem; }
  .fullpage-section h2 { font-size: 1.4rem; }
  .fullpage-section p { font-size: 0.95rem; }
  .fullpage-section .container { padding: 0 24px; }
  .fullpage-navigation { right: 14px; gap: 12px; }
  .nav-dot { width: 8px; height: 8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero { padding: 2.5rem 0; }

  .hero h1 { font-size: 1.4rem; }

  .content .container p {
    font-size: 0.9rem;
    padding: 2rem 0 1.5rem;
  }

  .btn { padding: 10px 22px; font-size: 0.85rem; }

  .btn-lg { padding: 12px 28px; font-size: 0.9rem; }

  .button-group { gap: 8px; }

  .top-button { width: 40px; height: 40px; font-size: 14px; bottom: 20px; right: 20px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats-number { font-size: 1.8rem; }
  .about-intro-content p { font-size: 0.95rem; }
  .subsidiary-header h2 { font-size: 1.15rem; }
  .subsidiary-footer { grid-template-columns: repeat(3, 1fr); }
  .subsidiary-stat .stat-val { font-size: 1rem; }
  .about-card { padding: 1.5rem; }
  .value-item { padding: 2rem 1rem; }
  .certs-grid,
  .tech-certs-grid { grid-template-columns: 1fr; max-width: 320px; }
  .partner-brand { padding: 8px 14px; font-size: 0.82rem; min-width: 80px; }
  .home-intro-text h2 { font-size: 1.3rem; }
  .intro-stat-num { font-size: 1.5rem; }
  .home-services-grid { gap: 12px; }
}

/* ---------- Resources Page Styles ---------- */
.resources-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.resources-section:last-of-type {
  border-bottom: none;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.resource-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.15);
}

/* Video Cards */
.video-card .resource-thumbnail {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #0a0a14;
}

.video-card .resource-thumbnail::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

.video-card .resource-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-card:hover .resource-thumbnail img {
  transform: scale(1.08);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.play-button svg {
  margin-left: 3px;
}

.video-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(0, 102, 204, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: white;
  font-weight: 600;
  z-index: 1;
}

/* Doc Cards */
#documents .resources-grid {
  grid-template-columns: repeat(4, 1fr);
}

.doc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  gap: 0;
}

.doc-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0,102,204,0.1), rgba(0,102,204,0.05));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  margin-bottom: 1rem;
}

.doc-card:hover .doc-icon {
  background: linear-gradient(135deg, rgba(0,102,204,0.2), rgba(0,102,204,0.1));
  transform: scale(1.05);
}

.resource-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-card .resource-content {
  padding: 1.25rem 1.5rem 1.5rem;
}

.resource-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.resource-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.resource-meta {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.resource-meta .meta-item {
  font-size: 0.78rem;
  color: var(--text-light);
}

.resource-meta .meta-item + .meta-item::before {
  content: '·';
  margin: 0 8px;
  color: var(--border);
}

.resource-content .btn {
  align-self: flex-start;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
}

/* Images Grid */
.images-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.image-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

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

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

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}

.image-card:hover .image-overlay {
  opacity: 1;
}

.image-title {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Image Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Forum Page Styles ---------- */
.forum-stats {
  background: linear-gradient(135deg, #0066CC 0%, #0055AA 100%);
  padding: 3rem 0;
  margin-bottom: 3rem;
}

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

.forum-stats .stat-item {
  text-align: center;
}

.forum-stats .stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  display: block;
  margin-bottom: 0.3rem;
}

.forum-stats .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.forum-categories {
  padding-bottom: 3rem;
}

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

.category-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.category-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.category-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.category-info h3 a {
  color: var(--text-dark);
}

.category-info h3 a:hover {
  color: var(--primary-light);
}

.category-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.category-stats {
  display: flex;
  gap: 16px;
}

.category-stats span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.category-last {
  margin-left: auto;
  text-align: right;
}

.category-last span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.hot-topics {
  padding-bottom: 3rem;
}

.hot-topics h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.topics-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-white);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.topic-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.topic-rank {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #FF9500, #FF6B35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.topic-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.topic-content h3 a {
  color: var(--text-dark);
}

.topic-content h3 a:hover {
  color: var(--primary-light);
}

.topic-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic-meta {
  display: flex;
  gap: 16px;
}

.topic-meta span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.topic-meta .author {
  color: var(--primary-light);
  font-weight: 500;
}

/* ---------- Responsive for Resources & Forum ---------- */
@media (max-width: 992px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }

  #documents .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .images-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

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

  #documents .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .doc-card {
    flex-direction: column;
    text-align: center;
  }
  
  .category-card {
    flex-direction: column;
    text-align: center;
  }
  
  .category-last {
    margin-left: 0;
    text-align: center;
    margin-top: 10px;
  }
  
  .topic-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .topic-rank {
    align-self: flex-start;
  }
}
