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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body.loaded {
    opacity: 1;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1a202c;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2d3748;
}

h3 {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #4a5568;
}

p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #4a5568;
}

ul {
    margin: 15px 0 15px 30px;
    color: #4a5568;
}

ul li {
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 1.05rem;
}

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

a:hover {
    color: #764ba2;
    text-decoration: underline;
}

strong {
    font-weight: 600;
    color: #2d3748;
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    p, ul li { font-size: 1rem; }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.brand-name {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
}

.lang-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
    .lang-btn {
        padding: 6px 10px;
        font-size: 14px;
    }
}

/* Main Content */
.privacy-content {
    padding: 60px 0 80px 0;
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .privacy-content {
        padding: 30px 0 50px 0;
    }
}

/* Last Updated */
.last-updated {
    text-align: center;
    font-style: italic;
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

/* Policy Sections */
.policy-section {
    margin-bottom: 40px;
}

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

/* Contact Info */
.contact-info {
    list-style: none;
    margin-left: 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(240, 147, 251, 0.05));
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.contact-info li {
    margin-bottom: 12px;
}

/* Summary Box */
.summary-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(240, 147, 251, 0.08));
    border-radius: 20px;
    padding: 35px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    margin-top: 50px;
}

.summary-box h2 {
    margin-top: 0;
    color: #667eea;
    font-size: 1.6rem;
}

.summary-box ul {
    list-style: none;
    margin-left: 0;
}

.summary-box ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    font-size: 1.1rem;
    color: #2d3748;
}

.summary-box ul li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .summary-box {
        padding: 25px 20px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none;
}

/* Back Link */
.back-link {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid rgba(102, 126, 234, 0.1);
}

/* Footer */
.footer {
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    margin-top: 50px;
}

.footer-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo .logo {
    width: 35px;
    height: 35px;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 600;
}

.footer p {
    font-size: 0.95rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

#footer-copyright {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

/* Print Styles */
@media print {
    body {
        background: white;
    }

    .header,
    .language-selector,
    .back-link,
    .footer {
        display: none;
    }

    .content-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Accessibility Improvements */
:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.loaded .content-wrapper {
    animation: fadeIn 0.6s ease-out;
}
