/* Main Modal Container */
.lead-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Content Box */
.lead-modal-content {
    position: relative;
    background-color: #161b22;
    background-image: radial-gradient(circle at top, #1e293b, #161b22);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #30363d;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 191, 255, 0.15), 0 5px 15px rgba(0,0,0,0.3);
    animation: slideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    color: #c9d1d9;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Close Button */
.lead-modal-close {
    color: #8b949e;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
}

.lead-modal-close:hover {
    color: #ffffff;
}

/* Icon Styling */
.lead-modal-icon {
    font-size: 48px;
    color: #38bdf8;
    margin-bottom: 20px;
}

.lead-modal-content h2 {
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.lead-modal-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Form Styling */
.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #30363d;
    background-color: #0d1117;
    color: #c9d1d9;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.lead-capture-button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-image: linear-gradient(90deg, #8A2BE2, #4A00E0);
    box-shadow: 0 5px 15px rgba(74, 0, 224, 0.3);
    transition: all 0.3s ease;
}

.lead-capture-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

/* Message Area */
.lead-capture-message {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
}

.lead-capture-message.success {
    color: #2fb344;
}

.lead-capture-message.error {
    color: #d63939;
}
