/* Base Styles */
:root {
  --primary-color: #0078ff;
  --primary-dark: #005bea;
  --primary-light: #00c6fb;
  --accent-color: #ff9100;
  --text-dark: #132742;
  --text-light: #4a5b73;
  --text-muted: #8496ac;
  --background: #f8fafc;
  --white: #ffffff;
  --card-bg: #ffffff;
  --border-radius: 12px;
  --box-shadow: 0 10px 40px rgba(0, 91, 234, 0.1);
  --transition: all 0.3s ease;
  --section-spacing: 100px;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

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

p {
  margin-bottom: 1rem;
}

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

/* Text gradient */
.text-gradient {
  background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header and Navigation */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

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

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
  transition: var(--transition);
}

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

.mobile-toggle {
  display: none;
}

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

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

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

.hero-text {
  flex: 1;
}

.hero-visual {
  flex: 1;
  position: relative;
}

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

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
  color: var(--white);
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 91, 234, 0.2);
  max-width: 240px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 91, 234, 0.3);
  color: var(--white);
}

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

.stars {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.hero-shape {
  position: absolute;
  width: 500px;
  height: 500px;
  right: -100px;
  top: -100px;
  background: radial-gradient(circle, rgba(0, 198, 251, 0.1) 0%, rgba(0, 91, 234, 0.05) 100%);
  border-radius: 50%;
  z-index: -1;
}

/* Features Section */
.features {
  background-color: var(--white);
  padding: 6rem 0;
}

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

.section-title:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
}

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

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

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 91, 234, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right bottom, var(--primary-light), var(--primary-dark));
  border-radius: 12px;
  margin-bottom: 1.5rem;
  color: var(--white);
}

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

.feature-description {
  color: var(--text-light);
}

/* How it works section */
.how-it-works {
  padding: 6rem 0;
  background-color: var(--background);
}

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

.step {
  flex: 1;
  min-width: 280px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 91, 234, 0.2);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(to right bottom, var(--primary-light), var(--primary-dark));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

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

.step-description {
  color: var(--text-light);
}

/* Testimonials section */
.testimonials {
  padding: 6rem 0;
  background-color: var(--white);
}

.testimonials-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.testimonial-card {
  flex: 1;
  min-width: 300px;
  background-color: var(--background);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 91, 234, 0.15);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
}

.testimonial-text::before {
  content: '❝';
  font-size: 2.5rem;
  color: var(--primary-light);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* FAQ section */
.faq {
  padding: 6rem 0;
  background-color: var(--background);
}

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

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

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
}

.faq-question.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.faq-question.active:after {
  content: '-';
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  color: var(--text-light);
}

.faq-answer.active {
  padding: 1rem 1.5rem 1.5rem;
  max-height: 1000px;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
  color: var(--white);
  text-align: center;
}

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

.cta-container h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-container p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta-section .cta-button {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

.cta-section .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.4);
}

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

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-links-column h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-links-column ul li a:hover {
  color: var(--white);
  text-decoration: underline;
}

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

/* Responsive Styles */
@media screen and (max-width: 991px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-visual {
    display: none;
  }
  
  .steps-container,
  .testimonials-container {
    flex-direction: column;
  }
  
  .step, 
  .testimonial-card {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-container h2 {
    font-size: 2rem;
  }
  
  .testimonials-container {
    flex-direction: column;
  }
  
  .testimonial-card {
    margin-bottom: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .cta-button {
    width: 100%;
    max-width: none;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .feature-card,
  .step,
  .testimonial-card,
  .faq-item {
    padding: 1.5rem;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 1.2rem;
  }
  
  .faq-answer {
    font-size: 0.9rem;
  }
  
  .cta-container h2 {
    font-size: 1.6rem;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
  }
}
