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

/* CSS Variables */
:root {
  --primary-color: #2E3192;
  --secondary-color: #1BFFFF;
  --accent-color: #00C9FF;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #FFFFFF;
  --bg-light: #F9FBFD;
  --bg-dark: #1A1A2E;
  --bg-gradient: linear-gradient(135deg, #2E3192, #1BFFFF);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  --container-padding: 1.5rem;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 80px;
  height: 4px;
  background: var(--bg-gradient);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

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

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.98);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
}

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

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

.logo a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo a:hover {
  text-decoration: none;
}

.logo svg {
  height: 32px;
  width: auto;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: transparent;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.3rem;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  padding: 0.3rem 0;
  position: relative;
  font-family: 'Montserrat', sans-serif;
}

nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--bg-gradient);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
#hero {
  background: var(--bg-gradient);
  padding-top: 10rem;
  padding-bottom: 6rem;
  color: white;
  position: relative;
  overflow: hidden;
}

#hero::before,
#hero::after {
  content: '';
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

#hero::before {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

#hero::after {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -150px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  color: var(--primary-color);
  text-decoration: none;
}

/* Features Section */
#features {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

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

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

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

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
}

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

.feature-title {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* How It Works Section */
#how-it-works {
  position: relative;
}

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

.step-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.step-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Testimonials Section */
#testimonials {
  background-color: var(--bg-light);
}

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

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent-color);
  opacity: 0.5;
}

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

/* FAQ Section */
#faq {
  position: relative;
}

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

.faq-item {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.faq-answer {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
}

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

#cta h2 {
  color: white;
}

#cta h2::after {
  background: white;
}

#cta p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

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

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

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

.footer-logo a {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-logo svg {
  height: 32px;
  width: auto;
  margin-right: 0.5rem;
}

.footer-links h4 {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

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

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

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

.footer-links ul li a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.active {
    max-height: 300px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 0.8rem 0;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  #hero {
    padding-top: 8rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  section {
    padding: 4rem 0;
  }
}
