/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* CSS Reset & Global Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color variables - modern red/blue scheme */
  --primary: #4361EE;
  --secondary: #FF6B6B;
  --accent: #06D6A0;
  --dark: #001233;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  --shadow: 0 10px 20px rgba(67, 97, 238, 0.15);
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

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

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

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

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

.section-padding {
  padding: 6rem 0;
}

@media (max-width: 992px) {
  .section-padding {
    padding: 4rem 0;
  }
}

.text-center {
  text-align: center;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(93, 63, 211, 0.3);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
}

.btn-accent:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
}

.logo img {
  margin-right: 0.75rem;
  height: 2rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-link {
  margin: 0 1rem;
  font-weight: 500;
  position: relative;
  color: var(--dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  margin-left: 1.5rem;
}

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

@media (max-width: 992px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    width: 100%;
    height: calc(100vh - 70px);
    padding-top: 2rem;
    transition: 0.4s;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    margin: 1rem 0;
    font-size: 1.2rem;
  }
  
  .nav-btn {
    margin: 2rem 0 0;
  }
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #5D3FD3 20%, #4158D0 50%, #00B4DB 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='20' cy='20' r='2' fill='%23FFFFFF' fill-opacity='0.1' /%3E%3Ccircle cx='60' cy='60' r='2' fill='%23FFFFFF' fill-opacity='0.1' /%3E%3Ccircle cx='80' cy='40' r='2' fill='%23FFFFFF' fill-opacity='0.1' /%3E%3Ccircle cx='40' cy='80' r='2' fill='%23FFFFFF' fill-opacity='0.1' /%3E%3C/svg%3E");
  background-size: 100px 100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--white);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  text-align: right;
  position: relative;
}

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

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-image {
    text-align: center;
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
}

/* Features Section */
.features {
  position: relative;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

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

.section-title p {
  max-width: 600px;
  margin: 1.5rem auto 0;
  color: #777;
}

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

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

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(93, 63, 211, 0.15);
}

.feature-icon {
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--gradient);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  fill: white;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-text {
  color: #666;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--light);
  position: relative;
}

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

.step {
  position: relative;
  background-color: var(--white);
  border-radius: 20px;
  padding: 3rem 1.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.step-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
}

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

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
  position: relative;
}

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

.testimonial-card {
  background: var(--light);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(93, 63, 211, 0.15);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #444;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 3rem;
  color: rgba(93, 63, 211, 0.1);
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info {
  margin-left: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--dark);
}

.author-role {
  font-size: 0.9rem;
  color: #777;
}

/* FAQ Section */
.faq {
  background-color: var(--light);
  position: relative;
}

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

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
  margin: 0;
}

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

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

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

.faq-question.active + .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
  opacity: 1;
}

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

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

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

/* Footer */
.footer {
  background-color: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 2rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif;
}

.footer-logo img {
  margin-right: 0.75rem;
  height: 2rem;
}

.footer-about {
  margin-bottom: 1.5rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--gradient);
}

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

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

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

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

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

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
