/* ============================================================
   Privacy Policy Page Styles
   ============================================================ */

.privacy-page {
    padding-top: calc(var(--nav-h) + 64px);
    padding-bottom: 96px;
    min-height: 100vh;
}

.privacy-header {
    max-width: 720px;
    margin: 0 auto 56px;
}

.privacy-header h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 12px;
}

.privacy-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.privacy-body {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.privacy-intro {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--r);
    padding: 24px 28px;
    font-size: 0.975rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Sections */
.privacy-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.privacy-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.section-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    background: var(--accent-glow);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 8px;
    flex-shrink: 0;
}

.privacy-section h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 6px;
}

.privacy-section p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.privacy-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 4px;
}

.privacy-section ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.privacy-section ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.privacy-section a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(0, 212, 200, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--ease);
}

.privacy-section a:hover {
    text-decoration-color: var(--accent);
}

/* Cookie table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
}

.cookie-table th {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cookie-table td {
    padding: 12px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0,212,200,0.06);
    vertical-align: top;
    line-height: 1.5;
}

.cookie-table tr:last-child td { border-bottom: none; }

.cookie-table code {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    background: var(--bg-secondary);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Third-party list */
.third-party-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.third-party-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 16px 18px;
}

.third-party-item strong {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
}

.third-party-item span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact block */
.contact-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px 24px;
}

.contact-block strong {
    font-size: 0.975rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-block a {
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(0,212,200,0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--ease);
}

.contact-block a:hover { text-decoration-color: var(--accent); }

/* ============================================================
   Cookie Consent Banner (shared, also used on index.html)
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10, 16, 30, 0.97);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

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

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(0,212,200,0.4);
    text-underline-offset: 2px;
}

.cookie-text a:hover { text-decoration-color: var(--accent); }

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
    .cookie-actions { width: 100%; }
    .cookie-actions .btn { flex: 1; justify-content: center; }
    .cookie-table { font-size: 0.8rem; }
    .cookie-table th, .cookie-table td { padding: 10px 12px; }
}
