/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Global Styles */
body {
    background-color: #09090b;
    color: #F1F5F9;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Glass Effects */
.glass {
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-glow {
    position: relative;
}

.nav-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.3), transparent);
    z-index: 60;
}

.glass-card {
    background: linear-gradient(180deg, rgba(39, 39, 42, 0.4) 0%, rgba(24, 24, 27, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(to right, #38bdf8, #a78bfa);
    -webkit-background-clip: text;
    color: transparent;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 10px;
}

/* Recap Overlay */
#recap-overlay {
    background: radial-gradient(circle at center, #1e1b4b 0%, #000000 100%);
}

.story-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    flex: 1;
}

.story-progress {
    height: 100%;
    background: white;
    width: 0%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Tab Animation */
.tab-btn {
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: #27272a;
    color: white;
    border-color: #3f3f46;
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    display: none;
    /* Oculto por defecto */
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

#cookie-consent-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-icon {
    font-size: 2.5rem;
    animation: cookie-bounce 2s ease-in-out infinite;
}

@keyframes cookie-bounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    border: none;
    cursor: pointer;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.cookie-btn-reject {
    background: transparent;
    color: #a1a1aa;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid #3f3f46;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cookie-btn-reject:hover {
    background: rgba(63, 63, 70, 0.3);
    color: white;
    border-color: #52525b;
}

/* Work-Life Balance Styles */
.work-balance-bar {
    display: flex;
    height: 8px;
    border-radius: 9999px;
    overflow: hidden;
    background: #27272a;
}

.work-balance-segment {
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.work-balance-segment.office {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.work-balance-segment.remote {
    background: linear-gradient(90deg, #10b981, #059669);
}

.work-balance-segment.other {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* Work Config Modal */
.work-config-modal {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.2s ease-out;
}

.work-config-panel {
    background: linear-gradient(180deg, rgba(39, 39, 42, 0.95) 0%, rgba(24, 24, 27, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Time Slider */
.time-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #27272a;
    outline: none;
}

.time-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
    transition: all 0.2s;
}

.time-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.6);
}

.time-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
    transition: all 0.2s;
}

.time-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.6);
}

/* Day Selector */
.day-checkbox {
    appearance: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid #3f3f46;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.day-checkbox:checked {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-color: #0ea5e9;
}

.day-checkbox:hover {
    border-color: #52525b;
}

.day-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: #a1a1aa;
    pointer-events: none;
    transition: color 0.2s;
}

.day-checkbox:checked+.day-label {
    color: white;
}

/* Period Selector Active State */
.period-btn.active {
    background: #3f3f46;
    color: white;
}

.pt-20 {
    padding-top: 4rem !important;
}