/* Custom styles for Mynomics */

/* Disabled links */
a[href="javascript:void(0)"] {
    position: relative;
    cursor: not-allowed !important;
    opacity: 0.7;
    text-decoration: line-through;
}

a[href="javascript:void(0)"]::after {
    content: "Próximamente - Disponible el 7 de julio de 2025";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
    z-index: 100;
}

a[href="javascript:void(0)"]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    @apply bg-white text-gray-900;
}

/* Timeline styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #e5e7eb;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 9999px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: #3b82f6;
    border: 4px solid #93c5fd;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: relative;
}

/* Left timeline */
.timeline-item:nth-child(odd) {
    left: 0;
}

/* Right timeline */
.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -16px;
}

/* Responsive timeline */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0%;
    }

    .timeline-item::after {
        left: 15px;
    }

    .timeline-item:nth-child(even)::after {
        left: 15px;
    }
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Custom button styles */
.btn-primary {
    @apply bg-blue-600 hover:bg-blue-700 border-0 text-white;
}

.btn-outline {
    @apply border-gray-300 hover:bg-gray-100 hover:border-gray-400;
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom section spacing */nsection {
    @apply py-16 md:py-24;
}

/* Custom badge styles */
.badge {
    @apply font-semibold px-3 py-1 text-sm;
}

.badge-primary {
    @apply bg-blue-100 text-blue-800 border-0;
}

.badge-secondary {
    @apply bg-blue-600 text-white border-0;
}
