/* ============================================
   PRIVACY POLICY PAGE - COMPLETE STYLING
   Matches db-portfolio design system:
   white / #1e40af (royal blue) / #f97316 (orange) / #f9fafb (bg)
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #f9fafb;
    overflow-x: hidden;
}
/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 50%, #f97316 100%);
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* ============================================
   HERO
   ============================================ */
.privacy-hero {
    background: linear-gradient(180deg, #ffffff 0%, #fef3f2 30%, #fff7ed 60%, #fef3f2 100%);
    padding: 6rem 5% 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 70%);
    top: -200px; right: -150px;
    animation: privacy-float 25s ease-in-out infinite;
}

.privacy-hero::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
    bottom: -150px; left: -100px;
    animation: privacy-float 20s ease-in-out infinite reverse;
}

@keyframes privacy-float {
    0%, 100% { transform: translate(0,0) scale(1); }
    33%       { transform: translate(40px,-40px) scale(1.08); }
    66%       { transform: translate(-30px,30px) scale(0.95); }
}

.privacy-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.privacy-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #bfdbfe;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    color: #1e40af;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(59,130,246,0.12);
    animation: badge-bounce 3s ease-in-out infinite;
}

@keyframes badge-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.privacy-hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.privacy-gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    line-height: 1.85;
}

.privacy-hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.privacy-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: white;
    border: 2px solid #e5e7eb;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.privacy-meta-pill strong {
    color: #1e40af;
}

/* ============================================
   BODY / CONTENT AREA
   ============================================ */
.privacy-body {
    background: #f9fafb;
    padding: 5rem 5%;
}

.privacy-body-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Quick Summary Card ── */
.privacy-summary-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #bfdbfe;
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 32px rgba(59,130,246,0.1);
}

.privacy-summary-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.privacy-summary-lead {
    color: #3b82f6;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.privacy-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.privacy-summary-item {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid #bfdbfe;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-summary-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(59,130,246,0.15);
}

.privacy-summary-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.privacy-summary-item-title {
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.privacy-summary-item-text {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── Table of Contents Card ── */
.privacy-toc-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.privacy-toc-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #f1f5f9;
}

.privacy-toc-list {
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
}

.privacy-toc-list li {
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.privacy-toc-list li:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #3b82f6;
    transform: translateX(4px);
}

.privacy-toc-link {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.2rem;
    transition: color 0.3s ease;
}

.privacy-toc-list li:hover .privacy-toc-link {
    color: #1e40af;
}

.toc-arrow {
    color: #3b82f6;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Section Cards ── */
.privacy-section-card {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    scroll-margin-top: 100px;
    transition: box-shadow 0.3s ease;
}

.privacy-section-card:hover {
    box-shadow: 0 8px 40px rgba(59,130,246,0.08);
}

.privacy-section-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #e5e7eb;
    position: relative;
}

.privacy-section-title::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 80px; height: 3px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 3px;
}

.privacy-section-number {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(30,64,175,0.3);
}

/* ── Section Content Typography ── */
.privacy-section-content {
    color: #475569;
    line-height: 1.85;
    font-size: 1.05rem;
}

.privacy-section-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2.5rem 0 1rem;
    padding-left: 1.25rem;
    position: relative;
}

.privacy-section-content h3::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 22px;
    background: linear-gradient(180deg, #1e40af, #3b82f6);
    border-radius: 3px;
}

.privacy-section-content p {
    margin-bottom: 1.25rem;
}

.privacy-section-content ul,
.privacy-section-content ol {
    margin: 1.25rem 0;
    padding-left: 1.75rem;
}

.privacy-section-content li {
    margin-bottom: 0.85rem;
    line-height: 1.8;
}

.privacy-section-content li::marker {
    color: #3b82f6;
}

.privacy-section-content strong {
    color: #1e293b;
    font-weight: 700;
}

.privacy-section-content a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-section-content a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.privacy-section-content em {
    color: #6b7280;
}

/* ── Data Tables ── */
.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    font-size: 0.95rem;
}

.privacy-table th {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 1.1rem 1.25rem;
    text-align: left;
    font-weight: 700;
}

.privacy-table td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    vertical-align: top;
}

.privacy-table tr:last-child td {
    border-bottom: none;
}

.privacy-table tr:hover td {
    background: #f8fafc;
}

/* ── Highlight / Info Boxes ── */
.privacy-highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 5px solid #3b82f6;
    padding: 1.75rem 2rem;
    border-radius: 0 16px 16px 0;
    margin: 2.5rem 0;
    box-shadow: 0 4px 16px rgba(59,130,246,0.1);
}

.privacy-highlight-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.privacy-highlight-content {
    color: #1e40af;
    line-height: 1.8;
    font-size: 0.98rem;
}

.privacy-highlight-content p:last-child {
    margin-bottom: 0;
}

/* ── GDPR Special Card ── */
.privacy-gdpr-card {
    background: white;
    border: 3px solid #8b5cf6;
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(139,92,246,0.15);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.privacy-gdpr-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #7c3aed 0%, #a78bfa 100%);
}

.privacy-gdpr-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #5b21b6;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #ede9fe;
}

.privacy-gdpr-content {
    color: #4c1d95;
    line-height: 1.85;
    font-size: 1.05rem;
}

.privacy-gdpr-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #5b21b6;
    margin: 2rem 0 0.75rem;
    padding-left: 1.25rem;
    position: relative;
}

.privacy-gdpr-content h3::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 20px;
    background: linear-gradient(180deg, #7c3aed, #a78bfa);
    border-radius: 3px;
}

.privacy-gdpr-content p { margin-bottom: 1rem; }

.privacy-gdpr-content ul {
    padding-left: 1.75rem;
    margin: 1rem 0;
}

.privacy-gdpr-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.privacy-gdpr-content li::marker { color: #8b5cf6; }
.privacy-gdpr-content strong { color: #5b21b6; }

/* ── Your Rights Grid ── */
.privacy-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0 2.5rem;
}

.privacy-rights-item {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.75rem;
    border-radius: 18px;
    border: 2px solid #bae6fd;
    transition: all 0.3s ease;
}

.privacy-rights-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(30,64,175,0.15);
    border-color: #3b82f6;
}

.privacy-rights-icon {
    font-size: 2.2rem;
    margin-bottom: 0.9rem;
}

.privacy-rights-title {
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
}

.privacy-rights-text {
    color: #334155;
    line-height: 1.7;
    font-size: 0.92rem;
}

/* ── Contact CTA ── */
.privacy-cta {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(30,64,175,0.3);
}

.privacy-cta::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: cta-drift 30s linear infinite;
    pointer-events: none;
}

@keyframes cta-drift {
    0%   { transform: translate(0,0); }
    100% { transform: translate(40px,40px); }
}

.privacy-cta-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.privacy-cta-title .privacy-gradient-text {
    background: linear-gradient(135deg, #fde68a 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-cta-text {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.privacy-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: #1e40af;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 28px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.privacy-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .privacy-body-inner { max-width: 100%; }
}

@media (max-width: 768px) {
    .privacy-hero { padding: 4rem 5% 3rem; }

    .privacy-hero-title { font-size: 2.6rem; }
    .privacy-hero-subtitle { font-size: 1.1rem; }

    .privacy-hero-meta {
        flex-direction: column;
        align-items: center;
    }

    .privacy-summary-card,
    .privacy-toc-card,
    .privacy-section-card,
    .privacy-gdpr-card {
        padding: 2rem 1.5rem;
        border-radius: 18px;
    }

    .privacy-section-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .privacy-section-title::after { display: none; }

    .privacy-section-number { width: 48px; height: 48px; font-size: 1.2rem; }

    .privacy-toc-list,
    .privacy-summary-grid,
    .privacy-rights-grid {
        grid-template-columns: 1fr;
    }

    .privacy-table { font-size: 0.85rem; }
    .privacy-table th,
    .privacy-table td { padding: 0.8rem; }

    .privacy-cta { padding: 3rem 2rem; }
    .privacy-cta-title { font-size: 1.8rem; }

    .privacy-gdpr-title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .privacy-hero-title { font-size: 2rem; }

    .privacy-summary-card,
    .privacy-toc-card,
    .privacy-section-card,
    .privacy-gdpr-card {
        padding: 1.5rem 1.2rem;
    }

    .privacy-cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
/* ── COMPREHENSIVE MOBILE RESPONSIVE ADDITIONS ── */
@media (max-width: 480px) {
    .privacy-hero-title { font-size: 1.7rem; line-height: 1.3; }
    .privacy-hero { padding: 3rem 0 2rem; min-height: auto; }
    .privacy-summary-card,
    .privacy-toc-card,
    .privacy-section-card,
    .privacy-gdpr-card { padding: 1.2rem 1rem; border-radius: 16px; }
    .privacy-section-title { font-size: 1.2rem; }
    .privacy-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .privacy-cta  { padding: 2.5rem 1.2rem; border-radius: 20px; }
    .privacy-cta-title { font-size: 1.4rem; }
    .privacy-cta-btn   { padding: 1rem 2rem; font-size: 1rem; }
}

@media (max-width: 360px) {
    .privacy-hero-title { font-size: 1.4rem; }
}
