/* Legal Pages Specific Styles */
.legal-hero {
    height: 50vh;
    min-height: 350px;
}

.legal-content {
    padding: 80px 0;
    background: #f8fafc;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.legal-text {
    padding: 60px;
}

.last-updated {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.last-updated i {
    font-size: 1rem;
}

.section-block {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.section-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.section-block h2 {
    color: #1a365d;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #22c55e;
    display: inline-block;
}

.section-block h3 {
    color: #2d3748;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.section-block h4 {
    color: #4a5568;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.section-block p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.section-block ul {
    margin: 15px 0;
    padding-left: 0;
}

.section-block li {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.section-block li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.section-block li strong {
    color: #2d3748;
    font-weight: 600;
}

/* Privacy Page Specific Styles */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.right-item {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #22c55e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.right-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.right-item h4 {
    color: #1a365d;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.right-item i {
    color: #22c55e;
    font-size: 1.2rem;
}

.right-item p {
    margin: 0;
    font-size: 0.95rem;
}

.contact-info {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    border-left: 4px solid #22c55e;
}

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

.contact-info strong {
    color: #1a365d;
}

.contact-info a {
    color: #22c55e;
    text-decoration: none;
    font-weight: 500;
}

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

/* Cookie Page Specific Styles */
.cookie-category {
    background: #f8fafc;
    border-radius: 15px;
    padding: 30px;
    margin: 25px 0;
    border: 1px solid #e2e8f0;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-header h3 {
    color: #1a365d;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-header i {
    color: #22c55e;
    font-size: 1.2rem;
}

.cookie-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

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

.cookie-status.optional {
    background: #dbeafe;
    color: #2563eb;
}

.cookie-examples {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.cookie-examples h4 {
    color: #2d3748;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.third-party-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.service-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-item h4 {
    color: #1a365d;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-item p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.service-item a {
    color: #22c55e;
    text-decoration: none;
    font-weight: 500;
}

.service-item a:hover {
    text-decoration: underline;
}

.duration-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.duration-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.duration-item h4 {
    color: #1a365d;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.duration-item i {
    color: #22c55e;
}

.retention-periods {
    background: #f0fdf4;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    border-left: 4px solid #22c55e;
}

.retention-periods h4 {
    color: #15803d;
    margin-bottom: 15px;
}

.retention-periods ul {
    margin: 0;
}

.retention-periods li {
    color: #166534;
}

.retention-periods li::before {
    color: #15803d;
}

.cookie-controls {
    margin: 30px 0;
}

.control-method {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    border: 1px solid #e2e8f0;
}

.control-method h4 {
    color: #1a365d;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-method i {
    color: #22c55e;
    font-size: 1.3rem;
}

.browser-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.browser-links a {
    background: #f8fafc;
    color: #22c55e;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.browser-links a:hover {
    background: #22c55e;
    color: white;
    transform: translateY(-2px);
}

.warning-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.warning-box i {
    color: #d97706;
    font-size: 1.5rem;
    margin-top: 2px;
}

.warning-box p {
    margin: 0;
    color: #92400e;
}

.cookie-settings-cta {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}

.cookie-settings-cta .cta-content h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cookie-settings-cta .cta-content i {
    font-size: 1.8rem;
}

.cookie-settings-cta .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.cookie-settings-cta .btn {
    background: white;
    color: #22c55e;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cookie-settings-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Contact CTA Small */
.contact-cta-small {
    background: linear-gradient(135deg, #1a365d, #2d3748);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}

.contact-cta-small .cta-content h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-cta-small .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.contact-cta-small .btn {
    background: #22c55e;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-cta-small .btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-text {
        padding: 40px 30px;
    }
    
    .rights-grid,
    .third-party-services,
    .duration-types {
        grid-template-columns: 1fr;
    }
    
    .cookie-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .browser-links {
        justify-content: center;
    }
    
    .warning-box {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-settings-cta .cta-content h3 {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .legal-text {
        padding: 30px 20px;
    }
    
    .section-block h2 {
        font-size: 1.5rem;
    }
    
    .browser-links {
        flex-direction: column;
    }
    
    .browser-links a {
        text-align: center;
    }
}