/* Legal Pages Shared Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --blue: #0066FF;
    --red: #FF2D3A;
    --white: #FFFFFF;
    --bg: #050507;
    --bg-2: #0A0A0F;
    --text: #F5F5F7;
    --text-dim: #A1A1A6;
    --text-muted: #6E6E73;
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.15);
    --grad-3: linear-gradient(135deg, #0066FF 0%, #FF2D3A 100%);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--blue); color: white; }

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

/* Nav */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(5,5,7,0.8);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; max-width: 1440px; margin: 0 auto;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.5px;
}
.logo-mark {
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--grad-3); position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 24px rgba(0,102,255,0.5);
}
.logo-mark svg { width: 18px; height: 18px; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
    font-size: 13px; font-weight: 500; color: var(--text-dim); transition: color .2s;
}
.nav-menu a:hover { color: var(--white); }
.nav-back {
    font-size: 13px; font-weight: 500; color: var(--text-dim);
    display: inline-flex; align-items: center; gap: 6px;
    transition: color .2s;
}
.nav-back:hover { color: var(--white); }

.menu-toggle { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all .3s; margin: 0 auto; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Legal Page */
.legal-page { padding: 140px 0 80px; min-height: 100vh; }
.legal-header { margin-bottom: 60px; }
.legal-eyebrow {
    display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; margin-bottom: 16px;
    background: var(--grad-3); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.legal-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1; letter-spacing: -0.03em; font-weight: 700;
    margin-bottom: 16px;
}
.legal-header .meta {
    color: var(--text-muted); font-size: 14px;
}
.legal-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px; font-weight: 600; letter-spacing: -0.02em;
    margin-top: 48px; margin-bottom: 16px;
    color: var(--white);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
    color: var(--text-dim); font-size: 16px; line-height: 1.7;
    margin-bottom: 16px;
}
.legal-content ul {
    list-style: none; margin: 16px 0; padding-left: 0;
}
.legal-content li {
    color: var(--text-dim); font-size: 16px; line-height: 1.7;
    padding: 6px 0 6px 24px; position: relative;
}
.legal-content li::before {
    content: ''; position: absolute; left: 0; top: 14px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue);
}
.legal-content strong { color: var(--white); font-weight: 600; }
.legal-content a { color: #4D94FF; text-decoration: underline; }
.legal-content a:hover { color: var(--white); }
.legal-contact {
    margin-top: 60px; padding: 32px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--border); border-radius: 24px;
}

/* Footer */
footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 40px 0 24px; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-muted); font-size: 13px;
    flex-wrap: wrap; gap: 16px;
}
.footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--text-dim); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--white); }

/* WhatsApp Float */
.wa-float {
    position: fixed; bottom: 30px; right: 30px; z-index: 99;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(37,211,102,0.4);
    transition: all .3s var(--ease);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 15px 40px rgba(37,211,102,0.6); }
.wa-float svg { width: 32px; height: 32px; color: white; }
.wa-float::before {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid #25D366; animation: pulseRing 2s infinite;
}
@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-back { display: none; }
    .menu-toggle { display: flex; }
    .nav-menu.mobile-open {
        display: flex; flex-direction: column; gap: 24px;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(5,5,7,0.95); backdrop-filter: blur(20px);
        padding: 32px 24px; border-bottom: 1px solid var(--border);
    }
    .legal-page { padding: 120px 0 60px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
