/* Features Section */
.features-section {
  padding: 100px 0;
  background: #f3f4f8;
  position: relative;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.features-header {
  text-align: center;
  margin-bottom: 80px;
}

.features-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.features-subtitle {
  font-size: 1.1rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.feature-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

.feature-box:hover {
  border-color: #3182ce;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.1);
  transform: translateY(-2px);
}

.feature-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a8fbc;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
  background: #5a8fbc;
  color: white;
  border-color: #5a8fbc;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
  line-height: 1.4;
}

.feature-description {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  font-size: 0.9rem;
  color: #718096;
  padding: 6px 0;
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3182ce;
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .features-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .features-section {
    padding: 80px 0;
  }

  .features-container {
    padding: 0 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-box {
    padding: 24px;
  }

  .features-title {
    font-size: 2rem;
  }

  .features-subtitle {
    font-size: 1rem;
  }

  .feature-header {
    gap: 12px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .feature-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .feature-box {
    padding: 20px;
  }

  .feature-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }
}

/* Animation on scroll */
.feature-box {
  opacity: 0;
  transform: translateY(20px);
  animation: featureFadeInUp 0.6s ease forwards;
}

.feature-box:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-box:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-box:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-box:nth-child(4) {
  animation-delay: 0.4s;
}
.feature-box:nth-child(5) {
  animation-delay: 0.5s;
}
.feature-box:nth-child(6) {
  animation-delay: 0.6s;
}
.feature-box:nth-child(7) {
  animation-delay: 0.7s;
}
.feature-box:nth-child(8) {
  animation-delay: 0.8s;
}
.feature-box:nth-child(9) {
  animation-delay: 0.9s;
}

@keyframes featureFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
