/* ============================================================
   STUDYAGORA
   UPSC PRELIMS BOOSTER
   FILE: /prelims-booster/upsc/style.css
============================================================ */


/* ============================================================
   ROOT / PAGE BASE
============================================================ */

:root {
    --sa-bg: #000000;
    --sa-bg-soft: #0b0b0d;
    --sa-card: #111113;
    --sa-card-soft: #151518;

    --sa-text: #ffffff;
    --sa-text-soft: #b3b3b8;
    --sa-text-muted: #88888f;

    --sa-border: #2a1730;
    --sa-border-soft: #1d1d22;

    --sa-purple: #b200ff;
    --sa-purple-2: #d400ff;
    --sa-pink: #ff00c8;
    --sa-pink-2: #ff44ee;

    --sa-radius-lg: 22px;
    --sa-radius-md: 16px;
    --sa-radius-sm: 10px;

    --sa-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.35);

    --sa-glow:
        0 0 32px
        rgba(190, 0, 255, 0.15);
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    background: var(--sa-bg);
    color: var(--sa-text);

    overflow-x: hidden;
}


main {
    width: 100%;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(178, 0, 255, 0.10),
            transparent 34%
        ),
        #000000;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ============================================================
   GENERIC
============================================================ */

a {
    text-decoration: none;
}


.section-mini-label {
    display: inline-flex;

    align-items: center;

    margin-bottom: 13px;

    color: #e28cff;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.25px;

    text-transform: uppercase;
}


/* ============================================================
   NAV ACTIVE
============================================================ */

.desktop-menu a.active-nav,
.mobile-menu a.active-nav {
    color: #ffffff;
}


/* ============================================================
   HERO
============================================================ */

.uppcs-hero {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding:
        88px 22px
        78px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(194, 0, 255, 0.22),
            transparent 42%
        ),
        radial-gradient(
            circle at 15% 25%,
            rgba(255, 0, 200, 0.08),
            transparent 26%
        ),
        #000000;
}


.uppcs-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -240px;
    right: -130px;

    border-radius: 50%;

    background:
        rgba(196, 0, 255, 0.10);

    filter: blur(30px);

    pointer-events: none;
}


.uppcs-hero-content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 980px;

    margin: 0 auto;

    text-align: center;
}


/* ============================================================
   BREADCRUMB
============================================================ */

.uppcs-breadcrumb {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 24px;

    color: #77777d;

    font-size: 13px;
}


.uppcs-breadcrumb a {
    color: #a7a7ad;

    transition:
        color 0.2s ease;
}


.uppcs-breadcrumb a:hover {
    color: #ff55ec;
}


.uppcs-breadcrumb span[aria-current="page"] {
    color: #d8a6e8;
}


/* ============================================================
   HERO LABEL
============================================================ */

.uppcs-hero-label {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-bottom: 22px;

    padding:
        10px 17px;

    border:
        1px solid
        rgba(212, 0, 255, 0.38);

    border-radius: 999px;

    background:
        rgba(212, 0, 255, 0.10);

    color: #ef9cff;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.15px;
}


/* ============================================================
   HERO HEADING
============================================================ */

.uppcs-hero h1 {
    max-width: 900px;

    margin:
        0 auto
        18px;

    font-size:
        clamp(
            38px,
            6vw,
            64px
        );

    line-height: 1.04;

    font-weight: 950;

    letter-spacing: -1.7px;

    background:
        linear-gradient(
            90deg,
            #b400ff,
            #e600ff,
            #ff53e7
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.uppcs-hero > .uppcs-hero-content > p {
    max-width: 780px;

    margin:
        0 auto;

    color: #acacb2;

    font-size: 17px;
    line-height: 1.8;
}


/* ============================================================
   HERO STATS
============================================================ */

.uppcs-hero-stats {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 14px;

    max-width: 760px;

    margin:
        38px auto
        0;
}


.uppcs-hero-stats > div {
    padding:
        20px 16px;

    border:
        1px solid
        rgba(212, 0, 255, 0.18);

    border-radius: 16px;

    background:
        rgba(255, 255, 255, 0.025);

    backdrop-filter:
        blur(8px);
}


.uppcs-hero-stats strong {
    display: block;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.1;

    font-weight: 900;
}


.uppcs-hero-stats span {
    color: #909098;

    font-size: 12px;
    line-height: 1.35;
}


/* ============================================================
   HERO ACTIONS
============================================================ */

.uppcs-hero-actions {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 30px;
}


.uppcs-hero-btn {
    min-height: 50px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding:
        14px 22px;

    border-radius: 11px;

    font-size: 14px;

    font-weight: 900;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.uppcs-hero-btn.primary {
    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            #a900ff,
            #ff00c8
        );

    box-shadow:
        0 0 24px
        rgba(200, 0, 255, 0.24);
}


.uppcs-hero-btn.secondary {
    color: #d8d8dd;

    border:
        1px solid
        #34343a;

    background:
        #111114;
}


.uppcs-hero-btn:hover {
    transform:
        translateY(-2px);
}


.uppcs-hero-btn.primary:hover {
    box-shadow:
        0 0 32px
        rgba(255, 0, 200, 0.35);
}


.uppcs-hero-btn.secondary:hover {
    border-color:
        rgba(212, 0, 255, 0.55);
}


/* ============================================================
   PRACTICE SETS SECTION
============================================================ */

.uppcs-sets-section {
    width: min(
        1180px,
        calc(100% - 48px)
    );

    margin: 0 auto;

    padding:
        78px 0
        96px;
}


.sets-section-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 25px;
}


.sets-section-header > div {
    max-width: 760px;
}


.sets-section-header h2 {
    margin:
        0 0
        12px;

    color: #ffffff;

    font-size:
        clamp(
            29px,
            4vw,
            40px
        );

    line-height: 1.15;

    font-weight: 900;

    letter-spacing: -0.6px;
}


.sets-section-header p {
    margin: 0;

    color: #98989f;

    font-size: 15px;
    line-height: 1.75;
}


/* ============================================================
   COURSE NOTE
============================================================ */

.course-note {
    margin-bottom: 28px;

    padding:
        15px 18px;

    border:
        1px solid
        rgba(212, 0, 255, 0.18);

    border-radius: 12px;

    background:
        rgba(183, 0, 255, 0.06);

    color: #b4b4ba;

    font-size: 13px;
    line-height: 1.65;
}


.course-note strong {
    color: #f1c8ff;
}


/* ============================================================
   SETS GRID
============================================================ */

.uppcs-sets-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 20px;
}


/* ============================================================
   SET CARD
============================================================ */

.uppcs-set-card {
    position: relative;

    min-width: 0;

    display: flex;
    flex-direction: column;

    padding: 24px;

    overflow: hidden;

    border:
        1px solid
        #27202c;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #131316,
            #0b0b0d
        );

    box-shadow:
        0 12px 28px
        rgba(0, 0, 0, 0.18);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}


.uppcs-set-card::before {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    top: -90px;
    right: -75px;

    border-radius: 50%;

    background:
        rgba(212, 0, 255, 0.07);

    pointer-events: none;
}


.uppcs-set-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(212, 0, 255, 0.52);

    box-shadow:
        0 18px 36px
        rgba(0, 0, 0, 0.30);
}


/* ============================================================
   SET CARD TOP
============================================================ */

.set-card-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 22px;
}


.set-number {
    color: #ef9cff;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1px;
}


.free-set-badge {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding:
        6px 9px;

    border:
        1px solid
        rgba(212, 0, 255, 0.22);

    border-radius: 999px;

    background:
        rgba(212, 0, 255, 0.08);

    color: #e7b8f7;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 0.7px;
}


/* ============================================================
   SET CARD TEXT
============================================================ */

.uppcs-set-card h3 {
    margin:
        0 0
        12px;

    color: #ffffff;

    font-size: 20px;
    line-height: 1.35;

    font-weight: 850;
}


.uppcs-set-card > p {
    flex-grow: 1;

    margin:
        0 0
        22px;

    color: #929299;

    font-size: 13px;
    line-height: 1.7;
}


/* ============================================================
   SET META
============================================================ */

.set-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 18px;
}


.set-meta span {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding:
        7px 9px;

    border-radius: 7px;

    background:
        #18181c;

    color: #a9a9af;

    font-size: 11px;
}


/* ============================================================
   START BUTTON
============================================================ */

.start-set-btn {
    width: 100%;

    min-height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        12px 14px;

    border-radius: 9px;

    background:
        linear-gradient(
            90deg,
            #a900ff,
            #ff00c8
        );

    color: #ffffff !important;

    font-size: 13px;

    font-weight: 900;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.start-set-btn:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 0 22px
        rgba(220, 0, 255, 0.27);
}


/* ============================================================
   NO SETS
============================================================ */

.no-sets-message {
    grid-column:
        1 / -1;

    padding:
        42px 28px;

    text-align: center;

    border:
        1px dashed
        #343039;

    border-radius: 18px;

    background:
        #0f0f12;
}


.no-sets-message h3 {
    margin:
        0 0
        10px;

    color: #ffffff;

    font-size: 21px;
}


.no-sets-message p {
    max-width: 620px;

    margin:
        0 auto;

    color: #95959c;

    font-size: 14px;
    line-height: 1.7;
}


/* ============================================================
   HOW / SEO SECTIONS
============================================================ */

.uppcs-how-section,
.uppcs-seo-section {
    width: min(
        980px,
        calc(100% - 48px)
    );

    margin: 0 auto;

    padding:
        30px 0
        78px;
}


.uppcs-seo-content {
    padding-top: 46px;

    border-top:
        1px solid
        #1d1d21;
}


.uppcs-seo-content h2 {
    margin:
        0 0
        18px;

    color: #ffffff;

    font-size:
        clamp(
            27px,
            4vw,
            36px
        );

    line-height: 1.2;

    font-weight: 900;

    letter-spacing: -0.5px;
}


.uppcs-seo-content > p {
    margin:
        0 0
        20px;

    color: #a0a0a6;

    font-size: 15px;
    line-height: 1.85;
}


/* ============================================================
   STEPS
============================================================ */

.booster-steps {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 18px;

    margin-top: 28px;
}


.booster-step {
    padding: 23px;

    border:
        1px solid
        #25192c;

    border-radius: 16px;

    background:
        #101012;
}


.booster-step > span {
    width: 42px;
    height: 42px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #7c00ff,
            #ff00cc
        );

    color: #ffffff;

    font-size: 12px;

    font-weight: 900;
}


.booster-step h3 {
    margin:
        0 0
        10px;

    color: #ffffff;

    font-size: 18px;
}


.booster-step p {
    margin: 0;

    color: #919198;

    font-size: 13px;
    line-height: 1.7;
}


/* ============================================================
   FAQ
============================================================ */

.faq-list {
    display: grid;

    gap: 12px;

    margin-top: 28px;
}


.faq-list details {
    border:
        1px solid
        #262129;

    border-radius: 12px;

    background:
        #101012;

    overflow: hidden;
}


.faq-list summary {
    position: relative;

    padding:
        17px 48px
        17px 18px;

    cursor: pointer;

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    list-style: none;
}


.faq-list summary::-webkit-details-marker {
    display: none;
}


.faq-list summary::after {
    content: "+";

    position: absolute;

    right: 18px;
    top: 50%;

    transform:
        translateY(-50%);

    color: #e892ff;

    font-size: 21px;

    font-weight: 500;
}


.faq-list details[open] summary::after {
    content: "−";
}


.faq-list details p {
    margin: 0;

    padding:
        0 18px
        18px;

    color: #96969d;

    font-size: 13px;
    line-height: 1.7;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 980px) {

    .uppcs-sets-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .booster-steps {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 768px) {

    .uppcs-hero {
        padding:
            62px 18px
            58px;
    }


    .uppcs-breadcrumb {
        margin-bottom: 20px;

        font-size: 12px;
    }


    .uppcs-hero h1 {
        font-size: 40px;

        letter-spacing: -1px;
    }


    .uppcs-hero > .uppcs-hero-content > p {
        font-size: 15px;
        line-height: 1.75;
    }


    .uppcs-hero-stats {
        grid-template-columns: 1fr;

        max-width: 440px;

        margin-top: 30px;
    }


    .uppcs-hero-stats > div {
        padding:
            16px;
    }


    .uppcs-hero-actions {
        flex-direction: column;

        max-width: 440px;

        margin:
            24px auto
            0;
    }


    .uppcs-hero-btn {
        width: 100%;
    }


    .uppcs-sets-section {
        width:
            calc(
                100% - 32px
            );

        padding:
            62px 0
            70px;
    }


    .sets-section-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .uppcs-sets-grid {
        grid-template-columns: 1fr;
    }


    .uppcs-how-section,
    .uppcs-seo-section {
        width:
            calc(
                100% - 32px
            );

        padding-bottom: 58px;
    }


    .uppcs-seo-content {
        padding-top: 36px;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    .uppcs-hero {
        padding:
            48px 14px
            46px;
    }


    .uppcs-hero-label {
        padding:
            8px 12px;

        font-size: 9px;
    }


    .uppcs-hero h1 {
        font-size: 32px;

        line-height: 1.1;
    }


    .uppcs-hero > .uppcs-hero-content > p {
        font-size: 14px;
    }


    .uppcs-hero-stats strong {
        font-size: 22px;
    }


    .uppcs-sets-section {
        width:
            calc(
                100% - 28px
            );
    }


    .sets-section-header h2 {
        font-size: 27px;
    }


    .uppcs-set-card {
        padding: 20px;
    }


    .uppcs-set-card h3 {
        font-size: 18px;
    }


    .course-note {
        padding:
            13px 14px;

        font-size: 12px;
    }


    .uppcs-how-section,
    .uppcs-seo-section {
        width:
            calc(
                100% - 28px
            );
    }


    .uppcs-seo-content h2 {
        font-size: 25px;
    }


    .booster-step {
        padding: 20px;
    }

}