/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo-section {
    max-width: 800px;
    margin: 0 auto;
}

.app-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Main content */
.main-content {
    background: white;
    margin: -2rem auto 0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.policy-header {
    padding: 3rem 3rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.policy-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.policy-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.policy-meta p {
    color: #6b7280;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border-radius: 6px;
}

/* Policy content */
.policy-content {
    padding: 2rem 3rem 3rem;
}

.policy-section {
    margin-bottom: 3rem;
}

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

.policy-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #bfdbfe;
}

.policy-section h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #374151;
    margin: 2rem 0 1rem;
}

.policy-section p {
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.7;
}

.policy-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #4b5563;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-section li strong {
    color: #374151;
    font-weight: 500;
}

/* Contact info styling */
.contact-info {
    background: #f0f9ff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    margin: 1rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #3b82f6;
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-note {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 2rem 0;
    }
    
    .app-title {
        font-size: 2.25rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .main-content {
        margin: -1rem auto 0;
        border-radius: 8px;
    }
    
    .policy-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .policy-content {
        padding: 1.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.1rem;
    }
    
    .policy-section ul {
        margin-left: 1rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    .footer {
        padding: 2rem 0;
    }
    
    .footer-tagline {
        font-size: 1.25rem;
    }
    
    .footer-subtitle {
        font-size: 1rem;
    }
    
    .footer-note {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 1.875rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .policy-header h1 {
        font-size: 1.75rem;
    }
    
    .policy-section h2 {
        font-size: 1.375rem;
    }
    
    .policy-section h3 {
        font-size: 1rem;
    }
}

/* Print styles */
@media print {
    .header {
        background: white !important;
        color: black !important;
        box-shadow: none;
    }
    
    .main-content {
        box-shadow: none;
        margin: 0;
    }
    
    .footer {
        background: white !important;
        color: black !important;
    }
    
    .policy-section h2 {
        color: black !important;
        border-bottom-color: #ccc !important;
    }
    
    .footer-tagline {
        color: #2563eb !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for better accessibility */
a:focus,
button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .policy-section h2 {
        border-bottom-width: 3px;
    }
    
    .contact-info {
        border-left-width: 6px;
    }
}