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

/* =========================================
       CURSOR TRAIL STYLES (ORIGINAL STYLE)
       ========================================= */
.circle-container {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.circle {
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cursor-trail-color);
    opacity: 0.3;
    pointer-events: none;
    transition: transform 0.15s linear;
}

/* =========================================
       NAVBAR STYLES
       ========================================= */
.navbar {
    position: sticky;
    top: 20px;
    z-index: 1000;
    background: linear-gradient(to bottom,
            var(--glass-bg),
            var(--navbar-gradient-bottom));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 40px auto;
    transition: all 0.3s ease;
    box-shadow: var(--navbar-shadow);
}

.nav-logo {
    color: var(--primary);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 70%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    width: 30px;
    background: transparent;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    gap: 8px;
}

.theme-toggle:hover {
    background-color: var(--primary);
    color: var(--bg-primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* =========================================
       PRIVACY POLICY CONTAINER STYLES
       ========================================= */
.privacy-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

/* Animated background elements */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(2, 132, 199, 0.08) 0%,
            transparent 70%);
    animation: float 20s infinite linear;
}

.theme-dark .bg-circle {
    background: radial-gradient(circle,
            rgba(59, 130, 246, 0.1) 0%,
            transparent 70%);
}

.bg-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.bg-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation-delay: -10s;
    background: radial-gradient(circle,
            rgba(124, 58, 237, 0.08) 0%,
            transparent 70%);
}

.theme-dark .bg-circle:nth-child(2) {
    background: radial-gradient(circle,
            rgba(139, 92, 246, 0.1) 0%,
            transparent 70%);
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, 20px) rotate(90deg);
    }

    50% {
        transform: translate(0, 40px) rotate(180deg);
    }

    75% {
        transform: translate(-20px, 20px) rotate(270deg);
    }
}

/* PRIVACY CONTAINER */
.privacy-container {
    width: 100%;
    max-width: 800px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    margin-bottom: 40px;
}

.privacy-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.privacy-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

/* Content Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    border-bottom: 1px solid var(--border);
    padding-bottom: 30px;
}

.header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.last-updated {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.privacy-content {
    color: var(--text-primary);
    line-height: 1.7;
}

.privacy-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-content h2 i {
    font-size: 20px;
    opacity: 0.9;
}

.privacy-content p {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-secondary);
}

.privacy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: none;
}

.privacy-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.privacy-content ul li::before {
    content: "\f058"; /* FontAwesome Check Circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-size: 14px;
}

.privacy-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.privacy-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Navigation Links */
.footer-links ul li a {
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary);
}


/* Back Link */
.back-link {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.back-link a {
    color: var(--text-secondary);
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

.back-link a:hover {
    color: var(--primary);
    background: var(--primary-light);
    transform: translateX(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* =========================================
       FOOTER STYLES
       ========================================= */
.footer {
    background: linear-gradient(180deg, #f8fafc, #e5e7eb);
    color: #1f2933;
    padding: 60px 80px 20px;
    font-family: "Inter", sans-serif;
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
}

.footer-brand p {
    margin: 12px 0 20px;
    color: #4b5563;
    font-size: 14px;
}

.footer-social-icons {
    display: flex;
    gap: 14px;
}

.footer-social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2933;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background: #2563eb;
    color: #ffffff;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 14px;
    position: relative;
    color: #111827;
}

.footer-links h4::after {
    content: "";
    width: 30px;
    height: 2px;
    background: #2563eb;
    position: absolute;
    left: 0;
    bottom: -6px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #111827;
}

.footer-bottom {
    border-top: 1px solid #d1d5db;
    margin-top: 50px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #4b5563;
}

/* =========================
   FOOTER — DARK MODE
   ========================= */

.theme-dark .footer {
    background: linear-gradient(180deg, #0f172a, #020617);
    color: #e5e7eb;
}

.theme-dark .footer-brand h3 {
    color: #ffffff;
}

.theme-dark .footer-brand p {
    color: #9ca3af;
}

.theme-dark .footer-social-icons a {
    background: #020617;
    color: #e5e7eb;
}

.theme-dark .footer-social-icons a:hover {
    background: #2563eb;
    color: #ffffff;
}

.theme-dark .footer-links h4 {
    color: #ffffff;
}

.theme-dark .footer-links ul li a {
    color: #9ca3af;
}

.theme-dark .footer-links ul li a:hover {
    color: #ffffff;
}

.theme-dark .footer-bottom {
    border-top: 1px solid #1e293b;
    color: #9ca3af;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 50px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-dark .scroll-to-top {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.theme-dark .scroll-to-top:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.scroll-to-top.show {
    display: flex;
}

/* =========================================
       RESPONSIVE DESIGN
       ========================================= */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        margin: 20px auto 30px;
        border-radius: 12px;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        background: var(--bg-navbar);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .privacy-container {
        padding: 30px;
        max-width: 95%;
    }

    h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .privacy-container {
        padding: 24px;
        max-width: 100%;
    }
}

/* Print Styles */
@media print {
    .privacy-container {
        box-shadow: none;
        border: 1px solid #ccc;
        max-width: 100%;
    }

    .navbar, .bg-elements, .footer, .back-link, .scroll-to-top {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .privacy-container {
        box-shadow: none;
        border: none;
    }
}

/* =========================================
       THEME TOGGLE STYLES
       ========================================= */
    /* Theme toggle functionality */
    :root {
      --primary: #2563eb;
      --secondary: #3b82f6;
      --bg-primary: #ffffff;
      --text-primary: #1e293b;
      --text-secondary: #64748b;
      --border-color: #e2e8f0;
      --card-bg: #ffffff;
      --nav-bg: rgba(255, 255, 255, 0.95);
    }

    [data-theme="dark"] {
      --primary: #60a5fa;
      --secondary: #3b82f6;
      --bg-primary: #0f172a;
      --text-primary: #f1f5f9;
      --text-secondary: #94a3b8;
      --border-color: #334155;
      --card-bg: #1e293b;
      --nav-bg: rgba(30, 41, 59, 0.95);
    }

    body {
      background-color: var(--bg-primary);
      color: var(--text-primary);
      transition: background-color 0.3s ease, color 0.3s ease;
      margin: 0;
      font-family: 'Inter', sans-serif;
    }

    .theme-toggle {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 8px 14px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 18px;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 44px;
      min-height: 44px;
    }

    .theme-toggle:hover {
      background-color: var(--primary);
      color: var(--bg-primary);
      transform: scale(1.05);
    }

    /* Navbar styling */
    .navbar {
      background: var(--nav-bg);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .nav-logo {
      color: var(--primary);
      font-size: 1.5rem;
      font-weight: 700;
      text-decoration: none;
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 2rem;
      margin: 0;
      padding: 0;
    }

    .nav-links a {
      color: var(--text-primary);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s;
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    /* Privacy container styling */
    .privacy-container {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 2.5rem;
      margin: 2rem auto;
      max-width: 900px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .privacy-container h1, 
    .privacy-container h2, 
    .privacy-container h3 {
      color: var(--primary);
    }

    .privacy-container p,
    .privacy-container li {
      color: var(--text-primary);
    }

    .footer {
      background: var(--card-bg);
      border-top: 1px solid var(--border-color);
      color: var(--text-primary);
    }

    .footer-links a {
      color: var(--text-secondary);
    }

    .footer-links a:hover {
      color: var(--primary);
    }
