*, *::before, *::after {
    box-sizing: border-box;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

.popup-content {
    background: var(--card-color, rgba(25, 25, 25, 0.7));
    padding: 25px;
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-color);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.popup-header h5 {
    margin: 0;
    font-weight: 500;
    font-size: 1.2rem;
}

.popup-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.6rem;
    opacity: 0.7;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: opacity 0.2s;
}

.popup-close:hover {
    opacity: 1;
}

.contact-choices { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.contact-choices .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
}
.contact-choices .btn i {
    margin-right: 8px;
}
.contact-choices .btn:hover { 
    background: rgba(255, 255, 255, 0.2); 
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    background-color: rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form .form-control::placeholder { 
    color: #a0a0b0; 
}
.contact-form .form-control:focus { 
    background-color: rgba(0,0,0,0.4); 
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--neon-glow) 25%, transparent);
    border-color: var(--neon-glow);
    outline: none;
}
.contact-form .form-row {
    display: flex;
    gap: 15px;
}
.contact-form .form-row .form-control {
    margin-bottom: 15px;
}
.contact-form .btn-primary { 
    background-color: var(--neon-glow); 
    border: none; 
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    color: #050505;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: filter 0.2s;
}
.contact-form .btn-primary:hover {
    filter: brightness(1.15);
}
.contact-form .btn-primary:disabled {
    background-color: #555;
    cursor: not-allowed;
}

#form-status {
    color: white; 
    padding-top: 15px;
    text-align: center;
    font-weight: 500;
}