
/* ==========================================================
   NOVA EDUSPACE — PREMIUM GLASS FAQ
   ========================================================== */

.nova-faq,
.nova-faq * {
    box-sizing: border-box;
}

.nova-faq {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 100px 24px;

    color: #ffffff;
    font-family: "Outfit", sans-serif;

    background:
        radial-gradient(
            ellipse at 8% 45%,
            rgba(0, 196, 255, 0.09),
            transparent 38%
        ),
        radial-gradient(
            ellipse at 95% 72%,
            rgba(112, 75, 255, 0.09),
            transparent 38%
        ),
        #050B18;
}

.nova-faq__container {
    position: relative;
    z-index: 1;
    width: min(1240px, 100%);
    margin: 0 auto;
}

/* SECTION HEADING */

.nova-faq__heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.nova-faq__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;

    color: #42DDF5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.nova-faq__eyebrow span {
    font-size: 17px;
}

.nova-faq__heading h2 {
    margin: 0;
    color: #F8FBFF;

    font-size: clamp(34px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.nova-faq__heading h2 span {
    color: #35D7F2;
}

.nova-faq__heading p {
    max-width: 620px;
    margin: 16px auto 0;

    color: #ACBDD2;
    font-size: 16px;
    line-height: 1.7;
}

/* SPLIT LAYOUT */

.nova-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: 26px;
}

/* GLASS PANELS */

.nova-faq__contact-card,
.nova-faq__glass-card {
    min-width: 0;
    border: 1px solid rgba(168, 207, 255, 0.17);
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.045);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);

    box-shadow:
        0 22px 65px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

/* LEFT CONTACT CARD */

.nova-faq__contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: clamp(28px, 4vw, 48px);
    overflow: hidden;
    position: relative;
}

.nova-faq__contact-card::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    top: -110px;
    right: -100px;

    border-radius: 50%;
    background: rgba(0, 201, 255, 0.11);
    filter: blur(65px);
    pointer-events: none;
}

.nova-faq__contact-label {
    position: relative;
    margin-bottom: 20px;

    color: #42DDF5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nova-faq__contact-card h3 {
    position: relative;
    margin: 0;

    color: #FFFFFF;
    font-size: clamp(29px, 3vw, 40px);
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: -0.8px;
}

.nova-faq__contact-card > p {
    position: relative;
    margin: 20px 0 28px;

    color: #B2C2D8;
    font-size: 15px;
    line-height: 1.8;
}

/* CONTACT BUTTON */

.nova-faq__contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    min-height: 54px;
    padding: 0 25px;
    border: 0;
    border-radius: 999px;

    background: linear-gradient(
        110deg,
        #13CDE8 0%,
        #2784F8 52%,
        #7550F5 100%
    );

    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-decoration: none;

    box-shadow: 0 9px 28px rgba(35, 127, 244, 0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.nova-faq__contact-btn span {
    font-size: 19px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.nova-faq__contact-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.06);
    box-shadow: 0 14px 34px rgba(35, 127, 244, 0.32);
}

.nova-faq__contact-btn:hover span {
    transform: translateX(4px);
}

.nova-faq__contact-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 30px;

    color: #7F96B4;
    font-size: 12px;
}

.nova-faq__contact-note span {
    color: #44DDF5;
    font-size: 15px;
}

/* RIGHT GLASS PANEL */

.nova-faq__glass-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 22px;
}

.nova-faq__list-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 2px 2px 17px;
    border-bottom: 1px solid rgba(157, 190, 227, 0.14);

    color: #E6F1FF;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.nova-faq__count {
    color: #54DFF4;
    font-size: 10px;
    letter-spacing: 1px;
}

/* INTERNAL SCROLL AREA */

.nova-faq__questions {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;

    padding: 5px 9px 5px 0;
    margin-top: 12px;

    scrollbar-width: thin;
    scrollbar-color: rgba(48, 194, 232, 0.65) rgba(255, 255, 255, 0.04);

    overscroll-behavior: contain;
    scroll-behavior: smooth;
}

.nova-faq__questions::-webkit-scrollbar {
    width: 6px;
}

.nova-faq__questions::-webkit-scrollbar-track {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
}

.nova-faq__questions::-webkit-scrollbar-thumb {
    border: 1px solid rgba(5, 11, 24, 0.5);
    border-radius: 20px;
    background: linear-gradient(
        180deg,
        #31D8F2,
        #5577EE
    );
}

/* ACCORDION ROWS */

.nova-faq__item {
    margin-bottom: 10px;
    border: 1px solid rgba(164, 198, 237, 0.13);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.035);

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}

.nova-faq__item:last-child {
    margin-bottom: 0;
}

.nova-faq__item:hover {
    border-color: rgba(57, 203, 239, 0.35);
    background: rgba(255, 255, 255, 0.055);
}

.nova-faq__item[open] {
    border-color: rgba(53, 210, 241, 0.35);
    background: rgba(23, 86, 121, 0.13);
}

.nova-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    position: relative;
    padding: 18px 17px;
    list-style: none;
    cursor: pointer;

    color: #F3F7FC;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.nova-faq__item summary::-webkit-details-marker {
    display: none;
}

.nova-faq__item summary::after {
    content: "+";
    flex: 0 0 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;
    border: 1px solid rgba(61, 214, 245, 0.25);
    border-radius: 50%;

    color: #43DDF5;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.nova-faq__item[open] summary::after {
    content: "−";
    background: rgba(52, 206, 240, 0.1);
    transform: rotate(180deg);
}

.nova-faq__item summary:focus-visible {
    outline: 2px solid #43DDF5;
    outline-offset: 3px;
    border-radius: 10px;
}

.nova-faq__answer {
    padding: 0 17px 18px;
    animation: novaFaqReveal 0.25s ease;
}

.nova-faq__answer p {
    margin: 0;
    padding-top: 13px;
    border-top: 1px solid rgba(164, 198, 237, 0.12);

    color: #ABBCD2;
    font-size: 13px;
    line-height: 1.8;
}

@keyframes novaFaqReveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SCROLL HINT */

.nova-faq__scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding-top: 16px;
    margin-top: 13px;
    border-top: 1px solid rgba(157, 190, 227, 0.12);

    color: #8298B4;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-align: center;
}

.nova-faq__scroll-hint span {
    color: #42DDF5;
    font-size: 16px;
}

/* TABLET */

@media (max-width: 900px) {
    .nova-faq {
        padding: 80px 22px;
    }

    .nova-faq__layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nova-faq__contact-card {
        padding: 34px;
    }

    .nova-faq__contact-card h3 {
        max-width: 500px;
    }

    .nova-faq__contact-card > p {
        max-width: 600px;
    }

    .nova-faq__questions {
        max-height: 390px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .nova-faq {
        padding: 64px 15px;
    }

    .nova-faq__heading {
        margin-bottom: 27px;
    }

    .nova-faq__heading h2 {
        font-size: clamp(30px, 8vw, 39px);
        letter-spacing: -0.8px;
    }

    .nova-faq__heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .nova-faq__contact-card {
        padding: 27px 23px;
        border-radius: 20px;
    }

    .nova-faq__contact-card h3 {
        font-size: 31px;
    }

    .nova-faq__contact-card > p {
        font-size: 14px;
    }

    .nova-faq__contact-btn {
        width: 100%;
        min-height: 52px;
        padding: 0 17px;
        font-size: 12px;
    }

    .nova-faq__glass-card {
        padding: 15px;
        border-radius: 20px;
    }

    .nova-faq__list-heading {
        font-size: 10px;
        letter-spacing: 1.1px;
    }

    .nova-faq__questions {
        max-height: 380px;
        padding-right: 6px;
    }

    .nova-faq__item summary {
        padding: 15px 12px;
        font-size: 13px;
        gap: 10px;
    }

    .nova-faq__answer {
        padding: 0 12px 15px;
    }

    .nova-faq__answer p {
        font-size: 12px;
        line-height: 1.75;
    }

    .nova-faq__scroll-hint {
        font-size: 8px;
        letter-spacing: 1px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .nova-faq__contact-btn,
    .nova-faq__contact-btn span,
    .nova-faq__item,
    .nova-faq__item summary::after {
        transition: none !important;
    }

    .nova-faq__answer {
        animation: none !important;
    }

    .nova-faq__questions {
        scroll-behavior: auto;
    }
}
