/* ============================================================
   Privacy Policy — 3D responsive animated page
   ============================================================ */

.privacy-page {
    --privacy-ink: #072f2e;
    --privacy-teal: #005b58;
    --privacy-mint: #8fd1bd;
    --privacy-cream: #f3f4e5;
    --privacy-soft: #f7f8ef;
    background: var(--privacy-soft);
    color: var(--privacy-ink);
    overflow-x: hidden;
}

.privacy-page main {
    overflow: clip;
}

.privacy-page em {
    color: #08766e;
    font-style: italic;
    font-weight: 500;
}

/* ---------- Hero ---------- */
.privacy-page .privacy-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(320px, 42vw, 460px);
    color: #fff;
    background-image: none !important;
    background-color: #002827;
    background:
        radial-gradient(circle at 78% 28%, rgba(88, 200, 168, 0.2), transparent 28%),
        radial-gradient(circle at 12% 85%, rgba(237, 240, 218, 0.12), transparent 34%),
        linear-gradient(135deg, #003e3d 0%, #002827 72%) !important;
}

.privacy-page .privacy-hero .about-page-hero-overlay {
    background:
        linear-gradient(90deg, rgba(0, 40, 40, 0.55) 0%, rgba(0, 40, 40, 0.18) 48%, transparent 100%),
        linear-gradient(0deg, rgba(0, 30, 30, 0.2), transparent 55%);
}

.privacy-page .privacy-hero .about-page-kicker {
    color: rgba(237, 240, 218, 0.72);
}

.privacy-page .privacy-hero h1 {
    color: #fff;
}

.privacy-page .privacy-hero .about-breadcrumb {
    color: rgba(255, 255, 255, 0.52);
}

.privacy-page .privacy-hero .about-breadcrumb a,
.privacy-page .privacy-hero .about-breadcrumb span[aria-hidden="true"] {
    color: rgba(237, 240, 218, 0.92);
}

.privacy-page .privacy-hero .about-breadcrumb a:hover {
    color: var(--privacy-mint);
}

.privacy-hero-grid {
    position: absolute;
    z-index: 0;
    inset: 0;
    opacity: 0.22;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, #000, transparent 80%);
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.privacy-hero-orb {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(237, 240, 218, 0.16);
    border-radius: 50%;
    pointer-events: none;
    animation: privacyOrbit 18s linear infinite;
}

.privacy-hero-orb::before,
.privacy-hero-orb::after {
    content: "";
    position: absolute;
    width: 11px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--privacy-mint);
    box-shadow: 0 0 22px rgba(143, 209, 189, 0.7);
}

.privacy-hero-orb-one {
    width: 420px;
    aspect-ratio: 1;
    top: -180px;
    right: 6%;
}

.privacy-hero-orb-one::before {
    left: 30px;
    bottom: 90px;
}

.privacy-hero-orb-one::after {
    right: 36px;
    top: 110px;
}

.privacy-hero-orb-two {
    width: 230px;
    aspect-ratio: 1;
    right: 30%;
    bottom: -140px;
    animation-direction: reverse;
    animation-duration: 12s;
}

.privacy-hero-orb-two::before {
    right: 14px;
    top: 52px;
}

.privacy-hero-orb-two::after {
    display: none;
}

@keyframes privacyOrbit {
    to { transform: rotate(360deg); }
}

.privacy-hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.privacy-hero-shield {
    position: absolute;
    z-index: 2;
    right: clamp(4%, 8vw, 12%);
    bottom: clamp(-20px, 2vw, 28px);
    width: min(280px, 34vw);
    aspect-ratio: 280 / 320;
    perspective: 900px;
    transform-style: preserve-3d;
    pointer-events: none;
}

.privacy-shield-glow {
    position: absolute;
    inset: 18% 10% 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 209, 189, 0.45), transparent 70%);
    filter: blur(18px);
    animation: privacyPulse 3.6s ease-in-out infinite;
}

.privacy-shield-ring {
    position: absolute;
    inset: 8%;
    border: 1px dashed rgba(237, 240, 218, 0.28);
    border-radius: 50%;
    animation: privacyOrbit 14s linear infinite;
}

.privacy-shield-ring-two {
    inset: -4%;
    border-style: solid;
    border-color: rgba(143, 209, 189, 0.18);
    animation-direction: reverse;
    animation-duration: 20s;
}

.privacy-shield-svg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    transform: rotateY(-18deg) rotateX(8deg);
    transform-origin: center;
    animation: privacyFloat 5.5s ease-in-out infinite;
    filter: drop-shadow(0 28px 40px rgba(0, 20, 20, 0.35));
}

@keyframes privacyFloat {
    0%, 100% { transform: rotateY(-18deg) rotateX(8deg) translateY(0); }
    50% { transform: rotateY(-12deg) rotateX(4deg) translateY(-14px); }
}

@keyframes privacyPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.08); }
}

/* ---------- Intro + principles ---------- */
.privacy-intro {
    position: relative;
    padding: clamp(72px, 9vw, 130px) 0 clamp(40px, 5vw, 70px);
    background: var(--privacy-soft);
}

.privacy-intro-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
}

.privacy-label {
    margin: 0 0 14px;
    color: #267c73;
    font: 700 0.72rem/1.2 var(--font-head);
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.privacy-intro-copy h2,
.privacy-panels-head h2 {
    margin: 0;
    font: 700 clamp(2rem, 4vw, 3.8rem)/1.05 var(--font-head);
    letter-spacing: -0.055em;
}

.privacy-intro-copy > p:not(.privacy-label) {
    max-width: 560px;
    margin: 22px 0 0;
    color: #54706b;
    font-size: clamp(0.96rem, 1.2vw, 1.06rem);
    line-height: 1.8;
}

.privacy-meta {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    color: #6a8580;
    font-size: 0.86rem;
}

.privacy-meta strong {
    color: var(--privacy-teal);
}

.privacy-meta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--privacy-teal);
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 0.78rem;
    transition: gap 0.25s ease, color 0.25s ease;
}

.privacy-meta a:hover {
    gap: 12px;
    color: #003d3d;
}

.privacy-principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    perspective: 1200px;
}

.privacy-principle-card {
    position: relative;
    padding: 22px 20px 24px;
    border: 1px solid rgba(0, 83, 83, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(237, 240, 218, 0.55));
    box-shadow:
        0 18px 40px rgba(0, 45, 45, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
}

.privacy-principle-card:hover {
    box-shadow:
        0 26px 50px rgba(0, 45, 45, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.privacy-principle-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #edf0da;
    background: linear-gradient(145deg, #00756f, #003d3d);
    box-shadow: 0 12px 24px rgba(0, 83, 83, 0.22);
    transform: translateZ(28px);
}

.privacy-principle-icon svg {
    width: 22px;
    height: 22px;
}

.privacy-principle-card h3 {
    margin: 0;
    color: var(--privacy-ink);
    font: 700 1.02rem/1.2 var(--font-head);
    letter-spacing: -0.03em;
    transform: translateZ(20px);
}

.privacy-principle-card p {
    margin: 10px 0 0;
    color: #5d7873;
    font-size: 0.88rem;
    line-height: 1.65;
    transform: translateZ(16px);
}

/* ---------- Body + TOC ---------- */
.privacy-body {
    position: relative;
    padding: clamp(40px, 6vw, 90px) 0 clamp(80px, 10vw, 140px);
    overflow: hidden;
}

.privacy-body-aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.45;
}

.privacy-body-aurora-one {
    width: 420px;
    height: 420px;
    top: 8%;
    left: -120px;
    background: rgba(143, 209, 189, 0.35);
}

.privacy-body-aurora-two {
    width: 380px;
    height: 380px;
    right: -100px;
    bottom: 12%;
    background: rgba(0, 115, 110, 0.12);
}

.privacy-body-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.privacy-toc {
    position: sticky;
    top: 100px;
    padding: 22px 18px;
    border: 1px solid rgba(0, 83, 83, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 40, 40, 0.05);
}

.privacy-toc-label {
    margin: 0 0 14px;
    padding: 0 8px;
    color: #6a8580;
    font: 700 0.68rem/1 var(--font-head);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.privacy-toc-nav {
    display: grid;
    gap: 4px;
}

.privacy-toc-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 14px;
    color: #54706b;
    font: 600 0.82rem/1.25 var(--font-head);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.privacy-toc-nav a span {
    width: 28px;
    color: #8aa39d;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

.privacy-toc-nav a:hover {
    color: var(--privacy-teal);
    background: rgba(143, 209, 189, 0.16);
}

.privacy-toc-nav a.is-active {
    color: #fff;
    background: linear-gradient(135deg, #00756f, #003d3d);
    box-shadow: 0 10px 24px rgba(0, 83, 83, 0.22);
    transform: translateX(2px);
}

.privacy-toc-nav a.is-active span {
    color: rgba(237, 240, 218, 0.72);
}

.privacy-panels {
    display: grid;
    gap: 18px;
}

.privacy-panels-head {
    margin-bottom: 10px;
}

.privacy-panel {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(100px, 140px);
    gap: 18px 22px;
    align-items: start;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(0, 83, 83, 0.08);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(243, 244, 229, 0.72));
    box-shadow: 0 18px 44px rgba(0, 40, 40, 0.05);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.privacy-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #8fd1bd, #005353);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.privacy-panel.is-inview,
.privacy-panel:hover {
    box-shadow: 0 28px 60px rgba(0, 45, 45, 0.1);
}

.privacy-panel.is-inview::before,
.privacy-panel:hover::before {
    opacity: 1;
}

.privacy-panel-index {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #edf0da;
    background: linear-gradient(145deg, #00756f, #003d3d);
    font: 700 0.78rem/1 var(--font-head);
    box-shadow: 0 12px 24px rgba(0, 83, 83, 0.18);
}

.privacy-panel-copy h3 {
    margin: 0 0 12px;
    font: 700 clamp(1.2rem, 2vw, 1.55rem)/1.2 var(--font-head);
    letter-spacing: -0.035em;
}

.privacy-panel-copy p,
.privacy-panel-copy li {
    color: #54706b;
    font-size: 0.96rem;
    line-height: 1.75;
}

.privacy-panel-copy p {
    margin: 0 0 12px;
}

.privacy-panel-copy ul {
    margin: 0 0 12px;
    padding-left: 1.1rem;
}

.privacy-panel-copy li {
    margin-bottom: 8px;
}

.privacy-panel-copy li strong {
    color: var(--privacy-ink);
}

.privacy-note {
    margin-top: 8px !important;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 83, 83, 0.08);
    font-size: 0.88rem !important;
}

.privacy-contact-card {
    margin: 8px 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.privacy-contact-card a {
    min-height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    font: 700 0.78rem/1 var(--font-head);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.privacy-contact-card a:first-child {
    color: #fff;
    background: var(--privacy-teal);
    box-shadow: 0 12px 28px rgba(0, 83, 83, 0.18);
}

.privacy-contact-card a:last-child {
    color: var(--privacy-teal);
    background: rgba(143, 209, 189, 0.22);
}

.privacy-contact-card a:hover {
    transform: translateY(-2px);
}

.privacy-panel-visual {
    align-self: center;
    justify-self: end;
}

.privacy-mini-scene {
    width: 112px;
    height: 112px;
    position: relative;
    border-radius: 28px;
    background:
        radial-gradient(circle at 30% 25%, rgba(237, 240, 218, 0.9), transparent 45%),
        linear-gradient(145deg, #00756f, #003d3d);
    box-shadow:
        0 18px 34px rgba(0, 60, 60, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: rotateY(-16deg) rotateX(8deg);
    transform-style: preserve-3d;
    animation: privacyMiniFloat 4.8s ease-in-out infinite;
}

@keyframes privacyMiniFloat {
    0%, 100% { transform: rotateY(-16deg) rotateX(8deg) translateY(0); }
    50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-8px); }
}

.privacy-mini-identity span {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(237, 240, 218, 0.9);
    box-shadow: 0 8px 16px rgba(0, 20, 20, 0.18);
}

.privacy-mini-identity span:nth-child(1) { top: 22px; left: 22px; }
.privacy-mini-identity span:nth-child(2) { top: 22px; right: 22px; opacity: 0.7; }
.privacy-mini-identity span:nth-child(3) {
    left: 50%;
    bottom: 22px;
    width: 52px;
    height: 28px;
    transform: translateX(-50%);
    border-radius: 999px;
}

.privacy-mini-collect i {
    position: absolute;
    left: 18px;
    right: 18px;
    height: 12px;
    border-radius: 999px;
    background: rgba(237, 240, 218, 0.85);
}

.privacy-mini-collect i:nth-child(1) { top: 28px; }
.privacy-mini-collect i:nth-child(2) { top: 50px; width: 58%; }
.privacy-mini-collect i:nth-child(3) { top: 72px; width: 42%; }

.privacy-mini-use b {
    position: absolute;
    width: 18px;
    border-radius: 999px;
    background: rgba(237, 240, 218, 0.88);
    bottom: 24px;
}

.privacy-mini-use b:nth-child(1) { left: 24px; height: 36px; }
.privacy-mini-use b:nth-child(2) { left: 48px; height: 54px; }
.privacy-mini-use b:nth-child(3) { left: 72px; height: 44px; }

.privacy-mini-share span {
    position: absolute;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border-radius: 50%;
    background: rgba(237, 240, 218, 0.9);
    box-shadow: 0 0 0 8px rgba(237, 240, 218, 0.12);
}

.privacy-mini-share span:first-child { left: 18px; }
.privacy-mini-share span:last-child { right: 18px; }
.privacy-mini-share::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 42px;
    right: 42px;
    height: 3px;
    margin-top: -1.5px;
    background: rgba(237, 240, 218, 0.55);
}

.privacy-mini-cookies em {
    position: absolute;
    border-radius: 50%;
    background: rgba(237, 240, 218, 0.88);
}

.privacy-mini-cookies em:nth-child(1) { width: 28px; height: 28px; top: 28px; left: 28px; }
.privacy-mini-cookies em:nth-child(2) { width: 18px; height: 18px; top: 34px; right: 26px; }
.privacy-mini-cookies em:nth-child(3) { width: 22px; height: 22px; bottom: 24px; left: 42px; }

.privacy-mini-security,
.privacy-mini-contact {
    display: grid;
    place-items: center;
    color: #edf0da;
}

.privacy-mini-security svg,
.privacy-mini-contact svg {
    width: 52px;
    height: 52px;
}

.privacy-mini-rights {
    display: grid;
    place-items: center;
    grid-auto-flow: column;
    gap: 6px;
    padding: 0 14px;
}

.privacy-mini-rights span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #003d3d;
    background: #edf0da;
    font: 800 0.65rem/1 var(--font-head);
}

/* ---------- CTA ---------- */
.privacy-cta {
    position: relative;
    padding: 0 0 clamp(70px, 9vw, 120px);
}

.privacy-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(237, 240, 218, 0.18);
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 20%, rgba(237, 240, 218, 0.14), transparent 28%),
        linear-gradient(128deg, #003d3d 0%, #005353 55%, #002f2f 100%);
    box-shadow: 0 28px 70px rgba(8, 29, 19, 0.2);
    overflow: hidden;
}

.privacy-cta-kicker {
    margin: 0 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(237, 240, 218, 0.72);
    font: 700 0.7rem/1 var(--font-head);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.privacy-cta-kicker span {
    width: 28px;
    height: 1px;
    background: var(--privacy-mint);
}

.privacy-cta-copy h2 {
    margin: 0;
    max-width: 560px;
    color: #fff;
    font: 700 clamp(1.45rem, 2.8vw, 2.2rem)/1.15 var(--font-head);
    letter-spacing: -0.04em;
}

.privacy-cta-btn {
    min-height: 54px;
    padding: 0 24px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    color: #003d3d;
    background: #edf0da;
    font: 700 0.8rem/1 var(--font-head);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, gap 0.25s ease;
}

.privacy-cta-btn:hover {
    transform: translateY(-2px);
    gap: 16px;
}

.privacy-footer {
    margin-top: 0;
}

/* ---------- Reveal ---------- */
.privacy-page .reveal {
    opacity: 0;
    transform: translateY(28px) rotateX(6deg);
    transform-origin: center top;
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.privacy-page .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .privacy-hero-shield {
        width: min(220px, 30vw);
        right: 3%;
        opacity: 0.92;
    }

    .privacy-body-layout {
        grid-template-columns: 1fr;
    }

    .privacy-toc {
        position: relative;
        top: 0;
    }

    .privacy-toc-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .privacy-intro-grid {
        grid-template-columns: 1fr;
    }

    .privacy-hero-shield {
        display: none;
    }

    .privacy-panel {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .privacy-panel-visual {
        display: none;
    }

    .privacy-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .privacy-principles {
        grid-template-columns: 1fr;
    }

    .privacy-toc-nav {
        grid-template-columns: 1fr;
    }

    .privacy-panel {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .privacy-panel-index {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .privacy-hero-orb,
    .privacy-shield-ring,
    .privacy-shield-svg,
    .privacy-shield-glow,
    .privacy-mini-scene {
        animation: none !important;
    }

    .privacy-page .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
