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

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

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
}

.nav-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo h2 {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1a1a1a;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 60px;
    min-height: calc(100vh - 120px);
    padding: 3rem 0;
}

.privacy-section {
    padding: 0;
}

.privacy-section h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
}

.last-updated {
    text-align: center;
    color: #666;
    font-style: normal;
    margin-bottom: 3rem;
    font-size: 1rem;
    background-color: #f8f8f8;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

/* Simple, clean styling for privacy policy */
.policy-section {
    margin-bottom: 2.5rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.policy-section h2 {
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007aff;
}

.policy-section h3 {
    color: #1a1a1a;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 600;
}

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

.policy-section ul {
    margin: 0.5rem 0 1rem 1.5rem;
    padding: 0;
}

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

.policy-section strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Contact Information */
.contact-info {
    background-color: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #e5e5e5;
}

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

.contact-info a {
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

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

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    font-weight: 500;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        border-top: 1px solid #e5e5e5;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .privacy-section h1 {
        font-size: 2rem;
    }

    .policy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media screen and (max-width: 480px) {
    .privacy-section h1 {
        font-size: 1.75rem;
    }

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

    .policy-section {
        padding: 1rem;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }
}

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

/* Focus styles for accessibility */
.nav-link:focus,
.footer-links a:focus {
    outline: 2px solid #007aff;
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for better UX */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .policy-section {
        border: 2px solid #000;
    }

    .nav-link:hover {
        background-color: #000;
        color: #fff;
    }
}