/* 全局样式 */
:root {
  --primary-color: #4a6bdf;
  --primary-dark: #3a59c7;
  --primary-light: #f0f4ff;
  --primary-ultra-light: #f8f9ff;
  --secondary-color: #4cd964;
  --text-dark: #2c3e50;
  --text-medium: #555;
  --text-light: #777;
  --background-light: #f5f7fa;
  --white: #ffffff;
  --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 20px;
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
  background-color: var(--background-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width 0.4s ease;
  z-index: -1;
}

.btn:hover:before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 6px rgba(74, 107, 223, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(74, 107, 223, 0.3);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 15px;
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(74, 107, 223, 0.1);
}

/* 头部导航 */
.main-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 20px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
}

.main-header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo img {
  margin-right: 12px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  padding: 5px;
  transition: transform var(--transition-fast);
}

.logo:hover img {
  transform: rotate(10deg);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 35px;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  font-size: 16px;
  letter-spacing: 0.3px;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--white);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-links a:hover:after {
  width: 100%;
}

.mobile-menu-button {
  display: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-menu-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 英雄区域 */
.hero {
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
  line-height: 1.2;
}

.tagline {
  font-size: 20px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-description {
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 600px;
}

.cta-buttons {
  margin-top: 20px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 截图占位符样式 */
.screenshot-placeholder,
.feature-image-placeholder,
.preview-image-placeholder,
.scenario-image-placeholder,
.update-image-placeholder,
.qrcode-placeholder,
.author-avatar-placeholder {
  background-color: #e9ecf3;
  border: 2px dashed #b0bfd8;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  color: #6e84b2;
}

.screenshot-placeholder {
  width: 100%;
  height: 500px;
}

.feature-image-placeholder {
  width: 100%;
  height: 200px;
  margin-top: 20px;
}

.preview-image-placeholder {
  width: 300px;
  height: 600px;
  /* 优化长图显示 */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scenario-image-placeholder {
  width: 100%;
  height: 250px;
  margin-top: 15px;
}

.update-image-placeholder {
  width: 100%;
  height: 180px;
  margin-top: 15px;
}

.qrcode-placeholder {
  width: 200px;
  height: 200px;
}

.author-avatar-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.placeholder-text {
  font-weight: 500;
  margin-bottom: 10px;
}

.placeholder-dimensions {
  font-size: 12px;
  opacity: 0.7;
}

/* 部分样式 */
.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #333;
  position: relative;
  padding-bottom: 15px;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: #4a6bdf;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* 功能部分 */
.features-section {
  padding: 100px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.features-section:before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74, 107, 223, 0.05) 0%, rgba(74, 107, 223, 0) 70%);
  border-radius: 50%;
  bottom: -200px;
  right: -200px;
}

.features-section:after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(74, 107, 223, 0.05) 0%, rgba(74, 107, 223, 0) 70%);
  border-radius: 50%;
  top: -150px;
  left: -150px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  position: relative;
  z-index: 2;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 20px 15px;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.feature-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transition: height 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover:before {
  height: 100%;
}

.feature-icon {
  font-size: 45px;
  color: var(--primary-color);
  margin-bottom: 25px;
  transition: all var(--transition-fast);
  display: inline-block;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  color: var(--primary-dark);
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 12px;
}

.feature-title:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--primary-light);
  bottom: 0;
  left: 0;
  transition: width var(--transition-fast);
}

.feature-card:hover .feature-title:after {
  width: 60px;
  background-color: var(--primary-color);
}

.feature-list {
  list-style-type: none;
  margin-bottom: 20px;
}

.feature-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
  color: var(--text-medium);
  transition: transform var(--transition-fast);
}

.feature-list li:before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-list li {
  transform: translateX(5px);
}

.feature-card:hover .feature-list li:before {
  transform: scale(1.2);
}

/* 应用预览部分 */
.app-preview-section {
  padding: 80px 0;
  background-color: #f0f4ff;
  position: relative;
  overflow: hidden;
}

.app-preview-section:before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(74, 107, 223, 0.1);
  border-radius: 50%;
  top: -100px;
  left: -100px;
  z-index: 0;
}

.preview-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.preview-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.preview-image:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 35px rgba(74, 107, 223, 0.25);
}

/* 场景部分 */
.scenarios-section {
  padding: 100px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.scenarios-section:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--primary-light) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
  z-index: 0;
}

.scenarios-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.scenario-item {
  display: flex;
  margin-bottom: 60px;
  position: relative;
  transition: all var(--transition-fast);
}

.scenario-item:last-child {
  margin-bottom: 0;
}

.scenario-item:after {
  content: '';
  position: absolute;
  left: 25px;
  top: 60px;
  bottom: -60px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-light), transparent);
  z-index: -1;
}

.scenario-item:last-child:after {
  display: none;
}

.scenario-number {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-color);
  margin-right: 30px;
  background-color: var(--primary-light);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(74, 107, 223, 0.15);
  transition: all var(--transition-smooth);
  border: 2px solid var(--white);
}

.scenario-item:hover .scenario-number {
  transform: scale(1.1);
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(74, 107, 223, 0.25);
}

.scenario-content {
  flex: 1;
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.scenario-item:hover .scenario-content {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.scenario-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.scenario-title:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--primary-light);
  bottom: 0;
  left: 0;
  transition: width var(--transition-fast);
}

.scenario-item:hover .scenario-title:after {
  width: 60px;
  background-color: var(--primary-color);
}

.scenario-description {
  margin-bottom: 20px;
  color: var(--text-medium);
  line-height: 1.8;
  font-size: 16px;
}

/* 更新部分 */
.updates-section {
  padding: 80px 0;
  background-color: #f0f4ff;
}

.updates-timeline {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.update-card {
  background-color: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.update-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #4a6bdf;
}

.update-list {
  list-style-type: none;
  margin-bottom: 20px;
}

.update-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.update-list li:before {
  content: '•';
  color: #4a6bdf;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* 下载部分 */
.download-section {
  padding: 80px 0;
  background-color: white;
}

.download-content {
  display: flex;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.qrcode-container {
  margin-right: 50px;
  text-align: center;
}

.qrcode {
  background-color: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.qrcode-caption {
  font-size: 14px;
  color: #666;
}

.download-info {
  flex: 1;
}

.download-info h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.download-benefits {
  list-style-type: none;
  margin-top: 20px;
}

.download-benefits li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.download-benefits i {
  color: #4cd964;
  margin-right: 10px;
}

/* 用户评价部分 */
.testimonials-section {
  padding: 100px 0;
  background-color: #f8f9ff;
  position: relative;
}

.testimonials-section:after {
  content: '"';
  position: absolute;
  font-size: 300px;
  color: rgba(74, 107, 223, 0.05);
  font-family: Georgia, serif;
  top: 50px;
  right: 10%;
  line-height: 0;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background-color: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 60px;
  color: rgba(74, 107, 223, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: -1;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(74, 107, 223, 0.15);
}

.testimonial-content {
  margin-bottom: 25px;
  font-style: italic;
  color: #444;
  font-size: 16px;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
}

.author-avatar {
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-info {
  margin-left: 15px;
}

.author-name {
  font-weight: 700;
  color: #333;
  font-size: 18px;
}

.author-title {
  font-size: 14px;
  color: #4a6bdf;
  margin-top: 3px;
}

/* 页脚 */
.main-footer {
  background-color: #2c3e50;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-logo img {
  margin-right: 10px;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-column h3 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #ecf0f1;
}

.footer-column ul {
  list-style-type: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #bdc3c7;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #95a5a6;
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .hero-description {
    margin: 0 auto 30px;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .download-content {
    flex-direction: column;
    text-align: center;
  }
  
  .qrcode-container {
    margin-right: 0;
    margin-bottom: 30px;
  }
  
  .preview-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 0 20px;
  }
  
  .testimonials-slider {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .main-header {
    padding: 15px 0;
  }
  
  .main-nav {
    position: relative;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #4a6bdf;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 100;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-links li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }
  
  .mobile-menu-button {
    display: block;
    font-size: 24px;
    cursor: pointer;
    z-index: 101;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .tagline {
    font-size: 18px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .scenario-item {
    flex-direction: column;
  }
  
  .scenario-number {
    margin-bottom: 15px;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .feature-card,
  .testimonial-card,
  .update-card {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }
  
  .nav-links li {
    margin: 8px 0;
  }
  
  .cta-buttons .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 12px 16px;
  }
  
  .btn-secondary {
    margin-left: 0;
  }
  
  .preview-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
  
  .hero-feature-item {
    padding: 5px;
    margin: 0 5px;
  }
  
  .feature-icon {
    font-size: 24px;
  }
  
  .feature-title {
    font-size: 16px;
    margin-top: 3px;
  }
  
  .scenario-title {
    font-size: 20px;
  }
  
  .update-title {
    font-size: 16px;
  }
  
  .download-info h3 {
    font-size: 20px;
  }
  
  .testimonial-content {
    font-size: 15px;
  }
}