/* ===== 北京印界科技 - 数字化与通透感 · 蓝白科技 ===== */
/* 核心理念：数据感（线条/点阵/网格）+ 玻璃感（毛玻璃/高光边框） */

:root {
  /* 主色：电光蓝，按钮与关键元素 */
  --color-primary: #0066FF;
  --color-primary-hover: #0052cc;
  --color-primary-glow: rgba(0, 102, 255, 0.45);
  /* 深邃辅蓝：深色卡片、页脚锚点 */
  --color-deep: #0B1A33;
  --color-deep-alt: #1A2C4E;
  /* 背景：极浅蓝灰，非纯白 */
  --color-bg: #F0F7FF;
  --color-bg-soft: #E8F0FE;
  --color-bg-card: #F5F9FF;
  /* 白色作为高光，非大面积背景 */
  --color-white: #FFFFFF;
  /* 文字：深灰/深蓝，保证可读性 */
  --color-text: #1A2C4E;
  --color-text-body: #333333;
  --color-text-muted: #5a6c7d;
  /* 玻璃态 */
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-blur: 16px;
  /* 通用 */
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-card: 20px;
  --radius-btn: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-body);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* ===== 导航栏 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: #ffffff;
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  text-decoration: none;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.logo-en {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
  transition: color var(--transition);
}

.header.scrolled .logo-text {
  color: var(--color-deep);
}

.header.scrolled .logo-en {
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  transition: color var(--transition);
  text-decoration: none;
  padding-bottom: 4px;
}

.nav a .nav-label {
  display: block;
}

.nav a .nav-en {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
  transition: color var(--transition);
}

.header.scrolled .nav a .nav-en {
  color: var(--color-text-muted);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-white);
  transition: width var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

.header.scrolled .nav a {
  color: var(--color-text);
}

.header.scrolled .nav a::after {
  background: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  color: var(--color-white);
  transition: var(--transition);
}

.header.scrolled .nav-toggle span {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 80px 32px 32px;
    box-shadow: -4px 0 24px rgba(0, 102, 255, 0.08);
    transition: right var(--transition);
  }
  .nav.open {
    right: 0;
  }
  .nav a {
    color: var(--color-text);
    font-size: 1.05rem;
    align-items: flex-start;
  }
  .nav a .nav-en {
    color: var(--color-text-muted);
  }
  .nav a::after {
    background: var(--color-primary);
  }
  .nav-toggle {
    display: flex;
  }
}

/* ===== Hero：深蓝 + 数据网格 + 流动渐变 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 100px;
  overflow: hidden;
}

/* 背景层（最深）：深空蓝渐变，宇宙坐标感 */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0A0F1F 0%, #001833 50%, #0A1428 100%);
  background-size: 200% 200%;
  animation: gradientFlow 20s ease-in-out infinite;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* 极细白色网格，约 5% 透明度，模拟宇宙坐标/印刷网点，底层动感 */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0.5px, transparent 0.5px);
  background-size: 40px 40px;
  animation: gridBreath 12s ease-in-out infinite;
}

@keyframes gridBreath {
  0%, 100% { opacity: 1; transform: rotate(0deg); }
  50% { opacity: 0.85; transform: rotate(0.5deg); }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: glowPulse 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-glow-1 {
  width: 420px;
  height: 420px;
  background: var(--color-primary);
  top: -120px;
  right: -100px;
}

.hero-glow-2 {
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.12);
  bottom: 15%;
  left: -60px;
  animation-delay: -4s;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.08); }
}

.hero-image-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: overlay;
}

/* 粒子土星层：位于背景之上、文案之下，不抢主视觉 */
.hero-saturn-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-saturn-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particles .particle {
  position: absolute;
  background: rgba(0, 102, 255, 0.5);
  border-radius: 50%;
  animation: particleFloat 15s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  25% { transform: translate(10px, -20px) scale(1.2); opacity: 0.7; }
  50% { transform: translate(-15px, 10px) scale(0.9); opacity: 0.3; }
  75% { transform: translate(20px, 15px) scale(1.1); opacity: 0.6; }
}

/* 前景层：内容信息置于行星之上，保证可读 */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  text-shadow: 0 0 60px rgba(0, 0, 0, 0.4), 0 2px 20px rgba(0, 0, 0, 0.25);
}

/* 副标题：周期性蓝色光扫描，强调品牌口号 */
.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.88) 28%,
    rgba(255, 255, 255, 1) 42%,
    rgba(180, 220, 255, 1) 50%,
    rgba(255, 255, 255, 1) 58%,
    rgba(255, 255, 255, 0.88) 72%,
    rgba(255, 255, 255, 0.88) 100%
  );
  background-size: 320% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: heroSubtitleSweep 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
    animation: none;
  }
}

@keyframes heroSubtitleSweep {
  0% { background-position: 0% 50%; }
  12% { background-position: 100% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.35));
}

.hero-title-line {
  display: block;
}

.hero-title-en {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.12em;
  margin: -8px 0 24px;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 44px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 主按钮：亮蓝 #0066FF + 悬停发光 + 轻微上浮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-btn);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

/* 按钮背后光晕 */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--color-primary);
  filter: blur(12px);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--color-primary-glow);
}

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

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

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

.btn-lg {
  padding: 16px 42px;
  font-size: 1.05rem;
}

/* Hero 底部波浪：加宽并裁剪，避免动画位移时右侧露出背景 */
.hero-wave-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-wave {
  width: 120%;
  height: 100%;
  display: block;
  margin-left: -10%;
}

.hero-wave-path {
  fill: var(--color-bg);
  opacity: 0.95;
}

.hero-wave-path-2 {
  fill: var(--color-bg);
  opacity: 0.55;
}

.hero-wave-wrap .hero-wave {
  animation: waveMove 8s ease-in-out infinite;
}

@keyframes waveMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-2%); }
}

/* 向下探索：排在按钮下方，留出间距，避免与按钮重叠 */
.hero-scroll {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 300;
  animation: bounce 2s ease-in-out infinite;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  border-radius: 2px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== 通用 Section：留白与层级 ===== */
.section {
  position: relative;
  padding: 112px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-primary);
  margin-bottom: 14px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.6;
}

.section-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* ===== 公司介绍 ===== */
.about {
  background: radial-gradient(circle at 20% 30%, #F5F9FF, #FAFAFA 70%);
  position: relative;
  overflow: hidden;
}

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

.about-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.about-shape {
  position: absolute;
  filter: blur(60px);
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.about-shape-circle {
  width: min(420px, 35vw);
  height: min(420px, 35vw);
  top: -8%;
  right: -6%;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.08);
  animation-name: aboutShapeFloat;
}

.about-shape-triangle {
  width: min(380px, 32vw);
  height: min(380px, 32vw);
  bottom: -5%;
  left: -4%;
  background: rgba(255, 140, 0, 0.07);
  clip-path: polygon(0 100%, 0 0, 100% 100%);
  animation-name: aboutShapeFloatAlt;
  animation-duration: 14s;
  animation-delay: -2s;
}

@keyframes aboutShapeFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-6px, 4px); }
  66% { transform: translate(4px, -6px); }
}

@keyframes aboutShapeFloatAlt {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -5px); }
}

@media (prefers-reduced-motion: reduce) {
  .about-shape {
    animation: none;
  }
}

.about-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}

.about-content {
  padding-right: 24px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--color-text-body);
  margin-bottom: 0;
  line-height: 1.9;
  font-weight: 400;
}

.about-brand {
  color: var(--color-primary);
  font-weight: 700;
}

.about-highlight {
  color: #003366;
  font-weight: 600;
}

.about-divider {
  display: block;
  width: 48px;
  height: 2px;
  margin: 20px 0 22px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  border-radius: 1px;
  opacity: 0.6;
}

.about-media {
  position: relative;
}

.about-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.08);
}

.about-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.about-image-placeholder {
  display: none;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.6;
  padding: 40px 24px;
  align-items: center;
  justify-content: center;
}

.about-image-wrap:has(.about-image[style*="display: none"]) .about-image-placeholder,
.about-image-placeholder:only-child {
  display: flex;
}

.about-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(transparent, rgba(0, 51, 102, 0.85));
  text-align: center;
  letter-spacing: 0.08em;
}

/* 三大核心价值 */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.about-value-card {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  border: 1px solid rgba(77, 168, 255, 0.25);
  box-shadow: 0 4px 24px rgba(0, 102, 255, 0.06);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 168, 255, 0.45);
  box-shadow: 0 12px 36px rgba(0, 102, 255, 0.12);
}

.about-value-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 8px;
}

.about-value-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.about-vision {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .about-top {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 44px;
  }
  .about-media {
    order: -1;
  }
  .about-content {
    padding-right: 0;
  }
  .about-values {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }
}

/* ===== 核心业务（整合版） ===== */
.services {
  position: relative;
  padding: 80px 0 72px;
  color: var(--color-text);
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #FFFFFF;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245, 249, 255, 0.9), transparent 55%),
    linear-gradient(180deg, rgba(249, 250, 251, 0.5) 0%, transparent 30%);
}

.services-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 58, 138, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.services-inner {
  position: relative;
  z-index: 1;
}

/* 入场动画：统一时长与缓动 */
.services [data-aos] {
  transition-duration: 0.5s;
  transition-timing-function: ease-out;
}

.services-head {
  text-align: center;
  margin-bottom: 12px;
}

.services-title {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #1E3A8A;
  margin: 0 0 6px 0;
}

.services-title-en {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0;
}

.services-intro {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #374151;
}

.services-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.services-card {
  padding: 20px 22px;
  background: #F9FAFB;
  border-radius: 14px;
  border: 1px solid rgba(30, 58, 138, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out;
}

.services-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 58, 138, 0.2);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.12), 0 0 0 1px rgba(30, 58, 138, 0.06);
}

.services-card:active {
  transform: scale(0.98);
}

.services-card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  color: #1E3A8A;
  transition: transform 0.3s ease-out, filter 0.3s ease-out;
}

.services-card-icon svg {
  width: 100%;
  height: 100%;
}

.services-card:hover .services-card-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 2px 6px rgba(30, 58, 138, 0.25));
}

.services-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1E3A8A;
  margin: 0 0 4px;
}

.services-card-subtitle {
  font-size: 0.85rem;
  color: #6B7280;
  margin: 0 0 14px;
}

.services-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #374151;
}

.services-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.services-card-list li:last-child {
  margin-bottom: 0;
}

.services-item-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 6px;
  background: rgba(30, 58, 138, 0.08);
  color: #1E3A8A;
  transition: background 0.3s ease-out, box-shadow 0.3s ease-out, transform 0.3s ease-out;
}

.services-item-icon svg {
  width: 100%;
  height: 100%;
}

.services-card:hover .services-item-icon {
  background: rgba(30, 58, 138, 0.14);
  box-shadow: 0 0 0 1px rgba(30, 58, 138, 0.15);
  transform: scale(1.06);
}

.services-card-list strong {
  font-weight: 600;
  color: #1E3A8A;
}

.services-value-bar {
  padding: 20px 24px;
  background: rgba(249, 250, 251, 0.9);
  border-radius: 14px;
  border: 1px solid rgba(30, 58, 138, 0.1);
  text-align: center;
}

.services-value-bar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1E3A8A;
  margin: 0 0 10px;
}

.services-value-bar-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4B5563;
  margin: 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
  .services [data-aos] {
    transition-duration: 0.01s;
  }
  .services-card:hover {
    transform: none;
  }
  .services-card:hover .services-card-icon,
  .services-card:hover .services-item-icon {
    transform: none;
    filter: none;
  }
}

@media (max-width: 900px) {
  .services-cards-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 28px;
  }
}

@media (max-width: 600px) {
  .services {
    padding: 64px 0 56px;
  }
  .services-card-icon {
    width: 36px;
    height: 36px;
  }
  .services-value-bar {
    padding: 16px 18px;
  }
}

/* ===== 加入我们：部门矩阵 · 探索团队，发现机遇 ===== */
.join {
  position: relative;
  padding: 112px 0 120px;
  background: #FFFFFF;
  color: var(--color-text);
  overflow: hidden;
}

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

.join-bg-base {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
}

.join-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(230, 240, 255, 0.4) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(230, 240, 255, 0.4) 0.5px, transparent 0.5px);
  background-size: 64px 64px;
}

.join-grid-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.join-grid-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(77, 168, 255, 0.5);
  animation: joinDotTwinkle 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .join-grid-dot { animation: none; }
}

@keyframes joinDotTwinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.2); }
}

.join-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.join-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.join-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.join-tag {
  color: var(--color-primary);
}

.join-head {
  margin-bottom: 28px;
}

.join-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #003366;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.join-title .join-title-inner {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.join-title::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  bottom: 0;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
  z-index: 2;
  animation: joinTitleSweep 1.5s ease-out 0.3s forwards;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .join-title::before { animation: none; opacity: 0; }
}

.join-title.sweep-done::before {
  animation: none;
  opacity: 0;
}

.join-title.sweep-active .join-title-inner {
  color: #FFFFFF;
  text-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
}

.join-title.sweep-done .join-title-inner {
  text-shadow: 0 0 24px rgba(0, 102, 255, 0.12);
}

@keyframes joinTitleSweep {
  0% { left: -80%; opacity: 0; }
  15% { opacity: 0.9; }
  70% { left: 120%; opacity: 0.7; }
  100% { left: 120%; opacity: 0; }
}

.join-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-bottom: 20px;
}

.join-search-wrap {
  max-width: 360px;
  margin: 0 auto 32px;
}

.join-search {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #B8D9FF;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.join-search::placeholder {
  color: var(--color-text-muted);
}

.join-search:focus {
  border-color: #4DA8FF;
  box-shadow: 0 0 0 3px rgba(77, 168, 255, 0.15);
}

/* 部门筛选 */
.join-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.join-filter-btn {
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #B8D9FF;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.join-filter-btn:hover {
  color: #003366;
  border-color: #4DA8FF;
  background: #E6F0FF;
}

.join-filter-btn.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, #0066FF 0%, #4DA8FF 100%);
  border-color: transparent;
}

/* 部门网格：3 列 → 2 列 → 1 列，六块区域等大 */
.join-dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
  text-align: left;
  min-height: 420px;
}

@media (max-width: 900px) {
  .join-dept-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    min-height: 540px;
  }
}

@media (max-width: 600px) {
  .join-dept-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    min-height: 0;
  }
}

/* 部门卡片：毛玻璃 + 左侧流动光条 */
.join-dept-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid #4DA8FF;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.06);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
  animation: joinCardIn 0.5s ease backwards;
}

.join-dept-card[data-join-card] {
  opacity: 1;
}

.join-dept-card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .join-dept-card { animation: none; }
  .join-dept-card .join-dept-tags .join-tag-pill { animation: none; }
}

.join-dept-card-glow {
  position: absolute;
  left: 0;
  top: -100%;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #4DA8FF, transparent);
  transition: top 0.5s ease;
}

.join-dept-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.2);
  border-color: #4DA8FF;
}

.join-dept-card:hover .join-dept-card-glow {
  top: 100%;
}

.join-dept-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.join-dept-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #003366;
  transition: transform 0.35s ease, color 0.35s ease;
}

.join-dept-icon svg {
  width: 100%;
  height: 100%;
}

.join-dept-card:hover .join-dept-icon {
  color: var(--color-primary);
  transform: rotate(5deg) scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .join-dept-card:hover .join-dept-icon { transform: none; }
}

.join-dept-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #003366;
  margin: 0;
}

.join-dept-count {
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.join-dept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  flex: 1;
  align-content: flex-start;
}

.join-tag-pill {
  position: relative;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: #333333;
  background: transparent;
  border: 1px solid #B8D9FF;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  animation: joinTagIn 0.4s ease backwards;
}

.join-tag-pill:hover {
  color: #003366;
  background: #E6F0FF;
  border-color: #4DA8FF;
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.12);
}

.join-tag-hint {
  margin-left: 4px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.join-tag-pill:hover .join-tag-hint {
  opacity: 1;
}

.join-dept-apply {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 0;
  margin-top: auto;
  flex-shrink: 0;
}

.join-dept-apply:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 交错入场 */
.join-dept-card:nth-child(1) { animation-delay: 0.05s; }
.join-dept-card:nth-child(2) { animation-delay: 0.1s; }
.join-dept-card:nth-child(3) { animation-delay: 0.15s; }
.join-dept-card:nth-child(4) { animation-delay: 0.2s; }
.join-dept-card:nth-child(5) { animation-delay: 0.25s; }
.join-dept-card:nth-child(6) { animation-delay: 0.3s; }

.join-dept-tags .join-tag-pill:nth-child(1) { animation-delay: 0.15s; }
.join-dept-tags .join-tag-pill:nth-child(2) { animation-delay: 0.2s; }
.join-dept-tags .join-tag-pill:nth-child(3) { animation-delay: 0.25s; }
.join-dept-tags .join-tag-pill:nth-child(4) { animation-delay: 0.3s; }
.join-dept-tags .join-tag-pill:nth-child(5) { animation-delay: 0.35s; }

@keyframes joinCardIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes joinTagIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 底部自荐 */
.join-cta-wrap {
  padding: 32px 36px;
  background: rgba(230, 240, 255, 0.3);
  border-radius: 16px;
  border: 1px solid rgba(77, 168, 255, 0.2);
}

.join-cta-text {
  margin-bottom: 18px;
  color: var(--color-text-body);
  font-weight: 400;
}

.join-cta-text a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.join .btn-primary {
  background: linear-gradient(135deg, #0066FF 0%, #4DA8FF 100%);
  color: #FFFFFF;
  border: none;
}

.join .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
}

/* 岗位详情弹窗：毛玻璃 + 背景虚化 */
.join-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.join-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.join-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.join-modal-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #4DA8FF;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.join-modal[aria-hidden="false"] .join-modal-box {
  transform: scale(1);
}

.join-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s ease;
}

.join-modal-close:hover {
  color: #003366;
}

.join-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 20px;
  padding-right: 36px;
}

.join-modal-body {
  margin-bottom: 24px;
}

.join-modal-block {
  margin-bottom: 18px;
}

.join-modal-block:last-child {
  margin-bottom: 0;
}

.join-modal-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 8px 0;
  letter-spacing: 0.02em;
}

.join-modal-duty,
.join-modal-req {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-body);
  margin: 0 0 12px 0;
}

.join-modal-req {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.join-modal-apply {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* ===== 简历投递弹窗（无毛玻璃） ===== */
.resume-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
}

.resume-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.resume-modal-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #4DA8FF;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
  transform: scale(0.96);
  transition: transform 0.3s ease;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.resume-modal[aria-hidden="false"] .resume-modal-box {
  transform: scale(1);
}

.resume-modal-header {
  position: relative;
  flex-shrink: 0;
  padding: 24px 32px 16px 32px;
  border-bottom: 1px solid rgba(0, 102, 255, 0.12);
}

.resume-modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 32px 32px 32px;
}

.resume-modal-close {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s ease;
}

.resume-modal-close:hover {
  color: #003366;
}

.resume-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #003366;
  margin: 0;
  padding-right: 44px;
}

.resume-success-wrap {
  text-align: center;
  padding: 24px 0 16px;
}

.resume-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0066FF 0%, #0052cc 100%);
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.resume-success-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #003366;
  margin: 0 0 10px 0;
}

.resume-success-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.resume-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.resume-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.resume-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.resume-label .required {
  color: #c53030;
}

.resume-input,
.resume-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  border: 1px solid #d0dae3;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.resume-input:focus,
.resume-textarea:focus {
  border-color: #4DA8FF;
  box-shadow: 0 0 0 3px rgba(77, 168, 255, 0.15);
}

.resume-textarea {
  resize: vertical;
  min-height: 80px;
}

.resume-file {
  width: 100%;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
}

.resume-file-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.resume-privacy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 4px 0 0;
}

.resume-privacy a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.resume-submit {
  position: relative;
  align-self: flex-start;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, #0066FF 0%, #0052cc 100%);
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.resume-submit:hover:not(:disabled) {
  opacity: 0.95;
}

.resume-submit:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.resume-submit.loading .resume-submit-text {
  visibility: hidden;
}

.resume-submit-loading {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.resume-submit-loading::after {
  content: '';
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: contactSpin 0.7s linear infinite;
}

.resume-submit.loading .resume-submit-loading {
  display: flex;
}

/* ===== 联系我们：沟通与信号的传递 ===== */
.contact {
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #F0F8FF 0%, #FFFFFF 100%);
}

.contact-bg-waves {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 40px,
    rgba(0, 102, 255, 0.15) 40px,
    rgba(0, 102, 255, 0.15) 41px
  );
  animation: contactWaveFlow 12s linear infinite;
}

@keyframes contactWaveFlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(41px); }
}

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

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* 联系方式卡片 + 声波波纹 */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px;
  text-align: center;
  background: #FFFFFF;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 102, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.contact-card-link {
  cursor: pointer;
}

.contact-card-link:hover {
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.12);
  transform: translateY(-2px);
}

.contact-ripple-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.contact-ripple {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(0, 102, 255, 0.25);
  animation: contactRipple 3s ease-out infinite;
}

.contact-ripple:nth-child(2) { animation-delay: 1s; }
.contact-ripple:nth-child(3) { animation-delay: 2s; }

.contact-card:hover .contact-ripple {
  border-color: rgba(0, 102, 255, 0.5);
  animation-duration: 1.8s;
}

@keyframes contactRipple {
  0% {
    transform: scale(0.4);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.contact-icon-svg {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

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

.contact-card:hover .contact-icon-svg {
  color: var(--color-primary);
}

.contact-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.contact-card p {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* 表单行：表单 + 社交与地图 */
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-frame {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-label-en {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.45);
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text);
  background: #FFFFFF;
  border: 1px solid #d0dae3;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.8;
}

.form-input:focus {
  border-color: #4DA8FF;
  box-shadow: 0 0 0 3px rgba(77, 168, 255, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 72px;
  padding: 10px 12px;
}

.contact-submit-btn {
  position: relative;
  align-self: flex-start;
  padding: 14px 40px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, #0066FF 0%, #0052cc 100%);
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35);
  animation: contactBtnPulse 2.5s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit-btn:hover {
  box-shadow: 0 6px 28px rgba(0, 102, 255, 0.45);
}

.contact-submit-btn:active {
  transform: scale(0.98);
}

.contact-submit-btn.loading .contact-submit-text,
.contact-submit-btn.success .contact-submit-text {
  visibility: hidden;
}

.contact-submit-loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.contact-submit-loader::after {
  content: '';
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: contactSpin 0.7s linear infinite;
}

.contact-submit-btn.loading .contact-submit-loader {
  display: flex;
}

.contact-submit-success {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.contact-submit-btn.success .contact-submit-success {
  display: flex;
}

@keyframes contactBtnPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35); }
  50% { box-shadow: 0 4px 28px rgba(0, 102, 255, 0.5); }
}

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

/* 社交图标 */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-social {
  display: flex;
  gap: 16px;
}

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #5a6c7d;
  border-radius: 12px;
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-social-link svg {
  width: 22px;
  height: 22px;
}

.contact-social-link:hover {
  color: var(--color-primary);
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 0 16px rgba(0, 102, 255, 0.25);
}

/* 抽象点阵地图 */
.contact-map-wrap {
  position: relative;
  width: 100%;
  min-height: 320px;
  height: 320px;
  background: #0B1A33;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: grab;
}

.contact-map-wrap:active {
  cursor: grabbing;
}

.contact-map-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 102, 255, 0.6) 1px, transparent 1px);
  background-size: 20px 20px;
}

.contact-map-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  background: #0066FF;
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(0, 102, 255, 0.8);
  animation: contactMapPulse 2s ease-in-out infinite;
}

.contact-map-pulse::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(0, 102, 255, 0.4);
  border-radius: 50%;
  animation: contactRipple 2.5s ease-out infinite;
}

/* 环绕旋转环 */
.contact-map-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: 50%;
  animation: contactMapRingRotate 18s linear infinite;
  pointer-events: none;
}

.contact-map-ring::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -4px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  background: rgba(0, 102, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.8);
}

/* 次要脉冲点：分布在中心周围 */
.contact-map-node {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: rgba(77, 168, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(0, 102, 255, 0.5);
  animation: contactMapNodePulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

.contact-map-node-1 { left: 28%;  top: 35%; animation-delay: 0s; }
.contact-map-node-2 { left: 72%;  top: 38%; animation-delay: 0.4s; }
.contact-map-node-3 { left: 65%;  top: 68%; animation-delay: 0.8s; }
.contact-map-node-4 { left: 32%;  top: 62%; animation-delay: 1.2s; }
.contact-map-node-5 { left: 18%;  top: 52%; animation-delay: 1.6s; }
.contact-map-node-6 { left: 82%;  top: 48%; animation-delay: 2s; }

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

@keyframes contactMapNodePulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

@keyframes contactMapPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.85; }
}

/* Toast 反馈 */
.contact-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-120%) scale(0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.15);
  z-index: 9999;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.contact-toast.show {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
}

.contact-toast-icon {
  font-size: 1.25rem;
}

.contact-toast-text {
  font-size: 0.95rem;
  color: var(--color-text);
}

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

/* ===== 页脚前波浪 ===== */
.footer-wave-wrap {
  position: relative;
  height: 80px;
  margin-top: 0;
  overflow: hidden;
  width: 100%;
}

.footer-wave {
  width: 105%;
  min-width: 105%;
  height: 100%;
  display: block;
  margin-left: -2.5%;
  box-sizing: content-box;
}

.footer-wave-path {
  fill: var(--color-deep);
}

.footer-wave-wrap .footer-wave {
  animation: footerWaveMove 10s ease-in-out infinite;
}

@keyframes footerWaveMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-2%); }
}

/* ===== 页脚：深邃辅蓝锚点 ===== */
.footer {
  background: var(--color-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 52px 0;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
}

.footer-en {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-copy {
  font-size: 0.9rem;
  margin-bottom: 22px;
  font-weight: 400;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

/* ===== 滚动动画 (data-aos) ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-24px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(24px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}
