/* ========================================
   Policy Pages Styles
======================================== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #cbd5e1;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

/* ========================================
   Policy Header
======================================== */
.policy-header {
    background: var(--white);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.policy-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--light-bg);
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   Policy Content
======================================== */
.policy-content {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

.policy-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.policy-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-updated {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-style: italic;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.policy-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-section p {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section ul,
.policy-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.policy-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-list {
    list-style: none;
    margin-left: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.contact-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

/* ========================================
   Cookie Table
======================================== */
.cookie-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
}

.cookie-table thead {
    background: var(--gradient-primary);
    color: var(--white);
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    font-weight: 600;
    font-size: 1rem;
}

.cookie-table td {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

.cookie-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

/* ========================================
   Policy Footer
======================================== */
.policy-footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

.policy-footer .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.policy-footer p {
    margin: 0;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 992px) {
    .policy-wrapper {
        padding: 3rem 2rem;
    }
    
    .policy-title {
        font-size: 2.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .policy-content {
        padding: 2rem 0;
    }
    
    .policy-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .policy-title {
        font-size: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.4rem;
    }
    
    .policy-section h3 {
        font-size: 1.1rem;
    }
    
    .policy-section p,
    .policy-section li {
        font-size: 1rem;
    }
    
    .back-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .policy-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-table {
        font-size: 0.85rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }
}