/* Cookie Policy Styles */

/* Hero Section */
.cookie-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cookie-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 70%);
    pointer-events: none;
}

.cookie-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cookie-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cookie-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cookie-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 15px;
    line-height: 1.6;
}

.last-updated {
    font-size: 0.95rem;
    color: #60a5fa;
    font-style: italic;
    margin-top: 20px;
}

/* Content Section */
.cookie-content {
    background: #000000;
    padding: 80px 0;
    min-height: 100vh;
}

.cookie-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Table of Contents */
.cookie-toc {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 30px;
}

.cookie-toc h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.cookie-toc li {
    margin-bottom: 12px;
}

.cookie-toc a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
}

.cookie-toc a:hover {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

/* Main Content */
.cookie-main {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    padding: 50px;
}

.cookie-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.cookie-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-section h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-section h2::before {
    content: '';
    width: 4px;
    height: 35px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

.cookie-section h3 {
    font-size: 1.4rem;
    color: #e2e8f0;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.cookie-section h4 {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.cookie-section p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.cookie-section ul {
    margin: 20px 0;
    padding-left: 25px;
}

.cookie-section li {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.cookie-section li strong {
    color: #ffffff;
}

.cookie-section a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.cookie-section a:hover {
    color: #93c5fd;
    border-bottom-color: #60a5fa;
}

/* Info Box */
.info-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
}

.info-box h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.info-box p {
    margin-bottom: 0;
}

/* Purpose Grid */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.purpose-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.purpose-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.purpose-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.purpose-card h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 10px 0;
}

.purpose-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Cookie Types */
.cookie-type {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
}

.cookie-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid transparent;
}

.cookie-type-header.essential {
    border-bottom-color: #ef4444;
}

.cookie-type-header.performance {
    border-bottom-color: #3b82f6;
}

.cookie-type-header.functional {
    border-bottom-color: #8b5cf6;
}

.cookie-type-header.marketing {
    border-bottom-color: #f59e0b;
}

.cookie-type-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.3rem;
}

.cookie-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cookie-badge.required {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.cookie-badge.optional {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.cookie-type p {
    margin-bottom: 15px;
}

.cookie-note {
    background: rgba(59, 130, 246, 0.1);
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #93c5fd;
    margin-top: 15px;
}

/* Cookie Table */
.cookie-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(30, 41, 59, 0.3);
}

.cookie-table thead {
    background: rgba(59, 130, 246, 0.1);
}

.cookie-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.cookie-table td {
    padding: 15px 20px;
    color: #cbd5e1;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

.cookie-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

.cookie-table code {
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #60a5fa;
}

.cookie-table .badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.cookie-table .badge.essential {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.cookie-table .badge.performance {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.cookie-table .badge.functional {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
}

.cookie-table .badge.marketing {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

/* Third Party Section */
.third-party-list {
    margin: 30px 0;
}

.third-party-item {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.third-party-item h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.third-party-item p {
    margin-bottom: 10px;
}

.third-party-note {
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid #f59e0b;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fcd34d;
    font-size: 0.95rem;
    margin-top: 25px;
}

/* Manage Options */
.manage-options {
    margin: 30px 0;
}

.manage-option {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
}

.manage-option h3 {
    margin-top: 0;
}

.cookie-settings-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    padding: 15px 35px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.cookie-settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.cookie-settings-btn span {
    font-size: 1.2rem;
}

/* Browser Guides */
.browser-guides {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.browser-guide {
    background: rgba(15, 23, 42, 0.5);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.browser-guide h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.browser-guide p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.browser-guide a {
    color: #60a5fa;
    font-size: 0.9rem;
}

/* Warning Box */
.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
}

.warning-box h3 {
    color: #fca5a5;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.warning-box p {
    color: #fecaca;
    margin-bottom: 0;
}

/* Contact Info Box */
.contact-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info strong {
    color: #ffffff;
    display: inline-block;
    min-width: 100px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cookie-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cookie-toc {
        position: static;
        margin-bottom: 30px;
    }

    .purpose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .browser-guides {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cookie-hero {
        padding: 80px 0 60px;
    }

    .cookie-hero h1 {
        font-size: 2.5rem;
    }

    .cookie-subtitle {
        font-size: 1.1rem;
    }

    .cookie-main {
        padding: 30px 20px;
    }

    .cookie-section h2 {
        font-size: 1.6rem;
    }

    .cookie-section h3 {
        font-size: 1.2rem;
    }

    .purpose-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        padding: 40px 0;
    }

    .cookie-table-wrapper {
        font-size: 0.85rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .cookie-hero h1 {
        font-size: 2rem;
    }

    .cookie-icon {
        font-size: 3rem;
    }

    .cookie-main {
        padding: 20px 15px;
    }

    .cookie-type,
    .third-party-item,
    .manage-option {
        padding: 20px;
    }

    .cookie-settings-btn {
        width: 100%;
        justify-content: center;
    }
}