/* 全局样式 */
:root {
  --primary-color: #ff0066;
  --secondary-color: #9900ff;
  --accent-color: #ff6600;
  --text-color: #333333;
  --light-color: #ffffff;
  --dark-color: #222222;
  --gradient: linear-gradient(135deg, var(--secondary-color), var(--primary-color), var(--accent-color));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  background-color: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

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

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
}

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

.logo h1 {
  font-size: 1.5rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

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

.mobile-menu {
  display: none;
  cursor: pointer;
}

/* 英雄区 */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--dark-color);
  color: var(--light-color);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(153, 0, 255, 0.2), rgba(255, 0, 102, 0.2), rgba(255, 102, 0, 0.2));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gradient);
  color: var(--light-color);
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 0, 102, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 0, 102, 0.4);
  color: var(--light-color);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--gradient);
  color: var(--light-color);
  border-color: transparent;
}

/* 特性部分 */
.features {
  padding: 100px 0;
  background-color: var(--light-color);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--gradient);
}

.section-title p {
  color: #777;
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
  z-index: 2;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--light-color);
  font-size: 30px;
}

.feature-content {
  padding: 30px;
}

.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.feature-content p {
  color: #777;
  margin-bottom: 20px;
}

/* 下载部分 */
.download {
  padding: 100px 0;
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(153, 0, 255, 0.1), rgba(255, 0, 102, 0.1));
  z-index: 1;
}

.download::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 0, 102, 0.1));
  z-index: 1;
}

.download .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.download-content {
  flex: 1;
  min-width: 300px;
  padding-right: 50px;
}

.download-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.download-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.store-badges {
  display: flex;
  margin-top: 30px;
  gap: 15px;
}

.store-badge {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--dark-color);
  color: var(--light-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.store-badge i {
  font-size: 24px;
  margin-right: 10px;
}

.store-badge span {
  font-size: 0.8rem;
  display: block;
  line-height: 1;
}

.store-badge strong {
  font-size: 1.1rem;
  display: block;
}

/* 关于我们 */
.about {
  padding: 100px 0;
  background-color: var(--light-color);
}

.about .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-content {
  flex: 1;
  min-width: 300px;
  padding-right: 50px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 3px;
  background: var(--gradient);
}

.about-content p {
  margin-bottom: 20px;
  color: #777;
}

/* 页脚 */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 70px 0 20px;
}

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

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient);
}

.footer-column p {
  margin-bottom: 15px;
  opacity: 0.8;
  font-size: 0.9rem;
}

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

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

.footer-links a {
  color: var(--light-color);
  opacity: 0.8;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gradient);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-image {
    width: 45%;
  }
  
  .download-content, .about-content {
    padding-right: 0;
    margin-bottom: 50px;
  }
  
  .download .container, .about .container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    padding: 15px;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero {
    text-align: center;
    padding-top: 80px;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-image {
    display: none;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .store-badges {
    flex-direction: column;
  }
  
  .feature-card {
    margin-bottom: 30px;
  }
}

/* 演示部分 */
.demo {
  padding: 100px 0;
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.demo-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.demo-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.demo-text {
  flex: 1;
  min-width: 300px;
}

.phone-mockup {
  background: var(--dark-color);
  border-radius: 30px;
  padding: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  border: 8px solid #333;
  height: 550px;
  overflow: hidden;
}

.phone-screen {
  background: #f5f5f5;
  border-radius: 15px;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.chat-demo {
  padding: 15px;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.chat-message {
  margin-bottom: 15px;
  max-width: 80%;
  padding: 12px 15px;
  border-radius: 18px;
  position: relative;
  animation: fadeIn 0.5s ease forwards;
}

.chat-message.user {
  align-self: flex-end;
  background: var(--gradient);
  color: white;
  border-bottom-right-radius: 5px;
}

.chat-message.ai {
  align-self: flex-start;
  background: #e9e9e9;
  color: var(--dark-color);
  border-bottom-left-radius: 5px;
}

.demo-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.demo-text p {
  margin-bottom: 20px;
  color: #555;
}

.demo-text ul {
  list-style: none;
  margin-bottom: 30px;
}

.demo-text ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.demo-text ul li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

/* 用户评价 */
.testimonials {
  padding: 100px 0;
  background-color: var(--light-color);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(153, 0, 255, 0.05), transparent 60%),
               radial-gradient(circle at bottom left, rgba(255, 0, 102, 0.05), transparent 60%);
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 2;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 60px;
  color: rgba(153, 0, 255, 0.1);
  font-family: Georgia, serif;
  z-index: -1;
}

.testimonial-content {
  padding: 40px 30px 20px;
  flex-grow: 1;
}

.testimonial-content p {
  font-style: italic;
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  padding: 20px 30px;
  background: rgba(249, 249, 249, 0.5);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.author-info p {
  font-size: 0.9rem;
  color: #777;
}

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

.animate {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--secondary-color), var(--primary-color));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--primary-color), var(--accent-color));
}