/* Privacy Policy Page Styles */

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --navbar-height: 80px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation Bar */
.custom-navbar {
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    padding: 1rem 0;
    height: var(--navbar-height);
    z-index: 1050;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Privacy Header */
.privacy-header {
    background: linear-gradient(135deg, 
        rgba(30, 58, 138, 0.95) 0%, 
        rgba(59, 130, 246, 0.9) 50%, 
        rgba(16, 185, 129, 0.85) 100%),
        url('https://images.pexels.com/photos/5668473/pexels-photo-5668473.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    padding: calc(var(--navbar-height) + 4rem) 0 4rem;
    position: relative;
    color: var(--white);
}

.privacy-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 58, 138, 0.8) 0%, 
        rgba(59, 130, 246, 0.6) 50%, 
        rgba(16, 185, 129, 0.4) 100%);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.header-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.last-updated {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

/* Privacy Content */
.privacy-content {
    padding: 6rem 0;
    background: var(--light-bg);
}

/* Table of Contents Sidebar */
.toc-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: calc(var(--navbar-height) + 2rem);
    height: fit-content;
}

.toc-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-list a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.toc-list a:hover {
    color: var(--primary-color);
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

/* Main Privacy Content */
.privacy-main {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.policy-section {
    padding: 3rem;
    border-bottom: 1px solid #f3f4f6;
}

.policy-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.section-header i {
    font-size: 2rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.section-content {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.section-content p {
    margin-bottom: 1.5rem;
}

.section-content strong {
    color: var(--text-dark);
}

/* Subsections */
.subsection {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.subsection h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subsection h4 i {
    font-size: 1.3rem;
}

/* Lists */
.info-list,
.usage-list,
.cookie-purposes,
.retention-list,
.rights-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.info-list li,
.usage-list li,
.cookie-purposes li,
.retention-list li,
.rights-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-list li:last-child,
.usage-list li:last-child,
.cookie-purposes li:last-child,
.retention-list li:last-child,
.rights-list li:last-child {
    border-bottom: none;
}

.info-list i,
.usage-list i,
.cookie-purposes i,
.retention-list i,
.rights-list i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Collection Methods */
.collection-methods {
    margin-top: 2rem;
}

.collection-methods h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.method-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.method-tag {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Important Note */
.important-note {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 2px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.important-note i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.important-note strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Ad Types */
.ad-types {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.ad-type {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--secondary-color);
}

.ad-type i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.ad-type span {
    color: var(--text-dark);
    font-weight: 500;
}

/* Opt-out Section */
.opt-out-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.opt-out-section h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.opt-out-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.opt-out-link {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.opt-out-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

/* Cookie Notice */
.cookie-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid var(--secondary-color);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cookie-notice i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 2px;
}

.cookie-notice p {
    margin: 0;
    color: var(--text-dark);
}

/* Legal Bases */
.legal-bases {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.legal-basis {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-left: 4px solid var(--primary-color);
}

.legal-basis i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.legal-basis strong {
    color: var(--text-dark);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.legal-basis p {
    margin: 0;
    color: var(--text-light);
}

/* GDPR Rights */
.gdpr-rights {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.gdpr-rights h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-gdpr {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    text-align: center;
}

.contact-gdpr a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

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

/* Security Measures */
.security-measures {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.security-item {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.security-item i {
    font-size: 2rem;
}

.security-item span {
    font-weight: 600;
}

.security-note {
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid var(--secondary-color);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
}

.contact-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

/* Footer */
.footer-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand i {
    color: var(--secondary-color);
}

.footer-brand p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.footer-links h5 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact h5 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-contact .contact-item {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.footer-contact .contact-item i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .header-title {
        font-size: 2.5rem;
    }
    
    .toc-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .policy-section {
        padding: 2rem;
    }
    
    .security-measures {
        flex-direction: column;
    }
    
    .opt-out-links {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-title {
        font-size: 2rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .privacy-content {
        padding: 4rem 0;
    }
    
    .policy-section {
        padding: 1.5rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .subsection {
        padding: 1.5rem;
    }
    
    .legal-bases {
        gap: 1rem;
    }
    
    .legal-basis {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .ad-types {
        gap: 0.75rem;
    }
    
    .ad-type {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .header-title {
        font-size: 1.75rem;
    }
    
    .privacy-header {
        padding: calc(var(--navbar-height) + 2rem) 0 2rem;
    }
    
    .privacy-content {
        padding: 3rem 0;
    }
    
    .policy-section {
        padding: 1rem;
    }
    
    .section-header i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .method-tags {
        flex-direction: column;
    }
    
    .method-tag {
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .custom-navbar {
        padding: 0.5rem 0;
        height: 70px;
    }
    
    :root {
        --navbar-height: 70px;
    }
}