﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #011a23;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    color: #0d3c5f;
}

/* Animated grid background */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 60, 95, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 60, 95, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -3;
    animation: gridMove 20s linear infinite;
}


/* Enhanced matrix-style background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 30% 70%, rgba(13, 60, 95, 0.05) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(26, 117, 159, 0.05) 0%, transparent 50%);
    overflow: hidden;
}

.matrix-code {
    position: absolute;
    color: rgba(13, 60, 95, 0.7);
    font-size: 18px;
    font-family: 'Arial, sans-serif', monospace;
    animation: matrixFall linear infinite;
    text-shadow: 0 0 10px currentColor;
    opacity: 0;
}


/* Enhanced hologram effect container */
.hologram-container {
    width: 100%;
    max-width: 500px;
    perspective: 1000px;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 0 30px rgba(13, 60, 95, 0.1));
}

.hologram {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f7 100%);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 0 0 1px rgba(13, 60, 95, 0.3), 0 0 30px rgba(13, 60, 95, 0.2), inset 0 0 20px rgba(13, 60, 95, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: hologramFloat 8s ease-in-out infinite;
    backdrop-filter: blur(5px);
}



    .hologram::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(13, 60, 95, 0.1), rgba(26, 117, 159, 0.1), transparent);
        transform: rotate(45deg);
        animation: scan 6s linear infinite;
        z-index: -1;
    }


    .hologram::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 80%, rgba(13, 60, 95, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(26, 117, 159, 0.05) 0%, transparent 50%);
        z-index: -1;
        pointer-events: none;
    }

/* Header with enhanced cyber effect */
.cyber-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.logo {
    font-size: 52px;
    font-weight: 900;
    color: #0d3c5f;
    text-shadow: 0 0 10px rgba(13, 60, 95, 0.3);
    margin-bottom: 10px;
    letter-spacing: 4px;
    position: relative;
    transition: all 0.5s ease;
    animation: titleGlow 3s infinite alternate;
}



.tagline {
    color: #0d3c5f;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(13, 60, 95, 0.3);
    position: relative;
    display: inline-block;
}

    .tagline::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #0d3c5f, transparent);
        animation: pulse 2s infinite;
    }



/* Form elements with enhanced cyber style */
.cyber-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: #0d3c5f;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(13, 60, 95, 0.3);
    display: flex;
    align-items: center;
}

    .form-label i {
        margin-right: 10px;
        color: #1a759f;
    }

.cyber-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(13, 60, 95, 0.05);
    border: 1px solid rgba(13, 60, 95, 0.3);
    border-radius: 5px;
    color: #0d3c5f;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    z-index: 1;
}

    .cyber-input:focus {
        border-color: #0d3c5f;
        box-shadow: 0 0 15px rgba(13, 60, 95, 0.5);
        background: rgba(13, 60, 95, 0.1);
    }

    .cyber-input::placeholder {
        color: rgba(13, 60, 95, 0.5);
    }

/* Enhanced cyber button */
.cyber-btn {
    width: 100%;
    padding: 15px;
    background: #0d3c5f;
    border: none;
    border-radius: 5px;
    color: #e8f4f8;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-shadow: 0 0 5px rgba(13, 60, 95, 0.5);
    box-shadow: 0 5px 15px rgba(13, 60, 95, 0.3);
}

    .cyber-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(13, 60, 95, 0.5);
        background: #1a759f;
    }

    .cyber-btn:active {
        transform: translateY(1px);
    }

    .cyber-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.5s;
    }

    .cyber-btn:hover::before {
        left: 100%;
    }

    .cyber-btn i {
        margin-right: 10px;
    }

/* OTP Section with enhanced visualization */
.cyber-otp {
    display: none;
    background: rgba(26, 117, 159, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(26, 117, 159, 0.2);
}

.otp-input-container {
    position: relative;
}

.otp-input {
    /* letter-spacing: 5px; */
    font-family: Arial, sans-serif;
    text-align: center;
}

/* Features with enhanced cyber style */
.cyber-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.cyber-feature {
    background: rgba(13, 60, 95, 0.05);
    border: 1px solid rgba(13, 60, 95, 0.2);
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .cyber-feature:hover {
        transform: translateY(-5px);
        border-color: #0d3c5f;
        box-shadow: 0 5px 15px rgba(13, 60, 95, 0.2);
    }

    .cyber-feature::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(13, 60, 95, 0.1), transparent);
        transition: left 0.5s;
    }

    .cyber-feature:hover::before {
        left: 100%;
    }

.feature-icon {
    font-size: 24px;
    color: #1a759f;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(26, 117, 159, 0.3);
}

.feature-title {
    font-size: 12px;
    color: #0d3c5f;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.feature-desc {
    font-size: 10px;
    color: rgba(13, 60, 95, 0.7);
    line-height: 1.3;
}

/* Footer */
.cyber-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(13, 60, 95, 0.2);
    color: rgba(13, 60, 95, 0.7);
    font-size: 12px;
    line-height: 1.5;
}

/* Success message */
.cyber-success {
    background: rgba(13, 60, 95, 0.1);
    border: 1px solid rgba(13, 60, 95, 0.5);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    color: #0d3c5f;
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
    text-shadow: 0 0 10px rgba(13, 60, 95, 0.3);
}



/* Particle effects */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #0d3c5f;
    border-radius: 50%;
    animation: particleFloat linear infinite;
    box-shadow: 0 0 5px #0d3c5f;
}


/* Professional Modal */
.cyber-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 20, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f7 100%);
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 30px rgba(13, 60, 95, 0.5);
    position: relative;
    animation: modalAppear 0.5s ease;
    border: 1px solid rgba(13, 60, 95, 0.3);
}


.modal-header {
    text-align: center;
    margin-bottom: 20px;
    color: #0d3c5f;
}

    .modal-header i {
        font-size: 48px;
        margin-bottom: 15px;
        color: #1a759f;
        text-shadow: 0 0 10px rgba(26, 117, 159, 0.3);
    }

.modal-title {
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(13, 60, 95, 0.3);
}

.modal-body {
    text-align: center;
    margin-bottom: 25px;
    color: #0d3c5f;
    line-height: 1.5;
}

.modal-footer {
    text-align: center;
}

.modal-btn {
    padding: 12px 25px;
    background: #0d3c5f;
    border: none;
    border-radius: 5px;
    color: #e8f4f8;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(13, 60, 95, 0.3);
}

    .modal-btn:hover {
        background: #1a759f;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(13, 60, 95, 0.5);
    }

.resend-link {
    color: #0d3c5f;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s ease;
}

    .resend-link:hover {
        color: #1a759f;
        text-decoration: underline;
    }

    .resend-link i {
        margin-right: 5px;
    }


@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 10px rgba(13, 60, 95, 0.3);
    }

    100% {
        text-shadow: 0 0 20px rgba(13, 60, 95, 0.5);
    }
}

@keyframes scan {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes hologramFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0.5deg);
    }

    50% {
        transform: translateY(-10px) rotateX(-0.5deg);
    }
}

@keyframes matrixFall {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, 40px);
    }
}
