/* ========================================= */
/* PART 1.A */
/* CSS VARIABLES */
/* ========================================= */

:root {

    --primary-color: #111827;
    --secondary-color: #374151;
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;

    --success-color: #16a34a;
    --warning-color: #f59e0b;
    --danger-color: #dc2626;

    --background-color: #ffffff;
    --surface-color: #f8fafc;
    --border-color: #e5e7eb;

    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-light: #6b7280;

    --shadow-sm: 0 2px 6px rgba(0,0,0,.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 18px 40px rgba(0,0,0,.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --transition: all .3s ease;

    --container-width: 1440px;

    /* NEW VARIABLES */

    --header-height: 80px;

    --primary: #2563eb;
    --secondary: #374151;

    --surface: #f8fafc;
    --surface-hover: #eef2ff;

    --border: #e5e7eb;
    --border-dark: #cbd5e1;

    --danger: #dc2626;

}

/* ========================================= */
/* RESET */
/* ========================================= */

*,
*::before,
*::after{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Inter",sans-serif;
    background:var(--background-color);
    color:var(--text-primary);
    line-height:1.7;
    overflow-x:hidden;

}

img{

    display:block;
    max-width:100%;

}

a{

    text-decoration:none;
    color:inherit;

}

button,
input{

    font:inherit;

}

button{

    border:none;
    background:none;
    cursor:pointer;

}

/* ========================================= */
/* LAYOUT */
/* ========================================= */

.website{

    min-height:100vh;
    display:flex;
    flex-direction:column;

}

.main-content{

    flex:1;

}

.container{

    width:min(100% - 2rem,var(--container-width));
    margin-inline:auto;

}

/* ========================================= */
/* COMMON SECTION */
/* ========================================= */

section{

    padding:6rem 0;

}

.section-header{

    max-width:760px;
    margin:0 auto 4rem;
    text-align:center;

}

.section-badge{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:.45rem 1rem;

    border-radius:999px;

    background:rgba(37,99,235,.08);

    color:var(--accent-color);

    font-size:.85rem;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;

    margin-bottom:1rem;

}

.section-title{

    font-size:clamp(2rem,4vw,3rem);

    font-weight:800;

    line-height:1.2;

    margin-bottom:1rem;

}

.section-description{

    font-size:1.05rem;

    color:var(--text-secondary);

}

/* ========================================= */
/* BUTTONS */
/* ========================================= */

.feature-button{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.7rem;

    padding:.95rem 1.6rem;

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

    background:var(--accent-color);

    color:#ffffff;

    font-weight:600;

    transition:var(--transition);

}

.feature-button:hover{

    background:var(--accent-hover);

    transform:translateY(-3px);

    box-shadow:var(--shadow-md);

}

.secondary-button{

    background:transparent;

    color:var(--accent-color);

    border:2px solid var(--accent-color);

}

.secondary-button:hover{

    background:var(--accent-color);

    color:#ffffff;

}

/* ========================================= */
/* CARD BASE */
/* ========================================= */

.terms-card,
.terms-responsibility-card,
.terms-disclaimer-card,
.terms-legal-card{

    background:#ffffff;

    border:1px solid var(--border-color);

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

    padding:2rem;

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

}

.terms-card:hover,
.terms-responsibility-card:hover,
.terms-disclaimer-card:hover,
.terms-legal-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-lg);

}

/* ========================================= */
/* ICON BASE */
/* ========================================= */

.terms-icon,
.terms-responsibility-icon,
.terms-disclaimer-icon,
.terms-legal-icon{

    width:64px;
    height:64px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:1.5rem;

    border-radius:18px;

    background:rgba(37,99,235,.08);

    color:var(--accent-color);

    font-size:1.5rem;

}

/* ========================================= */
/* COMMON TITLES */
/* ========================================= */

.terms-title,
.terms-responsibility-title,
.terms-disclaimer-title,
.terms-legal-title{

    font-size:1.25rem;

    font-weight:700;

    margin-bottom:.8rem;

}

.terms-description,
.terms-responsibility-description,
.terms-disclaimer-description,
.terms-legal-description{

    color:var(--text-secondary);

    font-size:.96rem;

    line-height:1.75;

}
/* ========================================= */
/* PART 1.B */
/* HEADER & NAVIGATION */
/* ========================================= */

/* ========================================= */
/* PAGE LOADER */
/* ========================================= */

.page-loader {

    position: fixed;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 1rem;

    background: rgba(255,255,255,.95);

    z-index: 9999;

    transition: opacity .3s ease,
                visibility .3s ease;

}

.page-loader.hidden {

    opacity: 0;
    visibility: hidden;

}

.loader-spinner {

    width: 52px;
    height: 52px;

    border: 4px solid var(--border-color);
    border-top-color: var(--accent-color);

    border-radius: 50%;

    animation: spinner .8s linear infinite;

}

.loader-text {

    color: var(--text-secondary);

    font-weight: 600;

}



/* ========================================= */
/* HEADER */
/* ========================================= */


.search-wrapper {

    max-width: 620px;

    margin-inline: auto;

}

.search-box {

    position: relative;

    display: flex;
    align-items: center;

}

.search-input {

    width: 100%;

    padding: .95rem 4.8rem .95rem 3rem;

    border: 1px solid var(--border-color);

    border-radius: 999px;

    background: var(--surface-color);

    transition: var(--transition);

}

.search-input:focus {

    outline: none;

    border-color: var(--accent-color);

    background: #ffffff;

}

.search-icon {

    position: absolute;

    left: 1rem;

    color: var(--text-light);

}

.search-loading {

    position: absolute;

    right: 4rem;

}

.search-clear {

    position: absolute;

    right: 2.8rem;

    color: var(--text-light);

}

.search-shortcut {

    position: absolute;

    right: .9rem;

    font-size: .75rem;

    color: var(--text-light);

}


/* ========================================= */
/* ANIMATIONS */
/* ========================================= */

@keyframes spinner{

    to{

        transform: rotate(360deg);

    }

}
.terms-meta{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:2rem;
    margin-top:2rem;
    flex-wrap:wrap;

}

.terms-meta-item{

    display:flex;
    align-items:center;
    gap:.6rem;

    padding:.85rem 1.2rem;

    background:#ffffff;

    border:1px solid var(--border-color);

    border-radius:999px;

    font-weight:600;

    color:var(--text-secondary);

}

.terms-meta-item i{

    color:var(--accent-color);

}

@media(max-width:768px){

    .terms-meta{

        flex-direction:column;
        gap:1rem;

    }

}   
/* ========================================= */
    /* PART 2.A */
    /* HEADER FOUNDATION */
    /* ========================================= */

        /* ========================================= */
/* PART 2.B */
/* SEARCH BAR */
/* ========================================= */

.search-wrapper {

    position: relative;

    width: 100%;

    max-width: 760px;

}

.search-box {

    position: relative;

    display: flex;

    align-items: center;

    gap: 14px;

    width: 100%;

    height: 56px;

    padding: 0 18px;

    background: rgba(248,250,252,.95);

    border: 1px solid var(--border);

    border-radius: 999px;

    transition: all var(--transition);

    overflow: hidden;

}

.search-box::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

    linear-gradient(
        90deg,
        rgba(37,99,235,.04),
        transparent,
        rgba(6,182,212,.04)
    );

    opacity: 0;

    transition: opacity .25s ease;

}

.search-box:hover {

    background: #ffffff;

    border-color: var(--border-dark);

    box-shadow: var(--shadow-sm);

}

.search-box:focus-within {

    background: #ffffff;

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(37,99,235,.12);

}

.search-box:focus-within::before {

    opacity: 1;

}

.search-icon {

    position: relative;

    z-index: 2;

    font-size: 1rem;

    color: var(--text-secondary);

    flex-shrink: 0;

}

.search-box:focus-within .search-icon {

    color: var(--primary);

}

.search-input {

    position: relative;

    z-index: 2;

    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: var(--text-primary);

    font-size: .97rem;

    font-weight: 500;

}

.search-input::placeholder {

    color: var(--text-light);

}

.search-clear {

    position: relative;

    z-index: 2;

    width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: var(--text-secondary);

    transition: all var(--transition);

    flex-shrink: 0;

}

.search-clear:hover {

    background: var(--surface-hover);

    color: var(--danger);

}

.search-shortcut {

    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 6px 12px;

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

    background: #ffffff;

    border: 1px solid var(--border);

    color: var(--text-secondary);

    font-size: .78rem;

    font-weight: 700;

    white-space: nowrap;

    flex-shrink: 0;

}

/* ========================================= */
/* SEARCH LOADING */
/* ========================================= */

.search-loading {

    position: absolute;

    top: 50%;

    right: 60px;

    transform: translateY(-50%);

    width: 18px;

    height: 18px;

    border: 2px solid #dbeafe;

    border-top-color: var(--primary);

    border-radius: 50%;

    animation: searchSpin .7s linear infinite;

    display: none;

}

.search-loading.active {

    display: block;

}

@keyframes searchSpin {

    to {

        transform:
            translateY(-50%)
            rotate(360deg);

    }

}

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

@media (max-width:768px){

    .search-box{

        height:52px;

        padding:0 16px;

    }

    .search-shortcut{

        display:none;

    }

}

@media (max-width:480px){

    .search-box{

        height:48px;

    }

    }
        /* ========================================= */
/* PART 2.C */
/* HEADER ACTIONS • MOBILE MENU • RESPONSIVE */
/* ========================================= */


/* Notification Badge */

.notification-badge {

    position: absolute;

    top: -4px;

    right: -4px;

    width: 18px;

    height: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--danger);

    color: #ffffff;

    font-size: .65rem;

    font-weight: 700;

    border-radius: 50%;

}
/* Mobile Navigation */

/* Overlay */




.terms-hero-section {

    position: relative;

    overflow: hidden;

    padding: 7rem 0;

    background:
        linear-gradient(180deg,
            #ffffff 0%,
            #f8fafc 100%);

}

.terms-hero-section::before{

    content: "";

    position: absolute;

    top: -140px;
    right: -140px;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(37, 99, 235, .08),
            transparent 70%);

    pointer-events: none;

}

.terms-hero-section::after {

    content: "";

    position: absolute;

    bottom: -180px;
    left: -180px;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(37, 99, 235, .05),
            transparent 70%);

    pointer-events: none;

}

.terms-hero-content {
    position: relative;

    z-index: 1;

    max-width: 860px;

    margin: 0 auto;

    text-align: center;

}

.terms-badge {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: .55rem 1.25rem;

    margin-bottom: 1.5rem;

    border-radius: 999px;

    background: rgba(37, 99, 235, .08);

    color: var(--accent-color);

    font-size: .85rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

}

.terms-hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);

    font-weight: 900;

    line-height: 1.1;

    color: var(--text-primary);

    margin-bottom: 1.75rem;

}

.terms-hero-description {
    max-width: 760px;

    margin: 0 auto;

    font-size: 1.15rem;

    color: var(--text-secondary);

    line-height: 1.9;

}

.terms-hero-actions {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 1rem;

    margin-top: 2.5rem;

    flex-wrap: wrap;

}

.terms-hero-actions .feature-button{

    min-width: 200px;

}

.terms-hero-actions .secondary-button {

    background: #ffffff;

}

.terms-hero-actions .secondary-button:hover {

    background: var(--accent-color);

}

.terms-hero-section .feature-button i {

    transition: transform .3s ease;

}

.terms-hero-section .feature-button:hover i {

    transform: translateX(4px);

}

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

@media (max-width: 768px) {

    .terms-hero-section {

        padding: 5rem 0;

    }

    .terms-hero-title {

        font-size: 2.4rem;

    }

    .terms-hero-description {

        font-size: 1rem;

    }

    .terms-hero-actions {

        flex-direction: column;

    }

    .terms-hero-actions .feature-button {

        width: 100%;

    }

}
/* ========================================= */
/* PART 2.B */
/* MISSION SECTION */
/* ========================================= */

.mission-section {

    background: #ffffff;

}

.mission-grid {

    display: grid;

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

    gap: 2rem;

}

.mission-card {

    position: relative;

    overflow: hidden;

}

.mission-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, .03),
        transparent
    );

    opacity: 0;

    transition: var(--transition);

}

.mission-card:hover::before {

    opacity: 1;

}

.mission-card:hover {

    border-color: rgba(37, 99, 235, .2);

}

.mission-icon {

    transition: var(--transition);

}

.mission-card:hover .mission-icon {

    background: var(--accent-color);

    color: #ffffff;

    transform: rotate(-6deg) scale(1.08);

}

.mission-title {

    color: var(--text-primary);

}

.mission-description {

    margin-top: .75rem;

}

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

@media (max-width: 992px) {

    .mission-grid {

        grid-template-columns: 1fr;

    }

}

@media (max-width: 768px) {

    .mission-section {

        padding: 5rem 0;

    }

    .mission-grid {

        gap: 1.5rem;

    }

    .mission-card {

        padding: 1.75rem;

    }

}
/* ========================================= */
/* PART 2.C */
/* WHAT WE OFFER */
/* ========================================= */

.offer-section {

    background: var(--surface-color);

}

.offer-grid {

    display: grid;

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

    gap: 2rem;

}

.offer-card {

    position: relative;

    overflow: hidden;

    background: #ffffff;

}

.offer-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--accent-color);

    transform: scaleX(0);

    transform-origin: left;

    transition: var(--transition);

}

.offer-card:hover::before {

    transform: scaleX(1);

}

.offer-card:hover {

    border-color: rgba(37, 99, 235, .25);

}

.offer-icon {

    transition: var(--transition);

}

.offer-card:hover .offer-icon {

    background: var(--accent-color);

    color: #ffffff;

    transform: translateY(-4px);

}

.offer-title {

    color: var(--text-primary);

}

.offer-description {

    margin-top: .75rem;

}

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

@media (max-width: 1200px) {

    .offer-grid {

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

    }

}

@media (max-width: 992px) {

    .offer-grid {

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

    }

}

@media (max-width: 768px) {

    .offer-section {

        padding: 5rem 0;

    }

    .offer-grid {

        grid-template-columns: 1fr;

        gap: 1.5rem;

    }

    .offer-card {

        padding: 1.75rem;

    }

}

.terms-grid{

    display:grid;

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

    gap:2rem;

}

.terms-responsibility-grid{

    display:grid;

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

    gap:2rem;

}

@media(max-width:992px){

    .terms-grid{

        grid-template-columns:1fr;

    }

    .terms-responsibility-grid{

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

    }

}

@media(max-width:768px){

    .terms-responsibility-grid{

        grid-template-columns:1fr;

    }

}
/* ========================================= */
/* PART 3.A */
/* DISCLAIMERS, LIABILITY & PROHIBITED ACTIVITIES */
/* ========================================= */

.terms-disclaimer-section{

    background:var(--background-color);

}

.terms-disclaimer-grid{

    display:grid;

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

    gap:2rem;

}

.terms-disclaimer-card{

    position:relative;

    overflow:hidden;

}

.terms-disclaimer-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:linear-gradient(
        90deg,
        #2563eb,
        #60a5fa
    );

    transform:scaleX(0);

    transform-origin:left;

    transition:var(--transition);

}

.terms-disclaimer-card:hover::before{

    transform:scaleX(1);

}

.terms-disclaimer-icon{

    transition:var(--transition);

}

.terms-disclaimer-card:hover
.terms-disclaimer-icon{

    transform:rotate(-8deg)
              scale(1.08);

}

.terms-disclaimer-title{

    color:var(--text-primary);

}

.terms-disclaimer-description{

    margin-top:.85rem;

}

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

@media (max-width:1100px){

    .terms-disclaimer-grid{

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

    }

}

@media (max-width:768px){

    .terms-disclaimer-grid{

        grid-template-columns:1fr;

    }

    .terms-disclaimer-card{

        padding:1.75rem;

    }

}
/* ========================================= */
/* PART 3.B */
/* TERMINATION, GOVERNING LAW & NOTICE */
/* ========================================= */

.terms-legal-section{

    background:var(--surface-color);

}

.terms-legal-grid{

    display:grid;

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

    gap:2rem;

    margin-bottom:3rem;

}

.terms-legal-card{

    position:relative;

    overflow:hidden;

    background:#ffffff;

}

.terms-legal-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:linear-gradient(
        90deg,
        var(--accent-color),
        #60a5fa
    );

    transform:scaleX(0);

    transform-origin:left;

    transition:var(--transition);

}

.terms-legal-card:hover::before{

    transform:scaleX(1);

}

.terms-legal-icon{

    transition:var(--transition);

}

.terms-legal-card:hover
.terms-legal-icon{

    transform:translateY(-6px)
              scale(1.08);

}

.terms-legal-title{

    color:var(--text-primary);

}

.terms-legal-description{

    margin-top:.85rem;

}

/* ========================================= */
/* TERMS NOTICE */
/* ========================================= */

.terms-notice{

    display:flex;

    align-items:flex-start;

    gap:1.5rem;

    padding:2rem;

    border:1px solid var(--border-color);

    border-left:6px solid var(--accent-color);

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

    background:#ffffff;

    box-shadow:var(--shadow-sm);

}

.terms-notice-icon{

    width:64px;
    height:64px;

    flex-shrink:0;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:18px;

    background:rgba(37,99,235,.08);

    color:var(--accent-color);

    font-size:1.6rem;

}

.terms-notice-content h3{

    font-size:1.35rem;

    font-weight:700;

    margin-bottom:.75rem;

    color:var(--text-primary);

}

.terms-notice-content p{

    color:var(--text-secondary);

    line-height:1.8;

}

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

@media (max-width:992px){

    .terms-legal-grid{

        grid-template-columns:1fr;

    }

}

@media (max-width:768px){

    .terms-notice{

        flex-direction:column;

        text-align:center;

        align-items:center;

        padding:1.75rem;

    }

    .terms-legal-card{

        padding:1.75rem;

    }

}
/* ========================================= */
/* PART 3.C */
/* FOOTER */
/* ========================================= */

.footer{

    background:#0f172a;

    color:#e5e7eb;

    padding:5rem 0 0;

}

.footer-container{

    width:min(100% - 2rem,var(--container-width));

    margin-inline:auto;

    display:grid;

    grid-template-columns:1.4fr 2fr;

    gap:4rem;

}

.footer-title{

    font-size:2rem;

    font-weight:800;

    margin-bottom:1rem;

    color:#ffffff;

}

.footer-description{

    color:#cbd5e1;

    line-height:1.9;

    max-width:480px;

}

.footer-links{

    display:grid;

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

    gap:2rem;

}

.footer-column{

    display:flex;

    flex-direction:column;

    gap:.9rem;

}

.footer-heading{

    color:#ffffff;

    font-size:1.1rem;

    font-weight:700;

    margin-bottom:.6rem;

}

.footer-column a{

    color:#cbd5e1;

    transition:var(--transition);

}

.footer-column a:hover{

    color:#60a5fa;

    padding-left:.35rem;

}

.footer-bottom{

    margin-top:4rem;

    padding:1.5rem;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

    color:#94a3b8;

}

/* ========================================= */
/* BACK TO TOP */
/* ========================================= */

.back-to-top{

    position:fixed;

    right:2rem;

    bottom:2rem;

    width:52px;

    height:52px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:var(--accent-color);

    color:#ffffff;

    box-shadow:var(--shadow-md);

    transition:var(--transition);

    z-index:100;

}

.back-to-top:hover{

    background:var(--accent-hover);

    transform:translateY(-6px);

}

/* ========================================= */
/* ACCESSIBILITY */
/* ========================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible{

    outline:3px solid rgba(37,99,235,.35);

    outline-offset:3px;

}

/* ========================================= */
/* FADE ANIMATION */
/* ========================================= */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.terms-card,
.terms-responsibility-card,
.terms-disclaimer-card,
.terms-legal-card,
.terms-notice{

    animation:fadeUp .6s ease both;

}

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

@media (max-width:992px){

    .footer-container{

        grid-template-columns:1fr;

        gap:3rem;

    }

    .footer-links{

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

    }

}

@media (max-width:768px){

    .footer{

        padding-top:4rem;

    }

    .footer-links{

        grid-template-columns:1fr;

    }

    .footer-title{

        font-size:1.75rem;

    }

    .footer-description{

        max-width:100%;

    }

    .back-to-top{

        right:1rem;

        bottom:1rem;

        width:48px;

        height:48px;

    }

}

/* ========================================= */
/* PRINT */
/* ========================================= */

@media print{

   
    .back-to-top,
    .footer{

        display:none !important;

    }

    body{

        background:#ffffff;

        color:#000000;

    }

    section{

        padding:2rem 0;

        break-inside:avoid;

    }

}
