/* 根据HYD公司logo配色方案重新设计 */
:root {
  --primary-cyan: #00a9e0;
  --primary-red: #e31e24;
  --dark-blue: #1a2b3c;
  --light-gray: #f5f7fa;
  --text-dark: #2c3e50;
  --text-light: #666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  min-width: 1200px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 - 使用公司logo和配色 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 15px 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 50px;
  width: auto;
  transition: all 0.3s;
}

.navbar.scrolled .logo-image {
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-size: 15px;
  transition: color 0.3s;
  font-weight: 500;
}

.navbar.scrolled .nav-menu a {
  color: var(--text-dark);
}

.nav-menu a:hover {
  color: var(--primary-cyan);
}

.language {
  color: white;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  transition: all 0.3s;
}

.language:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.navbar.scrolled .language {
  color: var(--text-dark);
  border-color: #ddd;
}

.navbar.scrolled .language:hover {
  background: var(--light-gray);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

/* Hero区域样式 - 使用视频背景 */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 72px;
  font-weight: 300;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 8px;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 10px;
  opacity: 0.95;
  font-weight: 500;
}

.hero-code {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
  letter-spacing: 2px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  padding: 12px 32px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: var(--primary-cyan);
  border-color: var(--primary-cyan);
  color: white;
}

.btn-primary {
  background: var(--primary-cyan);
  color: white;
  width: 100%;
  padding: 14px;
  font-size: 16px;
}

.btn-primary:hover {
  background: #0090c0;
}

/* 公司简介区域 */
.about {
  padding: 100px 0;
  background: var(--light-gray);
}

.section-title {
  font-size: 42px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-dark);
  font-weight: 300;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-red));
}

.about-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-intro p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-light);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.about-card {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 3px solid var(--primary-cyan);
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 169, 224, 0.2);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-cyan);
}

.about-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
}

/* 团队实力区域 - 改为图文展示 */
.team {
  padding: 100px 0;
  background: white;
}

.section-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.team-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 169, 224, 0.2);
}

.team-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-content {
  padding: 30px;
}

.team-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-cyan);
}

.team-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light);
}

/* 核心优势区域 - 使用品牌配色 */
.advantages {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark-blue) 0%, #2a3f54 100%);
  color: white;
}

.section-title-white {
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
  color: white;
  font-weight: 300;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title-white::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-red));
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.advantage-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  border-left: 3px solid var(--primary-cyan);
}

.advantage-item:hover {
  background: rgba(0, 169, 224, 0.2);
  transform: translateY(-5px);
  border-left-color: var(--primary-red);
}

.advantage-number {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.advantage-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: white;
}

.advantage-item p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.9;
}

/* 发展历程区域 */
.history {
  padding: 100px 0;
  background: white;
}

.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: center;
}

.history-content.reverse {
  direction: rtl;
}

.history-content.reverse > * {
  direction: ltr;
}

.history-text p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 20px;
}

.history-text strong {
  color: var(--primary-cyan);
  font-weight: 600;
}

.history-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.history-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* 服务范围区域 - 使用专业SVG图标和品牌配色 */
.services {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark-blue) 0%, #2a3f54 100%);
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  border-top: 3px solid var(--primary-cyan);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-top-color: var(--primary-red);
}

.service-icon {
  margin-bottom: 20px;
  color: var(--primary-cyan);
  transition: color 0.3s;
}

.service-card:hover .service-icon {
  color: var(--primary-red);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: white;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  font-size: 14px;
  line-height: 2;
  opacity: 0.9;
  padding-left: 20px;
  position: relative;
}

.service-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-cyan);
}

/* 合作伙伴区域 */
.partners {
  padding: 100px 0;
  background: var(--light-gray);
  overflow: hidden;
}

.partners-scroll {
  margin-top: 60px;
}

.partners-row {
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
}

.partners-row:last-child {
  margin-bottom: 0;
}

.partners-track {
  display: flex;
  gap: 40px;
  width: max-content;
}

.scroll-right .partners-track {
  animation: scroll-right 40s linear infinite;
}

.scroll-left .partners-track {
  animation: scroll-left 40s linear infinite;
}

.partners-row:hover .partners-track {
  animation-play-state: paused;
}

.partner-logo {
  flex-shrink: 0;
  width: 180px;
  height: 100px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  border: 2px solid transparent;
}

.partner-logo:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 169, 224, 0.3);
  z-index: 10;
  border-color: var(--primary-cyan);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

@keyframes scroll-right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* 联系我们区域 */
.contact {
  padding: 100px 0;
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--light-gray);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--primary-cyan);
}

.contact-form h3 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-cyan);
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-card {
  background: var(--light-gray);
  padding: 25px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  text-align: center;
  border-left: 3px solid var(--primary-cyan);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 169, 224, 0.2);
}

.info-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.info-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.info-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* 页脚样式 */
.footer {
  background: var(--dark-blue);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: white;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--primary-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  opacity: 0.7;
}
.footer-bottom a{color: #f5f7fa;}
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-cyan);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-red);
  transform: translateY(-5px);
}
