/* Gated Resources Modal Styles */
.resource-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.resource-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.resource-modal {
    background: var(--bg-dark);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.1);
}

.resource-modal-overlay.active .resource-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.resource-modal h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 10px;
}

.resource-modal h3 span {
    color: var(--primary-cyan);
}

.resource-modal p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.resource-form-group {
    margin-bottom: 20px;
}

.resource-form-group label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.resource-form-group input {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.resource-form-group input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.08);
}

.resource-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.resource-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

.resource-disclaimer {
    margin-top: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* Success State */
.resource-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.resource-success i {
    font-size: 4rem;
    color: #25D366; /* WhatsApp Green */
    margin-bottom: 20px;
}

.resource-success h4 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px;
}

.resource-success p {
    color: var(--text-light);
    margin-bottom: 20px;
}
