/* Privacy Policy Page Specific Styles */

/* Privacy Hero Section */
.privacy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="privacyPattern" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15 5 L25 15 L15 25 L5 15 Z" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23privacyPattern)"/></svg>') repeat;
    opacity: 0.3;
}

.privacy-hero .container {
    position: relative;
    z-index: 2;
}

.privacy-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.privacy-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

.last-updated {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.4s forwards;
}

/* Privacy Content */
.privacy-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

/* Table of Contents */
.privacy-toc {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.privacy-toc h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    display: block;
    border-radius: 5px;
    padding-left: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.toc-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    transition: height 0.3s ease;
}

.toc-list a:hover,
.toc-list a.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding-left: 1.5rem;
}

.toc-list a:hover::before,
.toc-list a.active::before {
    height: 100%;
}

/* Privacy Main Content */
.privacy-main {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.privacy-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 15px 15px 0 0;
}

.privacy-section {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.privacy-section.animated {
    opacity: 1;
    transform: translateY(0);
}

.privacy-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.5rem;
}

.privacy-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.privacy-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #2c3e50;
}

.privacy-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #495057;
}

.privacy-section p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.privacy-section ul,
.privacy-section ol {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.highlight-box::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1.5rem;
    left: -12px;
    background: #667eea;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.highlight-box h4 {
    color: #667eea;
    margin-top: 0;
}

.highlight-box p {
    margin-bottom: 0;
    color: #495057;
}

/* Contact Info Box */
.contact-info-box {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    border-color: #667eea;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.1);
    transform: translateY(-5px);
}

.contact-info-box h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-info-box p {
    margin-bottom: 1rem;
}

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

.contact-info-box a:hover {
    color: #764ba2;
}

/* Data Types Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.data-table th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.data-table td {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Rights List */
.rights-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.right-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.right-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.right-item:hover::before {
    transform: scaleY(1);
}

.right-item:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.right-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.right-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-hero h1 {
        font-size: 2.5rem;
    }
    
    .privacy-hero p {
        font-size: 1.1rem;
    }
    
    .privacy-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .privacy-toc {
        position: static;
        order: 2;
    }
    
    .privacy-main {
        padding: 2rem;
        order: 1;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .rights-list {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 0.8rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .privacy-hero {
        padding: 100px 0 60px;
    }
    
    .privacy-hero h1 {
        font-size: 2rem;
    }
    
    .privacy-content {
        padding: 60px 0;
    }
    
    .privacy-main {
        padding: 1.5rem;
    }
    
    .privacy-section h2 {
        font-size: 1.3rem;
    }
    
    .highlight-box,
    .contact-info-box {
        padding: 1rem;
    }
}

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Print Styles */
@media print {
    .privacy-hero,
    .privacy-toc {
        display: none;
    }
    
    .privacy-container {
        grid-template-columns: 1fr;
    }
    
    .privacy-main {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .privacy-section {
        page-break-inside: avoid;
    }
    
    .privacy-section h2 {
        page-break-after: avoid;
    }
}