/* ============================================
   云贝易租科技 - 官网样式表
   品牌色: #0B5F39 (主色)
   辅助色: #6B7280, #F9FAFB
   ============================================ */

/* === CSS Variables === */
:root {
  --primary: #0B5F39;
  --primary-dark: #08472A;
  --primary-light: #0E7A48;
  --primary-rgb: 11, 95, 57;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --white: #FFFFFF;
  --black: #000000;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --transition: all 0.3s ease;
  --font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  /* 科技网格底纹（方案A）：已被方案C随机浮动点替代，保留备用 */
  --grid-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath d='M90 0H0v90' fill='none' stroke='%230B5F39' stroke-opacity='0.05'/%3E%3Ccircle cx='0' cy='0' r='1.5' fill='%230B5F39' fill-opacity='0.08'/%3E%3Ccircle cx='45' cy='45' r='1.5' fill='%230B5F39' fill-opacity='0.08'/%3E%3Ccircle cx='90' cy='90' r='1.5' fill='%230B5F39' fill-opacity='0.08'/%3E%3Cline x1='0' y1='0' x2='45' y2='45' stroke='%230B5F39' stroke-opacity='0.04'/%3E%3Cline x1='45' y1='45' x2='90' y2='90' stroke='%230B5F39' stroke-opacity='0.04'/%3E%3C/svg%3E");
  /* 随机浮动点底纹（方案C）：8层radial-gradient独立光晕圆点，位置/大小/透明度完全随机，不重复平铺，无规律直线 */
  --dots-pattern:
    radial-gradient(circle at 12% 28%, rgba(var(--primary-rgb), 0.13) 0 2px, rgba(var(--primary-rgb), 0.05) 2px 5px, transparent 6px),
    radial-gradient(circle at 58% 9%, rgba(var(--primary-rgb), 0.15) 0 1px, rgba(var(--primary-rgb), 0.06) 1px 4px, transparent 5px),
    radial-gradient(circle at 88% 42%, rgba(var(--primary-rgb), 0.10) 0 3px, rgba(var(--primary-rgb), 0.04) 3px 7px, transparent 8px),
    radial-gradient(circle at 32% 63%, rgba(var(--primary-rgb), 0.12) 0 1.5px, rgba(var(--primary-rgb), 0.05) 1.5px 4.5px, transparent 5.5px),
    radial-gradient(circle at 68% 80%, rgba(var(--primary-rgb), 0.09) 0 2.5px, rgba(var(--primary-rgb), 0.04) 2.5px 6px, transparent 7px),
    radial-gradient(circle at 92% 18%, rgba(var(--primary-rgb), 0.11) 0 1.2px, rgba(var(--primary-rgb), 0.05) 1.2px 4px, transparent 5px),
    radial-gradient(circle at 18% 52%, rgba(var(--primary-rgb), 0.10) 0 2px, rgba(var(--primary-rgb), 0.04) 2px 5.5px, transparent 6.5px),
    radial-gradient(circle at 76% 58%, rgba(var(--primary-rgb), 0.07) 0 3.2px, rgba(var(--primary-rgb), 0.03) 3.2px 7.5px, transparent 9px);
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-family);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* === Header / Navigation === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 6px;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 6px;
  padding: 3px;
}

.lang-btn {
  padding: 4px 12px;
  border: none;
  background: transparent;
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
  font-family: var(--font-family);
}

.lang-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.lang-btn:hover:not(.active) {
  color: var(--gray-700);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* === Hero Section === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #0B5F39 0%, #08472A 50%, #062E1C 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
}

/* Hero watermark - hummingbird AI logo */
.hero-watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 900px;
  height: 900px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.hero-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.06));
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 700px;
}

/* Hero floating green glow spots */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  top: 10%;
  right: -10%;
  background: radial-gradient(circle, rgba(52,211,153,0.28) 0%, transparent 70%);
  animation: glowFloat1 9s ease-in-out infinite;
}

.hero-glow-2 {
  width: 380px;
  height: 380px;
  bottom: 5%;
  left: -5%;
  background: radial-gradient(circle, rgba(52,211,153,0.22) 0%, transparent 70%);
  animation: glowFloat2 11s ease-in-out infinite;
}

.hero-glow-3 {
  width: 220px;
  height: 220px;
  top: 35%;
  left: 55%;
  background: radial-gradient(circle, rgba(52,211,153,0.20) 0%, transparent 70%);
  animation: glowBreathe 6s ease-in-out infinite;
}

@keyframes glowFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  50% { transform: translate(-30px, 25px) scale(1.1); opacity: 1; }
}

@keyframes glowFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
  50% { transform: translate(25px, -20px) scale(0.92); opacity: 1; }
}

@keyframes glowBreathe {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* === 随机浮动点背景动画 === */
/* 点阵层：8层独立漂移（各自不同方向，像流星各自滑动） */
@keyframes floatDots {
  0%, 100% {
    background-position:
      0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  50% {
    background-position:
      24px 32px, -18px 22px, 30px -24px, -26px -18px,
      20px 28px, -22px 26px, 28px -20px, -24px 30px;
  }
}

/* 点阵层：透明度呼吸 */
@keyframes dotBreath {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  color: rgba(255,255,255,0.9);
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-item {
  text-align: center;
  background: rgba(255,255,255,0.04);
  padding: 20px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.hero-stat-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.hero-stat-item .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}

.hero-stat-item .label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* === 方案C：随机浮动点 + 光晕呼吸背景（替代科学网格线） === */
/* 9个区块：主背景仅保留柔和渐变，点阵与光晕由 ::before/::after 层承载 */
.about-section,
.services-section,
.clients-section,
.contact-section,
.about-intro,
.vision-section,
.timeline,
.services-detail-section,
.contact-page-section {
  position: relative;
  z-index: 0; /* 创建层叠上下文，约束子层 z-index:-1 不穿透到祖先 */
}

/* 浮动点层：8颗带光晕的绿色圆点各自随机漂移 + 整体淡入淡出呼吸 */
.about-section::before,
.services-section::before,
.clients-section::before,
.contact-section::before,
.about-intro::before,
.vision-section::before,
.timeline::before,
.services-detail-section::before,
.contact-page-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--dots-pattern);
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
  animation: floatDots 22s ease-in-out infinite, dotBreath 8s ease-in-out infinite;
}

/* === About Section === */
.about-section {
  background-image: linear-gradient(180deg, var(--white) 0%, rgba(var(--primary-rgb), 0.025) 100%);
  background-repeat: no-repeat;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 4px solid var(--primary);
  border-radius: 8px;
  z-index: -1;
}

.about-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.about-feature-item,
.about-feature-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.about-feature-link {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.03);
  border: 1px solid rgba(var(--primary-rgb), 0.06);
  transition: var(--transition);
}

.about-feature-link:hover {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.07);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.about-feature-item .icon,
.about-feature-link .icon {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  flex-shrink: 0;
}

/* === Services Section === */
.services-section {
  background-image: linear-gradient(180deg, var(--gray-50) 0%, rgba(var(--primary-rgb), 0.03) 100%);
  background-repeat: no-repeat;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.services-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  background: rgba(var(--primary-rgb), 0.02);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(var(--primary-rgb), 0.06);
  text-align: center;
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(var(--primary-rgb), 0.2);
  background: rgba(var(--primary-rgb), 0.05);
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* === Clients Section === */
.clients-section {
  background-image: linear-gradient(180deg, var(--white) 0%, rgba(var(--primary-rgb), 0.025) 100%);
  background-repeat: no-repeat;
  overflow: hidden;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.client-card {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.client-card:hover {
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.client-card span {
  font-size: 0.95rem;
  color: var(--gray-700);
  font-weight: 500;
  line-height: 1.5;
}

/* === Clients Logo Carousel === */
.clients-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

.clients-carousel-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scrollClients 30s linear infinite;
}

.clients-carousel-track:hover {
  animation-play-state: paused;
}

.clients-carousel-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 80px;
  background: var(--gray-50);
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.clients-carousel-item:hover {
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.clients-carousel-item img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.clients-carousel-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-section {
  margin-top: 80px;
  background: var(--gray-50);
  border-radius: 16px;
  padding: 60px;
}

/* === Partners Carousel (second row) === */
.partners-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 12px 0;
}

.partners-carousel-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scrollPartners 40s linear infinite;
}

.partners-carousel-track:hover {
  animation-play-state: paused;
}

.partners-carousel-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 90px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.partners-carousel-item:hover {
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.partners-carousel-item img {
  max-width: 100%;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partners-carousel-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scrollPartners {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* === Home trust stats (below carousels) === */
.home-trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
  padding: 40px 30px;
  background: var(--gray-50);
  border-radius: 16px;
  border: 1px solid rgba(var(--primary-rgb), 0.06);
}

.home-trust-item {
  text-align: center;
}

.home-trust-item .number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

.home-trust-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.home-trust-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.trust-item {
  text-align: center;
}

.trust-item .number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

.trust-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* === Contact Section === */
.contact-section {
  background-image: linear-gradient(180deg, var(--gray-50) 0%, rgba(var(--primary-rgb), 0.025) 100%);
  background-repeat: no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background: rgba(var(--primary-rgb), 0.02);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(var(--primary-rgb), 0.06);
}

.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-family);
  transition: var(--transition);
  color: var(--gray-800);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.form-success {
  display: none;
  padding: 20px;
  background: rgba(var(--primary-rgb), 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 8px;
  text-align: center;
  color: var(--primary);
  font-weight: 500;
  margin-top: 16px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
  background: rgba(var(--primary-rgb), 0.02);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(var(--primary-rgb), 0.06);
}

.contact-info-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  background: rgba(var(--primary-rgb), 0.05);
  border-color: rgba(var(--primary-rgb), 0.12);
}

.contact-section .contact-info {
  gap: 24px;
}

.contact-page-section .contact-page-grid > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.contact-info-text p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* === Page Banner (for inner pages) === */
.page-banner {
  background: linear-gradient(135deg, #0B5F39 0%, #08472A 50%, #062E1C 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.page-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

/* === About Page === */
.about-intro {
  background-image: linear-gradient(180deg, var(--white) 0%, rgba(var(--primary-rgb), 0.025) 100%);
  background-repeat: no-repeat;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 20px;
}

.vision-section {
  background-image: linear-gradient(180deg, var(--gray-50) 0%, rgba(var(--primary-rgb), 0.03) 100%);
  background-repeat: no-repeat;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.vision-card {
  background: rgba(var(--primary-rgb), 0.03);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: rgba(var(--primary-rgb), 0.06);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.vision-card .icon {
  width: 56px;
  height: 56px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.vision-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.vision-card p {
  font-size: 0.93rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* === Timeline (History) === */
.timeline {
  background-image: linear-gradient(180deg, var(--white) 0%, rgba(var(--primary-rgb), 0.025) 100%);
  background-repeat: no-repeat;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: var(--gray-50);
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 3px solid var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.timeline-content .year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* === Services Page === */
.services-detail-section {
  background-image: linear-gradient(180deg, var(--white) 0%, rgba(var(--primary-rgb), 0.03) 100%);
  background-repeat: no-repeat;
}

.services-detail-card {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 50px;
  margin-bottom: 40px;
  border: 1px solid var(--gray-100);
  scroll-margin-top: 90px; /* 锚点跳转时预留固定导航栏高度 */
}

.services-detail-card:last-child {
  margin-bottom: 0;
}

.services-detail-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-detail-card h3 .icon {
  width: 40px;
  height: 40px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.services-detail-card > p {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.7;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--gray-700);
  transition: var(--transition);
  border: 1px solid transparent;
  background: rgba(var(--primary-rgb), 0.03);
}

.services-list li:nth-child(4n+1) {
  background: rgba(var(--primary-rgb), 0.04);
}

.services-list li:nth-child(4n+2) {
  background: rgba(var(--primary-rgb), 0.07);
}

.services-list li:nth-child(4n+3) {
  background: rgba(var(--primary-rgb), 0.03);
}

.services-list li:nth-child(4n+4) {
  background: rgba(var(--primary-rgb), 0.06);
}

.services-list li:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(var(--primary-rgb), 0.12);
  transform: translateX(4px);
  background: rgba(var(--primary-rgb), 0.08);
}

.services-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  font-size: 11px;
}

/* === Services Tooltip === */
.services-list li {
  position: relative;
  cursor: help;
  z-index: 1;
}

/* Tooltip bubble (using ::after, ::before is reserved for checkmark) */
.services-list li::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 525px;
  max-width: 88vw;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: rgba(255,255,255,0.95);
  font-size: 0.88rem;
  line-height: 1.8;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
  pointer-events: none;
  text-align: left;
  font-weight: 400;
  white-space: normal;
  text-indent: 2em; /* 首行缩进两个字 */
}

/* Add a green accent top border */
.services-list li[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* === Contact Page === */
.contact-page-section {
  background-image: linear-gradient(180deg, var(--white) 0%, rgba(var(--primary-rgb), 0.025) 100%);
  background-repeat: no-repeat;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* === Footer === */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 0;
  position: relative;
}

/* Top decorative accent line */
.footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.footer-inner {
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Footer Brand / About column */
.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand .logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 12px;
  color: var(--gray-400);
  max-width: 320px;
}

/* Social icons row */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gray-400);
  transition: var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Footer contact column layout */
.footer-contact-col {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.footer-contact-col .footer-contact {
  flex: 1;
  min-width: 0;
}

/* WeChat QR Code */
.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.footer-qr img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--white);
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.footer-qr-text {
  font-size: 0.72rem;
  color: var(--gray-300);
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

/* Footer headings */
.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* Footer links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: var(--transition);
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 16px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 4px;
}

/* Footer contact info */
.footer-contact p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 10px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact .contact-icon {
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

/* Footer bottom bar */
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-bottom .beian {
  color: var(--gray-500);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-bottom .beian:hover {
  color: var(--gray-300);
}

.footer-bottom-separator {
  color: var(--gray-600);
  margin: 0 8px;
}

/* === Scroll Animation === */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-down"] {
  transform: translateY(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.back-to-top.show {
  display: flex;
}

/* === Scrollbar Styling === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* === Selection === */
::selection {
  background: rgba(var(--primary-rgb), 0.2);
  color: var(--gray-900);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 2.8rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-menu.open { display: flex; }

  .mobile-menu-btn { display: flex; }

  .header-actions .lang-switch { display: flex; }

  .hero { padding-top: 60px; }
  .hero .container { padding-top: 40px; }
  .hero-content { width: 100%; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-stat-item .number { font-size: 1.8rem; }

  .section-padding { padding: 60px 0; }
  .section-title h2 { font-size: 1.8rem; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 280px; }
  .about-features { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  .vision-grid { grid-template-columns: 1fr; }

  .timeline-container::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-left: 40px;
  }
  .timeline-content { width: 100%; }
  .timeline-dot { left: 20px; }

  .services-detail-card { padding: 28px; }
  .services-list { grid-template-columns: 1fr; }

  .trust-grid { grid-template-columns: 1fr; gap: 30px; }
  .trust-section { padding: 40px 20px; }

  .contact-page-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .page-banner { padding: 120px 0 60px; }
  .page-banner h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: 1fr; }
  .services-detail-card { padding: 20px; }
}

/* === 无障碍：用户偏好减少动态效果时，禁用浮动/呼吸动画 === */
@media (prefers-reduced-motion: reduce) {
  .about-section::before,
  .services-section::before,
  .clients-section::before,
  .contact-section::before,
  .about-intro::before,
  .vision-section::before,
  .timeline::before,
  .services-detail-section::before,
  .contact-page-section::before {
    animation: none;
  }
}