


/* Modern Benefits Section v2 Styles */

/* Bento Grid Layout */
.bento-grid {
  grid-template-rows: repeat(auto-fit, 22rem);
}

/* Benefit Card Base Styles */
.benefit-card {
  min-height: 22rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover effects */
.benefit-card:hover {
  transform: translateY(-4px);
}

/* Icon scaling animation */
.benefit-card .group-hover\:scale-75 {
  transition: transform 0.3s ease-in-out;
}

/* Custom grid patterns for specific benefits */
.benefit-card.col-span-2 {
  grid-column: span 2;
}

.benefit-card.row-span-2 {
  grid-row: span 2;
}

/* Background patterns */
.benefit-card .bg-primary\/5 {
  background-color: rgba(59, 130, 246, 0.05);
}

.benefit-card .bg-green\/5 {
  background-color: rgba(34, 197, 94, 0.05);
}

.benefit-card .bg-purple\/5 {
  background-color: rgba(168, 85, 247, 0.05);
}

.benefit-card .bg-orange\/5 {
  background-color: rgba(249, 115, 22, 0.05);
}

/* Text color variations */
.text-primary {
  color: rgb(59, 130, 246);
}

.text-green {
  color: rgb(34, 197, 94);
}

.text-purple {
  color: rgb(168, 85, 247);
}

.text-orange {
  color: rgb(249, 115, 22);
}

/* CTA button animations */
.benefit-card a {
  transition: all var(--transition-base)-in-out;
}

.benefit-card a:hover {
  transform: translateX(2px);
}

/* Dark mode adjustments */
/* Dark mode automatically handled by design tokens */
  
  .benefit-card:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08),
                0 4px 8px rgba(0, 0, 0, 0.2),
                0 20px 40px rgba(0, 0, 0, 0.2);
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefit-card.col-span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    auto-rows: minmax(20rem, auto);
  }
  
  .benefit-card {
    min-height: 20rem;
  }
  
  .benefit-card.col-span-2,
  .benefit-card.row-span-2 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .benefit-card,
  .benefit-card .group-hover\:scale-75,
  .benefit-card a {
    transition: none !important;
    transform: none !important;
  }
}

/* Focus states */
.benefit-card:focus-within {
  outline: 2px solid rgb(59, 130, 246);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .benefit-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid var(--border-primary);
  }
} 