/* ============================= */
/* GLOBAL BACKGROUND */
/* ============================= */
body {
    background: #000;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Purple glow */
body::before {
    content: '';

    position: fixed;
    top: -300px;
    left: -300px;

    width: 800px;
    height: 800px;

    border-radius: 50%;

    background: rgba(139, 92, 255, 0.18);

    filter: blur(220px);

    pointer-events: none;
    z-index: -2;
}

/* Blue glow */
body::after {
    content: '';

    position: fixed;
    bottom: -350px;
    right: -350px;

    width: 900px;
    height: 900px;

    border-radius: 50%;

    background: rgba(0, 191, 255, 0.12);

    filter: blur(260px);

    pointer-events: none;
    z-index: -2;
}


/* ============================= */
/* CONTACT FORM */
/* ============================= */
.contact-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.contact-container {
    max-width: 1000px;
    width: 100%;

    padding: 50px;

    border-radius: 24px;

    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(139,92,255,0.35);

    box-shadow:
        0 0 40px rgba(139,92,255,0.15),
        0 0 80px rgba(0,191,255,0.08);

    text-align: center;
}

/* ============================= */
/* HEADING */
/* ============================= */
.contact-heading {
    font-family: 'Michroma', sans-serif;
    font-size: 3rem;
    margin-bottom: 1.2rem;

    background: linear-gradient(
        90deg,
        #8b5cff,
        #00bfff
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtext {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

/* ============================= */
/* FORM */
/* ============================= */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;

    padding: 16px 20px;

    border-radius: 14px;

    background: rgba(255,255,255,0.03);

    border: 1px solid rgba(255,255,255,0.08);

    color: #fff;

    font-size: 1rem;

    transition: 0.3s ease;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(255,255,255,0.45);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;

    border-color: #8b5cff;

    box-shadow:
        0 0 0 2px rgba(139,92,255,0.25),
        0 0 20px rgba(139,92,255,0.15);

    background: rgba(255,255,255,0.05);
}

textarea {
    min-height: 180px;
    resize: vertical;
}

/* ============================= */
/* PRIVACY CONSENT */
/* ============================= */
.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;

    margin-top: 0.5rem;
    margin-bottom: 0.5rem;

    text-align: left;
}

.consent-group input[type="checkbox"] {
    margin-top: 3px;

    width: 18px;
    height: 18px;

    accent-color: #8b5cff;

    cursor: pointer;
}

.consent-group label {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.consent-group a {
    color: #8b5cff;
    text-decoration: none;
}

.consent-group a:hover {
    color: #00bfff;
}

/* MOBILE */

@media (max-width: 600px) {

    .consent-group {
        align-items: flex-start;
    }

    .consent-group label {
        font-size: 0.9rem;
    }

}

/* ============================= */
/* BUTTON */
/* ============================= */
.contact-button {
    border: none;

    padding: 18px;

    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #8b5cff,
        #00bfff
    );

    color: #fff;

    font-size: 1rem;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;

    box-shadow:
        0 0 20px rgba(139,92,255,0.3);
}

.contact-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 30px rgba(139,92,255,0.4),
        0 0 60px rgba(0,191,255,0.15);
}

/* ============================= */
/* HONEYPOT */
/* ============================= */
.honeypot {
    display: none;
}

/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 992px) {

    .contact-container {
        padding: 40px 30px;
    }

    .contact-heading {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {

    .contact-section {
        padding: 60px 15px;
    }

    .contact-container {
        padding: 30px 20px;
    }

    .contact-heading {
        font-size: 2rem;
    }

    .contact-subtext {
        font-size: 0.95rem;
    }

    .input-group input,
    .input-group textarea {
        padding: 14px 16px;
    }

    textarea {
        min-height: 140px;
    }
}



/* ============================= */
/* CONTACT POPUP */
/* ============================= */

.contact-popup {
    display: none;

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.contact-popup-content {
    width: 90%;
    max-width: 420px;

    padding: 2rem;

    text-align: center;

    border-radius: 20px;

    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(139,92,255,0.3);

    color: #fff;

    box-shadow:
        0 0 30px rgba(139,92,255,0.15),
        0 0 60px rgba(0,191,255,0.08);

    animation: popupFade 0.3s ease;
}

.contact-popup-content h3 {
    margin-bottom: 1rem;

    font-size: 1.8rem;

    background: linear-gradient(
        90deg,
        #8b5cff,
        #00bfff
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-popup-content p {
    margin-bottom: 1.5rem;

    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

#close-contact-popup {
    border: none;

    padding: 0.9rem 1.8rem;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #8b5cff,
        #00bfff
    );

    color: #fff;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;

    box-shadow:
        0 0 15px rgba(139,92,255,0.25);
}

#close-contact-popup:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 25px rgba(139,92,255,0.35),
        0 0 40px rgba(0,191,255,0.12);
}

/* ============================= */
/* ANIMATION */
/* ============================= */

@keyframes popupFade {

    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}