/* Base styles */
:root {
  --primary: #4f46e5;
  --primary-light: #eef2ff;
  --text: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.5;
  background: linear-gradient(to bottom, var(--primary-light), var(--white));
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.accent {
  color: var(--primary);
}

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  background-color: var(--primary);
  color: var(--white);
}

.cta-button:hover {
  transform: translateY(-2px);
  background-color: #4338ca;
}

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

.cta-button.inverse:hover {
  background-color: #f9fafb;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
}

.hero-content p {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-decoration {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.1;
  z-index: 0;
}

.hero-decoration i {
  width: 24rem;
  height: 24rem;
  color: var(--primary);
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 5rem 0;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.feature-card i {
  color: var(--primary);
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
}

/* Success Stories */
.success-stories {
  padding: 5rem 0;
  text-align: center;
}

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

.testimonial-card {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 1rem;
  text-align: left;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-header img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.stars i {
  width: 1rem;
  height: 1rem;
  color: #fbbf24;
  fill: #fbbf24;
}

.quote {
  font-style: italic;
  margin-bottom: 1rem;
}

.author .name {
  font-weight: 600;
}

.author .role {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
  border-radius: 1rem;
  margin: 5rem 0;
}

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

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.slide-up {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in {
  opacity: 0;
}

.slide-up.visible {
  animation: slideUp 0.6s ease forwards;
}

.fade-in.visible {
  animation: fadeIn 0.8s ease forwards;
}

.pulse {
  animation: pulse 3s infinite ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.25rem;
  }

  .hero-decoration i {
    width: 16rem;
    height: 16rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }
}