:root {
  --primary-color: #6c63ff;
  --secondary-color: #4caf50;
  --accent-color: #ff6b6b;
  --text-color: #2d3436;
  --light-text: #636e72;
  --background: #ffffff;
  --card-bg: #f8f9fa;
  --gradient: linear-gradient(135deg, #6c63ff 0%, #4caf50 100%);
  --section-padding: 100px 0;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  --border-radius: 15px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Styles */
section {
  padding: var(--section-padding);
  position: relative;
}

section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--text-color);
  position: relative;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  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;
  height: 80px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient);
  display: flex;
  align-items: center;
  padding-top: 80px;
  color: white;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #5a52d9 0%, #3d9b40 100%);
}

/* Services Section */
.services {
  background: var(--card-bg);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(108, 99, 255, 0.05) 0%,
    rgba(76, 175, 80, 0.05) 100%
  );
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services h2 {
  margin-bottom: 70px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--background);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 25px;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--text-color);
  position: relative;
  padding-bottom: 15px;
}

.service-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient);
  transition: var(--transition);
}

.service-card:hover h3::after {
  width: 100px;
}

.service-card p {
  color: var(--light-text);
  margin-bottom: 25px;
  line-height: 1.8;
}

.service-card .learn-more {
  margin-top: auto;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.service-card .learn-more i {
  transition: transform 0.3s ease;
}

.service-card .learn-more:hover {
  color: var(--secondary-color);
}

.service-card .learn-more:hover i {
  transform: translateX(5px);
}

/* Workflow Section */
.workflow {
  background: var(--background);
}

.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 50%;
  padding: 20px;
}

.timeline-item:nth-child(odd) {
  margin-left: auto;
  padding-left: 40px;
}

.timeline-item:nth-child(even) {
  margin-right: auto;
  padding-right: 40px;
}

.timeline-content {
  background: var(--background);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateX(5px);
  box-shadow: var(--hover-shadow);
}

/* About Section */
.about {
  background: var(--card-bg);
  padding: 100px 0;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-text {
  text-align: center;
}

.about-text .lead {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 50px;
  font-weight: 500;
  line-height: 1.4;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.feature-item {
  background: var(--background);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.feature-item h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.feature-item h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient);
}

.feature-item p {
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--light-text);
}

.feature-item li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: var(--background);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--light-text);
  font-size: 16px;
}

/* Testimonials Section */
.testimonials {
  background: var(--background);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-author {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-author strong {
  display: block;
  color: var(--text-color);
  margin-bottom: 5px;
}

.testimonial-author span {
  color: var(--light-text);
  font-size: 14px;
}

/* FAQ Section */
.faq {
  background: var(--card-bg);
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--card-shadow);
}

.faq-question {
  padding: 20px;
  background: var(--background);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--card-bg);
}

.faq-answer {
  padding: 20px;
  background: var(--background);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Newsletter Section */
.newsletter {
  background: var(--gradient);
  color: white;
  text-align: center;
}

.newsletter h2 {
  color: white;
}

.newsletter p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 15px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
}

/* Contact Section */
.contact {
  background: var(--background);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--text-color);
  color: white;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item {
    width: 100%;
    padding-left: 40px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    margin: 0 0 40px 0;
    padding: 0 0 0 40px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card {
    padding: 30px;
  }

  .about {
    padding: 60px 0;
  }

  .about-text .lead {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 28px;
  }
}
