@charset "UTF-8";

:root {
  --primary-color: #FFB6C1;
  --primary-dark: #FF69B4;
  --secondary-color: #98FB98;
  --accent-color: #DDA0DD;
  --bg-color: #FFF9FB;
  --text-color: #5D4E6D;
  --text-light: #8B7E9B;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(255, 182, 193, 0.3);
  --shadow-hover: 0 8px 30px rgba(255, 105, 180, 0.4);
  --border-radius: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* 导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(255, 182, 193, 0.2);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(255, 182, 193, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: var(--shadow);
}

.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  font-size: 16px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--primary-dark);
}

.download-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white !important;
  padding: 12px 28px !important;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.download-btn::after {
  display: none !important;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 105, 180, 0.5);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* 轮播图区域 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #FFF0F5 0%, #FFF9FB 50%, #F0FFF0 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.decoration {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.decoration-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.decoration-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  animation-delay: 2s;
}

.decoration-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  top: 40%;
  right: 10%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1200px;
  padding: 120px 30px 60px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-light);
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(255, 105, 180, 0.4);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 105, 180, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--primary-dark);
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-4px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 轮播图 */
.carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 60px auto 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(255, 105, 180, 0.3),
    0 0 0 4px rgba(255, 255, 255, 0.1),
    inset 0 0 100px rgba(255, 182, 193, 0.1);
  animation: fadeInUp 1s ease-out 0.6s both;
  background: linear-gradient(135deg, #FFF0F5 0%, #FFE4EC 50%, #FFF5F7 100%);
}

.carousel::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-dark), var(--accent-color));
  background-size: 400% 400%;
  border-radius: 32px;
  z-index: -1;
  animation: gradientBorder 4s ease infinite;
}

@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.carousel-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(0, 0, 0, 0.05);
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item:hover img {
  transform: scale(1.02);
}

.carousel-nav {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 20px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.carousel-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.carousel-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.6);
}

.carousel-dot.active::after {
  transform: translate(-50%, -50%) scale(1);
}

.carousel-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.carousel-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 25px;
  pointer-events: none;
  z-index: 10;
}

.carousel-arrow {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 30px rgba(255, 105, 180, 0.3),
    0 0 0 1px rgba(255, 105, 180, 0.1);
}

.carousel-arrow:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  transform: scale(1.1) translateY(-50%);
  box-shadow: 
    0 12px 40px rgba(255, 105, 180, 0.5),
    0 0 0 4px rgba(255, 182, 193, 0.3);
}

.carousel-arrow:hover svg {
  fill: white;
}

.carousel-arrow svg {
  width: 28px;
  height: 28px;
  fill: var(--primary-dark);
  transition: fill 0.3s ease;
}

/* 功能特性区 */
.features {
  padding: 100px 30px;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 8px 25px rgba(255, 182, 193, 0.4);
}

.feature-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 15px;
}

.feature-desc {
  color: var(--text-light);
  line-height: 1.9;
}

/* 下载区 */
.download-section {
  padding: 100px 30px;
  background: linear-gradient(135deg, #FFF0F5 0%, #F0FFF0 100%);
  text-align: center;
}

.download-content {
  max-width: 800px;
  margin: 0 auto;
}

.qrcode-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.qrcode-item {
  text-align: center;
}

.qrcode-box {
  width: 180px;
  height: 180px;
  background: white;
  border-radius: var(--border-radius);
  padding: 15px;
  box-shadow: var(--shadow);
  margin-bottom: 15px;
  transition: var(--transition);
}

.qrcode-box:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.qrcode-box img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.qrcode-label {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
}

.qrcode-hint {
  font-size: 14px;
  color: var(--text-light);
}

.download-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.download-link {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 15px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.download-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.download-link-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.download-link-text {
  text-align: left;
}

.download-link-title {
  font-weight: 600;
  color: var(--text-color);
}

.download-link-desc {
  font-size: 12px;
  color: var(--text-light);
}

/* 评价区 */
.testimonials {
  padding: 100px 30px;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 35px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.testimonial-quote {
  font-size: 50px;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 25px;
}

.testimonial-text {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.9;
  margin-bottom: 20px;
  padding-top: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.author-name {
  font-weight: 600;
  color: var(--text-color);
}

.author-role {
  font-size: 14px;
  color: var(--text-light);
}

/* 用户评价轮播 */
.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 15px;
}

.testimonial-slide .testimonial-card {
  background: linear-gradient(135deg, #FFF5F7 0%, #F8F0FF 100%);
  border-radius: 25px;
  padding: 45px 40px;
  position: relative;
  box-shadow: 0 10px 40px rgba(255, 182, 193, 0.2);
  border: 2px solid rgba(255, 182, 193, 0.2);
}

.testimonial-slide .testimonial-card::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 0 0 15px 15px;
  opacity: 0.8;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.testimonial-arrow {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.testimonial-arrow:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(255, 105, 180, 0.5);
}

.testimonial-arrow svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.testimonial-dots {
  display: flex;
  gap: 12px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E0E0E0;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  transform: scale(1.2);
}

.testimonial-dot:hover:not(.active) {
  background: #CCCCCC;
}

@media (max-width: 768px) {
  .carousel {
    max-width: 100%;
    margin: 40px 15px 0;
    border-radius: 20px;
  }

  .carousel::before {
    border-radius: 22px;
  }

  .carousel-inner {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .carousel-nav {
    bottom: 15px;
    padding: 8px 15px;
    gap: 10px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }

  .carousel-arrow {
    width: 45px;
    height: 45px;
    padding: 0 15px;
  }

  .carousel-arrow svg {
    width: 22px;
    height: 22px;
  }

  .testimonial-slide .testimonial-card {
    padding: 35px 25px;
    border-radius: 20px;
  }
  
  .testimonial-nav {
    margin-top: 30px;
  }
  
  .testimonial-arrow {
    width: 45px;
    height: 45px;
  }
}

/* 底部 */
.footer {
  background: linear-gradient(135deg, #5D4E6D 0%, #8B7E9B 100%);
  color: white;
  padding: 60px 30px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-desc {
  opacity: 0.8;
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  color: white;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 20px;
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 14px;
}

.footer-bottom a {
  color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 25px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero {
    min-height: auto;
    padding-bottom: 50px;
  }

  .hero-content {
    padding-top: 100px;
  }

  .carousel {
    margin-top: 30px;
    max-width: 100%;
  }

  .carousel-inner {
    aspect-ratio: 4 / 3;
  }

  .features,
  .download-section,
  .testimonials {
    padding: 70px 20px;
  }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .qrcode-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .download-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 12px 20px;
  }

  .logo {
    font-size: 20px;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 15px 30px;
    font-size: 16px;
  }

  .feature-card {
    padding: 30px 20px;
  }

  .feature-icon {
    width: 65px;
    height: 65px;
    font-size: 28px;
  }

  .qrcode-box {
    width: 150px;
    height: 150px;
  }
}

/* 动画类 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
