:root {
    --primary: #CA9F50;
    --primary-light: #e0b875;
    --bg-dark: #0B0D11;
    --card-bg: rgba(21, 25, 30, 0.7);
    --text-main: #FFFFFF;
    --text-dim: #A0A0A0;
    --accent-blue: #4F46E5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
.logo-text {
    font-family: 'Outfit', sans-serif;
}

/* Background Animations */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: move 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: #FF6B35;
    top: 40%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(11, 13, 17, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.last-updated {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* Layout */
.main-layout {
    max-width: 1200px;
    width: 95%;
    margin: 120px auto 60px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.sidebar-toc {
    width: 280px;
    padding: 30px;
    position: sticky;
    top: 110px;
    border-radius: 24px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-toc h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-toc ul {
    list-style: none;
    margin: 0;
}

.sidebar-toc li {
    margin-bottom: 12px;
}

.sidebar-toc a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
}

.sidebar-toc a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.content-wrapper {
    flex: 1;
    padding: 60px;
    border-radius: 32px;
    backdrop-filter: blur(20px);
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.policy-header {
    margin-bottom: 60px;
    text-align: left;
}

h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 0;
}

.policy-section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

h2::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--primary);
    margin-right: 12px;
    border-radius: 2px;
}

p {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

ul {
    margin: 0 0 20px 20px;
}

li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

li strong {
    color: var(--text-main);
}

.contact-email {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
}

.address-block {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-top: 5px;
}

.policy-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* --- Responsive Adjustments --- */

@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
        margin-top: 100px;
        gap: 20px;
    }

    .sidebar-toc {
        position: relative;
        top: 0;
        width: 100%;
        padding: 20px;
        margin-bottom: 20px;
        order: -1;
        /* Keep TOC at top on tablets */
    }

    .sidebar-toc ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .sidebar-toc li {
        margin-bottom: 0;
    }

    .sidebar-toc a {
        background: rgba(255, 255, 255, 0.05);
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 0.8rem;
    }

    .content-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 25px;
        border-radius: 20px;
    }

    h1 {
        font-size: 2.2rem;
        text-align: center;
    }

    .subtitle {
        text-align: center;
        font-size: 1rem;
        margin: 0 auto;
    }

    .policy-header {
        margin-bottom: 40px;
        text-align: center;
    }

    h2 {
        font-size: 1.3rem;
    }

    .glass-nav {
        height: 60px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .last-updated {
        display: none;
    }

    .contact-email {
        font-size: 1.1rem;
    }

    .sidebar-toc h3 {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    p,
    li {
        font-size: 0.9rem;
    }

    .sidebar-toc a {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}