
/* ======================================
   PRIVACY POLICY PAGE
====================================== */

.privacy-page {
    width: 100%;
    min-height: 150vh;
    padding: 60px 5%;
    box-sizing: border-box;
    background: #ffffff;
    color: #171717;
    font-family: "Poppins", sans-serif;
}

.privacy-container {
    width: 100%;
    max-width: 1450px;
    min-height: 140vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
}


/* ======================================
   HANDSHAKE ILLUSTRATION
====================================== */

.privacy-illustration {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0 25px;
}

.privacy-illustration svg {
    width: 220px;
    max-width: 80%;
    height: auto;
}


/* ======================================
   HEADING
====================================== */

.privacy-heading {
    width: 100%;
    max-width: 850px;
    text-align: center;
    margin-bottom: 45px;
}

.privacy-label {
    display: inline-block;
    margin-bottom: 15px;
    color: #2878e8;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.privacy-heading h1 {
    margin: 0 0 22px;
    color: #000000;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 700;
    line-height: 1.2;
}

.privacy-intro {
    max-width: 760px;
    margin: 0 auto;
    color: #5f636b;
    font-size: 15px;
    line-height: 1.9;
}


/* ======================================
   POLICY TEXT
====================================== */

.privacy-content {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.privacy-section {
    padding-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
}

.privacy-section h2 {
    margin: 0 0 14px;
    color: #111111;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.privacy-section p {
    margin: 0 0 13px;
    color: #555b65;
    font-size: 14px;
    line-height: 1.9;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}


/* ======================================
   ACTION BUTTONS
====================================== */

.privacy-actions {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 35px 0;
}

.privacy-acceptance-note {
    margin: 0;
    color: #555b65;
    font-size: 13px;
    line-height: 1.7;
}

.privacy-accept-btn,
.privacy-terms-btn {
    min-height: 48px;
    padding: 14px 24px;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.privacy-accept-btn {
    border: 1px solid #2878e8;
    background: #2878e8;
    color: #ffffff;
}

.privacy-accept-btn:hover {
    background: #175fc5;
    border-color: #175fc5;
    transform: translateY(-2px);
}

.privacy-accept-btn:focus-visible,
.privacy-terms-btn:focus-visible {
    outline: 3px solid #a7caff;
    outline-offset: 3px;
}

.privacy-terms-btn {
    border: 1px solid #d8dce2;
    background: #ffffff;
    color: #171717;
}

.privacy-terms-btn:hover {
    background: #f5f7fa;
    border-color: #aab1bb;
}

.privacy-feedback {
    min-height: 20px;
    margin: 0;
    color: #236b38;
    font-size: 13px;
    line-height: 1.6;
}


/* ======================================
   FOOTER
====================================== */

.privacy-footer {
    width: 100%;
    max-width: 900px;
    margin-top: auto;
    padding: 25px 0;
    border-top: 1px solid #eeeeee;
    color: #777777;
    font-size: 12px;
    line-height: 1.8;
}


/* ======================================
   REVEAL ANIMATION
====================================== */

.reveal-privacy {
    opacity: 0;
    transform: translateY(22px);
    animation: privacyReveal 0.5s ease forwards;
}

.privacy-heading {
    animation-delay: 0.08s;
}

.privacy-content {
    animation-delay: 0.16s;
}

.privacy-actions {
    animation-delay: 0.24s;
}

@keyframes privacyReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ======================================
   LOGO PRELOADER
====================================== */

#privacy-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050505;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#privacy-preloader img {
    display: block;
    width: 130px;
    max-width: 40vw;
    height: auto;
    object-fit: contain;
    animation: privacyLogoPulse 1.2s ease-in-out infinite;
}

#privacy-preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes privacyLogoPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}


/* ======================================
   MOBILE RESPONSIVENESS
====================================== */

@media (max-width: 700px) {
    .privacy-page {
        min-height: 150vh;
        padding: 35px 5%;
    }

    .privacy-container {
        min-height: 140vh;
    }

    .privacy-illustration svg {
        width: 180px;
    }

    .privacy-heading {
        margin-bottom: 35px;
    }

    .privacy-intro {
        font-size: 14px;
        line-height: 1.8;
    }

    .privacy-content {
        gap: 24px;
    }

    .privacy-section h2 {
        font-size: 18px;
    }

    .privacy-section p {
        font-size: 13px;
        line-height: 1.85;
    }

    .privacy-actions {
        padding: 25px 0;
    }

    .privacy-accept-btn,
    .privacy-terms-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-privacy,
    #privacy-preloader img {
        animation: none;
        opacity: 1;
        transform: none;
    }

    #privacy-preloader {
        transition: none;
    }

    .privacy-accept-btn,
    .privacy-terms-btn {
        transition: none;
    }
}
