/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #FF6B6B;
  --secondary: #4ECCA3;
  --dark: #1A1A2E;
  --light: #EEEEEE;
  --white: #FFFFFF;
  --text: #232F3E;
  --gradient: linear-gradient(135deg, var(--primary) 0%, #FF9E80 100%);
  --shadow: 0 4px 20px rgba(26, 26, 46, 0.1);
  --border-radius: 8px;
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h2.section-title {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

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

/* Header and Navigation */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.accent {
  color: var(--primary);
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary);
}

#menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Section */
#hero {
  padding: 10rem 0 6rem;
  background-color: var(--white);
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  margin-bottom: 3rem;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.highlight {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text);
  opacity: 0.9;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  border: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text);
  border: 2px solid var(--primary);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

.hero-visual {
  margin-top: 3rem;
  text-align: center;
}

.hero-graphic {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
#features {
  padding: 6rem 0;
  background-color: var(--light);
  position: relative;
}

.wave-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23EEEEEE'/%3E%3C/svg%3E");
  background-size: cover;
}

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

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

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

.feature-icon {
  margin: 0 auto 1.5rem;
}

.feature h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--dark);
}

/* How It Works Section */
#how-it-works {
  padding: 6rem 0;
  background-color: var(--white);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-content h3 {
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.process-visual {
  margin: 4rem 0;
  text-align: center;
}

.process-graphic {
  max-width: 100%;
  height: auto;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials Section */
#testimonials {
  padding: 6rem 0;
  background-color: var(--dark);
  color: var(--white);
  position: relative;
}

.wave-section-alt::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%231A1A2E'/%3E%3C/svg%3E");
  background-size: cover;
}

#testimonials .section-title {
  color: var(--white);
}

#testimonials .section-title::after {
  background: var(--secondary);
}

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

.testimonial {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
}

.testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--secondary);
}

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

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

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 1.5rem;
}

.faq-question {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  color: var(--text);
  opacity: 0.9;
}

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

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

.footer-brand p {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.footer-brand .tagline {
  font-weight: 400;
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links h3 {
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

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

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

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

.footer-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  h2.section-title {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  #menu-toggle {
    display: block;
  }
  
  #menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  
  #menu.active {
    transform: translateY(0);
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
