:root {
  --primary-color: #4A148C;
  --secondary-color: #8E24AA;
  --accent-color: #CE93D8;
  --light-color: #F3E5F5;
  --white-color: #FFFFFF;
  --dark-color: #2C0D54;
  --grey-color: #EEEEEE;
  --gradient: linear-gradient(135deg, #4A148C, #8E24AA);
  --shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--light-color);
}

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

/* Header Styles */
.header {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white-color);
}

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

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
}

.nav-desktop {
  display: flex;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-desktop a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
}

.nav-desktop a:hover {
  color: var(--white-color);
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
}

/* Hero Section */
.hero {
  background-image: var(--gradient);
  color: var(--white-color);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

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

.btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white-color);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.25);
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--white-color);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 0.8rem auto 0;
}

.section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-box {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--secondary-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
}

.feature-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-box p {
  color: #666;
}

/* Process Section */
.process {
  padding: 5rem 0;
  background-color: var(--grey-color);
}

.process-container {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

.process-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.process-item:last-child {
  margin-bottom: 0;
}

.process-number {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.process-content {
  flex: 1;
  background-color: var(--white-color);
  padding: 2rem;
  padding-left: 3rem;
  margin-left: -40px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  box-shadow: var(--shadow);
}

.process-item:nth-child(even) {
  flex-direction: row-reverse;
}

.process-item:nth-child(even) .process-content {
  margin-left: 0;
  margin-right: -40px;
  padding-left: 2rem;
  padding-right: 3rem;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.process-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-image: var(--gradient);
  color: var(--white-color);
  text-align: center;
}

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

.cta p {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: var(--white-color);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid #E0E0E0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  color: var(--primary-color);
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.faq-icon::before {
  width: 20px;
  height: 2px;
  top: 9px;
  left: 0;
}

.faq-icon::after {
  width: 2px;
  height: 20px;
  left: 9px;
  top: 0;
}

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

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

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 4rem 0 1rem;
}

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

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

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

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

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

.footer-links a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white-color);
  transform: translateX(5px);
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .process-item, 
  .process-item:nth-child(even) {
    flex-direction: column;
  }
  
  .process-number {
    margin-bottom: -40px;
  }
  
  .process-content,
  .process-item:nth-child(even) .process-content {
    margin-left: 0;
    margin-right: 0;
    padding: 3rem 1.5rem 1.5rem;
    border-radius: var(--border-radius);
  }
  
  .footer-grid {
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  
  .nav-mobile.show {
    display: block;
  }
  
  .nav-mobile ul {
    list-style: none;
  }
  
  .nav-mobile li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-mobile li:last-child {
    border-bottom: none;
  }
  
  .nav-mobile a {
    color: var(--accent-color);
    text-decoration: none;
    padding: 1rem 2rem;
    display: block;
  }
  
  .nav-mobile a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
  }
}

@media screen and (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}
