/* Privacy Policy Page - Modern & Chic Design */
/* Color Scheme: Primary #f67280, Secondary #c06c84, Accent #6c5b7b, Dark #355c7d */

/* Hero Section */
.privacy-hero {
    background: linear-gradient(135deg, #f67280 0%, #c06c84 50%, #6c5b7b 100%);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.privacy-hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
}

.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.privacy-badge i {
    font-size: 1.1rem;
}

.privacy-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.privacy-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.privacy-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Privacy Wrapper */
.privacy-wrapper {
    padding: 40px 0 80px;
    background: #f8f9fa;
}

/* Sidebar Navigation */
.privacy-nav {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.privacy-nav h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #355c7d;
    font-size: 1.1rem;
}

.privacy-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.privacy-nav .nav-link i {
    width: 20px;
    text-align: center;
    color: #c06c84;
    transition: color 0.3s ease;
}

.privacy-nav .nav-link:hover {
    background: #fff5f6;
    color: #f67280;
}

.privacy-nav .nav-link:hover i {
    color: #f67280;
}

.privacy-nav .nav-link.active {
    background: linear-gradient(135deg, #355c7d 0%, #2c4a5e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(53, 92, 125, 0.3);
    font-weight: 600;
}

.privacy-nav .nav-link.active i {
    color: #f67280;
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f67280 0%, #c06c84 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(246, 114, 128, 0.4);
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: auto;
}

.back-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(246, 114, 128, 0.5);
}

[dir="rtl"] .back-to-top-btn {
    right: auto;
    left: 30px;
}

/* Privacy Content */
.privacy-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.privacy-section {
    scroll-margin-top: 100px;
}

.privacy-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.privacy-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-bottom: 1px solid #f0f0f0;
}

.privacy-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f67280 0%, #c06c84 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(246, 114, 128, 0.3);
}

.privacy-card-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #355c7d;
    margin: 0;
}

.privacy-card-body {
    padding: 28px;
}

.privacy-card-body p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Highlight Boxes */
.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 12px;
    margin: 20px 0;
}

.highlight-box.info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
}

.highlight-box.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
}

.highlight-box i {
    font-size: 1.5rem;
    color: #f67280;
    flex-shrink: 0;
}

.highlight-box p {
    margin: 0;
    color: #495057;
    font-weight: 500;
}

/* Data Types Grid */
.data-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.data-type-item {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.data-type-item:hover {
    background: #fff5f6;
    transform: translateY(-4px);
}

.data-type-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6c5b7b 0%, #355c7d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.data-type-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #355c7d;
    margin-bottom: 12px;
}

.data-type-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.data-type-item li {
    padding: 6px 0;
    color: #6c757d;
    position: relative;
    padding-left: 20px;
}

.data-type-item li::before {
    content: '•';
    color: #f67280;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Usage List */
.usage-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.usage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.usage-item:hover {
    background: #fff5f6;
}

.usage-number {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f67280 0%, #c06c84 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.usage-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #355c7d;
    margin-bottom: 6px;
}

.usage-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Sharing List */
.sharing-list {
    margin-top: 20px;
}

.sharing-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sharing-item:last-child {
    border-bottom: none;
}

.sharing-item i {
    color: #28a745;
    font-size: 1.2rem;
}

.sharing-item span {
    color: #495057;
    font-weight: 500;
}

/* Security Features */
.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.security-item {
    text-align: center;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.security-item:hover {
    background: linear-gradient(135deg, #f67280 0%, #c06c84 100%);
    color: white;
}

.security-item:hover h4,
.security-item:hover p {
    color: white;
}

.security-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #355c7d 0%, #6c5b7b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.security-item:hover .security-icon {
    background: rgba(255, 255, 255, 0.2);
}

.security-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #355c7d;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.security-item p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    transition: color 0.3s ease;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.right-item {
    text-align: center;
    padding: 28px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.right-item:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(246, 114, 128, 0.15);
    transform: translateY(-4px);
}

.right-item i {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f67280 0%, #c06c84 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.right-item:hover i {
    transform: scale(1.1);
}

.right-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #355c7d;
    margin-bottom: 8px;
}

.right-item p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* Cookie Types */
.cookie-types {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.cookie-item {
    padding: 20px 24px;
    background: #f8f9fa;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.cookie-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #f67280 0%, #c06c84 100%);
}

.cookie-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.cookie-badge.essential {
    background: #dc3545;
    color: white;
}

.cookie-badge.functional {
    background: #ffc107;
    color: #333;
}

.cookie-badge.analytics {
    background: #17a2b8;
    color: white;
}

.cookie-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #355c7d;
    margin-bottom: 8px;
}

.cookie-item p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Contact Options */
.contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.contact-option {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #f67280 0%, #c06c84 100%);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(246, 114, 128, 0.3);
}

.contact-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 114, 128, 0.4);
    color: white;
}

.contact-option i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .privacy-title {
        font-size: 2.2rem;
    }
    
    .privacy-nav {
        position: relative;
        top: 0;
        margin-bottom: 24px;
    }
    
    .privacy-nav .nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .privacy-nav .nav-link {
        margin-bottom: 0;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 60px 0 0;
    }
    
    .privacy-title {
        font-size: 1.8rem;
    }
    
    .privacy-subtitle {
        font-size: 1rem;
    }
    
    .privacy-meta {
        flex-direction: column;
        align-items: center;
    }
    
    .privacy-card-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .privacy-card-header h2 {
        font-size: 1.2rem;
    }
    
    .privacy-card-body {
        padding: 20px;
    }
    
    .data-types-grid,
    .security-features,
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .usage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-options {
        flex-direction: column;
    }
    
    .contact-option {
        justify-content: center;
    }
}

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

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

.privacy-card {
    animation: fadeInUp 0.6s ease forwards;
}

.privacy-section:nth-child(1) .privacy-card { animation-delay: 0.1s; }
.privacy-section:nth-child(2) .privacy-card { animation-delay: 0.2s; }
.privacy-section:nth-child(3) .privacy-card { animation-delay: 0.3s; }
.privacy-section:nth-child(4) .privacy-card { animation-delay: 0.4s; }
.privacy-section:nth-child(5) .privacy-card { animation-delay: 0.5s; }
.privacy-section:nth-child(6) .privacy-card { animation-delay: 0.6s; }
.privacy-section:nth-child(7) .privacy-card { animation-delay: 0.7s; }
.privacy-section:nth-child(8) .privacy-card { animation-delay: 0.8s; }
