@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

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

:root {
    --purple-main: #4d0fff;
    --bg-dark: #010105;
    --bg-light: #2919aa;
    --white: #ffffff;
    --glow-purple: rgba(77, 15, 255, 0.8);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    color: var(--white);
    line-height: 1.7;
}

/* Navigation (identical to homepage) */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(1, 1, 5, 0.96);
    padding: 1rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    box-sizing: border-box;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    line-height: 1;
    height: 100%;
}

nav ul li { margin: 0; padding: 0; line-height: 1; list-style: none; }

nav ul li a {
    color: #a0a0b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    display: inline-block;
    line-height: 1.2;
    box-sizing: border-box;
}

nav ul li a:hover { color: #7b4dff; }

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #7b4dff;
    transition: width 0.3s ease;
}

nav ul li a:hover::after { width: 100%; }

/* Header */
.policy-header {
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.header-logo {
    width: 100px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 20px;
    border: 2px solid var(--purple-main);
    filter: drop-shadow(0 0 15px var(--glow-purple));
}

.policy-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    color: #7b4dff;
}

.last-updated {
    font-size: 1rem;
    color: #888;
    font-style: italic;
}

/* Main Content */
.policy-content {
    padding: 4rem 2rem;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    background: rgba(20, 20, 30, 0.6);
    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: 10px;
    border: 2px solid rgba(77, 15, 255, 0.3);
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

.policy-section h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px var(--glow-purple);
    border-bottom: 2px solid var(--purple-main);
    padding-bottom: 0.8rem;
}

.policy-section h3 {
    font-size: 1.4rem;
    color: var(--purple-main);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.policy-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 1.2rem;
}

.policy-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.policy-section ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 0.8rem;
}

.policy-section ul li strong {
    color: var(--white);
}

.highlight-text {
    color: var(--purple-main);
    font-weight: 600;
    text-shadow: 0 0 10px var(--glow-purple);
}

/* Highlight Sections */
.highlight-section {
    background: rgba(77, 15, 255, 0.1);
    border: 3px solid var(--purple-main);
    box-shadow: 0 0 20px rgba(77, 15, 255, 0.3);
}

/* Contact Links */
.contact-links {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(77, 15, 255, 0.2);
    border: 2px solid var(--purple-main);
    border-radius: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--purple-main);
    box-shadow: 0 0 30px var(--glow-purple);
    transform: translateY(-5px);
}

.contact-link span {
    font-size: 1.5rem;
}

/* Footer (identical to homepage) */
footer {
    background: var(--bg-dark);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.footer-socials a img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: grayscale(30%) brightness(1);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: rgba(77, 15, 255, 0.15);
    border-color: rgba(77, 15, 255, 0.3);
    transform: translateY(-2px);
}

.footer-socials a:hover img { filter: grayscale(0%) brightness(1.2); }

.footer-links { margin-bottom: 0.5rem; }

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: #7b4dff; }

.copyright { color: #444; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 768px) {
    .policy-header {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .header-logo {
        width: 80px;
    }

    .policy-header h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .last-updated {
        font-size: 0.9rem;
    }

    .policy-content {
        padding: 3rem 1.5rem;
    }

    .policy-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3 {
        font-size: 1.2rem;
    }

    .policy-section p,
    .policy-section ul li {
        font-size: 1rem;
    }

    .policy-section ul {
        padding-left: 1.5rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .policy-header h1 {
        font-size: 2rem;
    }

    .policy-section {
        padding: 1.5rem 1rem;
    }

    .policy-section h2 {
        font-size: 1.3rem;
    }
}
