﻿:root {
    --bg-dark: #0a0e16;
    --bg-darker: #050810;
    --text-primary: #e8edf4;
    --text-secondary: #9ba5b8;
    --accent-gold: #d4af37;
    --accent-gold-dim: #9b8229;
    --accent-blue: #4a90e2;
    --accent-green: #2dd4bf;
    --accent-red: #ef4444;
    --border-subtle: #1a2332;
    --border-bright: #2a3648;
    --card-bg: #0f1623;
    --code-bg: #1a1f2e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

    /* Background Pattern */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
        pointer-events: none;
        z-index: 0;
    }

    /* Grid overlay */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
        background-size: 50px 50px;
        opacity: 0.3;
        pointer-events: none;
        z-index: 0;
    }

/* Navigation */
nav {
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 22, 0.95);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent-gold);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

    .nav-links a {
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.2s;
    }

        .nav-links a:hover {
            color: var(--accent-gold);
        }

/* Privacy Header */
.privacy-header {
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.privacy-label {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold-dim);
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
}

h1 {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.effective-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-gold);
}

/* At a Glance Section */
.glance-section {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.glance-card {
    background: var(--card-bg);
    border: 1px solid var(--border-bright);
    border-radius: 12px;
    padding: 3rem;
}

    .glance-card h2 {
        font-family: 'Crimson Pro', serif;
        font-size: 2rem;
        margin-bottom: 2rem;
        color: var(--accent-gold);
    }

.glance-item {
    margin-bottom: 1.5rem;
}

    .glance-item strong {
        color: var(--text-primary);
        display: block;
        margin-bottom: 0.3rem;
        font-size: 1.05rem;
    }

    .glance-item p {
        color: var(--text-secondary);
        margin-left: 0;
    }

.no-sell {
    color: var(--accent-green) !important;
    font-weight: 600;
}

/* Main Content Layout */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

/* Table of Contents */
.toc-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.toc-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.toc-list {
    list-style: none;
}

    .toc-list li {
        margin-bottom: 0.75rem;
    }

    .toc-list a {
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 0.9rem;
        display: block;
        padding: 0.5rem 0;
        border-left: 2px solid transparent;
        padding-left: 1rem;
        transition: all 0.2s;
    }

        .toc-list a:hover {
            color: var(--text-primary);
            border-left-color: var(--accent-gold-dim);
        }

        .toc-list a.active {
            color: var(--accent-gold);
            border-left-color: var(--accent-gold);
        }

/* Main Content */
.privacy-content {
    max-width: 900px;
}

.section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

thead {
    background: var(--code-bg);
}

th {
    padding: 1rem;
    text-align: left;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-gold);
    border-bottom: 1px solid var(--border-bright);
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(212, 175, 55, 0.03);
}

/* Contact Box */
.contact-box {
    background: var(--card-bg);
    border: 1px solid var(--border-bright);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

    .contact-box h4 {
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .contact-box a {
        color: var(--accent-gold);
        text-decoration: none;
    }

        .contact-box a:hover {
            text-decoration: underline;
        }

/* Highlight Boxes */
.highlight-box {
    background: var(--code-bg);
    border-left: 3px solid var(--accent-gold);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

    .highlight-box.important {
        border-left-color: var(--accent-red);
    }

    .highlight-box.success {
        border-left-color: var(--accent-green);
    }

    .highlight-box p:last-child {
        margin-bottom: 0;
    }

/* Footer */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

    .footer-section a:hover {
        color: var(--accent-gold);
    }

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 2rem 2rem 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-bright);
    padding: 1.5rem;
    display: none;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

    .cookie-banner.show {
        display: block;
    }

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

    .cookie-text p {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .cookie-text a {
        color: var(--accent-gold);
        text-decoration: none;
    }

        .cookie-text a:hover {
            text-decoration: underline;
        }

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dim));
    color: var(--bg-dark);
    font-weight: 500;
}

    .cookie-btn-accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    }

.cookie-btn-essential {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-bright);
}

    .cookie-btn-essential:hover {
        border-color: var(--accent-gold);
        color: var(--accent-gold);
    }

.cookie-btn-settings {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

    .cookie-btn-settings:hover {
        border-color: var(--text-secondary);
    }

/* Mobile Responsive */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .toc-sidebar {
        display: none;
    }

    .privacy-header {
        padding: 4rem 0 3rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .glance-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

        .nav-links a {
            font-size: 0.85rem;
        }

    .content-wrapper {
        padding: 0 1rem 4rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .glance-card {
        padding: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 0;
    }

    .table-container {
        font-size: 0.8rem;
    }

    th, td {
        padding: 0.75rem 0.5rem;
    }
}

/* Print Styles */
@media print {
    body::before,
    body::after,
    nav,
    .toc-sidebar,
    .cookie-banner,
    footer {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .privacy-content {
        max-width: 100%;
    }

    h1, h2, h3, strong {
        color: black;
    }

    p, li, td {
        color: #333;
    }

    .highlight-box {
        border: 1px solid #ccc;
        background: #f5f5f5;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-green));
    z-index: 1001;
    transition: width 0.2s;
}