/* ============================================
   PRIVACY POLICY PAGE - Crawlio
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: rgba(17, 17, 30, 0.75);
    --text-primary: #e8f0fe;
    --text-secondary: #94a3b8;
    --text-muted: #4a5a6a;
    --accent: #00d4d4;
    --accent-dark: #00b4b4;
    --accent-glow: rgba(0, 212, 212, 0.15);
    --border: rgba(255, 255, 255, 0.04);
    --radius: 16px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.7;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 212, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 212, 0.015) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 212, 212, 0.01) 0%, transparent 60%);
    z-index: -2;
    animation: bgPulse 15s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.shapes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.03;
    border-radius: 50%;
}

.shape-circle {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 212, 0.08), transparent 70%);
    top: -150px;
    right: -100px;
    animation: floatShape 30s ease-in-out infinite;
}

.shape-triangle {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 212, 212, 0.06), transparent 70%);
    bottom: -80px;
    left: -80px;
    animation: floatShape 25s ease-in-out infinite reverse;
}

.shape-square {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0, 212, 212, 0.05), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatShape 20s ease-in-out infinite alternate;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, -15px) scale(1.05); }
}

.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 212, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 212, 212, 0.02) 0%, transparent 60%);
    z-index: -1;
}

/* ============================================
   PRIVACY CONTAINER
   ============================================ */

.privacy-container {
    max-width: 820px;
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 3rem;
    animation: fadeSlide 0.5s ease;
    position: relative;
    z-index: 1;
}

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

/* ============================================
   PRIVACY HEADER
   ============================================ */

.privacy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.privacy-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    border: 1px solid var(--border);
}

.back-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.privacy-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
}

.privacy-header h1 i {
    color: var(--accent);
}

.last-updated-badge {
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 0.2rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.02);
}

/* ============================================
   PRIVACY BODY
   ============================================ */

.privacy-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.9;
}

.privacy-body section {
    margin-bottom: 2rem;
}

.privacy-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-body h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--accent);
    border-radius: 4px;
}

.privacy-body p {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.privacy-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.privacy-body ul li {
    padding: 0.5rem 0 0.5rem 1.8rem;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.privacy-body ul li:last-child {
    border-bottom: none;
}

.privacy-body ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.privacy-body ul li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.privacy-body a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.privacy-body a:hover {
    text-decoration: underline;
}

/* ============================================
   PRIVACY FOOTER BOX
   ============================================ */

.privacy-footer-box {
    margin-top: 2rem;
    padding: 1.2rem 1.5rem;
    background: var(--accent-glow);
    border-radius: 12px;
    border-left: 3px solid var(--accent);
}

.privacy-footer-box p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.privacy-footer-box i {
    color: var(--accent);
    margin-right: 0.5rem;
}

/* ============================================
   PRIVACY FOOTER
   ============================================ */

.privacy-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

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

.copy {
    color: var(--text-muted);
    font-size: 0.75rem;
}

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

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .privacy-container {
        padding: 1.5rem;
    }

    .privacy-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .privacy-header-left {
        flex-wrap: wrap;
    }

    .privacy-header h1 {
        font-size: 1.3rem;
    }

    .last-updated-badge {
        font-size: 0.6rem;
    }

    .privacy-body {
        font-size: 0.85rem;
    }

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

    .privacy-footer {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .privacy-container {
        padding: 1rem;
    }

    .back-link {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    .privacy-header h1 {
        font-size: 1.1rem;
    }

    .privacy-body ul li {
        padding: 0.4rem 0 0.4rem 1.5rem;
        font-size: 0.8rem;
    }

    .privacy-footer-box {
        padding: 1rem;
    }

    .footer-links {
        gap: 1rem;
    }
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ============================================
   SELECTION
   ============================================ */

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}