/* Cookie Policy Page Styles */

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation Styles */
.nav-blur {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Content Section Styles */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 1rem 1rem 0 0;
}

.content-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Typography Styles */
.section-title {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 3px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 2px;
}

.subsection-title {
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* List Styles */
.cookie-list {
    list-style: none;
    padding-left: 0;
}

.cookie-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #718096;
    line-height: 1.6;
}

.cookie-list li::before {
    content: '🍪';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

/* Cookie Types Grid */
.cookie-types-grid {
    gap: 1rem;
}

.cookie-type-card {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    border: 1px solid rgba(79, 172, 254, 0.2);
    transition: all 0.3s ease;
}

.cookie-type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

/* Cookie Usage Items */
.cookie-usage-item {
    transition: all 0.3s ease;
}

.cookie-usage-item:hover {
    transform: translateX(4px);
}

.cookie-icon {
    transition: all 0.3s ease;
}

.cookie-usage-item:hover .cookie-icon {
    transform: scale(1.1);
}

/* Cookie Table */
.cookie-table {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-table th {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    font-weight: 600;
    color: #2d3748;
}

.cookie-table td {
    vertical-align: middle;
}

.cookie-table tr:hover {
    background: rgba(79, 172, 254, 0.05);
}

/* Impact Grid */
.impact-grid {
    gap: 1rem;
}

.impact-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.impact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Consent Demo */
.consent-demo {
    border: 1px solid rgba(79, 172, 254, 0.2);
    transition: all 0.3s ease;
}

.consent-demo:hover {
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.2);
}

/* Contact Box */
.contact-box {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    border: 1px solid rgba(79, 172, 254, 0.2);
    transition: all 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-section {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .subsection-title {
        font-size: 1.125rem;
    }

    .cookie-table {
        font-size: 0.875rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }

    .impact-grid {
        grid-template-columns: 1fr !important;
    }
}

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

/* Table of Contents Styles */
.table-of-contents {
    position: sticky;
    top: 6rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
}

.table-of-contents h3 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.table-of-contents ul {
    list-style: none;
    padding-left: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #718096;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.table-of-contents a:hover {
    color: #4facfe;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .nav-blur,
    footer {
        display: none;
    }

    .content-section {
        box-shadow: none;
        border: 1px solid #e2e8f0;
        break-inside: avoid;
    }

    .content-section::before {
        background: #333 !important;
    }

    .cookie-table {
        border: 1px solid #e2e8f0;
    }
}

/* Accessibility Features */
.content-section:focus-within {
    outline: 2px solid #4facfe;
    outline-offset: 2px;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    width: 400px;
    z-index: 1000;
}

/* Interactive Checkbox Styles */
input[type="checkbox"] {
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="checkbox"]:hover {
    transform: scale(1.1);
}

input[type="checkbox"]:checked {
    background-color: #4facfe;
    border-color: #4facfe;
}

/* Loading State */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(79, 172, 254, 0.3);
    border-radius: 50%;
    border-top-color: #4facfe;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Enhancements */
@media (max-width: 480px) {
    .content-section {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .subsection-title {
        font-size: 1rem;
    }

    .cookie-list li {
        font-size: 0.875rem;
    }

    .cookie-consent-banner {
        width: 95%;
        bottom: 1rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .content-section {
        border: 2px solid #2d3748;
    }

    .section-title {
        color: #1a202c;
    }

    .cookie-list li::before {
        filter: grayscale(1);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .content-section {
        transition: none;
    }

    .fade-in {
        animation: none;
    }

    .cookie-type-card:hover,
    .impact-card:hover,
    .contact-box:hover {
        transform: none;
    }
}

/* Focus Indicators */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #4facfe;
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3d8bfd 0%, #0ea5e9 100%);
}

/* Interactive Elements */
.content-section {
    cursor: default;
}

.content-section:active {
    transform: scale(0.99);
}

/* Search Box Styles */
.search-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: #2d3748;
}

.search-box input::placeholder {
    color: #a0aec0;
}

/* Progress Indicator */
.progress-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    transform-origin: left;
    z-index: 100;
}