/* WallFit Privacy Policy Stylesheet */

:root {
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #6b7280;
    --border-radius: 8px;
    --max-width: 800px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--gray-50);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.language-switcher {
    display: flex;
    gap: 8px;
}

.language-switcher a {
    text-decoration: none;
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.language-switcher a:hover {
    background: var(--gray-100);
}

.language-switcher a.active {
    background: var(--primary-color);
    color: white;
}

/* Main Content */
main {
    padding: 40px 0;
}

.privacy-policy {
    background: white;
    padding: 48px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.privacy-policy h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 700;
}

.last-updated {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 32px;
    display: block;
}

.privacy-policy h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
    color: var(--text-color);
    font-weight: 600;
}

.privacy-policy h2:first-of-type {
    margin-top: 24px;
}

.privacy-policy h3 {
    font-size: 1.25rem;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.privacy-policy p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.privacy-policy ul,
.privacy-policy ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.privacy-policy li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.privacy-policy a {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-word;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

.highlight-box {
    background: var(--gray-100);
    border-left: 4px solid var(--primary-color);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

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

strong {
    font-weight: 600;
    color: var(--text-color);
}

/* Footer */
footer {
    background: white;
    border-top: 1px solid var(--gray-200);
    padding: 32px 0;
    margin-top: 40px;
    text-align: center;
}

footer p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

footer p:last-child {
    margin-bottom: 0;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 24px 20px;
    }

    header .container {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .language-switcher {
        width: 100%;
        justify-content: flex-start;
    }

    .privacy-policy h1 {
        font-size: 1.75rem;
    }

    .privacy-policy h2 {
        font-size: 1.25rem;
        margin-top: 32px;
    }

    .privacy-policy h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .privacy-policy {
        padding: 20px 16px;
    }

    .privacy-policy h1 {
        font-size: 1.5rem;
    }

    .privacy-policy h2 {
        font-size: 1.125rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    header {
        position: static;
        box-shadow: none;
    }

    .language-switcher {
        display: none;
    }

    .privacy-policy {
        box-shadow: none;
        padding: 0;
    }

    footer {
        margin-top: 20px;
        border-top: 1px solid var(--gray-200);
    }
}
