/* ============================================
   Legal Pages Content CSS - Alnssor Office
   (Privacy Policy, Terms, Distance Sale Agreement, etc.)
   Content only - header/footer in separate files
   ============================================ */

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #0066ff;
    --accent-hover: #0052cc;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-light: #888888;
    --bg-primary: #ffffff;
    --bg-secondary: #f7f8fa;
    --border-color: #e8eaee;
    --border-light: #f0f1f3;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* ============================================
   Reset and Base
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   Legal Page Content
   ============================================ */
.legal-main {
    padding: 120px 0 80px;
    background-color: var(--bg-secondary);
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-primary);
    padding: 64px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.5px;
}

.legal-date {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 0.95rem;
}

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

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

.legal-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

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

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

.legal-list li {
    padding: 10px 0 10px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

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

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.legal-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.legal-link:hover {
    text-decoration: underline;
    color: var(--accent-hover);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .legal-content {
        padding: 40px 24px;
    }
}

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

    .legal-content {
        padding: 32px 20px;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
