:root {
  --primary: #8e44ad;
  --secondary: #2ecc71;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --accent: #f1c40f;
  --text: #333333;
  --bg: #ffffff;
  --gradient: linear-gradient(120deg, var(--primary), var(--secondary));
}

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

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Header Styles */
.header {
  background-color: var(--dark);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo-icon {
  height: 40px;
  width: 40px;
  margin-right: 10px;
}

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

.nav-menu {
  display: flex;
}

.nav-item {
  margin-left: 30px;
  list-style: none;
}

.nav-link {
  color: var(--light);
  font-weight: 600;
  position: relative;
}

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

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

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

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background: var(--gradient);
  color: var(--light);
  text-align: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--dark);
  font-weight: 700;
  padding: 15px 35px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--bg);
}

.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--secondary);
}

.section-subtitle {
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background-color: var(--light);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

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

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-description {
  color: var(--text);
  font-size: 1rem;
}

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

.process-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px;
}

.process-item {
  flex: 0 0 calc(33.333% - 30px);
  margin: 15px;
  position: relative;
  z-index: 1;
}

.process-item::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  z-index: -1;
}

.process-item:last-child::after {
  display: none;
}

.process-circle {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
  text-align: center;
}

.process-description {
  text-align: center;
  color: var(--text);
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background-color: var(--bg);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: var(--light);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
  color: var(--text);
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

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

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

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-description {
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 70px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.footer-logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-links h3, .footer-contact h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light);
  opacity: 0.8;
}

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

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  opacity: 0.8;
}

.contact-icon {
  margin-right: 10px;
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 70px);
  background-color: var(--dark);
  transition: left 0.3s ease;
  z-index: 999;
  padding: 20px;
}

.mobile-menu.active {
  left: 0;
}

.mobile-nav-item {
  list-style: none;
  margin-bottom: 20px;
}

.mobile-nav-link {
  color: var(--light);
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .process-item {
    flex: 0 0 calc(50% - 30px);
  }
  
  .process-item:nth-child(2)::after {
    display: none;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .process-item {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  .process-item::after {
    display: none;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-about {
    grid-column: span 1;
  }
}
