.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.module-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  margin: 0 auto 1.5rem;
}

.card-hover:hover .module-icon {
  transform: scale(1.1) rotate(5deg);
}

.features-toggle-label {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  background-color: #d1d5db;
  border-radius: 34px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.features-toggle-label::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: white;
  top: 2px;
  inset-inline-start: 2px;
  transition: transform 0.3s;
}

input[type="checkbox"]:checked + .features-toggle-label {
  background-color: #0ea5e9;
}

input[type="checkbox"]:checked + .features-toggle-label::after {
  transform: translateX(30px);
}

[dir="rtl"] input[type="checkbox"]:checked + .features-toggle-label::after {
  transform: translateX(-30px);
}

input[type="checkbox"].module-toggle {
  display: none;
}

.diagram-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 2s ease-out forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.pulse-dot {
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.feature-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

.features-section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
  margin: 4rem auto;
  max-width: 300px;
}
