/* ========================================
   全局样式 - 轻回车官网
   主色调: #1E65FF
   ======================================== */

/* CSS 变量定义 */
:root {
  --primary: #1E65FF;
  --primary-dark: #1550D0;
  --primary-light: #4A85FF;
  --primary-bg: rgba(30, 101, 255, 0.06);
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-light: #8c8ca8;
  --bg-white: #ffffff;
  --bg-light: #f8f9fc;
  --bg-dark: #0f1724;
  --bg-dark-secondary: #1a2332;
  --border-color: #e8ecf1;
  --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 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

/* 全局重置 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

/* 容器 */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 通用按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(30, 101, 255, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 25px rgba(30, 101, 255, 0.4);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

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

.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}

/* 通用板块标题 */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-header .section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* 板块间距 */
.section-padding {
  padding: 100px 0;
}

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

/* 动画 - 滚动入场 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* 滚动动画 class */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
}

.animate-on-scroll.fade-in-up {
  transform: translateY(40px);
}

.animate-on-scroll.fade-in-up.animated {
  transform: translateY(0);
}

.animate-on-scroll.fade-in-left {
  transform: translateX(-40px);
}

.animate-on-scroll.fade-in-left.animated {
  transform: translateX(0);
}

.animate-on-scroll.fade-in-right {
  transform: translateX(40px);
}

.animate-on-scroll.fade-in-right.animated {
  transform: translateX(0);
}

.animate-on-scroll.scale-in {
  transform: scale(0.85);
}

.animate-on-scroll.scale-in.animated {
  transform: scale(1);
}

/* 延迟辅助 */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* 响应式 */
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header .section-subtitle {
    font-size: 0.95rem;
  }

  .container {
    padding: 0 16px;
  }
}

/* ===== 页面级 Hero 区域统一高度 ===== */
.services-hero,
.about-hero {
  padding: 140px 0 80px;
}

@media (max-width: 968px) {
  .services-hero,
  .about-hero {
    padding: 120px 0 50px;
  }
}
