/* ========== LEGAL PAGES STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.legal-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

.page {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Navigation */
.nav-header {
    text-align: center;
    margin-bottom: 40px;
}

.nav-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.nav-btn.active {
    background: linear-gradient(45deg, #764ba2, #667eea);
    transform: translateY(-1px);
}

.back-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    margin-top: 20px;
}

/* Typography */
.legal-page h1 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-align: center;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-page h2 {
    color: #34495e;
    margin: 30px 0 15px 0;
    font-size: 1.5rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.legal-page h3 {
    color: #2c3e50;
    margin: 20px 0 10px 0;
    font-size: 1.2rem;
}

.legal-page p {
    margin-bottom: 15px;
    text-align: justify;
}

.legal-page ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-page li {
    margin-bottom: 8px;
}

/* Special sections */
.highlight {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    margin: 20px 0;
}

.intro-page {
    text-align: center;
    padding: 60px 40px;
}

.intro-page h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.intro-page p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .page {
        padding: 20px;
    }

    .nav-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-btn {
        width: 100%;
        max-width: 300px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }

    .intro-page h1 {
        font-size: 2.5rem;
    }
}