/* Legal Pages Specific Styles */
.legal-container {
    max-width: 900px;
    margin: 120px auto 80px;
    padding: 0 24px;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--border);
}

.legal-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.legal-date {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.legal-content {
    background: var(--surface);
    border-radius: var(--radius-large);
    padding: 60px;
    box-shadow: var(--shadow);
}

.legal-section {
    margin-bottom: 48px;
}

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

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.legal-list {
    margin: 20px 0;
    padding-left: 24px;
}

.legal-list li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: var(--text-primary);
}

/* Info Boxes */
.info-box {
    background: linear-gradient(135deg, #E3F2FD 0%, #F3E5F5 100%);
    border-radius: var(--radius);
    padding: 24px;
    margin: 24px 0;
}

.info-box h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.info-box p {
    margin-bottom: 8px;
}

.info-box ul {
    margin: 12px 0 0 20px;
}

/* Notice Box */
.notice-box {
    background: #FFF3E0;
    border-left: 4px solid #FF9800;
    border-radius: var(--radius-small);
    padding: 20px;
    margin: 24px 0;
}

.notice-box strong {
    color: #E65100;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    background: linear-gradient(135deg, #E3F2FD 0%, #E1F5FE 100%);
    border-radius: var(--radius);
    padding: 32px;
    margin: 32px 0;
    text-align: center;
}

.highlight-box p {
    color: var(--primary-dark);
    font-size: 17px;
    margin-bottom: 12px;
}

.highlight-box strong {
    color: var(--primary);
    font-weight: 600;
}

/* Contact Card */
.contact-card {
    background: var(--background);
    border-radius: var(--radius);
    padding: 28px;
    margin: 24px 0;
    border: 2px solid var(--border);
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 20px;
}

.contact-card ul {
    list-style: none;
    padding: 0;
}

.contact-card li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.contact-card strong {
    display: inline-block;
    min-width: 100px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Language Switcher */
.language-switcher {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border);
    text-align: center;
}

.language-switcher p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.language-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.lang-btn {
    padding: 12px 24px;
    background: var(--background);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--border);
}

.lang-btn:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Navigation Active State */
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-content {
        padding: 32px 20px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section p,
    .legal-list li {
        font-size: 15px;
    }

    .contact-card strong {
        min-width: 80px;
        font-size: 14px;
    }

    .info-box,
    .notice-box,
    .highlight-box {
        padding: 20px;
    }
}