/* Legal Pages Styles */
.legal-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 2rem 0;
    padding-top: 120px; /* Space for fixed navbar */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Legal Header */
.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #94a3b8;
    margin-top: 1rem;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #60a5fa;
}

.breadcrumb span {
    color: #64748b;
}

/* Legal Content */
.legal-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

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

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin: 1.5rem 0 1rem 0;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 1rem 0;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 0.5rem;
}

.legal-section strong {
    color: #1e293b;
    font-weight: 600;
}

/* Content Sections */
.company-info,
.contact-info,
.register-info,
.responsible-info,
.disclaimer,
.dispute-resolution,
.overview,
.responsible,
.hosting-info,
.contact-form-info,
.rights,
.encryption,
.cookies,
.contact,
.terms-content {
    margin-top: 1rem;
}

.company-info p,
.contact-info p,
.register-info p,
.responsible-info p {
    margin-bottom: 0.5rem;
}

/* Legal Footer */
.legal-footer {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-footer p {
    color: #94a3b8;
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
}

.legal-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.legal-link:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #93c5fd;
    transform: translateY(-1px);
}

.back-home {
    color: #34d399;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-home:hover {
    background: rgba(52, 211, 153, 0.2);
    color: #6ee7b7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.3);
}

/* Links in content */
.legal-content a {
    color: #3b82f6;
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.legal-content a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

/* External links */
.legal-content a[target="_blank"] {
    position: relative;
}

.legal-content a[target="_blank"]:after {
    content: ' ↗';
    font-size: 0.8rem;
    color: #64748b;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .legal-page {
        padding: 1rem 0;
        padding-top: 90px; /* Smaller space for mobile navbar */
    }

    .legal-container {
        padding: 0 1rem;
    }

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

    .legal-content {
        padding: 2rem;
        border-radius: 12px;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.125rem;
    }

    .legal-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .legal-footer {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 1.75rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .breadcrumb {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .legal-page {
        background: white;
        padding: 0;
    }

    .legal-container {
        max-width: none;
        padding: 0;
    }

    .legal-content {
        background: white;
        box-shadow: none;
        border: none;
    }

    .legal-footer {
        background: white;
        border: 1px solid #e2e8f0;
    }

    .breadcrumb,
    .legal-nav {
        display: none;
    }
} 