/* 主样式文件 */
:root {
  --primary-color: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --dark-bg: #0f172a;
  --darker-bg: #0a0f1d;
  --light-bg: #1e293b;
  --card-bg: #1e293b;
  --light-text: #f1f5f9;
  --gray-text: #94a3b8;
  --light-border: rgba(148, 163, 184, 0.1);
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* 导航栏样式 */
header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--light-border);
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.logo h1 {
  color: var(--light-text);
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--gray-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover {
  color: var(--light-text);
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* 主要内容区域 */
main {
  margin-top: 80px;
}

/* 英雄区域 */
.hero {
  padding: 180px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1) 0%, transparent 20%),
              radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.1) 0%, transparent 20%),
              linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  z-index: -1;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--light-text), var(--gray-text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-text);
  max-width: 700px;
  margin: 0 auto 40px;
  font-weight: 300;
}

/* 统计数据 */
.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--light-border);
  transition: var(--transition);
  min-width: 150px;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(59, 130, 246, 0.3);
}

.stat-item .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-light);
  display: block;
  margin-bottom: 5px;
}

.stat-item .label {
  color: var(--gray-text);
  font-size: 1rem;
  font-weight: 500;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  margin: 10px;
  border: 2px solid transparent;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

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

.btn-secondary:hover {
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.hero-buttons {
  margin-top: 40px;
}

/* 服务区域 */
#services {
  padding: 120px 0;
  background-color: var(--darker-bg);
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(139, 92, 246, 0.05) 0%, transparent 30%);
  z-index: 0;
}

#services .container {
  position: relative;
  z-index: 1;
}

#services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
}

#services h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 15px auto;
  border-radius: 2px;
}

#services .section-description {
  text-align: center;
  color: var(--gray-text);
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

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

.service-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--light-border);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: rgba(59, 130, 246, 0.3);
}

.service-card i {
  font-size: 3.5rem;
  color: var(--primary-light);
  margin-bottom: 25px;
  transition: var(--transition);
}

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

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.service-card p {
  color: var(--gray-text);
  font-size: 1rem;
  line-height: 1.7;
}

/* 团队区域 */
#team {
  padding: 120px 0;
  background-color: var(--dark-bg);
  position: relative;
}

#team::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.05) 0%, transparent 30%);
  z-index: 0;
}

#team .container {
  position: relative;
  z-index: 1;
}

#team h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
}

#team h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 15px auto;
  border-radius: 2px;
}

#team .section-description {
  text-align: center;
  color: var(--gray-text);
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

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

.team-member {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--light-border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: rgba(59, 130, 246, 0.3);
}

.member-avatar {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover .member-avatar {
  transform: scale(1.05);
}

.member-info {
  padding: 25px;
  text-align: center;
}

.member-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.member-info .position {
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 15px;
  display: block;
  font-size: 1.1rem;
}

.member-info p {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 联系区域 */
#contact {
  padding: 120px 0;
  background-color: var(--darker-bg);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.05) 0%, transparent 30%);
  z-index: 0;
}

#contact .container {
  position: relative;
  z-index: 1;
}

#contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
}

#contact h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 15px auto;
  border-radius: 2px;
}

#contact .section-description {
  text-align: center;
  color: var(--gray-text);
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 50px;
  border-radius: 16px;
  border: 1px solid var(--light-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--light-text);
}

.contact-form input,
.contact-form textarea {
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid var(--light-border);
  background-color: rgba(15, 23, 42, 0.5);
  color: var(--light-text);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form button {
  padding: 16px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

/* 页脚 */
footer {
  background-color: var(--darker-bg);
  padding: 70px 0 30px;
  border-top: 1px solid var(--light-border);
  position: relative;
}

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

.footer-info h3 {
  color: var(--light-text);
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-info p {
  color: var(--gray-text);
  line-height: 1.8;
  font-size: 1rem;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--light-text);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--gray-text);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-links a i {
  margin-right: 10px;
  width: 20px;
  color: var(--primary-light);
}

.footer-contact p {
  color: var(--gray-text);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  line-height: 1.8;
}

.footer-contact i {
  margin-right: 15px;
  color: var(--primary-light);
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--light-border);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-text);
  margin: 10px 0;
  font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 3rem;
  }
  
  .hero {
    padding: 160px 0 100px;
  }
  
  .contact-form {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .stats {
    gap: 20px;
  }
  
  .stat-item {
    min-width: 130px;
    padding: 15px;
  }
  
  .stat-item .number {
    font-size: 2rem;
  }
  
  nav {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-links {
    margin-top: 15px;
  }
  
  .nav-links li {
    margin: 0 10px;
  }
  
  main {
    margin-top: 130px;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .btn {
    display: block;
    margin: 10px auto;
    width: 80%;
    max-width: 280px;
  }
  
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  #services,
  #team,
  #contact {
    padding: 80px 0;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .stat-item {
    width: 100%;
  }
  
  #services h2,
  #team h2,
  #contact h2 {
    font-size: 2rem;
  }
}