@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* 全新配色方案，完全不同于之前的橙紫色 */
  --primary: #00A8E1;        /* 亮蓝色 */
  --primary-light: #6CDDFF;
  --primary-dark: #0082AE;
  --secondary: #FF5722;      /* 橙红色 */
  --secondary-light: #FF8A65;
  --secondary-dark: #E64A19;
  --accent: #4CAF50;         /* 绿色强调 */
  
  /* 背景色 */
  --bg-main: #f7fbfc;
  --bg-alt: #e0f7fa;
  --bg-card: #ffffff;
  
  /* 文字色 */
  --text-primary: #263238;
  --text-secondary: #607D8B;
  --text-light: #90A4AE;
  --text-white: #ffffff;
  
  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 168, 225, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 168, 225, 0.15);
  --shadow-lg: 0 10px 30px rgba(0, 168, 225, 0.2);
  --shadow-hover: 0 15px 40px rgba(0, 168, 225, 0.25);
  
  /* 圆角 */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 20px;
  --radius-circle: 50%;
  
  /* 过渡 */
  --transition: 0.3s ease-in-out;
  
  /* 尺寸 */
  --container-width: 1200px;
  --header-height: 80px;
}

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

body {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 容器 */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* 标题 */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
  color: var(--text-primary);
}

section {
  padding: 80px 0;
  position: relative;
}

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

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* 头部样式 */
.header {
  background-color: var(--bg-card);
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width var(--transition);
  border-radius: 10px;
}

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

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

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

/* 英雄区域 */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-main) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 60%);
  opacity: 0.3;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
  opacity: 0.2;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 10;
}

.hero-text {
  flex: 1 1 450px;
}

.hero-image {
  flex: 0 1 400px;
  display: flex;
  justify-content: center;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary-dark), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.hero-svg {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 10px 20px rgba(0, 168, 225, 0.25));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 87, 34, 0.3);
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* 特性区域 */
.features {
  background-color: var(--bg-main);
  padding: 80px 0;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.feature-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 工作流程 */
.workflow {
  background-color: var(--bg-alt);
  padding: 80px 0;
  position: relative;
}

.workflow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300a8e1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  position: relative;
}

.step {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
  text-align: center;
}

.step:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
}

.step-icon {
  width: 60px;
  height: 60px;
  margin: 1rem auto 1.5rem;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.step-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ 部分 */
.faq {
  background-color: var(--bg-main);
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  background-color: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.5rem;
  color: var(--text-primary);
  background-color: var(--bg-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
}

.faq-question.active {
  color: var(--primary);
  background-color: rgba(0, 168, 225, 0.05);
}

.faq-question.active::after {
  content: "-";
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition);
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-answer.active {
  padding: 0 1.5rem 1.5rem;
  max-height: 1000px;
}

/* 评价部分 */
.testimonials {
  background-color: var(--bg-alt);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-secondary);
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: -10px;
  top: -30px;
  color: var(--primary-light);
  opacity: 0.2;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-circle);
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.testimonial-avatar span {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

.testimonial-name {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* CTA 部分 */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 80px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.btn-cta:hover {
  background-color: transparent;
  color: white;
}

/* 页脚 */
.footer {
  background-color: var(--text-primary);
  color: var(--bg-main);
  padding: 60px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

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

.footer-section {
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-text {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition);
  display: block;
  position: relative;
  padding-left: 15px;
}

.footer-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1;
}

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

.footer-contact p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary);
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

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

/* 响应式设计 */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 70%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-card);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: right var(--transition);
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .feature-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .btn-lg {
    padding: 12px 30px;
  }
}

/* 添加动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fadeIn {
  animation: fadeIn 1s ease-out forwards;
}

/* 延迟加载动画 */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
