* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide scrollbar while maintaining functionality */
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-y: scroll; /* Keep scroll functionality */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.98);
    font-size: 20px;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.back-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-link:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Main Container */
.privacy-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px 60px;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Grid - Two Column Layout */
.content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

/* Table of Contents Sidebar */
.toc-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.toc {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.toc h3 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li {
    margin-bottom: 8px;
}

.toc a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.toc a:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.05);
    border-left-color: rgba(255, 255, 255, 0.4);
    transform: translateX(2px);
}

.toc a:active,
.toc a.active {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.08);
    border-left-color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Header */
.privacy-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    grid-column: 1 / -1;
}

.privacy-header h1 {
    font-size: 64px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-top: 8px;
}

.effective-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    margin-top: 4px;
}

/* Content */
.privacy-content {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.privacy-section {
    margin-bottom: 60px;
}

.privacy-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.privacy-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 28px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.privacy-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
    line-height: 1.8;
}

.privacy-section ul {
    margin: 20px 0;
    padding-left: 24px;
}

.privacy-section li {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
    line-height: 1.7;
}

.privacy-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.privacy-section a:hover {
    color: rgba(255, 255, 255, 1);
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

/* Rights List */
.rights-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    margin: 24px 0;
}

.rights-list li {
    position: relative;
    padding-left: 12px;
    list-style: none;
}

.rights-list li::before {
    content: "→";
    position: absolute;
    left: -12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.rights-list strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Browser Links */
.browser-links {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px 32px;
    margin: 20px 0;
}

.browser-links li {
    list-style: none;
    padding: 8px 0;
}

/* Info Box */
.info-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 24px 0;
}

.info-box p {
    margin-bottom: 8px;
    font-size: 15px;
}

.info-box strong {
    color: rgba(255, 255, 255, 0.98);
    font-weight: 600;
}

.info-box a {
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 24px 0;
}

.highlight-box strong {
    color: rgba(16, 185, 129, 1);
    font-weight: 600;
}

.highlight-box ul {
    margin-top: 16px;
}

.highlight-box li {
    color: rgba(255, 255, 255, 0.85);
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    padding: 20px 28px;
    margin: 24px 0;
}

.warning-box p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.warning-box strong {
    color: rgba(245, 158, 11, 1);
    font-weight: 600;
}

/* Tables */
.data-table table,
.processors-table table,
.retention-table table,
.legal-table table,
.cookies-table table,
.transfer-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table th,
.processors-table th,
.retention-table th,
.legal-table th,
.cookies-table th,
.transfer-table th {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 13px;
    text-align: left;
    padding: 16px 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.data-table td,
.processors-table td,
.retention-table td,
.legal-table td,
.cookies-table td,
.transfer-table td {
    padding: 16px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tr:last-child td,
.processors-table tr:last-child td,
.retention-table tr:last-child td,
.legal-table tr:last-child td,
.cookies-table tr:last-child td,
.transfer-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td,
.processors-table tr:hover td,
.retention-table tr:hover td,
.legal-table tr:hover td,
.cookies-table tr:hover td,
.transfer-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

table strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Purpose Grid */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.purpose-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.purpose-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.purpose-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
}

.purpose-card ul {
    padding-left: 20px;
    margin: 0;
}

.purpose-card li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 28px 0;
}

.right-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.right-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.right-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.right-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
}

.right-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.security-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
}

.security-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
}

.security-card ul {
    padding-left: 20px;
    margin: 0;
}

.security-card li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 20px 0;
}

.service-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-card strong {
    color: rgba(255, 255, 255, 0.95);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 28px 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 24px;
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 14px;
    margin-bottom: 8px;
}

/* Certification Badges */
.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.cert-badges .badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(16, 185, 129, 1);
}

/* Disclaimer */
.disclaimer {
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-top: 60px;
}

.disclaimer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Footer */
.privacy-footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-container p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 1);
}

/* Scroll Behavior for Anchor Links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Section Spacing */
.privacy-section {
    scroll-margin-top: 100px;
}

.privacy-section:not(:last-child) {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .navbar,
    .toc-sidebar,
    .privacy-footer {
        display: none;
    }

    .content-grid {
        display: block;
    }

    .privacy-section {
        page-break-inside: avoid;
    }

    table {
        page-break-inside: avoid;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 260px 1fr;
        gap: 40px;
    }

    .privacy-container {
        max-width: 1200px;
    }
}

@media (max-width: 992px) {
    .content-grid {
        display: block;
    }

    .toc-sidebar {
        display: none; /* Hide TOC on mobile for cleaner look */
    }

    .privacy-container {
        padding: 60px 24px 40px;
    }

    .privacy-header {
        padding-bottom: 32px;
        margin-bottom: 40px;
    }

    .privacy-header h1 {
        font-size: 48px;
    }

    .privacy-section {
        margin-bottom: 48px;
    }

    .privacy-section h2 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .privacy-section h3 {
        font-size: 20px;
        margin-top: 24px;
    }

    .purpose-grid,
    .rights-grid,
    .security-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Table responsive container */
    .processors-table,
    .data-table,
    .retention-table,
    .cookies-table,
    .transfer-table,
    .legal-table {
        margin: 20px -24px; /* Full width bleed on mobile */
        padding: 0 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .processors-table table,
    .data-table table,
    .retention-table table,
    .cookies-table table,
    .transfer-table table,
    .legal-table table {
        font-size: 13px;
        min-width: 700px; /* Ensure tables are scrollable */
    }

    .processors-table th,
    .data-table th,
    .retention-table th,
    .cookies-table th,
    .transfer-table th,
    .legal-table th {
        padding: 12px 14px;
        font-size: 11px;
    }

    .processors-table td,
    .data-table td,
    .retention-table td,
    .cookies-table td,
    .transfer-table td,
    .legal-table td {
        padding: 12px 14px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-logo {
        font-size: 18px;
    }

    .nav-logo-img {
        width: 32px;
        height: 32px;
    }

    .back-link {
        font-size: 13px;
        padding: 6px 12px;
    }

    .privacy-container {
        padding: 48px 16px 32px;
    }

    .privacy-header {
        padding-bottom: 24px;
        margin-bottom: 32px;
    }

    .privacy-header h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .last-updated,
    .effective-date {
        font-size: 12px;
    }

    .privacy-section {
        margin-bottom: 40px;
    }

    .privacy-section h2 {
        font-size: 26px;
        margin-bottom: 14px;
        line-height: 1.3;
    }

    .privacy-section h3 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .privacy-section h4 {
        font-size: 16px;
    }

    .privacy-section p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    .privacy-section li {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .privacy-section ul {
        padding-left: 20px;
    }

    /* Boxes and Cards */
    .rights-list,
    .browser-links,
    .info-box,
    .highlight-box,
    .warning-box {
        padding: 18px;
        border-radius: 12px;
        margin: 20px 0;
    }

    .purpose-card,
    .right-card,
    .security-card,
    .service-card,
    .contact-card {
        padding: 18px;
        border-radius: 12px;
    }

    .right-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .purpose-card h4,
    .right-card h4,
    .security-card h4,
    .contact-card h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .service-card h4 {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .service-card p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    /* Tables - better mobile handling */
    .processors-table,
    .data-table,
    .retention-table,
    .legal-table,
    .cookies-table,
    .transfer-table {
        margin: 20px -16px;
        padding: 0 16px;
        position: relative;
    }

    .processors-table::after,
    .data-table::after,
    .retention-table::after,
    .legal-table::after,
    .cookies-table::after,
    .transfer-table::after {
        content: '→ Scroll';
        position: absolute;
        top: 10px;
        right: 24px;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.4);
        pointer-events: none;
    }

    .processors-table table,
    .data-table table,
    .retention-table table,
    .legal-table table,
    .cookies-table table,
    .transfer-table table {
        min-width: 650px;
        font-size: 12px;
    }

    /* Badges */
    .cert-badges {
        gap: 8px;
    }

    .cert-badges .badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    /* Footer */
    .privacy-footer {
        padding: 32px 0;
        margin-top: 60px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 0 16px;
        gap: 16px;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-container p {
        font-size: 13px;
    }

    .footer-links a {
        font-size: 13px;
    }

    /* Disclaimer */
    .disclaimer {
        padding: 24px 18px;
    }

    .disclaimer p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .privacy-header h1 {
        font-size: 32px;
    }

    .privacy-section h2 {
        font-size: 24px;
    }

    .privacy-section h3 {
        font-size: 17px;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 14px;
    }

    .processors-table table,
    .data-table table,
    .retention-table table,
    .legal-table table,
    .cookies-table table,
    .transfer-table table {
        min-width: 600px;
        font-size: 11px;
    }

    .processors-table th,
    .data-table th,
    .retention-table th,
    .cookies-table th,
    .transfer-table th,
    .legal-table th {
        padding: 10px 12px;
        font-size: 10px;
    }

    .processors-table td,
    .data-table td,
    .retention-table td,
    .cookies-table td,
    .transfer-table td,
    .legal-table td {
        padding: 10px 12px;
    }

    .cert-badges {
        flex-direction: column;
    }

    .cert-badges .badge {
        text-align: center;
        width: 100%;
    }

    .purpose-grid,
    .rights-grid,
    .security-grid,
    .contact-grid {
        gap: 12px;
    }
}

@media (max-width: 375px) {
    .privacy-header h1 {
        font-size: 28px;
    }

    .privacy-section h2 {
        font-size: 22px;
    }

    .privacy-container {
        padding: 40px 12px 24px;
    }

    .info-box,
    .highlight-box,
    .warning-box,
    .purpose-card,
    .right-card,
    .security-card,
    .service-card,
    .contact-card {
        padding: 16px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
