/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Privacy Content */
.privacy-content {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.content-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

/* Table of Contents */
.toc-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.toc-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.toc-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-link {
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-weight: 500;
}

.toc-link:hover,
.toc-link.active {
    background: var(--bg-accent);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

/* Main Content */
.privacy-main {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.last-updated {
    background: var(--bg-accent);
    padding: 1rem 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.last-updated i {
    color: var(--primary-color);
}

.privacy-section {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.privacy-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--primary-color);
}

.section-content p {
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.section-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.section-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

/* Data Lists */
.data-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.data-list li {
    padding: 1rem;
    background: var(--bg-accent);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

.data-list li strong {
    color: var(--text-primary);
}

/* Info Boxes */
.highlight-box,
.info-box,
.warning-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight-box {
    background: #dbeafe;
    border: 1px solid var(--primary-color);
    color: #1e40af;
}

[data-theme="dark"] .highlight-box {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.info-box {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    color: #0c4a6e;
}

[data-theme="dark"] .info-box {
    background: rgba(14, 165, 233, 0.2);
    color: #7dd3fc;
}

.warning-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
}

[data-theme="dark"] .warning-box {
    background: rgba(245, 158, 11, 0.2);
    color: #fde68a;
}

.highlight-box i,
.info-box i,
.warning-box i {
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.usage-item {
    background: var(--bg-accent);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.usage-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.usage-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.usage-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.usage-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Sharing Scenarios */
.sharing-scenarios {
    margin: 2rem 0;
}

.scenario {
    padding: 1.5rem;
    background: var(--bg-accent);
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.scenario h4 {
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.scenario p {
    margin: 0;
    color: var(--text-secondary);
}

.text-green { 
    color: #10b981; 
}

[data-theme="dark"] .text-green {
    color: #6ee7b7;
}

.text-blue { 
    color: var(--primary-color); 
}

.text-orange { 
    color: #f59e0b; 
}

[data-theme="dark"] .text-orange {
    color: #fbbf24;
}

/* Protection Measures */
.protection-measures {
    margin: 2rem 0;
}

.measure {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-accent);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.measure:hover {
    background: var(--bg-secondary);
    transform: translateX(5px);
}

.measure i {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.measure h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
}

.measure p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Cookies */
.cookies-types {
    margin: 2rem 0;
}

.cookie-type {
    padding: 1.5rem;
    background: var(--bg-accent);
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
    border: 1px solid var(--border-color);
}

.cookie-type h4 {
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.cookie-type h4 i {
    color: var(--primary-color);
}

.cookie-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cookie-status.required {
    background: #fee2e2;
    color: #991b1b;
}

[data-theme="dark"] .cookie-status.required {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.cookie-status.optional {
    background: #d1fae5;
    color: #065f46;
}

[data-theme="dark"] .cookie-status.optional {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.cookie-control {
    background: #f0f9ff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #0ea5e9;
    margin-top: 2rem;
}

[data-theme="dark"] .cookie-control {
    background: rgba(14, 165, 233, 0.2);
    border-color: #0ea5e9;
}

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

.right-item {
    background: var(--bg-accent);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.right-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.right-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
}

.right-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.right-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.rights-contact {
    background: #dbeafe;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    margin-top: 2rem;
}

[data-theme="dark"] .rights-contact {
    background: rgba(59, 130, 246, 0.2);
}

.rights-contact h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

[data-theme="dark"] .rights-contact h4 {
    color: #93c5fd;
}

.rights-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

[data-theme="dark"] .rights-contact a {
    color: #93c5fd;
}

.rights-contact a:hover {
    text-decoration: underline;
}

/* Update Process */
.update-process {
    margin: 2rem 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-accent);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.step-content p {
    margin: 0;
    color: var(--text-secondary);
}

/* Contact Info */
.contact-info {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-accent);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.contact-method i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 25px;
    text-align: center;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

.response-time {
    background: #d1fae5;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #10b981;
    margin-top: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

[data-theme="dark"] .response-time {
    background: rgba(16, 185, 129, 0.2);
}

.response-time i {
    color: #10b981;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

[data-theme="dark"] .response-time i {
    color: #6ee7b7;
}

.response-time p {
    margin: 0;
    color: #065f46;
}

[data-theme="dark"] .response-time p {
    color: #6ee7b7;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .toc-sidebar {
        position: static;
        order: -1;
    }
    
    .toc-card {
        padding: 1.5rem;
    }
    
    .privacy-section {
        padding: 1.5rem;
    }
    
    .usage-grid,
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-status {
        position: static;
        display: inline-block;
        margin-top: 1rem;
    }
}