/* Features section styles */
.features {
  padding: var(--space-xxl) var(--space-md);
  background-color: var(--gray-dark);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, rgba(255, 61, 61, 0.1) 0%, transparent 50%),
    linear-gradient(225deg, rgba(255, 204, 0, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.feature-shape1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -150px;
  background: radial-gradient(circle, var(--primary-red-dark), transparent 70%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.15;
}

.feature-shape2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--secondary-yellow-dark), transparent 70%);
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  opacity: 0.15;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-medium);
  transform: translateY(0);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-md);
  position: relative;
}

.icon1 {
  background: conic-gradient(from 0deg, var(--primary-red), var(--secondary-yellow), var(--primary-red));
  border-radius: 30% 70% 50% 50% / 30% 30% 70% 70%;
  animation: rotateConic 8s linear infinite;
}

.icon2 {
  background: conic-gradient(from 120deg, var(--secondary-yellow), var(--accent-purple), var(--secondary-yellow));
  border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%;
  animation: rotateConic 8s linear infinite reverse;
}

.icon3 {
  background: conic-gradient(from 240deg, var(--accent-teal), var(--primary-red), var(--accent-teal));
  border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
  animation: rotateConic 8s linear infinite;
}

@keyframes rotateConic {
  100% {
    transform: rotate(360deg);
  }
}

.feature h3 {
  color: var(--white);
  margin-bottom: var(--space-sm);
  font-size: 1.4rem;
}

.feature p {
  color: var(--gray-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}