/**
 * =====================================================
 * ABLUS - POLICY PAGES STYLES
 * =====================================================
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f0f0f;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ===== HEADER ===== */
.policy-header {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #764ba2;
}

.policy-header h1 {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.last-updated {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-top: 10px;
}

.gdpr-badge {
    display: inline-block;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* ===== CONTENT ===== */
.policy-content {
    margin-bottom: 60px;
}

.policy-content section {
    margin-bottom: 50px;
}

.policy-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.policy-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 25px 0 15px 0;
}

.policy-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 15px 0 10px 0;
}

.policy-content p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.policy-content ul,
.policy-content ol {
    margin: 15px 0 15px 25px;
}

.policy-content li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.policy-content li strong {
    color: #ffffff;
}

.policy-content a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ===== INFO BOXES ===== */
.info-box,
.contact-box {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.contact-box {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.info-box p,
.contact-box p {
    margin-bottom: 8px;
}

.info-box p:last-child,
.contact-box p:last-child {
    margin-bottom: 0;
}

/* ===== COOKIES TABLE ===== */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
}

.cookies-table thead {
    background: rgba(102, 126, 234, 0.2);
}

.cookies-table th,
.cookies-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookies-table th {
    font-weight: 600;
    color: #ffffff;
}

.cookies-table td {
    color: rgba(255, 255, 255, 0.8);
}

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

/* ===== RIGHTS GRID ===== */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.right-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.right-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.right-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ffffff;
}

.right-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ===== FOOTER ===== */
.policy-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #764ba2;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .policy-container {
        padding: 30px 15px;
    }
    
    .policy-header h1 {
        font-size: 32px;
    }
    
    .policy-content h2 {
        font-size: 24px;
    }
    
    .policy-content h3 {
        font-size: 18px;
    }
    
    .cookies-table {
        font-size: 14px;
    }
    
    .cookies-table th,
    .cookies-table td {
        padding: 10px;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .back-link,
    .footer-links {
        display: none;
    }
    
    .policy-header h1 {
        -webkit-text-fill-color: black;
        color: black;
    }
}
