/* ===== 全局样式 ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --primary: #1a2a3a;
  --primary-light: #2c3e50;
  --accent: #c0a062;
  --accent-light: #d4af37;
  --accent-dark: #a08842;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #f0f2f5;
  --gray: #6c757d;
  --dark-gray: #495057;
  --text-dark: #212529;
  --text-medium: #343a40;
  --border-light: #e9ecef;
  --border-medium: #dee2e6;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-medium: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}

.nav-logo-sub {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 5px;
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-gray);
  letter-spacing: 1px;
  position: relative;
  transition: var(--transition);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--accent);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 60%;
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* ===== Hero 区域 ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 40%, #34495e 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(192, 160, 98, 0.15) 0%, transparent 60%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(192, 160, 98, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 160, 98, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
  max-width: 900px;
}

.hero-title {
  font-size: 60px;
  font-weight: 900;
  letter-spacing: 8px;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 0 40px rgba(192, 160, 98, 0.3);
}

.hero-title .accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 4px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-line {
  width: 80px;
  height: 2px;
  background: var(--accent);
  margin: 30px auto;
}

.hero-btn {
  display: inline-block;
  padding: 15px 50px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3px;
  transition: var(--transition);
  margin-top: 20px;
}

.hero-btn:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ===== 页面标题区域 ===== */
.page-header {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 40%, #34495e 100%);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(192, 160, 98, 0.15) 0%, transparent 70%);
}

.page-header-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(192, 160, 98, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 160, 98, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-header-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--white);
}

.page-header-title .accent {
  color: var(--accent);
}

.page-header-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 20px auto;
}

.page-header-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 3px;
}

/* ===== 内容区域 ===== */
.section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-white {
  background: var(--white);
}

.section-light {
  background: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-dark);
}

.section-title h2 .accent {
  color: var(--accent);
}

.section-title .line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 15px auto;
}

.section-title p {
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 2px;
}

/* ===== 首页特色区域 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

/* ===== 首页车型预览 ===== */
.car-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.car-preview-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-medium);
}

.car-preview-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.car-preview-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-preview-card:hover img {
  transform: scale(1.05);
}

.car-preview-info {
  padding: 15px;
  text-align: center;
}

.car-preview-info h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 1px;
}

/* ===== 车型展示页面 ===== */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.vehicle-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-medium);
}

.vehicle-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.vehicle-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.vehicle-card:hover::after {
  transform: scaleX(1);
}

.vehicle-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vehicle-card:hover img {
  transform: scale(1.05);
}

.vehicle-info {
  padding: 25px 20px;
  text-align: center;
}

.vehicle-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.vehicle-info .vehicle-tag {
  display: inline-block;
  padding: 4px 15px;
  background: rgba(192, 160, 98, 0.1);
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 2px;
}

/* ===== 公司简介页面 ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  padding: 40px;
}

.about-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.about-text .line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 30px;
}

.about-text p {
  font-size: 16px;
  color: var(--dark-gray);
  line-height: 2;
  margin-bottom: 20px;
}

.about-highlight {
  background: var(--primary);
  color: var(--white);
  padding: 50px 40px;
  text-align: center;
}

.about-highlight .number {
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 2px;
}

.about-highlight .label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  margin-top: 10px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 40px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-medium);
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
}

.stat-label {
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 2px;
  margin-top: 10px;
}

/* ===== 软件平台页面 ===== */
.platform-section {
  text-align: center;
  padding: 100px 40px;
}

.platform-icon {
  font-size: 80px;
  color: var(--accent);
  margin-bottom: 30px;
}

.platform-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.platform-desc {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
}

.platform-btn {
  display: inline-block;
  padding: 18px 60px;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  transition: var(--transition);
  border: 2px solid var(--accent);
}

.platform-btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.platform-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 60px auto 0;
}

.platform-feature {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-medium);
}

.platform-feature:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.platform-feature .icon {
  font-size: 30px;
  color: var(--accent);
  margin-bottom: 15px;
}

.platform-feature h4 {
  font-size: 16px;
  color: var(--text-dark);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.platform-feature p {
  font-size: 13px;
  color: var(--gray);
}

/* ===== 联系我们页面 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  padding: 40px;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  box-shadow: var(--shadow-medium);
}

.contact-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.contact-item .icon {
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item .label {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.contact-item .value {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-map {
  background: var(--primary);
  color: var(--white);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.contact-map-placeholder {
  text-align: center;
}

.contact-map-placeholder .icon {
  font-size: 60px;
  color: var(--accent);
  margin-bottom: 20px;
}

.contact-map-placeholder p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 40px 30px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 400px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .car-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    padding: 0 20px;
    height: 70px;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    border-bottom: 1px solid var(--border-light);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 36px;
    letter-spacing: 4px;
  }
  
  .hero-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
  }
  
  .page-header {
    height: 300px;
  }
  
  .page-header-title {
    font-size: 32px;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .car-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .vehicles-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .platform-features {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-desc {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  
  .car-preview-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-btn {
    padding: 12px 30px;
    font-size: 14px;
  }
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ===== 滚动条样式 ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}
