:root {
    --primary-color: #8e44ad;
    --primary-dark: #6c3483;
    --secondary-color: #ec4899;
    --text-gray-600: #4b5563;
    --text-gray-800: #1f2937;
    --bg-slate-50: #f9f6fc;
    --border-gray-200: #e5e7eb;
    --border-gray-300: #d1d5db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    line-height: 1.6;
    color: var(--text-gray-800);
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.legal-page {
    padding: 8rem 0 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.legal-page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.last-updated {
    text-align: center;
    color: var(--text-gray-600);
    margin-bottom: 3rem;
    font-style: italic;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

section {
    margin-bottom: 3rem;
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border-gray-200);
    display: flex;
    align-items: center;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-gray-800);
    line-height: 1.7;
    font-size: 1.05rem;
}

ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    position: relative;
    padding-left: 0.5rem;
}

li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

strong {
    font-weight: 700;
    color: var(--primary-dark);
}

.emoji {
    font-size: 1.5em;
    margin-right: 0.5em;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header & Navigation Styles */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

#main-header.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo img {
    height: 4.5rem;
    transition: all 0.3s;
}

.nav-links {
    display: none; 
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-gray-800);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn-nav {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.login-btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.signup-btn-nav {
    background: transparent;
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}
.signup-btn-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

#mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray-800);
    z-index: 100;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #d1d5db;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 10;
}

.footer-logo {
    display: inline-block;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.footer-logo img {
    height: 3.5rem;
}

.footer-description {
    max-width: 36rem;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: #d1d5db;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.social-links a:hover {
    color: white;
    transform: translateY(-5px);
    background: var(--primary-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 7rem 0 3rem;
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .nav-links, .auth-buttons {
        display: none;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .nav-links, .auth-buttons {
        display: flex;
    }
    
    #mobile-menu-btn {
        display: none;
    }
}