/* Privacy Policy Page Styling */
.privacy-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px 40px 20px;
    min-height: calc(100vh - 120px);
}

.privacy-container {
    background: linear-gradient(145deg, rgba(30, 30, 45, 0.95) 0%, rgba(20, 20, 30, 0.98) 100%);
    border: 1px solid rgba(136, 136, 136, 0.15);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.privacy-container h1 {
    color: #fff;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
}

.privacy-updated {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(136, 136, 136, 0.2);
}

/* Sections */
.privacy-section {
    margin-bottom: 35px;
}

.privacy-section h2 {
    color: #4fc3f7;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(79, 195, 247, 0.3);
}

.privacy-section h3 {
    color: #ccc;
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
}

.privacy-section p {
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 12px;
}

.privacy-section ul {
    margin: 12px 0 12px 25px;
    color: #bbb;
}

.privacy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-section li strong {
    color: #fff;
}

.privacy-section a {
    color: #4fc3f7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.privacy-section a:hover {
    color: #81d4fa;
    text-decoration: underline;
}

/* Email protection fallback */
.email-protected {
    color: #888;
    font-style: italic;
}

.email-protected a {
    color: #4fc3f7;
    font-style: normal;
}

/* Notice Box */
.privacy-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin: 15px 0;
}

.privacy-notice i {
    color: #4caf50;
    font-size: 1.3rem;
    margin-top: 2px;
}

.privacy-notice p {
    margin: 0;
    color: #ccc;
}

/* External Services Note */
.privacy-external {
    color: #999 !important;
    font-style: italic;
    font-size: 0.9rem;
    padding-left: 15px;
    border-left: 3px solid rgba(136, 136, 136, 0.3);
}

/* Footer */
.privacy-footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-main {
        padding: 40px 15px 30px 15px;
    }

    .privacy-container {
        padding: 25px 20px;
    }

    .privacy-container h1 {
        font-size: 1.6rem;
    }

    .privacy-section h2 {
        font-size: 1.15rem;
    }

    .privacy-notice {
        flex-direction: column;
        gap: 10px;
    }
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.lang-toggle {
    display: flex;
    background: rgba(30, 30, 45, 0.9);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(136, 136, 136, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lang-btn {
    padding: 12px 30px;
    border: none;
    background: transparent;
    color: #888;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4fc3f7 0%, #00bcd4 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50px;
    z-index: -1;
}

.lang-btn.active {
    color: #fff;
}

.lang-btn.active::before {
    opacity: 1;
}

.lang-btn:hover:not(.active) {
    color: #4fc3f7;
}

.lang-btn .flag {
    font-size: 1.2rem;
}

/* Content transition */
.lang-content {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-content.hidden {
    display: none;
}

.lang-content.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.lang-content.fade-in {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive language switcher */
@media (max-width: 480px) {
    .lang-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}