/* ===========================
   ROOT VARIABLES & THEME
=========================== */
:root {
    --primary: #6a5af9;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #21262e;
    --light-gray: #e2e8f0;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 35px rgba(0, 0, 0, 0.16);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.2);

    --table-tdodd: #f8fafc;
    --table-tdeven: #ffffff;
    --table-hover: #f1f5f9;

    --text-color: #1e293b;
    --border-color: rgba(226, 232, 240, 0.6);
    --source-link: #7b33b3;
}

/* Dark Mode - System Detection */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --primary: #60ccec;
        --light: #0f172a;
        --dark: #f8fafc;
        --gray: #cad2dd;
        --light-gray: #334155;

        --table-tdodd: #2a2a2a;
        --table-tdeven: #242424;
        --table-hover: #2f2f2f;

        --text-lable-primary: #e2e8f0;
        --text-secondary: #cbd5e1;
        --text-tertiary: #94a3b8;

        --text-color: #f1f5f9;
        --border-color: rgba(71, 85, 105, 0.4);

        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
        --shadow-xl: 0 20px 35px rgba(0, 0, 0, 0.6);
        --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.7);
        --source-link: #c57ffa;
    }
}

[data-theme="light"] {
    --primary: #6a5af9;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #21262e;
    --light-gray: #e2e8f0;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 35px rgba(0, 0, 0, 0.16);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.2);

    --table-tdodd: #f8fafc;
    --table-tdeven: #ffffff;
    --table-hover: #f1f5f9;

    --text-color: #1e293b;
    --border-color: rgba(226, 232, 240, 0.6);
    --source-link: #7b33b3;
}

/* Dark Mode - Manual Toggle */
[data-theme="dark"] {
    --primary: #60ccec;
    --light: #0f172a;
    --dark: #f8fafc;
    --gray: #cad2dd;
    --light-gray: #334155;

    --table-tdodd: #2a2a2a;
    --table-tdeven: #242424;
    --table-hover: #2f2f2f;

    --text-color: #f1f5f9;
    --border-color: rgba(71, 85, 105, 0.4);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 35px rgba(0, 0, 0, 0.6);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.7);
    --source-link: #c57ffa;
}

/* Dark Mode - System Detection */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --primary: #60ccec;
        --light: #0f172a;
        --dark: #f8fafc;
        --gray: #cad2dd;
        --light-gray: #334155;

        --table-tdodd: #2a2a2a;
        --table-tdeven: #242424;
        --table-hover: #2f2f2f;

        --text-lable-primary: #e2e8f0;
        --text-secondary: #cbd5e1;
        --text-tertiary: #94a3b8;

        --text-color: #f1f5f9;
        --border-color: rgba(71, 85, 105, 0.4);

        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
        --shadow-xl: 0 20px 35px rgba(0, 0, 0, 0.6);
        --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.7);
        --source-link: #c57ffa;
    }
}

/* ===========================
   RESET & BASE STYLES
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   MAIN CONTENT CONTAINER
=========================== */
.main-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto -40px;
    padding: 0 20px;
    animation: fadePage 0.6s ease;
}

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

/* ===========================
   PRIVACY HERO SECTION
=========================== */
.privacy-hero {
    position: relative;
    margin: 0 -20px 20px -20px;
    padding: clamp(40px, 8vw, 80px) 20px clamp(60px, 10vw, 100px);
    overflow: hidden;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
}

.hero-content {
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 25px);
    animation: fadeUp 1s ease-out forwards;
}

.privacy-hero h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: -0.03em;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
    position: relative;
}

.privacy-hero h1::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(145, 37, 207, 0.9), transparent);
    transform: translateX(-50%);
    border-radius: 50px;
}

.privacy-hero .subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    opacity: 0.95;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    line-height: 1.7;
    padding: 0 10px;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: clamp(0.75rem, 2vw, 1.25rem);
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 0 10px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.18);
    padding: clamp(0.65rem, 1.5vw, 0.85rem) clamp(1.2rem, 3vw, 1.8rem);
    border-radius: 50px;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    font-weight: 600;
    backdrop-filter: blur(15px);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    justify-content: center;
}

.hero-badge i {
    font-size: 1.4rem;
    transition: transform 0.4s ease;
}

.hero-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.4));
    transform: skewX(-25deg);
    transition: all 0.6s ease;
}

.hero-badge:hover::before {
    left: 125%;
}

.hero-badge:hover {
    transform: translateY(-6px) scale(1.08);
    background: rgba(255, 255, 255, 0.28);
}

.hero-badge:hover i {
    transform: rotate(-10deg) scale(1.2);
}

.source-link {
    color: var(--source-link);
    font-size: 1.1rem;
}

/* ===========================
   LAYOUT GRID
=========================== */
.privacy-layout {
    display: grid;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
    padding: 0 clamp(10px, 2vw, 20px);
}

@media (min-width: 993px) {
    .privacy-layout {
        grid-template-columns: minmax(200px, 22%) 1fr;
    }
}

/* ===========================
   NAVIGATION SIDEBAR
=========================== */
.privacy-nav {
    position: sticky;
    top: 83px;
    background: var(--bg-color);
    backdrop-filter: blur(22px);
    border-radius: clamp(16px, 2vw, 22px);
    box-shadow: var(--shadow-xl);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    contain: layout style paint;
}

.privacy-nav::-webkit-scrollbar {
    width: 6px;
}

.privacy-nav::-webkit-scrollbar-thumb {
    background: var(--bg-color);
    border-radius: 3px;
}

.privacy-nav h2 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    margin-bottom: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--primary);
    padding-bottom: clamp(0.5rem, 1vw, 0.75rem);
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

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

.privacy-nav li {
    margin-bottom: 0.65rem;
    contain: layout style;
}

.privacy-nav a,
.privacy-nav a:visited {
    color: var(--gray);
    text-decoration: none;
    padding: clamp(0.7rem, 1.5vw, 0.95rem) clamp(1rem, 2vw, 1.35rem);
    display: block;
    border-radius: clamp(10px, 1.5vw, 14px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    position: relative;
}

.privacy-nav a:hover,
.privacy-nav a.active {
    color: var(--primary);
    background: linear-gradient(135deg, rgba(106, 90, 249, 0.12), rgba(139, 92, 246, 0.08));
    transform: translateX(6px);
    text-decoration: none;
}

.privacy-nav a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0 2px 2px 0;
}

/* ===========================
   PRIVACY CARDS
=========================== */
.privacy-cards {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3rem);
    max-width: 100%;
}

.privacy-card {
    background: var(--bg-color);
    backdrop-filter: blur(22px);
    border-radius: clamp(16px, 2vw, 22px);
    box-shadow: var(--shadow-lg);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    overflow: hidden;
    position: relative;
    contain: layout style paint;
}

.privacy-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6a5af9, #8b5cf6, #ec4899);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.35s ease;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.privacy-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.privacy-card:hover::before {
    opacity: 1;
}

.privacy-card.highlight::before {
    opacity: 1;
}

.privacy-card .card-body {
    padding: clamp(1.5rem, 3vw, 2.8rem) clamp(1.5rem, 3vw, 2.5rem);
    contain: layout;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.privacy-icon {
    width: clamp(48px, 8vw, 64px);
    height: clamp(48px, 8vw, 64px);
    background: linear-gradient(135deg, #6a5af9, #8b5cf6);
    border-radius: clamp(14px, 2vw, 18px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.privacy-card:hover .privacy-icon {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 14px 40px rgba(99, 102, 241, 0.42);
}

.card-title-section h2,
.card-title-section h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.85rem);
    font-weight: 700;
    margin-bottom: clamp(0.4rem, 1vw, 0.6rem);
    color: var(--dark);
    line-height: 1.3;
}

.card-description {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: var(--gray);
    margin: 0;
}

/* ===========================
   CONTENT SECTIONS
=========================== */
.content-section {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    width: 100%;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: clamp(1rem, 2vw, 1.2rem);
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 1vw, 0.6rem);
}

.privacy-card ul {
    list-style: none;
    padding: 0;
    margin: clamp(1.2rem, 2vw, 1.8rem) 0 0 0;
    contain: layout;
}

.privacy-card ul li {
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    padding-left: clamp(1.8rem, 3vw, 2.2rem);
    position: relative;
    color: var(--gray);
    line-height: 1.7;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.privacy-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, #6a5af9, #8b5cf6);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* ===========================
   ALERTS
=========================== */
.alert {
    padding: clamp(1rem, 2vw, 1.3rem) clamp(1.2rem, 2vw, 1.6rem);
    border-radius: clamp(14px, 2vw, 18px);
    margin: clamp(1.5rem, 2vw, 2rem) 0;
    display: flex;
    align-items: flex-start;
    gap: clamp(0.6rem, 1.5vw, 0.85rem);
    font-weight: 500;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
    contain: layout style;
}

.alert i {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
    color: var(--info) !important;
    border-left-color: var(--info) !important;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
    color: var(--success) !important;
    border-left-color: var(--success) !important;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    color: var(--warning) !important;
    border-left-color: var(--warning) !important;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.08));
    color: var(--danger) !important;
    border-left-color: var(--danger) !important;
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes floatShapes {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.animate-card {
    animation: fadeUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.animate-nav {
    animation: slideInLeft 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

/* ===========================
   SCROLL ANCHORS
=========================== */
.section-anchor {
    scroll-margin-top: clamp(80px, 15vw, 140px);
}

/* ===========================
   ACCESSIBILITY
=========================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===========================
   FIX FOR INCORRECT ID REFERENCES
=========================== */
/* The HTML uses different IDs than the navigation links expect */
#information-collect { scroll-margin-top: clamp(80px, 15vw, 140px); }
#how-we-use { scroll-margin-top: clamp(80px, 15vw, 140px); }
#data-protection { scroll-margin-top: clamp(80px, 15vw, 140px); }
#cookies { scroll-margin-top: clamp(80px, 15vw, 140px); }
#third-party { scroll-margin-top: clamp(80px, 15vw, 140px); }
#your-rights { scroll-margin-top: clamp(80px, 15vw, 140px); }
#data-retention { scroll-margin-top: clamp(80px, 15vw, 140px); }
#government-disclaimer { scroll-margin-top: clamp(80px, 15vw, 140px); }
#Government-Information-Disclaimer { scroll-margin-top: clamp(80px, 15vw, 140px); }
#updates { scroll-margin-top: clamp(80px, 15vw, 140px); }

/* Legacy IDs from old structure */
#acceptance { scroll-margin-top: clamp(80px, 15vw, 140px); }
#platform-use { scroll-margin-top: clamp(80px, 15vw, 140px); }
#user-accounts { scroll-margin-top: clamp(80px, 15vw, 140px); }
#intellectual-property { scroll-margin-top: clamp(80px, 15vw, 140px); }
#liability { scroll-margin-top: clamp(80px, 15vw, 140px); }

/* ===========================
   RESPONSIVE BREAKPOINTS
=========================== */

/* Large desktops */
@media (min-width: 1920px) {
    .main-content {
        max-width: 1900px;
    }

    .privacy-layout {
        grid-template-columns: 300px 1fr;
        gap: 4rem;
    }

    .privacy-hero {
        padding: 100px 40px 120px;
    }

    .privacy-card .card-body {
        padding: 3.5rem 3rem;
    }
}

@media (max-width: 1440px) {
    .main-content {
        max-width: 1200px;
    }

    .privacy-layout {
        grid-template-columns: 24% 74%;
        gap: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .main-content {
        max-width: 960px;
        padding: 0 15px;
    }

    .privacy-layout {
        grid-template-columns: 25% 73%;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .main-content {
        max-width: 720px;
        padding: 0 15px;
    }

    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .privacy-nav {
        position: relative;
        top: 0;
        max-height: none;
        margin-bottom: 1.5rem;
    }

    .hero-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-content {
        max-width: 100%;
        padding: 0 12px;
        margin-top: 1rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .privacy-hero {
        margin: 0 -12px 15px -12px;
        padding: 3rem 1.25rem;
        border-radius: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 97%);
    }

    .hero-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .privacy-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(280px, 80vw);
        z-index: 1000;
        border-radius: 0;
        max-height: 100vh;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 1.5rem;
    }

    .privacy-nav.active {
        display: block;
        transform: translateX(0);
    }

    .privacy-card .card-body {
        padding: 1.8rem;
    }

    .card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .privacy-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .card-title-section h2,
    .card-title-section h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    /* Reduce shadow complexity on mobile */
    .privacy-card {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
    }

    .privacy-nav {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    /* Reduce gradient complexity */
    .btn-glow {
        opacity: 0.4;
    }

    .privacy-hero::before,
    .privacy-hero::after {
        opacity: 0.5;
    }

    .privacy-card::before {
        animation: none !important;
    }

    .navbar-container {
        padding: 8px 1rem;
    }

    .contact-section {
        padding: 3rem 1.25rem;
        margin-bottom: 0px;
        border-radius: 20px;
    }

    .contact-section h3 {
        font-size: 1.875rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Better list item spacing on mobile */
    .privacy-card ul li {
        margin-bottom: 0.85rem;
        line-height: 1.6;
    }

    /* Improve alert readability on mobile */
    .alert {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }

    .alert i {
        font-size: 1rem;
    }

    /* Better section spacing on mobile */
    .content-section {
        margin-bottom: 1.8rem;
    }

    .section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 0.9rem;
    }
}

@media (max-width: 540px) {
    .hero-badges {
        gap: 0.75rem;
    }

    .hero-badge {
        min-width: 140px;
        padding: 0.7rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 10px;
    }

    .privacy-hero {
        padding: 2rem 1rem;
        border-radius: 16px;
    }

    .privacy-nav {
        width: min(260px, 85vw);
        padding: 1.25rem;
    }

    .privacy-nav h2 {
        font-size: 1rem;
    }

    .privacy-card .card-body {
        padding: 1.25rem;
    }

    .card-title-section h2,
    .card-title-section h3 {
        font-size: 1.25rem;
    }

    .privacy-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .alert {
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .navbar-container {
        padding: 8px 0.75rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo i {
        font-size: 1.75rem;
        margin-right: 0.5rem;
    }

    .contact-section {
        padding: 2rem 1rem;
        margin-bottom: 0px;
        border-radius: 20px;
    }

    .contact-section h3 {
        font-size: 1.625rem;
    }

    .btn-contact {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .hero-badge {
        min-width: 110px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .hero-badge i {
        font-size: 1.1rem;
    }
}

@media (max-width: 360px) {
    .privacy-hero h1 {
        font-size: 1.75rem;
    }

    .privacy-hero .subtitle {
        font-size: 0.95rem;
    }

    .hero-badge {
        min-width: 100px;
        padding: 0.55rem 0.85rem;
        font-size: 0.75rem;
    }

    .privacy-card ul li {
        font-size: 0.85rem;
        padding-left: 1.5rem;
    }

}

/* ===========================
   PERFORMANCE OPTIMIZATIONS
=========================== */
.privacy-card,
.hero-content,
.privacy-nav {
    contain: layout style paint;
}

.animate-card,
.animate-nav,
.hero-badge,
.privacy-icon {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Font loading optimization */
.privacy-icon i,
i.fas,
i.far,
i.fab {
    font-display: swap;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* Disable hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
    .privacy-card:hover,
    .hero-badge:hover,
    .privacy-nav a:hover,
    .privacy-icon:hover {
        transform: none;
        background: inherit;
    }

}

/* Optimize tap highlight */
a,
button,
.hero-badge,
.privacy-nav a {
    -webkit-tap-highlight-color: rgba(106, 90, 249, 0.1);
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
    a,
    button,
    .hero-badge,
    .privacy-nav a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Reduce backdrop filter */
    .privacy-nav,
    .privacy-card,
    .hero-badge {
        backdrop-filter: blur(8px);
    }

    /* Disable expensive animations */
    @keyframes gradientShift {
        to {
            background-position: 100% 50%;
        }
    }

    /* Remove complex pseudo-elements */
    .privacy-card:hover::after,
    .hero-badge:hover::before,
    .hero-badge::before {
        display: none;
    }
}

/* Optimize list rendering */
.privacy-card ul,
.privacy-nav ul {
    contain: layout;
}

/* Better scroll performance */
.privacy-layout,
.privacy-nav {
    -webkit-overflow-scrolling: touch;
}

/* Better iOS Safari performance */
@supports (-webkit-touch-callout: none) {
    .privacy-nav,
    .privacy-card,
    .hero-badge {
        -webkit-transform: translateZ(0);
    }
}

/* ===========================
   PRINT STYLES
=========================== */
@media print {
    .privacy-hero {
        display: none !important;
    }

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

    .privacy-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ===========================
   HIGH CONTRAST MODE
=========================== */
@media (prefers-contrast: high) {
    .privacy-card {
        border: 2px solid currentColor;
    }

    .privacy-nav a.active {
        border: 2px solid currentColor;
    }

    .hero-badge {
        border: 1px solid rgba(255, 255, 255, 0.5);
    }
}
/* CSS Variables */
:root {
  --bottom-theme: linear-gradient(135deg, #621c9f, #2a0248, #621c9f);
  --table-tdodd: #f8fafc;
  --table-tdeven: #ffffff;
  --table-hover: #f1f5f9;
  --border-color: rgba(226, 232, 240, 0.6);
  --text-lable-primary: #0f172a;
  --card-bg: #ffffff;
  --shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --table-tdodd: #2a2a2a;
  --table-tdeven: #242424;
  --table-hover: #2f2f2f;
  --border-color: rgba(71, 85, 105, 0.4);
  --text-lable-primary: #f1f5f9;
  --card-bg: #1a1a1a;
  --shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

/* System Dark Mode */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --table-tdodd: #2a2a2a;
    --table-tdeven: #242424;
    --table-hover: #2f2f2f;
    --border-color: rgba(71, 85, 105, 0.4);
    --text-lable-primary: #f1f5f9;
    --card-bg: #1a1a1a;
    --shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  }
}

/* ===========================
   LAST UPDATED SECTION
=========================== */

.last-updated {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    margin: 50px auto 35px;
    background: linear-gradient(
        135deg,
        rgba(106, 90, 249, 0.08) 0%,
        rgba(139, 84, 246, 0.05) 50%,
        rgba(236, 72, 153, 0.08) 100%
    );
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(106, 90, 249, 0.2);
    box-shadow:
        0 8px 32px rgba(106, 90, 249, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUpFade 0.8s ease-out;
}

/* Animated gradient border */
.last-updated::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bottom-theme);
    background-size: 200% 100%;
    border-radius: 24px 24px 0 0;
    animation: gradientShift 3s linear infinite;
    box-shadow: 0 0 20px rgba(106, 90, 249, 0.6);
}

/* Glow effect */
.last-updated::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(106, 90, 249, 0.15) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.last-updated:hover::after {
    opacity: 1;
}

/* Hover effects */
.last-updated:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 48px rgba(106, 90, 249, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(106, 90, 249, 0.35);
}

/* Update Info Section */
.update-info {
    position: relative;
    z-index: 1;
    flex: 1;
}

.update-info h2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.update-info p {
    font-size: 1.05rem;
    color: black;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.01em;
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

/* Version Badge */
.version-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    color: white;
    box-shadow:
        0 8px 24px rgba(16, 185, 129, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    animation: slideInRight 0.8s ease-out 0.2s both;
}

/* Badge shine effect */
.version-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
}

.version-badge:hover::before {
    left: 100%;
}

/* Badge pulse ring */
.version-badge::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 50px;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    animation: pulseRing 2s ease-out infinite;
}

.version-badge:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 12px 32px rgba(16, 185, 129, 0.45),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ===========================
   ANIMATIONS
=========================== */

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* ===========================
   DARK MODE SUPPORT
=========================== */

[data-theme="dark"] .last-updated {
    background: linear-gradient(
        135deg,
        rgba(106, 90, 249, 0.12) 0%,
        rgba(139, 84, 246, 0.08) 50%,
        rgba(236, 72, 153, 0.12) 100%
    );
    border-color: rgba(106, 90, 249, 0.3);
    box-shadow:
        0 8px 32px rgba(106, 90, 249, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .last-updated:hover {
    box-shadow:
        0 16px 48px rgba(106, 90, 249, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .update-info p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .update-info p {
  color: rgba(0, 0, 0, 0.7);
}

/* ===========================
   RESPONSIVE DESIGN
=========================== */

@media (max-width: 768px) {
    .last-updated {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 28px 24px;
        margin: 35px auto 25px;
    }

    .update-info h2 {
        font-size: 1.5rem;
        justify-content: center;
    }

    .update-info p {
        font-size: 1rem;
    }

    .version-badge {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .last-updated {
        padding: 24px 20px;
        margin: 30px 0 20px;
        border-radius: 20px;
    }

    .update-info h2 {
        font-size: 1.3rem;
        gap: 10px;
    }

    .update-info p {
        font-size: 0.95rem;
    }

    .version-badge {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .last-updated {
        padding: 20px 16px;
    }

    .update-info h2 {
        font-size: 1.2rem;
        gap: 8px;
    }

    .update-info p {
        font-size: 0.9rem;
    }

    .version-badge {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* ===========================
   ACCESSIBILITY
=========================== */

@media (prefers-reduced-motion: reduce) {
    .last-updated,
    .update-info h2,
    .update-info p,
    .version-badge {
        animation: none !important;
    }

    .last-updated::before {
        animation: none !important;
    }

    .version-badge::after {
        animation: none !important;
    }
}

/* Focus styles for accessibility */
.version-badge:focus {
    outline: 3px solid rgba(106, 90, 249, 0.5);
    outline-offset: 3px;
}

/* ===========================
   RESPONSIVE VARIANTS (From Additional Responsive Section)
=========================== */

.last-updated {
    padding: clamp(18px, 3vw, 26px) clamp(20px, 4vw, 32px);
    margin: clamp(25px, 5vw, 45px) 0 clamp(20px, 3vw, 30px);
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.update-info h2 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.update-info p {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.version-badge {
    padding: clamp(8px, 1.5vw, 10px) clamp(16px, 3vw, 22px);
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    white-space: nowrap;
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    .last-updated {
        box-shadow: 0 4px 16px rgba(106, 90, 249, 0.15) !important;
    }

    .last-updated {
        padding: 16px 18px;
    }

    .last-updated {
        background: rgba(106, 90, 249, 0.08) !important;
    }
}

html.menu-open,
html.menu-open body {
    overflow: hidden !important;
    height: 100% !important;
}