/* Legal Pages - Matching Main Landing Page Style */

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

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

/* Navigation - Same as main site */
.nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 3rem);
    max-width: 1200px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    color: white;
}

.logo-icon {
    font-size: 1.3rem;
}

.logo-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-cta {
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #ff4757, #ee3a44);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 71, 87, 0.4);
}

/* Page Header */
.legal-header {
    padding: 8rem 0 4rem;
    text-align: center;
}

.legal-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.legal-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Content Area */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.last-updated {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.last-updated strong {
    color: #ff4757;
}

.toc {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.toc h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li {
    margin-bottom: 0.5rem;
}

.toc a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.toc a:hover {
    color: #ff4757;
}

/* Legal Sections */
.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.legal-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

.legal-section ul,
.legal-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

.legal-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.legal-section strong {
    color: #ffffff;
    font-weight: 700;
}

.legal-section a {
    color: #ff4757;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Highlight Boxes */
.highlight-box {
    background: rgba(255, 71, 87, 0.1);
    border-left: 4px solid #ff4757;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 12px;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table th {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 700;
}

.data-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

/* GDPR Rights */
.gdpr-rights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gdpr-right {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.3s;
}

.gdpr-right:hover {
    border-color: #ff4757;
    transform: translateY(-4px);
}

.gdpr-right strong {
    color: #ff4757;
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ff4757;
}

/* Back to Home Link */
.back-link {
    display: inline-block;
    margin-top: 3rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.back-link:hover {
    background: linear-gradient(135deg, #ff4757, #ee3a44);
    border-color: transparent;
    transform: translateY(-2px);
}

/* Footer (Matching Home Page) */
.footer-minimal {
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff4757;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2.5rem;
    }

    .legal-content {
        padding: 0 1rem 4rem;
    }

    .gdpr-rights {
        grid-template-columns: 1fr;
    }

    .data-table {
        font-size: 0.85rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
