:root {
  --primary-color: #1e3a5f;
  --secondary-color: #f97316;
  --text-color: #333333;
  --light-gray: #f5f5f5;
}

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

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

html {
  scroll-behavior: smooth;
}

.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

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

.scale-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scale-hover:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 40px rgba(30, 58, 95, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(30, 58, 95, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(249, 115, 22, 0.4);
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.hero-slide {
  display: none;
  animation: slideFade 0.5s ease-in-out;
}

.hero-slide.active {
  display: block;
}

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

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--secondary-color);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.timeline-line {
  position: absolute;
  left: -19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.news-card {
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.product-icon {
  transition: all 0.3s ease;
}

.product-card:hover .product-icon {
  transform: scale(1.1) rotate(5deg);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
