/* Base Styles & Reset */
:root {
  --primary-color: #7c3aed;
  --secondary-color: #3a0ca3;
  --accent-color: #f72585;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --bg-color: #ffffff;
  --bg-dark: #111827;
  --bg-light: #f9fafb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

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

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

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

.logo-text {
  fill: var(--primary-color);
  font-size: 24px;
  font-weight: bold;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  font-weight: 500;
}

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

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* Main Sections */
main {
  padding-top: 80px;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}

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

.hero-content {
  width: 50%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--bg-dark);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
  color: white;
}

.hero-visual {
  width: 45%;
}

.hero-svg {
  width: 100%;
  height: auto;
}

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

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

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

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

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.feature-card h3 {
  font-size: 1.3rem;
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
}

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

.steps {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.step {
  flex: 1;
  text-align: center;
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  position: relative;
}

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

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

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

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

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

.faq-item {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.testimonials-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 2rem;
  padding: 1rem;
}

.testimonial {
  flex: 0 0 auto;
  width: calc(33.333% - 1.33rem);
  scroll-snap-align: start;
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.testimonial p {
  font-style: italic;
  position: relative;
}

.testimonial-author {
  font-weight: bold;
  text-align: right;
  color: var(--primary-color);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  max-width: 200px;
}

.footer-logo-svg {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-logo-text {
  fill: white;
  font-size: 24px;
  font-weight: bold;
}

.footer-logo p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0;
}

.footer-favicon {
  display: flex;
  align-items: center;
}

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

/* Mobile Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content,
  .hero-visual {
    width: 100%;
  }
  
  .hero-content {
    margin-bottom: 3rem;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .testimonial {
    width: calc(50% - 1rem);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-logo {
    grid-column: span 2;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links li {
    margin: 1rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial {
    width: 100%;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-logo {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-favicon {
    margin-top: 1rem;
    justify-content: center;
  }
}
