/* 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: #fafafa;
}

/* Container and layout */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Main content */
.main-content {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

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

.last-updated {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 500;
    background-color: #ecf0f1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

/* Content wrapper */
.content-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    margin-bottom: 2rem;
}

/* Intro section */
.intro-section {
    margin-bottom: 3rem;
}

.intro-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.important-notice {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Policy sections */
.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

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

.policy-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
    display: inline-block;
}

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

/* Subsections */
.subsection {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.subsection h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.subsection p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.subsection ul, .subsection ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

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

.not-applicable {
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-style: italic;
    margin-bottom: 1rem;
    border-left: 4px solid #dee2e6;
}

/* Styles for new sections */
.new-section {
    position: relative;
}

.new-section::before {
    content: "NEW";
    position: absolute;
    top: -8px;
    right: 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Lists */
.usage-list, .options-list {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.usage-list li, .options-list li {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
}

.usage-list li::marker {
    color: #667eea;
    font-weight: 600;
}

.options-list li::marker {
    color: #667eea;
}

.list-container {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

/* Contact section */
.contact-info {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.contact-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.contact-info a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.3s ease;
}

.contact-info a:hover {
    border-bottom-color: white;
}

/* Footer note */
.footer-note {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}

.footer-note p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Links */
a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .content-wrapper {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    .subsection {
        padding-left: 0.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-link {
        text-align: center;
        padding: 0.5rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .content-wrapper {
        padding: 1rem;
    }

    .usage-list, .options-list {
        padding-left: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    .header, .footer, .scroll-top {
        display: none;
    }
    
    .main-content {
        max-width: none;
        padding: 0;
    }
    
    .content-wrapper {
        box-shadow: none;
        padding: 1rem;
    }
    
    .page-title {
        color: black;
    }
    
    .policy-section h2 {
        color: black;
        border-bottom-color: black;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .important-notice {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .contact-info {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .footer-note {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
}
