/* --- VIDA PRODUCTIVA CUSTOM STYLES --- */

/* Carousel & Scrollbar */
.carousel-container {
    scrollbar-width: thin;
    scrollbar-color: #863399 #f1f1f1;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.dark .carousel-container {
    scrollbar-color: #863399 #1a1a1a;
}

.carousel-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.dark .carousel-container::-webkit-scrollbar-track {
    background: #1a1a1a;
}

/* Quote Cards & Selection */
.quote-card {
    will-change: transform, box-shadow;
}

.card-selected {
    border-color: #863399 !important;
}

/* Benefits List Animation (handled via JS transitions mostly, but here for backup) */
.benefits-list {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85); /* Much darker for better focus */
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Higher priority */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dark .modal-content {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Benefit Icons */
.benefit-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #863399;
    flex-shrink: 0;
}

/* FAQ Styles */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    opacity: 0;
}

.faq-answer.open {
    opacity: 1;
    margin-top: 1rem;
}

/* Inputs Premium Focus */
input:focus {
    /* Tailwind classes handle most of it, but extra polish here */
    transform: scale(1.01);
    transition: transform 0.2s ease;
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}