/* privacy.css */

/* Privacy Policy Page Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    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-primary);
    background: var(--light-bg);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
}

.navbar-brand .logo {
    height: 40px;
    margin-right: 0.5rem;
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: -2px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .btn {
    margin-left: 0.5rem;
}

/* Privacy Section */
.privacy-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: calc(100vh - 200px);
}

.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.privacy-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.privacy-header .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.privacy-badge {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
}

.privacy-badge i {
    margin-right: 0.5rem;
}

/* Privacy Content */
.privacy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.content-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

/* Policy Sections */
.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.policy-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.policy-section h2 i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.policy-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Contact Info */
.contact-info {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
    width: 20px;
}

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

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

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Legal Basis */
.legal-basis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.basis-item {
    display: flex;
    align-items: flex-start;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.basis-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--success-color), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.basis-icon i {
    font-size: 1.25rem;
    color: white;
}

.basis-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.basis-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Usage List */
.usage-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.usage-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--success-color);
}

.usage-list li i {
    color: var(--success-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
    font-size: 1rem;
}

.usage-list li:last-child {
    margin-bottom: 0;
}

/* Sharing Cards */
.sharing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.sharing-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.sharing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.sharing-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--warning-color), #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.sharing-icon i {
    font-size: 1.5rem;
    color: white;
}

.sharing-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.sharing-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Cookie Types */
.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cookie-type {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.cookie-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.cookie-icon.essential {
    background: linear-gradient(135deg, var(--success-color), #059669);
}

.cookie-icon.analytics {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.cookie-icon.marketing {
    background: linear-gradient(135deg, var(--warning-color), #f97316);
}

.cookie-icon i {
    font-size: 1.5rem;
    color: white;
}

.cookie-type h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.cookie-type p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-note {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    color: #92400e;
}

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

.cookie-note a:hover {
    text-decoration: underline;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.right-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.right-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.right-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.right-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.rights-note {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    color: var(--text-secondary);
}

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

.rights-note a:hover {
    text-decoration: underline;
}

/* Complaint Info */
.complaint-info {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.complaint-info h4 {
    color: #991b1b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.complaint-info p {
    color: #7f1d1d;
    margin-bottom: 1rem;
}

.authority-info {
    background: white;
    border-radius: 8px;
    padding: 1rem;
}

.authority-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.authority-item:last-child {
    margin-bottom: 0;
}

.authority-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    width: 20px;
}

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

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

/* Retention Info */
.retention-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.retention-item {
    display: flex;
    align-items: flex-start;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.retention-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.retention-icon i {
    font-size: 1.25rem;
    color: white;
}

.retention-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.retention-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-brand .logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

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

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

/* Responsive Design - Apply 7% Cushion System */
@media (max-width: 768px) {
    /* Apply 7% cushion to prevent content from going off-screen */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    /* Apply 7% horizontal padding to main content containers */
    .container {
        padding-left: 7% !important;
        padding-right: 7% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure navbar stays full width (no cushion) */
    .navbar .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .privacy-section {
        padding: 2rem 0 !important;
    }
    
    .content-card {
        padding: 2rem !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .privacy-header h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .info-grid,
    .legal-basis,
    .sharing-cards,
    .cookie-types,
    .rights-grid,
    .retention-info {
        grid-template-columns: 1fr !important;
    }
    
    .basis-item,
    .retention-item {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .basis-icon,
    .retention-icon {
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
    }
    
    /* Footer adjustments */
    .footer .container {
        padding-left: 7% !important;
        padding-right: 7% !important;
    }
}

@media (max-width: 576px) {
    /* Maintain 7% cushion on very small screens */
    .container {
        padding-left: 7% !important;
        padding-right: 7% !important;
    }
    
    .content-card {
        padding: 1.5rem !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .privacy-header h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .policy-section h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .footer .container {
        padding-left: 7% !important;
        padding-right: 7% !important;
    }
    
    .contact-item,
    .authority-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i,
    .authority-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    animation: fadeInUp 0.6s ease forwards;
}

.info-card,
.sharing-card,
.cookie-type,
.right-item {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
}
