/* ============================================
   LEGAL PAGES - MINIMALIST COFFEE MUG THEME
   ============================================ */

/* Import Component Styles */
@import 'components/coffee-mug.css';
@import 'components/minimal-navbar.css';

/* CSS Variables - Match Landing Page Colors */
:root {
    --landing-primary: #2d3436;
    --landing-secondary: #636e72;
    --landing-accent: #4A90E2;
    --landing-accent-light: #6BB6FF;
    --landing-accent-dark: #2E5C8A;
    --landing-bg-dark: #0f0f23;
    --landing-bg-medium: #1a1a2e;
    --landing-bg-light: #16213e;
    --landing-text-primary: #dfe6e9;
    --landing-text-secondary: #b2bec3;
    --landing-border: rgba(74, 144, 226, 0.2);
    --landing-glow: rgba(74, 144, 226, 0.4);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-space: 'Space Grotesk', 'Inter', sans-serif;
    --about-mug-raise: 22px;
}

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

body.legal-page-body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, 
        #0a0a1a 0%, 
        #0f0f23 25%, 
        #1a1a2e 50%, 
        #16213e 75%, 
        #0f0f23 100%);
    background-attachment: fixed;
    color: var(--landing-text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Subtle animated gradient overlay for depth */
body.legal-page-body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: 
        radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(107, 182, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(46, 92, 138, 0.08) 0%, transparent 60%);
    z-index: 1;
    animation: gradientShift 20s ease-in-out infinite;
}

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

/* Page Container */
.legal-page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

/* Page Title */
.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--landing-text-primary);
    text-align: center;
    margin-top: 0.9rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInTitle 0.6s ease-out 2.6s forwards;
    letter-spacing: -0.02em;
    font-family: var(--font-space);
    text-shadow: 0 0 20px rgba(107, 182, 255, 0.3);
}

@keyframes fadeInTitle {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Legal Content */
.legal-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInContent 0.6s ease-out 3s forwards;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-updated {
    font-size: 0.9rem;
    color: var(--landing-text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
    font-family: var(--font-primary);
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--landing-border);
}

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

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--landing-text-primary);
    font-family: var(--font-space);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.legal-section h3 {
    font-size: 1.35rem;
    font-weight: 500;
    margin: 1.5rem 0 0.75rem 0;
    color: var(--landing-text-primary);
    font-family: var(--font-space);
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--landing-text-secondary);
    margin: 1rem 0;
    font-family: var(--font-primary);
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-section ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--landing-text-secondary);
    font-family: var(--font-primary);
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--landing-accent);
    font-size: 1.2rem;
    line-height: 1.4;
}

.legal-section ul li strong {
    color: var(--landing-text-primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        margin-top: 1.5rem;
    }
    
    .legal-page-container {
        padding: 1.5rem 1rem;
    }
    
    .legal-content {
        max-width: 100%;
    }
    
    .legal-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .legal-section h2 {
        font-size: 1.35rem;
    }
    
    .legal-section p {
        font-size: 0.95rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .gradientShift,
    .fadeInTitle,
    .fadeInContent {
        animation: none;
    }
}

