/* =============================================
   URBot Privacy Trust Center — Styles
   Dark theme, green trust accent (#10b981)
   Mobile-first, responsive, print-friendly
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --trust: #10b981;
    --trust-dim: #059669;
    --trust-glow: rgba(16, 185, 129, 0.25);
    --trust-bg: rgba(16, 185, 129, 0.08);
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1623;
    --bg-card: #141b2d;
    --bg-card-hover: #1a2340;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e293b;
    --border-light: #334155;
    --danger: #ef4444;
    --danger-dim: rgba(239, 68, 68, 0.15);
    --warn: #f59e0b;
    --warn-dim: rgba(245, 158, 11, 0.15);
    --good: #10b981;
    --good-dim: rgba(16, 185, 129, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--trust); text-decoration: none; transition: color var(--transition); }
a:hover { color: #34d399; }

/* ---------- Navigation ---------- */
.privacy-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.privacy-nav-brand {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-lock-icon {
    display: inline-block;
    width: 18px;
    height: 22px;
    position: relative;
}

.nav-lock-icon::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1px;
    width: 16px;
    height: 13px;
    background: var(--trust);
    border-radius: 3px;
}

.nav-lock-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 3px;
    width: 12px;
    height: 12px;
    border: 2.5px solid var(--trust);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
}

.privacy-nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.privacy-nav-links a { color: var(--text-secondary); }
.privacy-nav-links a:hover { color: var(--trust); }

.privacy-nav-back {
    font-size: 0.875rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}
.privacy-nav-back:hover { border-color: var(--trust); color: var(--trust); }

/* ---------- Hero ---------- */
.hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, var(--trust-glow) 0%, transparent 60%);
    opacity: 0.3;
    pointer-events: none;
}

.hero-lock-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

/* --- Animated Lock Icon (CSS only) --- */
.animated-lock {
    position: relative;
    width: 80px;
    height: 100px;
}

.lock-body {
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 60px;
    height: 45px;
    background: var(--trust);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-shackle {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 28px;
    border: 5px solid var(--trust);
    border-bottom: none;
    border-radius: 17px 17px 0 0;
    animation: lock-breathe 3s ease-in-out infinite;
}

.lock-keyhole {
    width: 12px;
    height: 12px;
    background: var(--bg-primary);
    border-radius: 50%;
    position: relative;
}

.lock-keyhole::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 10px;
    background: var(--bg-primary);
    border-radius: 0 0 3px 3px;
}

.lock-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid var(--trust);
    border-radius: 50%;
    opacity: 0;
    animation: lock-pulse 3s ease-out infinite;
}

.lock-pulse-ring-delay {
    animation-delay: 1.5s;
}

@keyframes lock-breathe {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-3px); }
}

@keyframes lock-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-accent { color: var(--trust); }

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 3rem;
}

/* --- Counters --- */
.hero-counters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.counter-item { text-align: center; }

.counter-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--trust);
    font-variant-numeric: tabular-nums;
}

.counter-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- Sections ---------- */
.section {
    padding: 5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-alt {
    background: var(--bg-secondary);
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-alt > * {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subsection-title {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin: 3rem 0 1.5rem;
}

/* ---------- Zero-Knowledge Diagram ---------- */
.zk-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 2rem 0;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.zk-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    min-width: 120px;
}

.zk-step-encrypt {
    background: var(--trust-bg);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius);
}

.zk-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
}

.zk-icon-user { background: #1e293b; }
.zk-icon-user::after { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--text-secondary); position: absolute; top: 8px; }
.zk-icon-user::before { content: ''; width: 30px; height: 16px; border-radius: 15px 15px 0 0; background: var(--text-secondary); position: absolute; bottom: 4px; }

.zk-icon-lock { background: var(--trust); }
.zk-icon-lock::after { content: ''; width: 14px; height: 10px; background: var(--bg-primary); border-radius: 3px; position: absolute; bottom: 12px; }
.zk-icon-lock::before { content: ''; width: 12px; height: 10px; border: 3px solid var(--bg-primary); border-bottom: none; border-radius: 6px 6px 0 0; position: absolute; top: 10px; }

.zk-icon-bot { background: #1e293b; }
.zk-icon-bot::after { content: ''; width: 24px; height: 18px; background: var(--text-secondary); border-radius: 4px; position: absolute; }
.zk-icon-bot::before { content: ''; width: 6px; height: 6px; background: var(--trust); border-radius: 50%; position: absolute; top: 17px; left: 15px; box-shadow: 12px 0 0 var(--trust); }

.zk-icon-check { background: var(--trust); }
.zk-icon-check::after { content: ''; width: 10px; height: 18px; border: 3px solid var(--bg-primary); border-top: none; border-left: none; transform: rotate(45deg); position: absolute; top: 11px; left: 19px; }

.zk-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 120px;
}

.zk-arrow {
    width: 40px;
    height: 2px;
    background: var(--border-light);
    position: relative;
    flex-shrink: 0;
}

.zk-arrow::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--border-light);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.zk-statement {
    text-align: center;
    padding: 2rem;
    background: var(--trust-bg);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius);
    margin: 2rem 0;
}

.zk-statement p:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--trust);
    margin-bottom: 0.5rem;
}

.zk-statement-sub {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ---------- Comparison Table ---------- */
.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1rem;
    padding: 0 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--bg-card);
    position: sticky;
    top: 0;
}

.comparison-table th.col-urbot { color: var(--trust); }
.comparison-table td.col-urbot { background: var(--trust-bg); }

.comparison-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.badge-no, .badge-yes-good {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-no { background: var(--good-dim); color: var(--good); }
.badge-yes-good { background: var(--good-dim); color: var(--good); }
.badge-yes-bad { background: var(--danger-dim); color: var(--danger); display: inline-block; padding: 0.15rem 0.6rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.badge-no-bad { background: var(--danger-dim); color: var(--danger); display: inline-block; padding: 0.15rem 0.6rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.badge-warn { background: var(--warn-dim); color: var(--warn); display: inline-block; padding: 0.15rem 0.6rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }

/* ---------- Data Grid (What We Collect) ---------- */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.data-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: border-color var(--transition), transform var(--transition);
}

.data-item:hover {
    transform: translateY(-2px);
}

.data-yes:hover { border-color: var(--trust); }
.data-no:hover { border-color: var(--trust); }
.data-never:hover { border-color: var(--trust); }

.data-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.data-icon-yes { background: var(--good-dim); }
.data-icon-yes::after { content: ''; width: 8px; height: 14px; border: 3px solid var(--good); border-top: none; border-left: none; transform: rotate(45deg); position: absolute; top: 10px; }

.data-icon-no { background: var(--good-dim); }
.data-icon-no::after { content: ''; width: 20px; height: 20px; position: absolute; background: transparent; }
.data-icon-no::before { content: ''; position: absolute; width: 3px; height: 18px; background: var(--good); border-radius: 2px; }

.data-icon-never { background: var(--good-dim); }
.data-icon-never::after { content: ''; width: 16px; height: 3px; background: var(--good); position: absolute; border-radius: 2px; transform: rotate(45deg); }
.data-icon-never::before { content: ''; width: 16px; height: 3px; background: var(--good); position: absolute; border-radius: 2px; transform: rotate(-45deg); }

.data-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.data-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.data-tag {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.tag-yes { background: var(--good-dim); color: var(--good); }
.tag-no { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.tag-never { background: rgba(16, 185, 129, 0.3); color: #6ee7b7; font-weight: 800; }

/* ---------- Rights Cards ---------- */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.rights-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: default;
}

.rights-card:hover {
    border-color: var(--trust);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.1);
}

.rights-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 1rem;
    position: relative;
}

.rights-icon-export { background: linear-gradient(135deg, #10b981, #059669); }
.rights-icon-export::after { content: ''; position: absolute; top: 12px; left: 14px; width: 16px; height: 3px; background: white; border-radius: 2px; box-shadow: 0 6px 0 white, 0 12px 0 white; }

.rights-icon-delete { background: linear-gradient(135deg, #ef4444, #dc2626); }
.rights-icon-delete::after { content: ''; position: absolute; top: 14px; left: 14px; width: 20px; height: 20px; border: 3px solid white; border-top: none; border-left: none; transform: rotate(45deg) scale(0.6); }

.rights-icon-optout { background: linear-gradient(135deg, #f59e0b, #d97706); }
.rights-icon-optout::after { content: ''; position: absolute; top: 14px; left: 14px; width: 20px; height: 20px; border: 3px solid white; border-radius: 50%; }
.rights-icon-optout::before { content: ''; position: absolute; top: 12px; left: 22px; width: 4px; height: 12px; background: white; border-radius: 2px; z-index: 1; }

.rights-icon-audit { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.rights-icon-audit::after { content: ''; position: absolute; top: 10px; left: 16px; width: 16px; height: 20px; border: 2px solid white; border-radius: 3px; }
.rights-icon-audit::before { content: ''; position: absolute; top: 16px; left: 20px; width: 8px; height: 2px; background: white; border-radius: 1px; box-shadow: 0 4px 0 white, 0 8px 0 white; z-index: 1; }

.rights-icon-change { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.rights-icon-change::after { content: ''; position: absolute; top: 14px; left: 12px; width: 24px; height: 24px; border: 3px solid white; border-top: none; border-right: none; border-radius: 0 0 0 12px; transform: scale(0.7); }
.rights-icon-change::before { content: ''; position: absolute; top: 22px; left: 8px; width: 0; height: 0; border-right: 8px solid white; border-top: 5px solid transparent; border-bottom: 5px solid transparent; transform: scale(0.7); z-index: 1; }

.rights-icon-portable { background: linear-gradient(135deg, #ec4899, #db2777); }
.rights-icon-portable::after { content: ''; position: absolute; top: 10px; left: 12px; width: 24px; height: 18px; border: 3px solid white; border-radius: 4px; }
.rights-icon-portable::before { content: ''; position: absolute; bottom: 8px; left: 20px; width: 8px; height: 8px; border: 2px solid white; border-top: none; border-left: none; transform: rotate(-45deg); z-index: 1; }

.rights-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.rights-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------- Security Stack ---------- */
.security-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.security-stack::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 24px;
    bottom: 24px;
    width: 3px;
    background: linear-gradient(to bottom, var(--trust), transparent);
    border-radius: 2px;
}

.stack-layer {
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    position: relative;
    border-left: none;
}

.stack-layer::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 28px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--trust);
    z-index: 1;
}

.stack-layer-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    background: var(--trust-bg);
    color: var(--trust);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 0.25rem;
}

.stack-layer h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stack-layer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------- Privacy Commitments (API loaded) ---------- */
.commitments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.commitment-card {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-left: 4px solid var(--trust);
}

.commitment-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--trust);
}

.commitment-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.commitment-loading {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    grid-column: 1 / -1;
}

/* ---------- Privacy Score Assessment ---------- */
.score-container {
    max-width: 600px;
    margin: 0 auto;
}

.score-question {
    display: none;
    animation: fadeIn 0.4s ease;
}

.score-question.active { display: block; }

.score-question h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.score-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.score-option {
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
    font-family: inherit;
}

.score-option:hover {
    border-color: var(--trust);
    background: var(--bg-card-hover);
}

.score-option.selected {
    border-color: var(--trust);
    background: var(--trust-bg);
}

/* Score result */
.score-result {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.score-result[hidden] { display: none; }

.score-circle {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
}

.score-ring { width: 100%; height: 100%; transform: rotate(-90deg); }

.score-ring-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 8;
}

.score-ring-fill {
    fill: none;
    stroke: var(--trust);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1.5s ease;
}

.score-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--trust);
}

.score-label {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.score-detail {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.score-cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--trust);
    color: var(--bg-primary);
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.score-cta:hover { background: #34d399; color: var(--bg-primary); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    gap: 1rem;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--trust); }

.faq-chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-chevron {
    transform: rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Badge Section ---------- */
.badge-preview {
    text-align: center;
    margin-bottom: 2rem;
}

.badge-img {
    max-width: 240px;
    height: auto;
}

.badge-embed {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.badge-embed label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.badge-code {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.8rem;
    resize: none;
}

.badge-copy-btn {
    margin-top: 0.75rem;
    padding: 0.6rem 1.5rem;
    background: var(--trust);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.badge-copy-btn:hover { background: #34d399; }

.badge-copy-status {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.85rem;
    color: var(--trust);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-copy-status.visible { opacity: 1; }

/* ---------- Footer ---------- */
.privacy-footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: var(--trust); }

.footer-legal {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal a { color: var(--trust); }

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .privacy-nav-links { display: none; }

    .hero { padding: 6rem 1rem 3rem; }
    .hero-title { font-size: 1.8rem; }
    .hero-counters { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .counter-value { font-size: 1.8rem; }

    .section, .section-alt { padding: 3rem 1rem; }

    .zk-diagram { flex-direction: column; }
    .zk-arrow { width: 2px; height: 30px; }
    .zk-arrow::after { right: auto; top: auto; bottom: -1px; left: -4px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--border-light); border-bottom: none; }

    .data-grid { grid-template-columns: 1fr; }
    .rights-grid { grid-template-columns: 1fr; }
    .comparison-table { font-size: 0.75rem; }
    .comparison-table th, .comparison-table td { padding: 0.5rem; }

    .security-stack::before { left: 18px; }
    .stack-layer { padding-left: 3rem; }
    .stack-layer::before { left: 10px; width: 16px; height: 16px; }
}

@media (max-width: 480px) {
    .privacy-nav { padding: 0.5rem 1rem; }
    .privacy-nav-back { display: none; }
    .hero-counters { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .lock-shackle,
    .lock-pulse-ring { animation: none; }
    .score-ring-fill { transition: none; }
    .faq-answer { transition: none; }
    .rights-card, .data-item { transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
    body { background: white; color: black; }
    .privacy-nav, .privacy-nav-back, .hero-lock-container,
    .score-container, .badge-embed, .badge-copy-btn,
    .score-cta, .privacy-footer { display: none; }
    .section, .section-alt { padding: 1rem 0; background: white; max-width: 100%; }
    .hero { padding: 1rem 0; background: white; }
    .hero::before { display: none; }
    .hero-title { color: black; font-size: 1.5rem; }
    .hero-accent { color: #059669; }
    .section-title { color: black; font-size: 1.3rem; }
    .section-subtitle { color: #333; }
    .comparison-table th, .comparison-table td { border: 1px solid #ccc; }
    .data-item, .rights-card, .commitment-card, .stack-layer { background: white; border-color: #ccc; }
    a { color: #059669; }
    .rights-card:hover, .data-item:hover { transform: none; box-shadow: none; }
}
