/* 全局样式和重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #0066cc;
  --color-secondary: #2d3748;
  --color-accent: #4299e1;
  --color-light: #f8fafc;
  --color-dark: #1a202c;
  --color-text: #4a5568;
  --color-text-light: #a0aec0;
  --color-background: #ffffff;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --transition: all 0.3s ease;
  --border-radius: 0.375rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.5;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

.section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 100px 0;
  }
}

.bg-white {
  background-color: var(--color-background);
}

.bg-light {
  background-color: var(--color-light);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 1rem auto 0;
}

.text-primary {
  color: var(--color-primary);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #0055b3;
}

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

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

/* 导航样式 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }
  
  .menu-toggle {
    display: none;
  }
}

.nav-desktop ul {
  display: flex;
}

.nav-desktop li {
  margin-left: 2rem;
}

.nav-desktop a {
  color: var(--color-text);
}

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

.menu-toggle {
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  background-color: white;
  box-shadow: var(--shadow);
}

.nav-mobile.active {
  display: block;
}

.nav-mobile ul {
  padding: 1rem 0;
}

.nav-mobile li {
  padding: 0.5rem 0;
}

.nav-mobile a {
  display: block;
  padding: 0.5rem 1.5rem;
  color: var(--color-text);
}

.nav-mobile a:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
}

/* Hero 部分 */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(to right, #f0f5ff, #f0f5ff);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.hero p {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  display: none;
}

@media (min-width: 768px) {
  .hero-image {
    display: block;
  }
}

.hero-image-box {
  height: 400px;
  width: 100%;
  background: linear-gradient(to right, #4299e1, #667eea);
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.hero-image-patterns {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.hero-image-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-text span {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: -1;
}

.hero-decoration-1 {
  bottom: -100px;
  right: -50px;
  width: 300px;
  height: 300px;
  background-color: rgba(99, 102, 241, 0.15);
}

.hero-decoration-2 {
  top: 100px;
  left: -100px;
  width: 200px;
  height: 200px;
  background-color: rgba(66, 153, 225, 0.15);
}

/* 关于我们部分 */
.about-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.about-intro p {
  font-size: 1.125rem;
}

.values-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background-color: var(--color-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(0, 102, 204, 0.1);
  margin: 0 auto 1.5rem;
}

.value-icon i {
  font-size: 2rem;
  color: var(--color-primary);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

/* 服务部分 */
.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-icon {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 2.5rem;
  color: var(--color-primary);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.services-cta {
  margin-top: 4rem;
  text-align: center;
}

.services-cta p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* 团队部分 */
.team-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.team-intro p {
  font-size: 1.125rem;
}

.team-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  background-color: var(--color-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.team-avatar {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar span {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.bg-gradient-blue {
  background: linear-gradient(to right, #4299e1, #667eea);
}

.bg-gradient-cyan {
  background: linear-gradient(to right, #38b2ac, #4299e1);
}

.bg-gradient-indigo {
  background: linear-gradient(to right, #667eea, #9f7aea);
}

.bg-gradient-purple {
  background: linear-gradient(to right, #9f7aea, #ed64a6);
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.team-position {
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.team-social {
  display: flex;
  gap: 0.75rem;
}

.team-social a {
  color: var(--color-text-light);
}

.team-social a:hover {
  color: var(--color-primary);
}

.team-cta {
  margin-top: 3rem;
  text-align: center;
}

.team-cta p {
  font-size: 1.125rem;
}

/* 联系部分 */
.contact-container {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius);
  background-color: rgba(0, 102, 204, 0.1);
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.contact-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.contact-form-container {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-success {
  background-color: rgba(72, 187, 120, 0.1);
  color: #2f855a;
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  display: none;
}

.form-success.active {
  display: block;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: inherit;
  color: var(--color-text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-submit i {
  margin-left: 0.5rem;
}

/* 页脚 */
.footer {
  background-color: var(--color-secondary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--color-text-light);
  font-size: 1.25rem;
}

.footer-social a:hover {
  color: white;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-links a:hover {
  color: white;
}

.footer-contact p {
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--color-text-light);
}

.icp {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

/* 动画 */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 添加法律页面相关样式 */
.page-header {
  background-color: var(--color-primary);
  color: white;
  padding: 80px 0 40px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1rem;
  opacity: 0.9;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.legal-section p {
  margin-bottom: 1rem;
}

.legal-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-type: disc;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-section strong {
  font-weight: 600;
}

@media (max-width: 768px) {
  .page-header {
    padding: 60px 0 30px;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .legal-content {
    padding: 0 1rem;
  }
} 