:root {
  --primary-color: #FF5B94;
  --secondary-color: #8441A4;
  --accent-color: #FFB400;
  --text-color: #333333;
  --light-text: #FFFFFF;
  --dark-text: #1A1A1A;
  --light-bg: #F9F0F8;
  --dark-bg: #2D1832;
  --card-bg: #FFFFFF;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --shadow: 0 5px 20px rgba(132, 65, 164, 0.2);
  --border-radius: 8px;
  --font-main: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

body {
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
}

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

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

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

ul {
  list-style: none;
}

.btn {
  display: inline-block;
  background: var(--gradient);
  color: var(--light-text);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 91, 148, 0.3);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 91, 148, 0.4);
  color: var(--light-text);
}

/* Header Styles */
.header {
  background-color: var(--dark-bg);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo-icon {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-text);
  letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: var(--light-text);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--light-bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.2));
}

/* Features Section */
.features {
  padding: 6rem 0 3rem;
  background-color: var(--light-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  position: relative;
  font-size: 2.2rem;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

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

.feature-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
}

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

.feature-icon {
  background: var(--gradient);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--light-text);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.feature-card p {
  color: var(--text-color);
  font-size: 1rem;
}

/* How it Works */
.how-it-works {
  padding: 5rem 0;
  background-color: var(--dark-bg);
  color: var(--light-text);
}

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

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-bg);
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.step p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: linear-gradient(rgba(132, 65, 164, 0.9), rgba(255, 91, 148, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23FFFFFF" opacity="0.05"/></svg>');
  background-size: cover;
  color: var(--light-text);
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cta .btn {
  background: var(--accent-color);
  padding: 15px 35px;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(255, 180, 0, 0.3);
}

.cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 180, 0, 0.4);
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background-color: var(--light-bg);
}

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

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

.faq-question {
  padding: 1.2rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding-bottom: 1.2rem;
  max-height: 300px;
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-logo svg {
  width: 100px;
  margin-bottom: 1rem;
}

.footer-info p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

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

.footer-links ul li a {
  color: var(--light-text);
  opacity: 0.8;
}

.footer-links ul li a:hover {
  opacity: 1;
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero p {
    margin: 0 auto 2rem;
  }
  
  .hero-image {
    justify-content: center;
    order: -1;
  }
  
  .hero-image svg {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .hero {
    padding: 7rem 0 4rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .btn {
    padding: 10px 25px;
  }
}
