@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #030712;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --primary-color: #22d3ee;
    --primary-glow: rgba(34, 211, 238, 0.4);
    --secondary-color: #3b82f6;
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1600px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
}

.legal-page {
    width: 100%;
    min-height: 100vh;
    border-top: 2px solid var(--primary-color);
}


.top-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
}

.back-link:hover {
    color: var(--primary-color);
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateX(-3px);
}


.content-wrapper {
    max-width: var(--container-width);
    margin: 2rem auto 6rem;
    padding: 0 2rem;
}

.content-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.content-header::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 2rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 20px var(--primary-glow);
}

h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.meta-info {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.7;
}


.legal-text {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
}

section {
    margin-bottom: 3.5rem;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

h2::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-glow);
}

p {
    color: var(--text-main);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}


.legal-text a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(34, 211, 238, 0.3);
    padding-bottom: 1px;
    transition: all 0.3s ease;
}

.legal-text a:hover {
    color: #fff;
    border-bottom-color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}


.standard-list {
    list-style: none;
    padding: 1rem 0;
    display: grid;
    gap: 1rem;
}

.standard-list li {
    position: relative;
    padding-left: 2rem;
    color: #e5e7eb;
    font-size: 1.05rem;
}

.standard-list li::before {
    content: "\ea3c";
    
    font-family: 'boxicons';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: normal;
}

.policy-intro {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}


.footer {
    padding: 5rem 5% 2rem;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.5));
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 4rem;
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .logo {
    display: inline-block;
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.2rem;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.footer-brand .logo span {
    color: var(--primary-color);
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 400px;
    opacity: 0.8;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
}

.footer-socials a:hover {
    color: var(--primary-color);
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px);
}

.footer-links-grid {
    display: contents;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: none;
    font-family: 'Poppins', sans-serif;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--primary-color);
    transform: translateX(0);
}

.footer-bottom {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.copyright-mini {
    font-size: 0.8rem;
    color: #64748b;
}


@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
    }


    .content-header {
        margin-bottom: 3rem;
    }

    .legal-text {
        padding: 2rem;
    }
}