/* ========================================
   AI 奇遇 - 官网宣传页样式表
   配色：蓝绿色系（自由、冒险）
   ======================================== */

/* CSS 变量定义 */
:root {
  --primary-color: #2AA0C2;
  --secondary-color: #1DD6A1;
  --dark-color: #0F4C5C;
  --light-bg: #F0F9F8;
  --white: #FFFFFF;
  --text-dark: #333333;
  --text-light: #666666;
  --gradient-banner: linear-gradient(135deg, #2AA0C2 0%, #1DD6A1 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* ========================================
   Banner 区域
   ======================================== */
.banner {
  min-height: 600px;
  background: var(--gradient-banner);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23FFFFFF' fill-opacity='1' d='M0,32 C480,80 960,0 1440,32 L1440,60 L0,60 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
  background-size: cover;
}

.banner h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.banner .subtitle {
  font-size: 20px;
  color: var(--white);
  max-width: 600px;
  opacity: 0.95;
  margin-bottom: 40px;
}

.banner .cta-button {
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  background-color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   功能介绍区
   ======================================== */
.features {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  font-size: 36px;
  text-align: center;
  color: var(--dark-color);
  margin-bottom: 60px;
  position: relative;
}

.features h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-banner);
  margin: 20px auto 0;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.feature-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.feature-card-content {
  padding: 24px;
}

.feature-card h3 {
  font-size: 22px;
  color: var(--dark-color);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   用户评价区
   ======================================== */
.testimonials {
  padding: 80px 20px;
  background-color: var(--light-bg);
}

.testimonials h2 {
  font-size: 36px;
  text-align: center;
  color: var(--dark-color);
  margin-bottom: 60px;
  position: relative;
}

.testimonials h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-banner);
  margin: 20px auto 0;
  border-radius: 2px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-banner);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.testimonial-avatar svg {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

.testimonial-card .user-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 8px;
}

.testimonial-card .scenario-tag {
  display: inline-block;
  padding: 4px 16px;
  background: var(--light-bg);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.testimonial-card .content {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--dark-color);
  padding: 60px 20px 30px;
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .banner h1 {
    font-size: 36px;
  }

  .banner .subtitle {
    font-size: 16px;
  }

  .features h2,
  .testimonials h2 {
    font-size: 28px;
  }

  .feature-card img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .banner {
    min-height: 500px;
    padding: 60px 20px;
  }

  .banner h1 {
    font-size: 28px;
  }

  .banner .subtitle {
    font-size: 14px;
  }

  .banner .cta-button {
    padding: 14px 36px;
    font-size: 16px;
  }

  .features,
  .testimonials {
    padding: 60px 15px;
  }

  .feature-card-content {
    padding: 20px;
  }

  .testimonial-card {
    padding: 24px;
  }
}
