body{

    margin: 0 0;
    background: var(--pages-color);
}

/* =============== TERMS PAGE ================= */
.terms-page {

    min-height: 100vh;
    background: var(--pages-color);
    color: var(--white-color);
}

/* ================= HERO ================== */
.terms-hero {

    position: relative;
    padding: 50px 40px 30px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.terms-hero::before {

    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(245, 197, 66, 0.12), transparent 70%);
    pointer-events: none;
}
.terms-hero-content {

    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: auto;
}
.terms-badge {

    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 25px;
    border-radius: 50px;
    background: rgba(245, 197, 66, 0.1);
    border: 1px solid rgba(245, 197, 66, 0.25);
    color: var(--primary-color);
    font-size: var(--font-lg);
}
.terms-badge i {

    font-size: 20px;
}
.terms-hero h1 {

    font-size: 52px;
    font-weight: var(--bold);
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.terms-hero p {

    max-width: 650px;
    margin: auto;
    color: var(--text-secondary);
    font-size: var(--font-lg);
    line-height: 1.7;
}
.last-updated {

    display: block;
    margin-top: 25px;
    color: var(--text-secondary);
    font-size: var(--font-sm);
}


/* ================ MAIN CONTAINER =============== */
.terms-container {

    width: min(1200px, calc(100% - 40px));
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 70px;
    align-items: start;
}


/* =========================================
   SIDEBAR
========================================= */
.terms-sidebar {

    position: sticky;
    top: 10px;
}
.terms-sidebar-content {

    padding: 0px 25px 25px 25px;
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}
.terms-sidebar h3 {

    margin-bottom: 20px;
    font-size: var(--font-lg);
    color: var(--white-color);
}
.terms-nav {

    display: flex;
    flex-direction: column;
    gap: 5px;
}
.terms-nav a {

    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: var(--font-sm);
    transition: 0.2s ease;
}
.terms-nav a:hover {

    color: var(--primary-color);
    background: rgba(245, 197, 66, 0.08);
}

/* ================= CONTENT ================== */
.terms-content {

    min-width: 0;
}
.terms-section {

    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.terms-section:last-child {

    border-bottom: none;
    margin-bottom: 0;
}
.section-number {

    display: inline-block;
    color: var(--primary-color);
    font-size: var(--font-xl);
    font-weight: var(--semi-bold);
    letter-spacing: 1px;
}
.terms-section h2 {

    font-size: 30px;
    font-weight: var(--bold);
    margin-bottom: 20px;
}
.terms-section p {

    color: var(--text-secondary);
    font-size: var(--font-md);
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 850px;
}


/* =========================================
   TERMS LIST
========================================= */

.terms-list {

    display: flex;

    flex-direction: column;

    gap: 14px;

    margin-top: 22px;

    padding: 0;

    list-style: none;
}


.terms-list li {

    position: relative;

    padding-left: 28px;

    color: var(--text-secondary);

    line-height: 1.7;
}


.terms-list li::before {

    content: "";

    position: absolute;

    left: 0;
    top: 11px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--primary-color);

    box-shadow:

        0 0 10px
        rgba(245, 197, 66, 0.5);
}


/* =========================================
   REFUND NOTICE
========================================= */

.refund-section {

    padding: 35px;

    border:

        1px solid
        rgba(245, 197, 66, 0.25);

    border-radius: var(--radius-lg);

    background:

        linear-gradient(

            135deg,

            rgba(245, 197, 66, 0.08),

            transparent

        );
}


.refund-notice {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 20px;

    margin: 25px 0;

    border-radius: var(--radius-md);

    background:

        rgba(245, 197, 66, 0.1);

    border-left:

        3px solid
        var(--primary-color);
}


.refund-notice i {

    color: var(--primary-color);

    font-size: 20px;

    margin-top: 4px;
}


.refund-notice p {

    margin: 0;

    color: var(--text-primary);

    font-weight: var(--medium);

    line-height: 1.7;
}


/* =========================================
   CONTACT SECTION
========================================= */

.terms-contact {

    padding: 40px;

    border:

        1px solid
        rgba(245, 197, 66, 0.2);

    border-radius: var(--radius-lg);

    background:

        linear-gradient(

            135deg,

            rgba(245, 197, 66, 0.08),

            transparent

        );
}


.contact-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 15px;

    padding: 13px 22px;

    border-radius: var(--radius-md);

    background: var(--primary-color);

    color: #111;

    font-weight: var(--semi-bold);

    transition: 0.25s ease;
}


.contact-btn:hover {

    background: var(--white-color);

    color: #111;

    transform: translateY(-3px);

    box-shadow:

        0 8px 25px
        rgba(245, 197, 66, 0.2);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .terms-container {

        grid-template-columns: 1fr;

        gap: 40px;
    }


    .terms-sidebar {

        position: relative;

        top: 0;
    }


    .terms-nav {

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .terms-hero {

        padding:
            80px 20px
            60px;
    }


    .terms-hero h1 {

        font-size: 38px;
    }


    .terms-hero p {

        font-size: var(--font-md);
    }


    .terms-container {

        width:
            min(
                100% - 30px,
                1200px
            );

        margin-top: 45px;
    }


    .terms-nav {

        grid-template-columns: 1fr;
    }


    .terms-section {

        padding-bottom: 35px;

        margin-bottom: 35px;
    }


    .terms-section h2 {

        font-size: 25px;
    }


    .refund-section {

        padding: 25px;
    }


    .refund-notice {

        padding: 16px;
    }


    .terms-contact {

        padding: 25px;
    }

}