/* --- THEME COLORS --- */
:root {
    --navy: #1a237e;
    --dark-navy: #0f172a;
    --purple: #ab47bc;
    --teal: #26c6da;
    --bg-dark-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

/* Background Animation */
.animated-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    animation: move 10s infinite alternate;
}
.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--purple);
    top: -10%;
    left: -10%;
}
.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--teal);
    bottom: 0%;
    right: 0%;
}
.code-symbol {
    position: absolute;
    color: rgba(255, 255, 255, 0.03);
    font-weight: 900;
    font-size: 10rem;
}
.s2 {
    bottom: 20px;
    left: 20px;
    animation: floatRotate 20s infinite linear;
    font-size: 8rem;
}
@keyframes floatRotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-50px) rotate(360deg);
    }
}

/* --- CARD --- */
.register-card-wrapper {
    width: 950px;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

/* Sidebar */
.progress-sidebar {
    background-image: url("https://img.freepik.com/free-vector/gradient-technological-background_23-2148884155.jpg");
    background-size: cover;
    background-position: center;
}
.sidebar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
}
.rocket-float {
    animation: bounce 3s infinite;
}
@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(38, 198, 218, 0.4);
}

/* Steps */
.v-step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    opacity: 0.4;
    transition: 0.3s;
}
.v-step.active {
    opacity: 1;
    transform: translateX(10px);
}
.v-step .icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.v-step.active .icon-circle {
    background: var(--teal);
    color: var(--navy);
    box-shadow: 0 0 10px var(--teal);
}
.v-step .label {
    font-weight: bold;
    font-size: 1rem;
}

/* --- FORMS --- */
.form-step {
    display: none;
    animation: slideIn 0.4s ease;
}
.form-step.active {
    display: block;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Inputs */
.custom-floating {
    position: relative;
}
.custom-floating input {
    height: 60px;
    padding-right: 50px;
    padding-left: 20px;
    border: 2px solid #f3f4f6;
    background: #fff;
    transition: 0.3s;
}
.custom-floating input:focus {
    border-color: var(--teal);
    box-shadow: 0 4px 15px rgba(38, 198, 218, 0.1);
}
.custom-floating label {
    padding-left: 20px;
    color: #9ca3af;
}
.field-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #d1d5db;
    font-size: 1.2rem;
    transition: 0.3s;
}
.custom-floating input:focus ~ .field-icon {
    color: var(--teal);
}

/* Buttons */
.btn-gradient {
    background: linear-gradient(90deg, var(--navy), var(--purple));
    border: none;
    transition: 0.3s;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 35, 126, 0.3);
}

.btn-finish {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border: none;
}
.btn-finish:hover {
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

/* Package Selector */
.plan-item {
    transition: 0.3s;
    border: 2px solid #f3f4f6;
    background: #fff;
    width: 48%; /* 2 per row */
}
.plan-item:hover {
    border-color: var(--teal);
    transform: translateY(-5px);
}

.plan-item.active-plan {
    border-color: var(--purple);
    background: #faf5ff;
    box-shadow: 0 10px 25px rgba(171, 71, 188, 0.15);
}
.plan-item.active-plan .selection-circle {
    width: 20px;
    height: 20px;
    background: var(--purple);
    border-radius: 50%;
}
/* Responsive */
@media (max-width: 991px) {
    .register-card-wrapper {
        margin: 15px;
        width: 100%;
        min-height: auto;
        border-radius: 20px;
    }
    .progress-sidebar {
        display: none !important;
    }
    .plan-item {
        width: 100%;
    }
}
/* Hero Avatar Styles */

.hero-avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-bg-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /* تدرج الوان الهوية */
    background: linear-gradient(135deg, var(--teal), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: 0.3s;
}

.hero-icon {
    font-size: 2.5rem;
    animation: floatIcon 3s ease-in-out infinite;
}

/* الحركة العائمة */
@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

/* التموج الخلفي */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--purple);
    opacity: 0;
    animation: radarPulse 2s infinite;
}

@keyframes radarPulse {
    0% {
        width: 80px;
        height: 80px;
        opacity: 0.6;
    }
    100% {
        width: 140px;
        height: 140px;
        opacity: 0;
    }
}

.tracking-wide {
    letter-spacing: 0.5px;
}

.hero-avatar-wrapper:hover .icon-bg-circle {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(38, 198, 218, 0.5); /* Glow teal */
}
