/* ===== Legal Pages Styles - Apple Inspired ===== */

:root {
    --primary: #667eea;
    --primary-dark: #5a6fd6;
    --gray-50: #fbfbfd;
    --gray-100: #f5f5f7;
    --gray-200: #e8e8ed;
    --gray-300: #d2d2d7;
    --gray-400: #86868b;
    --gray-500: #6e6e73;
    --gray-600: #424245;
    --gray-700: #1d1d1f;
    --gray-900: #000000;
    --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
    --radius-md: 16px;
    --radius-lg: 20px;
    --transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: var(--gray-50);
    color: var(--gray-700);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    max-width: 1200px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: var(--gray-700);
}

.logo-icon {
    font-size: 22px;
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    text-decoration: none;
}

/* ===== Legal Content ===== */
.legal-content {
    padding: 120px 0 80px;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.last-updated {
    font-size: 14px;
    color: var(--gray-400);
}

.legal-body {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.legal-body section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-100);
}

.legal-body section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-body h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.legal-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-700);
    margin: 20px 0 12px;
}

.legal-body p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.legal-body ul {
    margin: 0 0 16px 24px;
}

.legal-body li {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 8px;
    list-style: disc;
}

.contact-info {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Cookie Table */
.cookie-table {
    margin: 16px 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.cookie-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
}

.cookie-table td {
    color: var(--gray-600);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(102, 126, 234, 0.1);
    text-decoration: none;
}

.legal-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

/* ===== Footer ===== */
.footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--gray-200);
}

.footer p {
    font-size: 13px;
    color: var(--gray-400);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .legal-content {
        padding: 100px 0 60px;
    }

    .legal-header h1 {
        font-size: 28px;
    }

    .legal-body {
        padding: 24px;
    }

    .legal-body h2 {
        font-size: 18px;
    }

    .legal-footer {
        flex-direction: column;
        align-items: center;
    }
}