/* ================================================================
   Privacy Policy — privacy.css
   ================================================================ */

/* ── Wrapper ──────────────────────────────────────────────────── */
.privacy-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 0.5rem 1rem 4rem;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.privacy-hero {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 18px;
    padding: 2rem 2rem 1.75rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.privacy-hero::after {
    content: '';
    position: absolute;
    bottom: -40px; left: 30%;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.privacy-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    flex-shrink: 0;
    z-index: 1;
}

.privacy-hero-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0 0 0.2rem;
    letter-spacing: -0.5px;
    z-index: 1;
}

.privacy-hero-sub {
    font-size: 0.875rem;
    opacity: 0.85;
    margin: 0 0 0.2rem;
    z-index: 1;
}

.privacy-hero-date {
    font-size: 0.78rem;
    opacity: 0.65;
    margin: 0;
    z-index: 1;
}

/* ── Summary card ─────────────────────────────────────────────── */
.privacy-summary-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #ede9fe;
    border: 1.5px solid #c4b5fd;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #3730a3;
    line-height: 1.6;
}

.privacy-summary-icon {
    font-size: 1.1rem;
    color: #4f46e5;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Table of contents ────────────────────────────────────────── */
.privacy-toc {
    background: #f9fafb;
    border: 1.5px solid #f3f4f6;
    border-radius: 12px;
    padding: 1rem 1.25rem 1.1rem;
    margin-bottom: 2rem;
}

.privacy-toc-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    margin-bottom: 0.65rem;
}

.privacy-toc-list {
    margin: 0;
    padding-left: 1.25rem;
    columns: 2;
    column-gap: 2rem;
}

.privacy-toc-list li {
    font-size: 0.82rem;
    margin-bottom: 0.3rem;
    break-inside: avoid;
}

.privacy-toc-list a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.privacy-toc-list a:hover {
    color: #3730a3;
    text-decoration: underline;
}

/* ── Sections ─────────────────────────────────────────────────── */
.privacy-sections {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.privacy-section {
    border-bottom: 1.5px solid #f3f4f6;
    padding: 2rem 0;
    scroll-margin-top: 80px;
}

.privacy-section:last-child {
    border-bottom: none;
}

/* Section header */
.privacy-section-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.privacy-section-num {
    font-size: 0.7rem;
    font-weight: 800;
    color: #c4b5fd;
    background: #ede9fe;
    border-radius: 8px;
    padding: 0.25rem 0.55rem;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.privacy-section-header h2 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
    letter-spacing: -0.2px;
}

/* Section body */
.privacy-section-body p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.privacy-section-body a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.privacy-section-body a:hover {
    text-decoration: underline;
}

/* ── Item grid (section 1) ────────────────────────────────────── */
.privacy-item-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 0.75rem;
}

.privacy-item-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #f9fafb;
    border: 1.5px solid #f3f4f6;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    transition: box-shadow 0.15s;
}

.privacy-item-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.privacy-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.privacy-item-icon.indigo { background: #ede9fe; color: #4f46e5; }
.privacy-item-icon.blue   { background: #dbeafe; color: #2563eb; }
.privacy-item-icon.green  { background: #d1fae5; color: #059669; }
.privacy-item-icon.amber  { background: #fef3c7; color: #d97706; }
.privacy-item-icon.purple { background: #f3e8ff; color: #7c3aed; }
.privacy-item-icon.teal   { background: #ccfbf1; color: #0d9488; }

.privacy-item-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.2rem;
}

.privacy-item-desc {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.5;
}

/* ── Bullet list ──────────────────────────────────────────────── */
.privacy-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.privacy-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.55;
}

.privacy-list li i {
    color: #4f46e5;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ── Highlight boxes ──────────────────────────────────────────── */
.privacy-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    line-height: 1.55;
    margin-top: 0.75rem;
}

.privacy-highlight i { font-size: 0.9rem; flex-shrink: 0; margin-top: 2px; }

.privacy-highlight.red {
    background: #fff5f5;
    border: 1.5px solid #fecaca;
    color: #991b1b;
}
.privacy-highlight.red i { color: #dc2626; }

.privacy-highlight.amber {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    color: #92400e;
}
.privacy-highlight.amber i { color: #d97706; }

.privacy-highlight.green {
    background: #f0fdf4;
    border: 1.5px solid #a7f3d0;
    color: #065f46;
}
.privacy-highlight.green i { color: #059669; }

/* ── Third-party list ─────────────────────────────────────────── */
.privacy-third-party-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.privacy-third-party-item {
    background: #f9fafb;
    border: 1.5px solid #f3f4f6;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
}

.privacy-third-party-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.privacy-third-party-name i { color: #4f46e5; }

.privacy-third-party-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.55;
}

/* ── Rights grid ──────────────────────────────────────────────── */
.privacy-rights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.privacy-right-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #f9fafb;
    border: 1.5px solid #f3f4f6;
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.privacy-right-item > i {
    font-size: 1rem;
    color: #4f46e5;
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-right-item strong {
    font-size: 0.82rem;
    color: #111827;
    display: block;
    margin-bottom: 0.2rem;
}

.privacy-right-item p {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.45;
}

/* ── Contact card ─────────────────────────────────────────────── */
.privacy-contact-card {
    background: #f9fafb;
    border: 1.5px solid #f3f4f6;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 0.75rem;
}

.privacy-contact-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
}

.privacy-contact-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.privacy-contact-company {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.privacy-contact-web {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 2px;
    transition: opacity 0.15s;
}

.privacy-contact-web:hover { opacity: 1; color: #fff; }

/* Channel grid */
.privacy-contact-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.privacy-channel-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    border-right: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.privacy-channel-item:hover { background: #f3f4f6; }

.privacy-channel-item:nth-child(even) { border-right: none; }
.privacy-channel-item:nth-last-child(-n+2) { border-bottom: none; }

/* Last item full-width if odd count */
.privacy-channel-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none;
}

.privacy-channel-item > i {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.privacy-channel-item.email    > i { background: #ede9fe; color: #4f46e5; }
.privacy-channel-item.whatsapp > i { background: #d1fae5; color: #059669; }
.privacy-channel-item.telegram > i { background: #dbeafe; color: #2563eb; }
.privacy-channel-item.teams    > i { background: #ede9fe; color: #6d28d9; }
.privacy-channel-item.youtube  > i { background: #fee2e2; color: #dc2626; }

.channel-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.channel-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: #111827;
    margin-top: 1px;
}

/* ── Footer note ──────────────────────────────────────────────── */
.privacy-footer-note {
    margin-top: 2.5rem;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border: 1.5px solid #f3f4f6;
    border-radius: 10px;
    font-size: 0.78rem;
    color: #9ca3af;
    text-align: center;
    line-height: 1.6;
}

.privacy-footer-note i { color: #4f46e5; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 640px) {
    .privacy-hero {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1.25rem;
    }

    .privacy-toc-list  { columns: 1; }
    .privacy-item-grid { grid-template-columns: 1fr; }
    .privacy-rights-grid { grid-template-columns: 1fr; }

    .privacy-contact-channels {
        grid-template-columns: 1fr;
    }

    .privacy-channel-item {
        border-right: none;
    }

    .privacy-channel-item:last-child:nth-child(odd) {
        grid-column: auto;
    }
}
