/* Legal Pages CSS - Privacy Policy & Terms of Use */
/* Using unique prefixes: .lp- (legal-pages), .pp- (privacy-policy), .tou- (terms-of-use) */

/* CSS Variables for Legal Pages */
:root {
    --lp-primary-color: #1a73e8;
    --lp-primary-dark: #1557b0;
    --lp-text-primary: #202124;
    --lp-text-secondary: #5f6368;
    --lp-text-muted: #80868b;
    --lp-background: #ffffff;
    --lp-surface: #f8f9fa;
    --lp-border: #dadce0;
    --lp-border-light: #e8eaed;
    --lp-hover-bg: #f1f3f4;
    --lp-shadow-sm: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    --lp-shadow-md: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
    --lp-radius: 8px;
    --lp-spacing-xs: 4px;
    --lp-spacing-sm: 8px;
    --lp-spacing-md: 16px;
    --lp-spacing-lg: 24px;
    --lp-spacing-xl: 32px;
    --lp-spacing-2xl: 48px;
}

/* Reset and Base Styles */
.lp-container * {
    box-sizing: border-box;
}

/* Main Container */
.lp-container {
    min-height: 100vh;
    background: var(--lp-background);
    font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--lp-text-primary);
    line-height: 1.6;
}

/* Hero Section - Based on blog.html style */
.lp-hero {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5c6bc0 100%);
    padding: var(--lp-spacing-2xl) 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.lp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--lp-spacing-lg);
}

.lp-hero-icon {
    font-size: 4rem;
    margin-bottom: var(--lp-spacing-lg);
    opacity: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lp-hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: var(--lp-spacing-md);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    color: #e0e0e0;
}

.lp-hero-subtitle {
    font-size: 1.25rem;
    opacity: 1;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: #f5f5f5;
}

/* Main Content Area */
.lp-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--lp-spacing-2xl) var(--lp-spacing-lg);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--lp-spacing-2xl);
    align-items: start;
}

/* Navigation Sidebar */
.lp-nav {
    position: sticky;
    top: var(--lp-spacing-xl);
    background: var(--lp-surface);
    border-radius: var(--lp-radius);
    padding: var(--lp-spacing-lg);
    border: 1px solid var(--lp-border-light);
}

.lp-nav-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--lp-text-primary);
    margin-bottom: var(--lp-spacing-md);
    padding-bottom: var(--lp-spacing-sm);
    border-bottom: 1px solid var(--lp-border-light);
}

.lp-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-nav-item {
    margin-bottom: var(--lp-spacing-xs);
}

.lp-nav-link {
    display: block;
    padding: var(--lp-spacing-sm) var(--lp-spacing-md);
    color: var(--lp-text-secondary);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.lp-nav-link:hover {
    background: var(--lp-hover-bg);
    color: var(--lp-primary-color);
}

.lp-nav-link.active {
    background: var(--lp-primary-color);
    color: white;
}

/* Content Area */
.lp-content {
    background: white;
    border-radius: var(--lp-radius);
    padding: var(--lp-spacing-2xl);
    box-shadow: var(--lp-shadow-sm);
    border: 1px solid var(--lp-border-light);
}

/* Typography */
.lp-content h1 {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--lp-text-primary);
    margin-bottom: var(--lp-spacing-xl);
    line-height: 1.2;
}

.lp-content h2 {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--lp-text-primary);
    margin: var(--lp-spacing-2xl) 0 var(--lp-spacing-lg) 0;
    padding-bottom: var(--lp-spacing-sm);
    border-bottom: 1px solid var(--lp-border-light);
}

.lp-content h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--lp-text-primary);
    margin: var(--lp-spacing-xl) 0 var(--lp-spacing-md) 0;
}

.lp-content h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--lp-text-secondary);
    margin: var(--lp-spacing-lg) 0 var(--lp-spacing-sm) 0;
}

.lp-content p {
    margin-bottom: var(--lp-spacing-md);
    color: var(--lp-text-secondary);
    line-height: 1.7;
}

.lp-content ul, .lp-content ol {
    margin: var(--lp-spacing-md) 0;
    padding-left: var(--lp-spacing-lg);
}

.lp-content li {
    margin-bottom: var(--lp-spacing-sm);
    color: var(--lp-text-secondary);
    line-height: 1.6;
}

/* Special Content Blocks */
.lp-highlight {
    background: #e8f0fe;
    border-left: 4px solid var(--lp-primary-color);
    padding: var(--lp-spacing-md) var(--lp-spacing-lg);
    margin: var(--lp-spacing-lg) 0;
    border-radius: 0 var(--lp-radius) var(--lp-radius) 0;
}

.lp-highlight p {
    margin-bottom: 0;
    color: var(--lp-text-primary);
}

.lp-warning {
    background: #fef7e0;
    border-left: 4px solid #f9ab00;
    padding: var(--lp-spacing-md) var(--lp-spacing-lg);
    margin: var(--lp-spacing-lg) 0;
    border-radius: 0 var(--lp-radius) var(--lp-radius) 0;
}

.lp-warning p {
    margin-bottom: 0;
    color: var(--lp-text-primary);
}

/* Last Updated Info */
.lp-last-updated {
    background: var(--lp-surface);
    padding: var(--lp-spacing-md);
    border-radius: var(--lp-radius);
    margin-bottom: var(--lp-spacing-xl);
    font-size: 0.9rem;
    color: var(--lp-text-muted);
    text-align: center;
}

/* Contact Section */
.lp-contact {
    background: var(--lp-surface);
    padding: var(--lp-spacing-lg);
    border-radius: var(--lp-radius);
    margin-top: var(--lp-spacing-2xl);
    text-align: center;
}

.lp-contact h3 {
    margin-top: 0;
    color: var(--lp-text-primary);
}

.lp-contact-link {
    color: var(--lp-primary-color);
    text-decoration: none;
    font-weight: 500;
}

.lp-contact-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lp-main {
        grid-template-columns: 1fr;
        gap: var(--lp-spacing-lg);
        padding: var(--lp-spacing-lg);
    }
    
    .lp-nav {
        position: sticky;
        top: 0;
        background: var(--lp-background);
        border-bottom: 1px solid var(--lp-border);
        padding: var(--lp-spacing-md);
        margin-bottom: var(--lp-spacing-lg);
        z-index: 10;
        order: 1;
    }
    
    .lp-nav-title {
        display: block;
        font-weight: 600;
        margin-bottom: var(--lp-spacing-sm);
        color: var(--lp-text-primary);
    }
    
    .lp-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: var(--lp-spacing-sm);
    }
    
    .lp-nav-item {
        flex: 0 0 auto;
    }
    
    .lp-nav-link {
        padding: var(--lp-spacing-xs) var(--lp-spacing-sm);
        border-radius: var(--lp-radius);
        background: var(--lp-surface);
        border: 1px solid var(--lp-border-light);
        font-size: 0.875rem;
    }
    
    .lp-content {
        order: 2;
        padding: var(--lp-spacing-lg);
    }
    
    .lp-hero-title {
        font-size: 2rem;
    }
    
    .lp-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .lp-content h1 {
        font-size: 2rem;
    }
    
    .lp-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .lp-hero {
        padding: var(--lp-spacing-xl) 0;
    }
    
    .lp-hero-icon {
        font-size: 3rem;
    }
    
    .lp-hero-title {
        font-size: 1.75rem;
    }
    
    .lp-hero-subtitle {
        font-size: 1rem;
    }
    
    .lp-main {
        padding: var(--lp-spacing-md);
    }
    
    .lp-content {
        padding: var(--lp-spacing-md);
    }
}