/* Common styles shared across all pages */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #050816;
    color: #e5e7eb;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* Shared Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate {
    opacity: 0;
}

.animate.visible {
    animation-fill-mode: forwards;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    animation-name: fadeIn;
}

.fade-in-up.visible {
    animation-name: fadeInUp;
}

.fade-in-left.visible {
    animation-name: fadeInLeft;
}

.fade-in-right.visible {
    animation-name: fadeInRight;
}

.scale-in.visible {
    animation-name: scaleIn;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* Language Toggle */
.lang-toggle {
    font-size: 0.85rem;
    color: #9ca3af;
}

.lang-toggle a {
    color: #9ca3af;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lang-toggle a:hover {
    color: #e5e7eb;
}

.lang-toggle .active {
    color: #f8fafc;
    font-weight: 500;
    cursor: default;
}

.lang-toggle .separator {
    color: #4b5563;
    margin: 0 0.3rem;
}

/* Language Content Toggle */
.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* Legal Footer */
.legal-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(5, 8, 22, 0.95);
    border-top: 1px solid rgba(31, 41, 55, 0.5);
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
    color: #9ca3af;
    text-align: center;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.legal-footer a {
    color: #9ca3af;
    text-decoration: none;
    margin: 0 0.4rem;
    transition: color 0.2s ease;
}

.legal-footer a:hover {
    color: #e5e7eb;
}

.legal-footer .separator {
    color: #4b5563;
    margin: 0 0.3rem;
}

@media (max-width: 640px) {
    .legal-footer {
        font-size: 0.6rem;
        padding: 0.4rem 0.75rem;
    }

    .legal-footer a {
        margin: 0 0.25rem;
    }

    .legal-footer .separator {
        margin: 0 0.2rem;
    }
}

