@font-face {
    font-family: 'Agrandir';
    src: url(../assets/fonts/Agrandir-Regular.otf);
}

@font-face {
    font-family: 'Agrandirlight';
    src: url(../assets/fonts/Agrandir-Narrow.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Agrandir', 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #ff5eeb 0%, #8138e2 50%, #279aeb 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #ff5eeb 0%, #8138e2 50%, #279aeb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Utility Classes */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.back-button {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.back-button i {
    margin-bottom: 0.3rem;
}

.back-button:hover {
    color: #ff5eeb;
    border-color: rgba(255, 94, 235, 0.3);
    background: rgba(255, 94, 235, 0.1);
    transform: translateX(5px);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff5eeb, #8138e2, #279aeb);
    z-index: 1001;
    transition: width 0.3s ease;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0px 0 80px;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 94, 235, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(129, 56, 226, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(39, 154, 235, 0.08) 0%, transparent 50%);
}

.privacy-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Header Section */
.privacy-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.privacy-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
}

.privacy-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ff5eeb, #8138e2);
    border-radius: 2px;
}

.privacy-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.last-updated {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, rgba(255, 94, 235, 0.15), rgba(129, 56, 226, 0.15));
    border: 2px solid #ff5eeb;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #ff5eeb;
    margin-top: 1.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.last-updated::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.last-updated:hover::before {
    transform: translateX(100%);
}

/* Side Navigation */
.side-nav {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.side-nav.visible {
    opacity: 1;
    visibility: visible;
}

.side-nav-item {
    display: block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 1rem 0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.side-nav-item.active,
.side-nav-item:hover {
    background: #ff5eeb;
    transform: scale(1.2);
}

.side-nav-item::after {
    content: attr(data-section);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.side-nav-item:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Navigation Menu */
.privacy-nav {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 2.5rem;
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    animation: fadeInUp 1s ease 0.2s both;
    position: relative;
    overflow: hidden;
}

.privacy-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff5eeb, #8138e2, #279aeb);
}

.privacy-nav h3 {
    margin-bottom: 2rem;
    color: #ff5eeb;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.nav-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 94, 235, 0.1), rgba(129, 56, 226, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item:hover {
    background: rgba(255, 94, 235, 0.08);
    border-color: rgba(255, 94, 235, 0.3);
    /* transform: translateY(-8px) scale(1.02); */
    box-shadow: 0 15px 40px rgba(255, 94, 235, 0.2);
}

.nav-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.nav-item a i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.nav-item:hover a {
    color: #ff5eeb;
}

.nav-item:hover a i {
    transform: scale(1.2) rotate(5deg);
}

/* Content Sections */
.privacy-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 28px;
    padding: 3.5rem;
    margin: 4rem 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    animation: fadeInUp 1s ease 0.4s both;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.privacy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff5eeb, #8138e2, #279aeb);
}

.privacy-section:hover {
    border-color: rgba(255, 94, 235, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.privacy-section h2 {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 94, 235, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.privacy-section h2 i {
    color: #ff5eeb;
    font-size: 2rem;
}

.privacy-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 120px;
    height: 2px;
    background: linear-gradient(135deg, #ff5eeb, #8138e2);
}

.privacy-section h3 {
    font-size: 1.7rem;
    margin: 2.5rem 0 1.5rem;
    color: #8138e2;
    position: relative;
    padding-left: 1.5rem;
}

.privacy-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: #8138e2;
    border-radius: 2px;
}

.privacy-section h4 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: #279aeb;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.privacy-section p {
    margin-bottom: 1.8rem;
    opacity: 0.9;
    line-height: 1.8;
    font-size: 1.05rem;
}

.privacy-section ul {
    margin: 2rem 0;
    padding-left: 2.5rem;
    list-style: none;
}
.privacy-section ol {
    margin: 2rem 0;
    padding-left: 2.5rem;
    list-style: none;
}

.privacy-section ol li {
    position: relative;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.7;
}

.privacy-section ol li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: #ff5eeb;
    border-radius: 50%;
}

.privacy-section li {
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.7;
    position: relative;
}

.privacy-section ul li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: #ff5eeb;
    border-radius: 50%;
}

.privacy-section strong {
    color: #ff5eeb;
    font-weight: 700;
}

/* Enhanced Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(255, 94, 235, 0.12), rgba(129, 56, 226, 0.12));
    border-left: 6px solid #ff5eeb;
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 20px 20px 0;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 94, 235, 0.2);
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(135deg, #ff5eeb, #8138e2);
}

.highlight-box h4 {
    color: #ff5eeb;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 94, 235, 0.1), rgba(255, 69, 0, 0.05));
    border-left: 6px solid #ff5eeb;
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 20px 20px 0;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 94, 235, 0.3);
}

.warning-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(135deg, #ff5eeb, #279aeb);
}

.warning-box h4 {
    color: #ff5eeb;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.security-box {
    background: linear-gradient(135deg, rgba(39, 154, 235, 0.12), rgba(129, 56, 226, 0.12));
    border-left: 6px solid #279aeb;
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 20px 20px 0;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(39, 154, 235, 0.2);
}

.security-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(135deg, #279aeb, #8138e2);
}

.security-box h4 {
    color: #279aeb;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Third Party Services Table */
.services-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    margin: 2.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    /* Add this for even rounding: */
    overflow: hidden;
}

.services-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 20px;
    overflow: hidden;
}

.services-table th,
.services-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.services-table thead tr {
    background: linear-gradient(135deg, rgba(255, 94, 235, 0.2), rgba(129, 56, 226, 0.2));
}
.services-table th {
    background: transparent;
    color: #ff5eeb;
    font-weight: 700;
}

.services-table a {
    color: #279aeb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-table a:hover {
    color: #ff5eeb;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 28px;
    padding: 3.5rem;
    margin: 4rem 0;
    border: 2px solid rgba(255, 94, 235, 0.2);
    text-align: center;
    animation: fadeInUp 1s ease 0.8s both;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff5eeb, #8138e2, #279aeb);
}

.contact-section h2 {
    border: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.contact-link {
    padding: 1.2rem 2.5rem;
    background: transparent;
    border: 2px solid #8138e2;
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-link:hover::before {
    left: 100%;
}

.contact-link:hover {
    background: #8138e2;
    /* transform: translateY(-5px) scale(1.05); */
    box-shadow: 0 15px 40px rgba(129, 56, 226, 0.4);
}

.contact-link.primary {
    position: relative;
    overflow: hidden;
    background: none; /* Remove direct background */
    border: none;
    z-index: 1;
}

.contact-link.primary::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, #ff5eeb, #8138e2);
}

.contact-link.primary:hover {
    /* transform: translateY(-5px) scale(1.05); */
    box-shadow: 0 15px 40px rgba(255, 94, 235, 0.4);
}

/* Scroll buttons */
.toc-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff5eeb, #8138e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 94, 235, 0.3);
}

.toc-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 94, 235, 0.4);
}

.toc-toggle i {
    color: white;
    font-size: 1.5rem;
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #279aeb, #8138e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(39, 154, 235, 0.3);
}

.scroll-to-top i {
    color: white;
    font-size: 1.2rem;
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .side-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .privacy-header h1 {
        font-size: 2.5em;
    }

    .privacy-header p {
        font-size: 1.1rem;
    }

    .privacy-section,
    .privacy-nav,
    .contact-section {
        padding: 2rem;
    }

    .privacy-section h2 {
        font-size: 1.9rem;
        flex-direction: column;
        text-align: center;
    }

    .nav-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-item {
        padding: 1.2rem;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .main-content {
        padding: 0px 0 60px;
    }

    .toc-toggle,
    .scroll-to-top {
        width: 50px;
        height: 50px;
    }

    .toc-toggle {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .scroll-to-top {
        bottom: 1.5rem;
        left: 1.5rem;
    }

    .services-table {
        background-color: transparent;
        border: none;
        padding: 0.5rem;
        font-size: 0.95rem;
        overflow-x: auto;
    }
    .services-table table {
        min-width: 600px; /* Ensures table doesn't shrink too much */
        font-size: 0.95rem;
    }
    .services-table th,
    .services-table td {
        padding: 0.6rem 1.2rem;
        white-space: nowrap; /* Prevents awkward wrapping */
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .privacy-section,
    .privacy-nav,
    .contact-section {
        padding: 1.5rem;
    }

    .privacy-section ul,
    .privacy-section ol {
        padding-left: 1.5rem;
    }

    .last-updated {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .privacy-header h1 {
        font-size: 2.2em;
    }

    .privacy-section h2 {
        font-size: 1.6rem;
    }

    .highlight-box,
    .warning-box,
    .security-box {
        padding: 1.5rem;
    }

    .services-table {
        padding: 0.2rem;
        font-size: 0.9rem;
    }
    .services-table table {
        min-width: 500px;
        font-size: 0.9rem;
    }
    .services-table th,
    .services-table td {
        padding: 0.6rem 1.2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff5eeb, #8138e2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8138e2, #279aeb);
}