/* =========================================================
   JSV TECHGROUP - PRIVACY POLICY
   Modern / Responsive / Animated
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
    --privacy-primary: #00b4d8;
    --privacy-primary-dark: #0077a3;
    --privacy-secondary: #7a5cff;

    --privacy-text: #172033;
    --privacy-muted: #64748b;

    --privacy-border: rgba(15, 23, 42, 0.09);

    --privacy-bg: #f7fafc;
    --privacy-card: #ffffff;

    --privacy-shadow:
            0 18px 55px rgba(15, 23, 42, 0.08);

    --privacy-radius: 22px;
}


/* =========================================================
   READING PROGRESS
========================================================= */

.privacy-reading-progress {
    position: fixed;

    top: 0;
    left: 0;

    width: 0;
    height: 4px;

    z-index: 99999;

    background:
            linear-gradient(
                    90deg,
                    var(--privacy-primary),
                    var(--privacy-secondary)
            );

    box-shadow:
            0 0 12px rgba(0, 180, 216, 0.45);

    transition: width 0.08s linear;
}


/* =========================================================
   PAGE BANNER
========================================================= */

.privacy-page-banner {
    position: relative;

    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
            110px
            6%
            90px;

    overflow: hidden;

    background:
            radial-gradient(
                    circle at 15% 30%,
                    rgba(0, 212, 255, 0.22),
                    transparent 35%
            ),
            radial-gradient(
                    circle at 85% 20%,
                    rgba(122, 92, 255, 0.22),
                    transparent 35%
            ),
            linear-gradient(
                    135deg,
                    #07111f,
                    #0c182b 55%,
                    #11182d
            );
}


/* animated background */

.privacy-page-banner::before,
.privacy-page-banner::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.08);

    animation:
            privacyFloat 9s ease-in-out infinite;
}

.privacy-page-banner::before {
    top: -120px;
    left: -80px;
}

.privacy-page-banner::after {
    bottom: -140px;
    right: -80px;

    animation-delay: -4s;
}


@keyframes privacyFloat {

    0%,
    100% {
        transform:
                translate3d(0, 0, 0)
                scale(1);
    }

    50% {
        transform:
                translate3d(0, -20px, 0)
                scale(1.08);
    }
}


/* =========================================================
   BANNER OVERLAY
========================================================= */

.privacy-banner-overlay {
    position: absolute;

    inset: 0;

    background:
            linear-gradient(
                    90deg,
                    rgba(7, 17, 31, 0.96),
                    rgba(7, 17, 31, 0.72),
                    rgba(7, 17, 31, 0.94)
            );

    pointer-events: none;
}


/* =========================================================
   BANNER CONTENT
========================================================= */

.privacy-banner-content {
    position: relative;

    z-index: 2;

    width: min(100%, 1000px);

    text-align: center;

    color: #ffffff;

    animation:
            privacyBannerIn 0.9s ease both;
}


@keyframes privacyBannerIn {

    from {
        opacity: 0;
        transform:
                translateY(35px)
                scale(0.97);
    }

    to {
        opacity: 1;
        transform:
                translateY(0)
                scale(1);
    }
}


.privacy-banner-icon {
    width: 76px;
    height: 76px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    color: #ffffff;

    background:
            linear-gradient(
                    135deg,
                    rgba(0, 180, 216, 0.22),
                    rgba(122, 92, 255, 0.25)
            );

    border:
            1px solid rgba(255, 255, 255, 0.16);

    box-shadow:
            0 15px 50px rgba(0, 0, 0, 0.28);

    animation:
            privacyIconPulse 4s ease-in-out infinite;
}


.privacy-banner-icon svg {
    width: 40px;
    height: 40px;
}


@keyframes privacyIconPulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


.privacy-banner-label {
    display: inline-block;

    margin-bottom: 14px;

    padding: 8px 16px;

    border-radius: 999px;

    font-size: 0.82rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #b9f3ff;

    background:
            rgba(0, 180, 216, 0.10);

    border:
            1px solid rgba(0, 212, 255, 0.24);
}


.privacy-banner-content h1 {
    margin: 0;

    font-size:
            clamp(2.5rem, 5vw, 4.8rem);

    line-height: 1.05;

    letter-spacing: -0.04em;

    font-weight: 800;
}


.privacy-banner-content > p {
    max-width: 760px;

    margin:
            24px auto 0;

    color: rgba(255, 255, 255, 0.76);

    font-size:
            clamp(1rem, 1.6vw, 1.18rem);

    line-height: 1.8;
}


.privacy-banner-meta {
    margin-top: 28px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px 25px;

    color: rgba(255, 255, 255, 0.60);

    font-size: 0.88rem;
}


.privacy-banner-meta strong {
    color: #ffffff;
}


/* =========================================================
   MAIN
========================================================= */

.privacy-main {
    padding:
            85px
            5%
            110px;

    background:
            linear-gradient(
                    180deg,
                    #f7fafc 0%,
                    #ffffff 45%,
                    #f7fafc 100%
            );
}


.privacy-layout {
    width: min(1380px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        285px
        minmax(0, 1fr);

    gap: 55px;

    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.privacy-sidebar {
    position: sticky;

    top: 105px;

    align-self: start;
}


.privacy-toc-card {
    padding: 24px;

    background:
            rgba(255, 255, 255, 0.94);

    border:
            1px solid var(--privacy-border);

    border-radius:
            var(--privacy-radius);

    box-shadow:
            var(--privacy-shadow);

    backdrop-filter:
            blur(15px);
}


.privacy-toc-heading {
    display: flex;

    align-items: center;

    gap: 10px;

    padding-bottom: 18px;

    margin-bottom: 10px;

    border-bottom:
            1px solid var(--privacy-border);

    color: var(--privacy-text);

    font-weight: 800;
}


.privacy-toc-icon {
    color: var(--privacy-primary);

    font-size: 1.1rem;
}


.privacy-toc {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.privacy-toc-link {
    position: relative;

    display: block;

    padding:
            10px
            13px;

    color: var(--privacy-muted);

    text-decoration: none;

    font-size: 0.88rem;

    line-height: 1.4;

    border-radius: 10px;

    transition:
            color 0.25s ease,
            background 0.25s ease,
            transform 0.25s ease;
}


.privacy-toc-link:hover {
    color: var(--privacy-primary-dark);

    background:
            rgba(0, 180, 216, 0.06);

    transform:
            translateX(4px);
}


.privacy-toc-link.active {
    color: #ffffff;

    background:
            linear-gradient(
                    135deg,
                    var(--privacy-primary),
                    var(--privacy-secondary)
            );

    box-shadow:
            0 7px 20px rgba(0, 180, 216, 0.18);

    font-weight: 700;
}


/* =========================================================
   CONTENT
========================================================= */

.privacy-content {
    min-width: 0;
}


.privacy-section {
    position: relative;

    display: grid;

    grid-template-columns:
        70px
        minmax(0, 1fr);

    gap: 28px;

    padding:
            45px
            45px;

    margin-bottom: 26px;

    background:
            rgba(255, 255, 255, 0.96);

    border:
            1px solid var(--privacy-border);

    border-radius:
            var(--privacy-radius);

    box-shadow:
            0 12px 45px rgba(15, 23, 42, 0.055);

    overflow: hidden;

    transition:
            transform 0.4s ease,
            box-shadow 0.4s ease,
            border-color 0.4s ease;
}


.privacy-section::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 4px;
    height: 0;

    background:
            linear-gradient(
                    180deg,
                    var(--privacy-primary),
                    var(--privacy-secondary)
            );

    transition:
            height 0.45s ease;
}


.privacy-section:hover {
    transform:
            translateY(-4px);

    box-shadow:
            0 22px 60px rgba(15, 23, 42, 0.09);

    border-color:
            rgba(0, 180, 216, 0.18);
}


.privacy-section:hover::before {
    height: 100%;
}


/* =========================================================
   SECTION NUMBER
========================================================= */

.privacy-section-number {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 17px;

    color: var(--privacy-primary-dark);

    background:
            linear-gradient(
                    135deg,
                    rgba(0, 180, 216, 0.10),
                    rgba(122, 92, 255, 0.08)
            );

    border:
            1px solid rgba(0, 180, 216, 0.12);

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.05em;
}


.privacy-section-body {
    min-width: 0;
}


.privacy-section-body h2 {
    margin:
            2px
            0
            18px;

    color: var(--privacy-text);

    font-size:
            clamp(1.55rem, 2.5vw, 2rem);

    line-height: 1.2;

    letter-spacing: -0.025em;
}


.privacy-section-body h3 {
    margin:
            0 0 8px;

    color: var(--privacy-text);

    font-size: 1.05rem;
}


.privacy-section-body p {
    margin:
            0 0 17px;

    color: var(--privacy-muted);

    font-size: 0.98rem;

    line-height: 1.85;
}


.privacy-section-body p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   HIGHLIGHT
========================================================= */

.privacy-highlight {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-top: 25px;

    padding: 20px;

    border-radius: 17px;

    background:
            linear-gradient(
                    135deg,
                    rgba(0, 180, 216, 0.07),
                    rgba(122, 92, 255, 0.05)
            );

    border:
            1px solid rgba(0, 180, 216, 0.12);
}


.privacy-highlight-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    color: #ffffff;

    background:
            linear-gradient(
                    135deg,
                    var(--privacy-primary),
                    var(--privacy-secondary)
            );

    font-weight: 800;
}


.privacy-highlight strong {
    display: block;

    margin-bottom: 4px;

    color: var(--privacy-text);
}


.privacy-highlight p {
    margin: 0;

    font-size: 0.91rem;
}


/* =========================================================
   INFO CARDS
========================================================= */

.privacy-info-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin:
            28px 0;
}


.privacy-info-card {
    padding: 24px;

    border:
            1px solid var(--privacy-border);

    border-radius: 18px;

    background:
            linear-gradient(
                    145deg,
                    #ffffff,
                    #f8fbfd
            );

    transition:
            transform 0.35s ease,
            box-shadow 0.35s ease;
}


.privacy-info-card:hover {
    transform:
            translateY(-7px);

    box-shadow:
            0 16px 35px rgba(15, 23, 42, 0.08);
}


.privacy-card-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 13px;

    background:
            rgba(0, 180, 216, 0.08);

    font-size: 1.25rem;
}


.privacy-info-card h3 {
    margin-bottom: 8px;
}


.privacy-info-card p {
    font-size: 0.9rem;

    line-height: 1.65;
}


/* =========================================================
   LIST
========================================================= */

.privacy-check-list {
    list-style: none;

    padding: 0;

    margin:
            25px 0 0;
}


.privacy-check-list li {
    position: relative;

    padding:
            12px
            0
            12px
            32px;

    color: var(--privacy-muted);

    line-height: 1.7;

    border-bottom:
            1px solid rgba(15, 23, 42, 0.055);
}


.privacy-check-list li:last-child {
    border-bottom: 0;
}


.privacy-check-list li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 12px;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background:
            var(--privacy-primary);

    font-size: 0.72rem;

    font-weight: 800;
}


/* =========================================================
   PROCESS
========================================================= */

.privacy-process {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr
        auto
        1fr
        auto
        1fr;

    align-items: center;

    gap: 10px;

    margin-top: 30px;

    padding: 18px;

    border-radius: 18px;

    background:
            #f8fafc;

    border:
            1px solid var(--privacy-border);
}


.privacy-process-step {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    text-align: center;
}


.privacy-process-step span {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background:
            linear-gradient(
                    135deg,
                    var(--privacy-primary),
                    var(--privacy-secondary)
            );

    font-size: 0.7rem;

    font-weight: 800;
}


.privacy-process-step strong {
    color: var(--privacy-text);

    font-size: 0.75rem;

    line-height: 1.4;
}


.privacy-process-arrow {
    color: var(--privacy-primary);

    font-size: 1.4rem;

    font-weight: 700;
}


/* =========================================================
   NOTES / WARNINGS
========================================================= */

.privacy-note,
.privacy-warning {
    margin-top: 24px;

    padding: 18px 20px;

    border-radius: 15px;

    font-size: 0.9rem;

    line-height: 1.7;
}


.privacy-note {
    background:
            #f1f7fa;

    border:
            1px solid rgba(0, 180, 216, 0.12);

    color: #506170;
}


.privacy-note strong {
    color: var(--privacy-text);
}


.privacy-warning {
    color: #755300;

    background:
            #fff9e9;

    border:
            1px solid #f3dfaa;
}


.privacy-warning strong {
    color: #6b4a00;
}


/* =========================================================
   SECURITY
========================================================= */

.security-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin:
            28px 0;
}


.security-grid > div {
    padding: 22px;

    border-radius: 17px;

    background:
            #f8fafc;

    border:
            1px solid var(--privacy-border);
}


.security-grid span {
    display: block;

    margin-bottom: 12px;

    font-size: 1.5rem;
}


.security-grid strong {
    display: block;

    margin-bottom: 7px;

    color: var(--privacy-text);
}


.security-grid p {
    margin: 0;

    font-size: 0.85rem;

    line-height: 1.6;
}


/* =========================================================
   RIGHTS
========================================================= */

.rights-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    margin:
            28px 0;
}


.right-card {
    position: relative;

    padding: 24px;

    border:
            1px solid var(--privacy-border);

    border-radius: 18px;

    overflow: hidden;

    background:
            linear-gradient(
                    145deg,
                    #ffffff,
                    #f8fbfd
            );

    transition:
            transform 0.35s ease,
            box-shadow 0.35s ease;
}


.right-card:hover {
    transform:
            translateY(-5px);

    box-shadow:
            0 15px 35px rgba(15, 23, 42, 0.07);
}


.right-card > span {
    display: inline-flex;

    margin-bottom: 16px;

    color: var(--privacy-primary-dark);

    font-size: 0.75rem;

    font-weight: 800;
}


.right-card p {
    font-size: 0.87rem;
}


/* =========================================================
   CONTACT
========================================================= */

.privacy-contact-section {
    background:
            linear-gradient(
                    135deg,
                    #07111f,
                    #0c182b 60%,
                    #11182d
            );

    border-color:
            rgba(255, 255, 255, 0.08);
}


.privacy-contact-section .privacy-section-number {
    color: #ffffff;

    background:
            rgba(0, 180, 216, 0.14);

    border-color:
            rgba(0, 180, 216, 0.25);
}


.privacy-contact-section h2 {
    color: #ffffff;
}


.privacy-contact-section p {
    color:
            rgba(255, 255, 255, 0.68);
}


.privacy-contact-card {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-top: 28px;
}


.privacy-contact-item {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 18px;

    border:
            1px solid rgba(255, 255, 255, 0.09);

    border-radius: 16px;

    background:
            rgba(255, 255, 255, 0.045);
}


.privacy-contact-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    background:
            rgba(0, 180, 216, 0.13);

    color: #b8f5ff;
}


.privacy-contact-item small {
    display: block;

    margin-bottom: 4px;

    color:
            rgba(255, 255, 255, 0.48);

    font-size: 0.72rem;
}


.privacy-contact-item a,
.privacy-contact-item > div > span {
    color: #ffffff;

    font-size: 0.84rem;

    text-decoration: none;

    word-break: break-word;
}


.privacy-contact-item a:hover {
    color: #9befff;
}


.privacy-final-message {
    display: flex;

    flex-direction: column;

    gap: 4px;

    margin-top: 28px;

    padding-top: 25px;

    border-top:
            1px solid rgba(255, 255, 255, 0.09);
}


.privacy-final-message strong {
    color: #ffffff;

    font-size: 1.05rem;
}


.privacy-final-message span {
    color:
            rgba(255, 255, 255, 0.58);

    font-size: 0.87rem;

    line-height: 1.6;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.privacy-back-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 50%;

    color: #ffffff;

    background:
            linear-gradient(
                    135deg,
                    var(--privacy-primary),
                    var(--privacy-secondary)
            );

    box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.18);

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform:
            translateY(15px);

    transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;

    z-index: 999;
}


.privacy-back-top.visible {
    opacity: 1;

    visibility: visible;

    transform:
            translateY(0);
}


.privacy-back-top:hover {
    transform:
            translateY(-4px);
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
            translateY(35px);

    transition:
            opacity 0.75s ease,
            transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}


.reveal.is-visible {
    opacity: 1;

    transform:
            translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .privacy-layout {
        grid-template-columns:
            240px
            minmax(0, 1fr);

        gap: 30px;
    }

    .privacy-section {
        padding: 35px 32px;
    }

    .privacy-contact-card {
        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 850px) {

    .privacy-layout {
        grid-template-columns: 1fr;
    }

    .privacy-sidebar {
        position: relative;

        top: auto;

        width: 100%;
    }

    .privacy-toc {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 5px;
    }

    .privacy-section {
        grid-template-columns:
            55px
            minmax(0, 1fr);

        gap: 20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .privacy-page-banner {
        min-height: 390px;

        padding:
                90px
                20px
                65px;
    }

    .privacy-banner-icon {
        width: 64px;
        height: 64px;

        border-radius: 18px;
    }

    .privacy-banner-icon svg {
        width: 34px;
        height: 34px;
    }

    .privacy-banner-content h1 {
        font-size: 2.55rem;
    }

    .privacy-banner-content > p {
        font-size: 0.94rem;

        line-height: 1.7;
    }

    .privacy-banner-meta {
        flex-direction: column;

        gap: 6px;
    }

    .privacy-main {
        padding:
                55px
                15px
                80px;
    }

    .privacy-toc-card {
        padding: 17px;
    }

    .privacy-toc {
        grid-template-columns: 1fr;
    }

    .privacy-section {
        grid-template-columns: 1fr;

        gap: 18px;

        padding:
                30px
                22px;

        border-radius: 18px;
    }

    .privacy-section-number {
        width: 48px;
        height: 48px;

        border-radius: 14px;
    }

    .privacy-info-grid,
    .rights-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }

    .privacy-process {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .privacy-process-arrow {
        transform:
                rotate(90deg);
    }

    .privacy-contact-card {
        grid-template-columns: 1fr;
    }

    .privacy-back-top {
        right: 16px;
        bottom: 16px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration:
                0.01ms !important;

        animation-iteration-count:
                1 !important;

        transition-duration:
                0.01ms !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }

}