/* ===================================
   DEFTEC - Animations & Effects
   =================================== */

/* === AOS (Animate On Scroll) Fallback === */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* === WELCOME MODAL STYLES === */
.welcome-modal-content {
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.welcome-icon {
    font-size: 4rem;
    color: #00d9ff;
    animation: rotateIcon 3s ease-in-out infinite;
}

.welcome-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #e5e7eb;
}

.welcome-text {
    color: #9ca3af;
    font-size: 1.1rem;
    line-height: 1.7;
}

.welcome-features {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
}

.welcome-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #e5e7eb;
}

.welcome-feature:last-child {
    margin-bottom: 0;
}

.welcome-feature i {
    font-size: 1.5rem;
    color: #00d9ff;
    flex-shrink: 0;
}

.welcome-cta {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(0, 217, 255, 0.2));
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
}

.welcome-cta i {
    font-size: 2rem;
    color: #00d9ff;
    margin-bottom: 0.5rem;
}

.welcome-cta strong {
    color: #00d9ff;
    font-size: 1.2rem;
}

.welcome-cta p {
    color: #9ca3af;
    margin-top: 0.5rem;
}

.btn-welcome-primary {
    background: linear-gradient(135deg, #00d9ff, #0ea5e9);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-welcome-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
    color: white;
}

.btn-welcome-secondary {
    background: transparent;
    color: #9ca3af;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid #6b7280;
    transition: all 0.3s ease;
}

.btn-welcome-secondary:hover {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
}

/* === LOGIN PAGE STYLES === */
.login-section {
    background: linear-gradient(135deg, #0a0e27 0%, #111827 100%);
    min-height: 100vh;
    padding-top: 80px;
}

.login-card {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.login-icon {
    font-size: 4rem;
    color: #00d9ff;
    animation: pulse-icon 2s ease-in-out infinite;
}

.login-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #e5e7eb;
}

.login-subtitle {
    color: #9ca3af;
    font-size: 1rem;
}

.login-form .form-label {
    color: #e5e7eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.login-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    color: #e5e7eb;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-input:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: #00d9ff;
    box-shadow: 0 0 0 0.25rem rgba(0, 217, 255, 0.15);
    color: #e5e7eb;
}

.login-input::placeholder {
    color: #6b7280;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: #00d9ff;
}

.form-check-input {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 217, 255, 0.2);
}

.form-check-input:checked {
    background-color: #00d9ff;
    border-color: #00d9ff;
}

.form-check-label {
    color: #9ca3af;
}

.forgot-password {
    color: #00d9ff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #0ea5e9;
}

.btn-login-submit {
    background: linear-gradient(135deg, #00d9ff, #0ea5e9);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.login-register-text {
    color: #9ca3af;
    margin-bottom: 0;
}

.register-link {
    color: #00d9ff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-link:hover {
    color: #0ea5e9;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.login-divider span {
    position: relative;
    background: #1a1f3a;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.btn-social-login {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 217, 255, 0.2);
    color: #e5e7eb;
    padding: 0.9rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-social-login:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: #00d9ff;
    color: #00d9ff;
    transform: translateY(-2px);
}

.back-home {
    color: #9ca3af;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.back-home:hover {
    color: #00d9ff;
}

/* === PRIVACY PAGE STYLES === */
.privacy-content {
    color: #e5e7eb;
}

.privacy-section {
    margin-bottom: 3rem;
}

.privacy-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00d9ff;
    margin-bottom: 1.5rem;
}

.privacy-text {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-list {
    color: #9ca3af;
    line-height: 1.8;
    padding-left: 2rem;
}

.privacy-list li {
    margin-bottom: 0.8rem;
}

.privacy-list strong {
    color: #e5e7eb;
}

.contact-info-box {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1rem;
}

.contact-info-box p {
    color: #9ca3af;
    margin-bottom: 0.8rem;
}

.contact-info-box p:last-child {
    margin-bottom: 0;
}

.contact-info-box strong {
    color: #e5e7eb;
    font-size: 1.1rem;
}

.contact-info-box i {
    color: #00d9ff;
}

.contact-info-box a {
    color: #00d9ff;
}

.contact-info-box a:hover {
    color: #0ea5e9;
}

/* === ABOUT TEXT STYLES === */
.about-text {
    color: #9ca3af;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: center;
}

/* === KEYFRAME ANIMATIONS === */
@keyframes rotateIcon {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-10deg) scale(1.05);
    }
    75% {
        transform: rotate(10deg) scale(1.05);
    }
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 217, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.8);
    }
}

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

@keyframes slideInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* === SCROLL ANIMATIONS === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* === HOVER EFFECTS === */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

/* === LOADING ANIMATION === */
.loading-spinner {
    border: 3px solid rgba(0, 217, 255, 0.1);
    border-top: 3px solid #00d9ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === RESPONSIVE ANIMATIONS === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
