/* Features Hero Section */
.features-hero {
  padding: 6rem 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.features-hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  padding: 5rem 0;
  background: var(--white);
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item.reverse {
  direction: rtl;
}

.feature-item.reverse > * {
  direction: ltr;
}

.feature-content h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.feature-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-benefits li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-benefits li::before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  font-size: 1.1rem;
}

.feature-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Features CTA Section */
.features-cta {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: var(--white);
}

.features-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.features-cta p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.features-cta .cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.features-cta .btn {
  min-width: 180px;
  padding: 1rem 2.5rem;
  font-weight: 600;
}

.features-cta .btn-primary {
  background-color: var(--white);
  color: #007bff;
}

.features-cta .btn-primary:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.features-cta .btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.features-cta .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Navigation Active State */
.nav-links a.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features-hero h1 {
    font-size: 3rem;
  }
  
  .feature-item {
    gap: 3rem;
    margin-bottom: 5rem;
  }
  
  .feature-content h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .features-hero {
    padding: 4rem 0 3rem;
  }
  
  .features-hero h1 {
    font-size: 2.5rem;
  }
  
  .features-hero p {
    font-size: 1.125rem;
  }
  
  .features-grid {
    padding: 3rem 0;
  }
  
  .feature-item {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
  }
  
  .feature-item.reverse {
    direction: ltr;
  }
  
  .feature-content h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .feature-content p {
    font-size: 1rem;
    text-align: center;
  }
  
  .feature-benefits {
    text-align: left;
  }
  
  .features-cta {
    padding: 4rem 0;
  }
  
  .features-cta h2 {
    font-size: 2rem;
  }
  
  .features-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
  
  .features-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .features-cta .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .features-hero {
    padding: 3rem 0 2rem;
  }
  
  .features-hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .features-hero p {
    font-size: 1rem;
  }
  
  .features-grid {
    padding: 2rem 0;
  }
  
  .feature-item {
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .feature-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .feature-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-benefits li {
    font-size: 0.95rem;
  }
  
  .features-cta {
    padding: 3rem 0;
  }
  
  .features-cta h2 {
    font-size: 1.75rem;
  }
  
  .features-cta p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .features-cta .btn {
    min-width: 160px;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .features-hero h1 {
    font-size: 1.75rem;
  }
  
  .feature-content h2 {
    font-size: 1.5rem;
  }
  
  .features-cta h2 {
    font-size: 1.5rem;
  }
  
  .features-cta .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Animation for feature items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-item {
  animation: fadeInUp 0.6s ease-out;
}

.feature-item:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-item:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-item:nth-child(4) {
  animation-delay: 0.3s;
}
