/* PowerPoint AI Slides Landing Page Styles */

/* Timeline Sort Button Styles */
.timeline-sort-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1e4fe2 0%, #0d47a1 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(30, 79, 226, 0.3);
    position: relative;
    overflow: visible;
    padding: 0;
    margin-bottom: 8px;
}


.timeline-sort-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(30, 79, 226, 0.4);
}

.timeline-sort-btn:active {
    transform: translateY(-1px) scale(0.95);
    transition: all 0.1s;
}

.timeline-sort-btn .sort-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.timeline-sort-btn:hover .sort-icon {
    transform: rotate(180deg) scale(1.2);
}

/* Sort Button Modal */
.sort-modal {
    position: absolute;
    top: 0;
    left: 60px;
    transform: translateX(8px) translateY(-50%);
    background: linear-gradient(135deg, rgba(30, 79, 226, 0.95) 0%, rgba(13, 71, 161, 0.95) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(30, 79, 226, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: block;
}

.sort-modal::before {
    content: '';
    position: absolute;
    top: 60%;
    left: -6px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid rgba(30, 79, 226, 0.95);
    filter: drop-shadow(-2px 0 4px rgba(0, 0, 0, 0.1));
}

.timeline-sort-btn:hover .sort-modal,
#timeline-sort-btn:hover .sort-modal,
button.timeline-sort-btn:hover .sort-modal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) translateY(-50%) !important;
}

@keyframes modalPulse {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(30, 79, 226, 0.3);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(30, 79, 226, 0.5);
    }
}

/* Responsive adjustments for sort button */
@media (max-width: 768px) {
    .d-flex.justify-content-center.align-items-center {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-sort-btn {
        width: 40px;
        height: 40px;
    }
}

/* Particle System Styles */
.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Floating Sparks Animation */
.floating-spark {
    position: fixed;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(30, 79, 226, 0.5) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: sparkFloat 1.5s ease-out forwards;
}

@keyframes sparkFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.5);
    }
}

/* Enhanced cursor interaction - normal cursor but with trail effects */
.powerpoint-hero, .features-section {
    cursor: default;
}

/* Click Ripple Effect */
.click-ripple {
    position: fixed;
    border: 1px solid rgba(30, 79, 226, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    transform: translate(-50%, -50%);
    animation: rippleExpand 1s ease-out forwards;
}

@keyframes rippleExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

.powerpoint-hero {
    background: radial-gradient(circle at top center, #1A1B31 30%, #010101 70%);
    min-height: 100vh;
    display: block;
    position: relative !important;
    color: white;
    padding: 2rem 0 4rem 0;
}

.powerpoint-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(30, 79, 226, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(30, 79, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-logo {
    height: 60px;
    opacity: 0.9;
}

.hero-title {
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.3;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    opacity: 0.85;
    font-weight: 300;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

/* Video Glass Box Styling */
.video-glass-box {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease-in-out;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 10; /* Above particles */
}

.video-glass-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(30, 79, 226, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(30, 79, 226, 0.3) 50%, 
        rgba(255, 255, 255, 0.1) 75%, 
        rgba(30, 79, 226, 0.3) 100%);
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    animation: borderGlow 3s ease-in-out infinite;
}

.video-glass-box:hover::before {
    opacity: 0.6;
}

.video-glass-box:hover {
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0px 12px 40px rgba(30, 79, 226, 0.3);
    transform: translateY(-2px);
    transition: all 0.4s ease-in-out;
}

@keyframes borderGlow {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

.video-frame {
    border-radius: 10px;
    border: none;
}

/* Timeline within Hero Section */

.timeline-title {
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 4rem !important;
    margin-top: 3rem !important;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Central Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: -120px;
    width: 3px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0.8) 95%,
        rgba(255, 255, 255, 0.9) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

/* Timeline Items */
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    min-height: 120px;
}

/* Timeline Dates */
.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    text-align: center;
    z-index: 5;
    min-width: 120px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.timeline-date .month {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.timeline-date .year {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

/* Timeline Content */
.timeline-content {
    width: 45%;
    position: relative;
}

.timeline-left {
    margin-right: auto;
    margin-left: 0;
    padding-right: 3rem;
}

.timeline-right {
    margin-left: auto;
    margin-right: 0;
    padding-left: 3rem;
}

.timeline-center {
    width: 70%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Timeline Cards */
.timeline-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-width: 280px;
    max-width: 400px;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.timeline-card:hover::before {
    left: 100%;
}

.timeline-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Timeline Icons */
.timeline-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
    opacity: 0.9;
}

.timeline-card h4 {
    color: white;
    font-weight: 500;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
}

.timeline-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-weight: 300;
}

/* Special Future Card */
.timeline-card-future {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: futurePulse 3s ease-in-out infinite;
}

@keyframes futurePulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px 10px rgba(255, 255, 255, 0.1);
    }
}

/* Timeline Final Card */
.timeline-final-card {
    position: relative;
    margin-top: 3rem;
    z-index: 2;
}

.timeline-final-card .timeline-card {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-container {
        padding: 1rem 0;
        max-width: 100%;
    }
    
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
        bottom: -80px;
        width: 2px;
    }
    
    .timeline-item {
        flex-direction: column;
        margin-bottom: 5rem;
        min-height: auto;
    }
    
    .timeline-date {
        position: static;
        transform: none;
        margin-bottom: 2rem;
        min-width: 110px;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        z-index: 10;
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border: 2px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
                    0 0 30px rgba(255, 255, 255, 0.05) inset !important;
    }
    
    .timeline-content {
        width: 100%;
        margin: 0 !important;
        padding: 0 1rem !important;
    }
    
    .timeline-left,
    .timeline-right {
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        justify-content: center;
    }
    
    .timeline-center {
        width: 100%;
        margin: 0 !important;
        padding: 0 1rem !important;
        display: flex;
        justify-content: center;
    }
    
    .timeline-card {
        padding: 1.8rem 1.5rem;
        min-width: auto;
        max-width: 320px;
        width: 100%;
        margin: 0 auto 2rem auto;
        z-index: 10;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.04) !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 
                    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
                    0 0 50px rgba(255, 255, 255, 0.03) inset !important;
    }
    
    .timeline-final-card .timeline-card {
        max-width: 320px;
        margin: 0 auto 3rem auto;
        z-index: 10;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 2px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), 
                    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
                    0 0 60px rgba(255, 255, 255, 0.04) inset !important;
    }
    
    .timeline-icon {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    
    .timeline-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .timeline-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .timeline-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem !important;
        margin-top: 2rem !important;
    }
}

/* CTA Buttons */
.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    font-weight: 300;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
    color: white;
    box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Footer Navigation */
.footer-nav {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 27, 49, 0.5) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links a {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline !important;
}

/* Tablet optimizations */
@media (max-width: 991px) and (min-width: 769px) {
    .timeline-container {
        padding: 1.5rem 0;
    }
    
    .timeline-card {
        min-width: 300px;
        max-width: 380px;
        padding: 2rem 1.8rem;
    }
    
    .timeline-content {
        width: 48%;
    }
    
    .timeline-date {
        min-width: 130px;
        padding: 0.8rem 1.3rem;
    }
    
    .timeline-final-card .timeline-card {
        max-width: 380px;
    }
}

/* Mobile optimizations */
@media (max-width: 991px) {
    /* Add padding to hero container to prevent content touching sides */
    .powerpoint-hero .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-logo {
        height: 45px;
    }
    
    .video-glass-box {
        margin: 0 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Fix form alignment on mobile */
    .waiting-list-glass-container {
        margin: 0 auto !important;
        max-width: calc(100vw - 2rem) !important;
    }
}

@media (max-width: 576px) {
    /* Enhanced mobile padding for very small screens */
    .powerpoint-hero .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem; /* Additional text padding */
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem; /* Additional text padding */
    }
    
    .video-glass-box {
        margin: 0 0.5rem;
        padding: 1rem !important;
    }
    
    .feature-box {
        margin-bottom: 1rem;
    }

    /* Reduce particle canvas performance impact on mobile */
    .particles-background {
        opacity: 0.7;
    }
    
    /* Timeline adjustments for very small screens */
    .timeline-card {
        padding: 1.5rem 1.2rem;
        max-width: 340px;
        border-radius: 15px;
        margin: 0 auto 2rem auto;
        z-index: 10;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)) !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
        border: 1px solid rgba(255, 255, 255, 0.04) !important;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25), 
                    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
                    0 0 45px rgba(255, 255, 255, 0.03) inset !important;
    }
    
    .timeline-date {
        min-width: 100px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        margin-bottom: 2rem;
        z-index: 10;
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border: 2px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 
                    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
                    0 0 30px rgba(255, 255, 255, 0.05) inset !important;
    }
    
    .timeline-date .month {
        font-size: 0.9rem;
    }
    
    .timeline-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .timeline-card h4 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .timeline-card p {
        font-size: 0.9rem;
    }
    
    .timeline-title {
        font-size: 1.6rem;
        margin-bottom: 2rem !important;
        margin-top: 0.5rem !important;
    }
    
    /* Waiting list form improvements */
    .waiting-list-glass-container {
        padding: 2rem 1.5rem !important;
        margin: 0 auto !important;
        max-width: calc(100vw - 0.5rem) !important;
        width: 100% !important;
    }
    
    /* Ensure form container is perfectly centered */
    .waiting-list-glass-container .waiting-list-form {
        width: 100% !important;
        max-width: none !important;
    }
    
    /* Fix any Bootstrap grid issues on mobile */
    .waiting-list-form .container,
    .waiting-list-form .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .waiting-list-form .row.g-3 {
        --bs-gutter-x: 0.75rem;
    }
    
    .waiting-list-form .col-6 {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .waiting-list-form .form-control {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
    
    .waiting-list-form .form-check-label {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Motion blur trail effect */
@keyframes trailFade {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

.motion-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(30, 79, 226, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    animation: trailFade 0.4s ease-out forwards;
}

/* Animation Effects */

/* Glass morphism enhancements */
.video-glass-box,
.feature-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

/* Subtle parallax effect */
.powerpoint-hero {
    background-attachment: fixed;
}

/* Language Switcher Styles */
.language-switcher-container {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 100 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto !important;
}

.language-switcher-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 0.6rem 1.2rem !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    min-width: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.language-switcher-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(255, 255, 255, 0.15) inset !important;
}

.language-switcher-btn:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15),
                0 8px 30px rgba(0, 0, 0, 0.25) !important;
    outline: none !important;
}

.language-switcher-btn:active {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(0) !important;
}

.language-switcher-btn::after {
    border-top-color: rgba(255, 255, 255, 0.8) !important;
    margin-left: 0.5rem !important;
}

.language-dropdown {
    background: rgba(26, 27, 49, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.5rem !important;
    min-width: 140px !important;
}

.language-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.6rem 1.2rem !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    border: none !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
}

.language-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.language-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    outline: none !important;
}

.language-dropdown .dropdown-item:active {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
}

/* Mobile optimizations for language switcher */
@media (max-width: 768px) {
    .language-switcher-container {
        top: 0.75rem !important;
        right: 0.75rem !important;
        position: absolute !important;
        z-index: 100 !important;
    }
    
    .language-switcher-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
        min-width: 70px !important;
    }
    
    .language-dropdown {
        min-width: 120px !important;
    }
    
    .language-dropdown .dropdown-item {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 576px) {
    .language-switcher-container {
        top: 0.5rem !important;
        right: 0.5rem !important;
        position: absolute !important;
        z-index: 100 !important;
    }
    
    .language-switcher-btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
        min-width: 60px !important;
        border-radius: 10px !important;
    }
    
    .language-dropdown {
        min-width: 100px !important;
        border-radius: 10px !important;
    }
    
    .language-dropdown .dropdown-item {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
}

/* Home Button Styles */
.home-button-container {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    z-index: 100 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto !important;
}

.home-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 0.6rem 1.2rem !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    gap: 0.5rem !important;
}

.home-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(255, 255, 255, 0.15) inset !important;
    text-decoration: none !important;
}

.home-btn:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15),
                0 8px 30px rgba(0, 0, 0, 0.25) !important;
    outline: none !important;
    text-decoration: none !important;
}

.home-btn:active {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(0) !important;
    text-decoration: none !important;
}

.home-icon {
    width: 18px !important;
    height: 18px !important;
    opacity: 0.9 !important;
    transition: all 0.3s ease !important;
}

.home-text {
    font-weight: 500 !important;
    opacity: 0.95 !important;
}

.home-btn:hover .home-icon {
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

.home-btn:hover .home-text {
    opacity: 1 !important;
}

/* Ensure pulsing effect works on mobile */
@media (max-width: 768px) {
    .timeline-card-future {
        animation: futurePulse 3s ease-in-out infinite !important;
    }
}

/* Mobile optimizations for home button */
@media (max-width: 768px) {
    .home-button-container {
        top: 0.75rem !important;
        left: 0.75rem !important;
        position: absolute !important;
        z-index: 100 !important;
    }
    
    .home-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
        gap: 0.4rem !important;
    }
    
    .home-icon {
        width: 16px !important;
        height: 16px !important;
    }
}

@media (max-width: 576px) {
    .home-button-container {
        top: 0.5rem !important;
        left: 0.5rem !important;
        position: absolute !important;
        z-index: 100 !important;
    }
    
    .home-btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
        border-radius: 10px !important;
        gap: 0.3rem !important;
    }
    
    .home-icon {
        width: 14px !important;
        height: 14px !important;
    }
    
    .home-text {
        font-size: 0.8rem !important;
    }
} 