/* 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, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    font-size: 16px;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 70px;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2c3e50;
    background-color: #f8f9fa;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: #3498db;
    border-radius: 1px;
}

/* Main Content */
.main {
    min-height: calc(100vh - 140px);
    padding: 2rem 0 4rem;
}

/* Page Title Section */
.page-title {
    text-align: center;
    padding: 3rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin: -2rem -20px 3rem;
    border-radius: 0 0 24px 24px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    font-style: italic;
}

/* Content Section */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Policy Sections */
.policy-section {
    margin-bottom: 2.5rem;
}

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

.policy-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.policy-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #34495e;
    margin: 1.5rem 0 0.75rem;
}

.policy-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

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

.policy-section ul li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.policy-section ul li::before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px;
}

.policy-section ul li strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Text Link */
.text-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.text-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Disclaimer Box */
.disclaimer-box {
    background: #fff9e6;
    border-left: 4px solid #f39c12;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.disclaimer-box h2 {
    border-bottom: none;
    color: #e67e22;
    margin-bottom: 0.75rem;
}

.disclaimer-box p {
    color: #666;
    margin-bottom: 0;
}

/* Disclaimer Note */
.disclaimer-note {
    background: #e8f4fd;
    border-left: 4px solid #3498db;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #2c3e50;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.95rem;
    color: #bdc3c7;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.footer-link:hover {
    background-color: rgba(52, 152, 219, 0.1);
    color: #5dade2;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .nav {
        width: 100%;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .page-title {
        margin: -2rem -15px 2rem;
        padding: 2rem 1rem 3rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 0.95rem;
    }
    
    .content-section {
        padding: 1.5rem;
        border-radius: 8px;
    }
    
    .policy-section {
        margin-bottom: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.15rem;
    }
    
    .policy-section p {
        text-align: left;
        font-size: 0.95rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-links {
        gap: 1rem;
    }
}

/* Responsive Design - Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-title {
        font-size: 2.75rem;
    }
    
    .content-section {
        padding: 2rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        transition: none !important;
    }
}

/* Focus Styles */
.nav-link:focus,
.footer-link:focus,
.text-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .content-section {
        border: 2px solid #000;
    }
    
    .policy-section h2 {
        border-bottom-color: #000;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .content-section {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .page-title {
        background: none;
        border-radius: 0;
    }
    
    .policy-section {
        break-inside: avoid;
    }
    
    .text-link {
        color: #000;
        text-decoration: underline;
    }
}

