/* Footer Features Grid - Geliştirilmiş Tasarım */
.footer-features-grid-all {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  margin: 25px auto;
  max-width: 650px;
  padding: 0 10px;
  align-items: stretch;
}

.feature-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  width: 100%;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.feature-box:hover::before {
  transform: translateX(100%);
}

.feature-box:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.12));
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.feature-box:hover .feature-icon {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.feature-icon i {
  font-size: 18px;
  color: white;
  transition: all 0.3s ease;
}

.feature-box:hover .feature-icon i {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.feature-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.feature-content h5 {
  color: white;
  font-size: 10px;
  font-weight: 600;
  margin: 0 0 3px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 8px;
  margin: 0;
  font-weight: 400;
  transition: all 0.3s ease;
}

.feature-box:hover .feature-content h5 {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.feature-box:hover .feature-content p {
  color: rgba(255, 255, 255, 0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-features-grid-all {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
    margin: 20px auto;
    max-width: 450px;
    padding: 0 15px;
  }
  
  .feature-box {
    height: 85px;
    padding: 10px 6px;
    border-radius: 10px;
  }
  
  .feature-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
  }
  
  .feature-icon i {
    font-size: 16px;
  }
  
  .feature-content h5 {
    font-size: 10px;
    margin-bottom: 2px;
  }
  
  .feature-content p {
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .footer-features-grid-all {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
    margin: 18px auto;
    max-width: 350px;
    padding: 0 10px;
  }
  
  .feature-box {
    height: 75px;
    padding: 8px 5px;
    border-radius: 8px;
  }
  
  .feature-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 5px;
  }
  
  .feature-icon i {
    font-size: 14px;
  }
  
  .feature-content h5 {
    font-size: 9px;
    margin-bottom: 1px;
  }
  
  .feature-content p {
    font-size: 7px;
  }
}

@media (max-width: 360px) {
  .footer-features-grid-all {
    max-width: 300px;
    gap: 6px;
  }
  
  .feature-box {
    height: 70px;
    padding: 6px 4px;
  }
  
  .feature-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
  }
  
  .feature-icon i {
    font-size: 12px;
  }
  
  .feature-content h5 {
    font-size: 8px;
  }
  
  .feature-content p {
    font-size: 6px;
  }
}

/* Animasyon Efektleri */
@keyframes featureFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-box {
  animation: featureFadeIn 0.6s ease-out 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; }

/* Dark Mode Uyumluluğu */
@media (prefers-color-scheme: dark) {
  .feature-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.15);
  }
  
  .feature-box:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.25);
  }
}

/* Yüksek Kontrast Modu */
@media (prefers-contrast: high) {
  .feature-box {
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.6);
  }
  
  .feature-content h5 {
    font-weight: 700;
  }
}
