/* Modern CSS with Mobile-First Approach */
:root {
  --primary-color: #8A2BE2;
  --secondary-color: #FF6B6B;
  --accent-color: #4ECDC4;
  --dark-color: #2D2D2D;
  --light-color: #FFFFFF;
  --background-color: #F8F9FA;
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--background-color);
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

header {
  background: linear-gradient(135deg, var(--primary-color), #6B4CE6);
  padding: 20px 0;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

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

.logo img {
  height: 40px;
  width: auto;
}

.logo h1 {
  color: var(--light-color);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-links {
  display: none;
}

.hero {
  padding: 60px 0;
  text-align: center;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%238A2BE2" fill-opacity="0.1" d="M0,224L48,208C96,192,192,160,288,160C384,160,480,192,576,202.7C672,213,768,203,864,181.3C960,160,1056,128,1152,117.3C1248,107,1344,117,1392,122.7L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat bottom;
  background-size: 100%;
}

h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.cta-btn {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--light-color);
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.5);
}

.features {
  padding: 60px 0;
  background-color: var(--light-color);
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.feature {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background-color: var(--background-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.feature-icon {
  margin-bottom: 20px;
}

.feature h3 {
  font-family: var(--font-heading);
  margin-bottom: 15px;
  color: var(--primary-color);
}

.how-it-works {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 350px;
  margin: 0 auto;
}

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

.testimonials {
  padding: 60px 0;
  background-color: var(--light-color);
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 3rem;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 20px;
  border-radius: 10px;
  background-color: var(--background-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.faq {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.question {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.question-header {
  background-color: var(--light-color);
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question h3 {
  font-family: var(--font-heading);
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.question-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  background-color: var(--light-color);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.question.active .question-content {
  padding: 20px;
  max-height: 1000px;
}

footer {
  background-color: var(--dark-color);
  padding: 40px 0;
  color: var(--light-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 30px;
  width: auto;
}

.footer-links h4 {
  font-family: var(--font-heading);
  margin-bottom: 20px;
  color: var(--accent-color);
}

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

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

.footer-links a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.copyright {
  margin-top: 30px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
  background: none;
  border: none;
  color: var(--light-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive Design */
@media (min-width: 768px) {
  .logo h1 {
    font-size: 1.8rem;
  }
  
  .nav-links {
    display: flex;
    gap: 20px;
  }
  
  .nav-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
  }
  
  .nav-links a:hover {
    color: var(--secondary-color);
  }
  
  .menu-toggle {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    flex-direction: row;
    justify-content: center;
  }
  
  h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
