:root {
  --primary-color: #ED1C24;
  --secondary-color: #2B87FF;
  --dark-color: #0A0A0A;
  --light-color: #FFFFFF;
  --gray-color: #F5F5F5;
  --text-color: #333333;
  --font-primary: 'Poppins', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 全局样式 */
body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

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

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-color);
  border: none;
}

.btn-primary:hover {
  background-color: #d01920;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(237, 28, 36, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1.1rem;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}

.nav-logo img {
  height: 45px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: 25px;
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-cta {
  background-color: var(--primary-color);
  color: var(--light-color) !important;
  padding: 8px 16px;
  border-radius: 4px;
}

.nav-cta:hover {
  background-color: #d01920;
}

.nav-cta:after {
  display: none !important;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* 语言选择器样式 */
.language-selector {
  margin-left: 20px;
  position: relative;
}

.language-selector select {
  padding: 8px 30px 8px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  background-color: white;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.language-selector:after {
  content: '▼';
  font-size: 10px;
  color: var(--primary-color);
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.language-selector select:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(237, 28, 36, 0.2);
}

.language-selector select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.15);
}

.language-selector select option {
  padding: 10px;
  font-weight: 500;
}

/* 网站头部样式 */
.hero {
  background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
  padding: 160px 0 120px;
  text-align: center;
  margin-top: 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555;
}

.logo {
  max-width: 180px;
  margin-bottom: 30px;
}

.cta-buttons {
  margin-top: 30px;
}

.cta-buttons .btn {
  margin: 0 10px;
}

/* 核心服务部分 */
.core-services {
  padding: 100px 0;
  background-color: var(--light-color);
}

.core-services h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 60px;
  position: relative;
}

.core-services h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--gray-color);
  border-radius: 8px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Animation styles */
.service-card {
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  position: relative;
}

.service-card:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(225deg, transparent 30%, rgba(237, 28, 36, 0.1));
  z-index: -1;
  transform: scale(0);
  transform-origin: bottom right;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover:after {
  transform: scale(1);
}

.service-card .icon {
  transition: transform 0.3s ease;
}

.service-card:hover .icon {
  transform: scale(1.2);
  color: var(--primary-color);
}

/* Counter animation styles */
.advantage-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.advantage-card:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.1), transparent);
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.advantage-card:hover:after {
  transform: translateY(0);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-card h3 {
  display: inline-block;
}

.service-card .icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* 合作伙伴部分 */
.partners {
  padding: 80px 0;
  background-color: var(--gray-color);
  text-align: center;
}

.partners h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.partners p {
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.partner-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin: 0 auto;
}

/* 为什么选择我们部分 */
.why-us {
  padding: 100px 0;
  background-color: var(--light-color);
}

.why-us h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 60px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.advantage-card {
  padding: 30px 20px;
  background-color: var(--gray-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.advantage-card h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.advantage-card:hover h3 {
  transform: scale(1.1);
}

/* CTA部分 */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
  text-align: center;
  color: var(--light-color);
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-section p {
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.cta-section .btn:hover {
  background-color: var(--dark-color);
  color: var(--light-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn {
  transition: all 0.3s ease;
}

/* Loading effects */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(237, 28, 36, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(237, 28, 36, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(237, 28, 36, 0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* 页脚样式 */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  margin-top: 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}

/* 关于页面样式 */
.about-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #8ec5ff 100%);
  padding: 160px 0 80px;
  text-align: center;
  color: var(--light-color);
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.company-story {
  padding: 100px 0;
  background-color: var(--light-color);
}

.company-story h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 60px;
  position: relative;
}

.company-story h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

/* 公司介绍部分 */
.company-intro {
  padding: 100px 0;
  background-color: var(--light-color);
}

.company-intro h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 60px;
  position: relative;
}

.company-intro h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline:before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item:after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--light-color);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  top: 15px;
}

.timeline-item:nth-child(odd):after {
  right: -14px;
}

.timeline-item:nth-child(even):after {
  left: -14px;
}

.year {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary-color);
  color: var(--light-color);
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 4px;
  margin-bottom: 10px;
}

.event h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.team-culture {
  padding: 100px 0;
  background-color: var(--gray-color);
  text-align: center;
}

.team-culture h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.team-culture > p {
  max-width: 700px;
  margin: 0 auto 50px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.value-item {
  background-color: var(--light-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.value-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #333 0%, #555 100%);
  text-align: center;
  color: var(--light-color);
}

.about-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-cta .cta-buttons {
  margin-top: 30px;
}

.about-cta .btn {
  margin: 0 10px;
}

/* 服务页面样式 */
.service-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
  padding: 160px 0 80px;
  text-align: center;
  color: var(--light-color);
}

.service-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.service-details {
  padding: 100px 0;
}

.service-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 100px;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-content {
  flex: 1;
  padding: 0 40px;
}

.service-item:nth-child(even) .service-content {
  order: 2;
}

.service-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.service-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.service-item p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.service-item ul {
  margin-bottom: 30px;
  padding-left: 0;
  list-style-type: none;
}

.service-item ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 15px;
  color: var(--text-color);
}

.service-item ul li:before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
  box-shadow: 0 0 2px rgba(237, 28, 36, 0.5);
}

/* 联系我们页面样式 */
.contact-hero {
  background: linear-gradient(135deg, var(--dark-color) 0%, #333 100%);
  padding: 160px 0 80px;
  text-align: center;
  color: var(--light-color);
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-info {
  padding: 100px 0;
  background-color: var(--light-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form-container h2,
.contact-details h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  position: relative;
}

.contact-form-container h2:after,
.contact-details h2:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin-top: 10px;
}

.contact-form {
  background-color: var(--gray-color);
  padding: 30px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.contact-details {
  padding-left: 30px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-method i {
  font-size: 24px;
  color: var(--primary-color);
  margin-right: 20px;
  margin-top: 5px;
}

.contact-method h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.contact-method a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-method a:hover {
  text-decoration: underline;
}

/* 加入我们页面样式 */
.careers-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #2B87FF 100%);
  padding: 160px 0 80px;
  text-align: center;
  color: var(--light-color);
}

.careers-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.careers-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.why-join-us {
  padding: 100px 0;
  background-color: var(--light-color);
  text-align: center;
}

.why-join-us h2 {
  font-size: 2.2rem;
  margin-bottom: 60px;
  position: relative;
}

.why-join-us h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  background-color: var(--gray-color);
  border-radius: 8px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.benefit-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.open-positions {
  padding: 100px 0;
  background-color: var(--gray-color);
}

.open-positions h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.positions-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  margin: 0 5px 10px;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 20px;
  transition: all 0.3s;
  color: var(--text-color);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.positions-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.position-card {
  background-color: var(--light-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.position-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
