﻿/* Privacy page-only styles; site.css owns shared layout, card and entrance. */
/* =========================================================
   DotNet Expert — Privacy Policy
   Visual language aligned with Web Deployment Services
   ========================================================= */


#privacy-overview,
#privacy-overview * {
    box-sizing: border-box;
}

    #privacy-overview a {
        color: var(--site-primary-dark);
    }


/* =========================================================
   Hero
   ========================================================= */


.privacy-intro__text {
    max-width: 900px;
    margin: 0 0 16px;
    color: #5d7077;
    font-size: 17px;
    line-height: 1.82;
}

.privacy-intro__meta {
    display: inline-flex;
    margin-top: 8px;
    padding: 7px 11px;
    border: 1px solid #d2e9ee;
    border-radius: 8px;
    background: rgba(255,255,255,.82);
    color: var(--site-primary-dark);
    font-size: 13px;
    font-weight: 700;
}

/* =========================================================
   Layout + Sidebar
   ========================================================= */

.privacy-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 0;
    border-top: 1px solid var(--site-border);
}

.privacy-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: start;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 34px 24px;
    border-right: 1px solid var(--site-border);
    background: linear-gradient(180deg, #f8fbfc 0%, #f4f8f9 100%);
}

.privacy-sidebar__inner {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(21,159,202,.35) transparent;
}

    .privacy-sidebar__inner::-webkit-scrollbar {
        width: 5px;
    }

    .privacy-sidebar__inner::-webkit-scrollbar-track {
        background: transparent;
    }

    .privacy-sidebar__inner::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(21,159,202,.30);
    }

        .privacy-sidebar__inner::-webkit-scrollbar-thumb:hover {
            background: rgba(8,122,161,.48);
        }

.privacy-sidebar__eyebrow {
    display: block;
    margin: 0 0 14px;
    color: var(--site-primary);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
}

.privacy-nav {
    display: grid;
    gap: 4px;
}

    .privacy-nav a {
        position: relative;
        display: block;
        padding: 8px 10px 8px 14px;
        border-radius: 8px;
        color: #5d6a70 !important;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
        text-decoration: none;
        transition: color .22s ease, background-color .22s ease, transform .22s var(--site-ease);
    }

        .privacy-nav a::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            width: 3px;
            height: 0;
            border-radius: 3px;
            background: var(--site-primary);
            transform: translateY(-50%);
            transition: height .22s ease;
        }

        .privacy-nav a:hover,
        .privacy-nav a.is-active {
            color: var(--site-primary-dark) !important;
            background: #eaf8fb;
            transform: translateX(2px);
        }

            .privacy-nav a:hover::before,
            .privacy-nav a.is-active::before {
                height: 18px;
            }

.privacy-content {
    min-width: 0;
}

/* =========================================================
   Policy Sections
   ========================================================= */



.privacy-section:nth-child(even) {
    background: linear-gradient(135deg, #f9fcfd 0%, #ffffff 82%);
}

.privacy-section::before,
.privacy-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 42px;
    width: 52px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--site-primary);
}

.privacy-section__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--site-primary);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
}






.privacy-section h3 {
    margin: 22px 0 8px;
    color: var(--site-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.privacy-section p,
.privacy-cta p {
    margin: 0 0 14px;
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.8;
}

.privacy-section strong,
.privacy-cta strong {
    color: var(--site-heading);
}

.privacy-section a,
.privacy-cta a {
    font-weight: 700;
    text-underline-offset: 3px;
}

/* =========================================================
   Lists
   ========================================================= */

.privacy-list {
    display: grid;
    gap: 8px;
    margin: 14px 0 18px;
    padding: 0;
    list-style: none;
}

    .privacy-list li {
        position: relative;
        padding-left: 30px;
        color: #4f6066;
        font-size: 14px;
        line-height: 1.7;
    }

        .privacy-list li::before {
            content: "✓";
            position: absolute;
            top: 4px;
            left: 0;
            display: grid;
            width: 19px;
            height: 19px;
            place-items: center;
            border-radius: 50%;
            background: linear-gradient(135deg, #087aa1, #22c9df);
            color: #fff;
            font-size: 10px;
            font-weight: 800;
        }

/* =========================================================
   Cards + Notes
   ========================================================= */

.privacy-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 20px;
}

.privacy-card {
    padding: 18px;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    background: rgba(255,255,255,.90);
    box-shadow: 0 6px 20px rgba(38,54,58,.035);
    transition: transform .35s var(--site-ease), border-color .3s ease, box-shadow .3s ease;
}

    .privacy-card:hover {
        transform: translateY(-4px);
        border-color: #b9dce4;
        box-shadow: var(--privacy-shadow-hover);
    }

    .privacy-card h3 {
        margin-top: 0;
        font-size: 17px;
    }

    .privacy-card p {
        margin-bottom: 0;
        font-size: 14px;
    }

.privacy-note,
.privacy-highlight {
    margin: 16px 0 20px;
    padding: 14px 16px;
    border-left: 3px solid var(--site-accent);
    border-radius: 0 9px 9px 0;
    background: #eefafd;
    color: #36535d;
    font-size: 14px;
    line-height: 1.7;
}

.privacy-highlight {
    border-left-color: var(--site-primary);
    background: #f2fbfd;
}

/* =========================================================
   CTA
   ========================================================= */

#privacy-contact.privacy-cta {
    overflow: hidden;
    padding-top: 42px;
    padding-bottom: 42px;
    border-bottom: 0;
    background: radial-gradient(circle at 92% 15%, rgba(34,201,223,.24), transparent 25%), linear-gradient(135deg, #eaf9fc 0%, #f8fcfd 100%);
}

    #privacy-contact.privacy-cta::after {
        content: "";
        position: absolute;
        width: 230px;
        height: 230px;
        right: -95px;
        bottom: -125px;
        border: 1px solid rgba(21,159,202,.18);
        border-radius: 50%;
        box-shadow: 0 0 0 28px rgba(21,159,202,.035), 0 0 0 56px rgba(21,159,202,.025);
        pointer-events: none;
        transition: transform .55s var(--site-ease);
    }

    #privacy-contact.privacy-cta:hover::after {
        transform: scale(1.12);
    }

.privacy-cta__content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.privacy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 6px;
    padding: 11px 20px;
    border: 1px solid var(--site-primary);
    border-radius: 9px;
    background: linear-gradient(135deg, #159fca, #087aa1);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(21,159,202,.16);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .privacy-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(21,159,202,.20);
    }

/* =========================================================
   Reveal Motion
   ========================================================= */

#privacy-overview.animation-ready .privacy-reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity .58s var(--site-ease) var(--privacy-delay, 0ms), transform .58s var(--site-ease) var(--privacy-delay, 0ms);
}

    #privacy-overview.animation-ready .privacy-reveal.is-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
    .privacy-layout {
        grid-template-columns: 240px minmax(0, 1fr);
    }
}

@media (max-width: 900px) {


    .privacy-layout {
        grid-template-columns: 1fr;
    }

    .privacy-sidebar {
        position: static;
        top: auto;
        max-height: none;
        overflow: visible;
        border-right: 0;
        border-bottom: 1px solid var(--site-border);
    }

    .privacy-sidebar__inner {
        position: static;
    }

    .privacy-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {




    .privacy-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {




    .privacy-intro__lead {
        font-size: 17px;
    }

    .privacy-intro__text {
        font-size: 16px;
        line-height: 1.75;
    }

    .privacy-sidebar {
        padding: 24px 16px;
    }

    .privacy-nav {
        grid-template-columns: 1fr;
    }

    .privacy-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

        .privacy-section h2,
        .privacy-cta h2 {
            font-size: 24px;
        }

    #privacy-contact.privacy-cta {
        padding-top: 36px;
        padding-bottom: 36px;
    }
}



/* =========================================================
   Motion + Accessibility
   ========================================================= */





@media (prefers-reduced-motion: reduce) {
    #privacy-overview *,
    #privacy-overview *::before,
    #privacy-overview *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    #privacy-overview.animation-ready .privacy-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition-delay: 0ms !important;
    }
}

/* =========================================================
   Shared page integration
   ========================================================= */
#privacy-overview .privacy-outer-layout {
    grid-template-columns: minmax(0, 1fr);
}
/* Card perimeter: keep the shared shadow visible while sidebar stays sticky. */
#privacy-overview .page-main.privacy-main {
    overflow: visible;
    border: 1px solid var(--site-border);
    border-radius: 24px;
    background: var(--site-surface);
    box-shadow: var(--site-shadow);
}

#privacy-overview .privacy-main > .page-header.privacy-intro {
    border-radius: 23px 23px 0 0;
    background-clip: padding-box;
}

#privacy-overview .privacy-main #privacy-contact {
    border-bottom-right-radius: 23px;
}

@media (max-width: 900px) {
    #privacy-overview .privacy-main #privacy-contact {
        border-radius: 0 0 23px 23px;
    }
}

#privacy-overview .privacy-section,
#privacy-overview .privacy-cta {
    scroll-margin-top: 110px;
}

    #privacy-overview .privacy-section::before,
    #privacy-overview .privacy-cta::before {
        content: none;
    }

    #privacy-overview .privacy-section h2.page-section-title,
    #privacy-overview .privacy-cta h2.page-section-title {
        margin-bottom: 20px;
    }

@media (max-width: 1180px) {
    #privacy-overview .privacy-section, #privacy-overview .privacy-cta {
        padding-inline: 32px;
    }
}

@media (max-width: 720px) {
    #privacy-overview .privacy-section, #privacy-overview .privacy-cta {
        padding-inline: 20px;
    }
}

@media (max-width: 480px) {
    #privacy-overview .privacy-section, #privacy-overview .privacy-cta {
        padding-inline: 14px;
    }
}
