/* Privacy Policy Page Styles */

/* Main Section */
.privacy-policy-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(0, 0, 0, 0.95) 100%);
    padding: 140px 24px 80px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
.policy-header {
    text-align: center;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 20px;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.policy-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.policy-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.5;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 25px;
    color: #3b82f6;
    font-weight: 600;
}

.update-icon {
    font-size: 1.1rem;
}

/* Table of Contents */
.table-of-contents {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-of-contents h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.toc-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    color: #3b82f6;
}

.toc-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Policy Content */
.policy-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-section {
    margin-bottom: 50px;
    scroll-margin-top: 120px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.section-icon {
    font-size: 2rem;
    opacity: 0.7;
}

.section-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
}

.section-content p {
    margin-bottom: 20px;
}

.section-content ul {
    margin: 16px 0;
    padding-right: 20px;
}

.section-content li {
    margin-bottom: 8px;
    position: relative;
}

.section-content li::before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    right: -16px;
}

/* Highlight Box */
.highlight-box {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    margin: 24px 0;
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 8px;
}

.highlight-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Data Categories */
.data-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.data-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.category-icon {
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Usage Purposes */
.usage-purposes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.purpose-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.purpose-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.purpose-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.purpose-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.purpose-content p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Third Party Services */
.third-party-services {
    margin: 24px 0;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.service-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    font-size: 1.5rem;
}

.service-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.service-content p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    color: #60a5fa;
    transform: translateX(-2px);
}

.external-icon {
    font-size: 0.9rem;
}

/* Important Note */
.important-note {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    margin-top: 24px;
}

.note-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.note-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 8px;
}

.note-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Advertising Info */
.advertising-info {
    margin: 24px 0;
}

.ad-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.opt-out-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Security Measures */
.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.security-item {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.security-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.security-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.security-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.security-item p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Data Retention */
.data-retention {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.data-retention h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 12px;
}

/* User Rights */
.user-rights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.right-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.right-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.right-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.right-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.right-content p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Rights Actions */
.rights-actions {
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.rights-actions h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 12px;
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.delete-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.delete-btn:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
}

.contact-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 12px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-info p {
    font-size: 1rem;
    color: #3b82f6;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Response Time */
.response-time {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    margin-top: 24px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.response-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.response-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 8px;
}

.response-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Policy Updates */
.policy-updates {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    margin-top: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.updates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.updates-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.updates-icon {
    font-size: 2rem;
    opacity: 0.7;
}

.updates-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.updates-content ul {
    margin: 16px 0;
    padding-right: 20px;
}

.updates-content li {
    margin-bottom: 8px;
    position: relative;
}

.updates-content li::before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    right: -16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-policy-section {
        padding: 120px 16px 60px;
    }
    
    .policy-header {
        padding: 24px;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-subtitle {
        font-size: 1.1rem;
    }
    
    .table-of-contents {
        padding: 20px;
    }
    
    .toc-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-content {
        padding: 24px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .data-categories,
    .usage-purposes,
    .security-measures,
    .user-rights,
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .policy-header {
        padding: 20px;
    }
    
    .policy-icon {
        width: 60px;
        height: 60px;
    }
    
    .policy-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .policy-header h1 {
        font-size: 1.8rem;
    }
    
    .table-of-contents {
        padding: 16px;
    }
    
    .policy-content {
        padding: 20px;
    }
    
    .highlight-box,
    .important-note,
    .response-time {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}/* 
Language Selector */
.language-selector {
    position: relative;
    margin-left: 20px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-icon {
    font-size: 1rem;
}

.lang-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.lang-btn[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    z-index: 1000;
    margin-top: 8px;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 8px 8px;
}

.flag {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .language-selector {
        margin-left: 12px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .lang-dropdown {
        min-width: 120px;
    }
    
    .lang-option {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}/* Language 
Direction Support */
html[dir="ltr"] {
    font-family: 'Arial', 'Helvetica', sans-serif;
}

html[dir="ltr"] .nav-container {
    flex-direction: row;
}

html[dir="ltr"] .nav-menu {
    margin-left: auto;
    margin-right: 0;
}

html[dir="ltr"] .language-selector {
    margin-left: 0;
    margin-right: 20px;
}

html[dir="ltr"] .lang-dropdown {
    right: auto;
    left: 0;
}

html[dir="ltr"] .section-content li::before {
    right: auto;
    left: -16px;
}

html[dir="ltr"] .updates-content li::before {
    right: auto;
    left: -16px;
}

html[dir="ltr"] .toc-item:hover {
    transform: translateX(4px) translateY(-2px);
}

html[dir="ltr"] .purpose-item:hover {
    transform: translateX(4px) translateY(-2px);
}

html[dir="ltr"] .right-item:hover {
    transform: translateX(4px) translateY(-2px);
}

html[dir="ltr"] .contact-item:hover {
    transform: translateX(4px) translateY(-2px);
}

html[dir="ltr"] .privacy-link:hover {
    transform: translateX(2px);
}

/* English Font Optimization */
html[dir="ltr"] body {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
}

html[dir="ltr"] .policy-header h1,
html[dir="ltr"] .section-header h2,
html[dir="ltr"] .table-of-contents h2 {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-weight: 700;
}

html[dir="ltr"] .lang-btn,
html[dir="ltr"] .lang-option {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
}

/* Smooth transition for language changes */
.policy-content,
.policy-header,
.table-of-contents {
    transition: all 0.3s ease;
}

/* Loading state for language switching */
.language-switching {
    opacity: 0.7;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.language-switching.loaded {
    opacity: 1;
    pointer-events: auto;
}