html, body {
    background-color: #050505 !important;
    color: #ffffff !important;
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.glass-panel {
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.noise-bg {
    position: relative;
}

.noise-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 0;
}

/* Scroll reveal animation */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Isometric 3D preview */
.iso-container {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iso-scene {
    position: relative;
    width: 240px;
    height: 420px;
    transform-style: preserve-3d;
    transform: rotateX(55deg) rotateY(0deg) rotateZ(-45deg);
    animation: float-iso 6s ease-in-out infinite;
    cursor: pointer;
}

@keyframes float-iso {
    0%, 100% { transform: rotateX(55deg) rotateZ(-45deg) translateZ(0px); }
    50% { transform: rotateX(55deg) rotateZ(-45deg) translateZ(20px); }
}

.iso-layer {
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -20px 20px 30px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Base layer: asset list */
.iso-layer-1 {
    transform: translateZ(0px);
}

/* Middle layer: mixing progress */
.iso-layer-2 {
    transform: translateZ(70px);
    width: 90%;
    height: auto;
    top: 20%;
    left: 5%;
    background: linear-gradient(to bottom, rgba(24, 24, 24, 0.95), rgba(0, 0, 0, 0.95));
    border: 1px solid rgba(255, 51, 51, 0.2);
    box-shadow: -30px 30px 40px rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
}

/* Top layer: verification shield */
.iso-layer-3 {
    transform: translateZ(140px);
    width: 85%;
    height: auto;
    bottom: 12%;
    left: 7.5%;
    top: auto;
    background: rgba(17, 17, 17, 0.95);
    border: 1px solid rgba(255, 51, 51, 0.4);
    box-shadow: -40px 40px 50px rgba(0, 0, 0, 0.6);
    border-radius: 1rem;
}

/* Expand the 3D layers on hover */
.iso-scene:hover .iso-layer-1 {
    transform: translateZ(-20px);
    box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.3);
}

.iso-scene:hover .iso-layer-2 {
    transform: translateZ(100px);
}

.iso-scene:hover .iso-layer-3 {
    transform: translateZ(200px);
}

/* Privacy page */
.privacy-page {
    min-height: 100vh;
    background: #050505;
}

.privacy-header {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.privacy-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-decoration: none;
    padding-left: max(1.5rem, calc((100vw - 80rem) / 2));
}

.privacy-header .brand img {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
}

.privacy-header .main-nav {
    display: none;
    align-items: center;
    gap: 2rem;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 600;
}

.privacy-header .main-nav a,
.privacy-header .header-action {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.privacy-header .main-nav a:hover {
    color: #fff;
}

.privacy-header .header-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: max(1.5rem, calc((100vw - 80rem) / 2));
    padding: 0.625rem 1.25rem;
    border-radius: 999px;
    background: #ff3333;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.3);
}

.privacy-header .header-action:hover {
    background: #cc0000;
    color: #fff;
}

.privacy-main {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    padding: 9rem 1.5rem 6rem;
}

.privacy-main::before {
    content: "";
    position: absolute;
    top: 5rem;
    left: 8%;
    width: 26rem;
    height: 26rem;
    border-radius: 999px;
    background: rgba(255, 51, 51, 0.1);
    filter: blur(110px);
    pointer-events: none;
    z-index: -1;
}

.privacy-hero {
    max-width: 54rem;
    margin-bottom: 4rem;
}

.privacy-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid #222;
    border-radius: 999px;
    background: #111;
    color: #ff3333;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #ff3333;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.7);
}

.privacy-hero h1 {
    margin: 0 0 1.25rem;
    color: #fff;
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}

.privacy-lead {
    max-width: 48rem;
    margin: 0;
    color: #9ca3af;
    font-size: 1.125rem;
    line-height: 1.75;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 1.5rem;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 600;
}

.privacy-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.privacy-toc {
    display: none;
    position: sticky;
    top: 6rem;
    padding: 1.25rem;
    border: 1px solid #222;
    border-radius: 0.75rem;
    background: rgba(17, 17, 17, 0.72);
    backdrop-filter: blur(12px);
}

.privacy-toc p {
    margin: 0 0 0.875rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.privacy-toc a {
    display: block;
    padding: 0.45rem 0;
    color: #6b7280;
    font-size: 0.8125rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.privacy-toc a:hover {
    padding-left: 0.25rem;
    color: #ff3333;
}

.privacy-content {
    min-width: 0;
    max-width: 52rem;
}

.privacy-content section {
    padding: 2.5rem 0;
    border-top: 1px solid #222;
    scroll-margin-top: 6rem;
}

.privacy-content section:first-child {
    padding-top: 0;
    border-top: 0;
}

.policy-kicker {
    display: block;
    margin-bottom: 0.75rem;
    color: #ff3333;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.privacy-content h2 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.privacy-content h3 {
    margin: 1.75rem 0 0.625rem;
    color: #f3f4f6;
    font-size: 1.05rem;
    font-weight: 700;
}

.privacy-content p,
.privacy-content li {
    color: #9ca3af;
    font-size: 0.98rem;
    line-height: 1.8;
}

.privacy-content p {
    margin: 0 0 1rem;
}

.privacy-content ul,
.privacy-content ol {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
}

.privacy-content li {
    padding-left: 0.25rem;
    margin-bottom: 0.5rem;
}

.privacy-content a {
    color: #ff5555;
    text-decoration: underline;
    text-decoration-color: rgba(255, 51, 51, 0.35);
    text-underline-offset: 0.2em;
}

.privacy-content a:hover {
    color: #fff;
    text-decoration-color: #ff3333;
}

.deletion-callout {
    margin: 1.5rem 0 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 51, 51, 0.35);
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.12), rgba(17, 17, 17, 0.9) 55%);
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.08);
}

.deletion-callout strong {
    color: #fff;
}

.deletion-callout .header-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #ff3333;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.22);
}

.deletion-callout .header-action:hover {
    background: #cc0000;
    color: #fff;
}

.contact-block {
    padding: 1.25rem 1.5rem;
    border-left: 2px solid #ff3333;
    background: #111;
}

.privacy-footer {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.5rem max(1.5rem, calc((100vw - 80rem) / 2));
    border-top: 1px solid #222;
    background: #030303;
    overflow: hidden;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
}

.footer-brand img {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
}

.footer-brand strong {
    font-size: 1rem;
}

.footer-brand span {
    color: #6b7280;
    font-size: 0.75rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8125rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: #4b5563;
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .privacy-header .main-nav {
        display: flex;
    }

    .privacy-main {
        padding-top: 10rem;
    }

    .privacy-layout {
        grid-template-columns: 15rem minmax(0, 1fr);
        gap: 4rem;
    }

    .privacy-toc {
        display: block;
    }
}

@media (max-width: 767px) {
    .privacy-header .brand {
        padding-left: 1.25rem;
    }

    .privacy-header .header-action {
        margin-right: 1.25rem;
        padding: 0.55rem 0.8rem;
        font-size: 0;
    }

    .privacy-header .header-action i {
        font-size: 0.9rem;
    }

    .privacy-main {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .privacy-footer {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }
}
