@font-face {
    font-family: 'Cairo';
    src: url('../fonts/cairo/Cairo-Regular.eot');
    src: local('../fonts/cairo/Cairo-Regular'), url('../fonts/cairo/Cairo-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/cairo/Cairo-Regular.woff2') format('woff2'), url('../fonts/cairo/Cairo-Regular.woff') format('woff'), url('../fonts/cairo/Cairo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Cairo', 'Inter', sans-serif;
}

/* ══════ SCENE ══════ */
.scene {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #06060e;
    padding: 40px 20px;
}

/* Multi-layer mesh background */
.scene-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 70% 55% at 15% 10%, rgba(139,92,246,.22) 0%, transparent 55%), radial-gradient(ellipse 55% 50% at 85% 90%, rgba(20,184,166,.18) 0%, transparent 55%), radial-gradient(ellipse 60% 45% at 90% 10%, rgba(245,158,11,.1) 0%, transparent 50%), radial-gradient(ellipse 50% 40% at 10% 90%, rgba(59,130,246,.12) 0%, transparent 50%), #06060e;
}

/* Fine dot grid */
.scene-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Floating bokeh orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: drift 12s ease-in-out infinite;
}

.orb-a {
    width: 450px;
    height: 450px;
    background: rgba(139,92,246,.14);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-b {
    width: 380px;
    height: 380px;
    background: rgba(20,184,166,.12);
    bottom: -80px;
    right: -80px;
    animation-delay: -4s;
}

.orb-c {
    width: 280px;
    height: 280px;
    background: rgba(245,158,11,.09);
    top: 40%;
    right: 10%;
    animation-delay: -8s;
}

@@keyframes drift {
    0%, 100% {
        transform: translate(0,0);
    }

    33% {
        transform: translate(18px,-22px);
    }

    66% {
        transform: translate(-14px,16px);
    }
}

/* ══════ CARD ══════ */
.card-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

/* Glowing animated border */
.card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(139,92,246,.5), rgba(20,184,166,.3), rgba(245,158,11,.2), rgba(139,92,246,.5));
    background-size: 300% 300%;
    animation: borderSpin 5s linear infinite;
    z-index: -1;
    filter: blur(1px);
}

@@keyframes borderSpin {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.card-glass {
    background: rgba(12, 13, 24, 0.82);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 2.2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Icon Badge Header */
.icon-badge {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(196, 181, 253, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #c4b5fd;
    margin: 0 auto 1.25rem auto;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.25);
}

.brand-logo {
    font-weight: 900;
    font-size: 1.65rem;
    background: linear-gradient(135deg, #ffffff 30%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* Floating Inputs */
.input-group-custom {
    position: relative;
    margin-bottom: 1.25rem;
}

    .input-group-custom i.icon-prefix {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, 0.4);
        font-size: 1.1rem;
        transition: color 0.3s ease;
        z-index: 2;
    }

.form-control-custom {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 44px 14px 16px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

    .form-control-custom:focus {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(139, 92, 246, 0.6);
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
        outline: none;
        color: #ffffff;
    }

        .form-control-custom:focus + i.icon-prefix,
        .input-group-custom:focus-within i.icon-prefix {
            color: #c4b5fd;
        }

/* Primary Button */
.btn-cyber {
    width: 100%;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border: none;
    border-radius: 14px;
    padding: 14px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn-cyber:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(139, 92, 246, 0.5);
        background: linear-gradient(135deg, #9d6cfd 0%, #7579f2 100%);
        color: #ffffff;
    }

    .btn-cyber:active {
        transform: translateY(0);
    }

/* Validation Summary */
.text-danger-custom {
    color: #f87171;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

.back-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .back-link:hover {
        color: #ffffff;
        transform: translateX(4px);
    }