/* Nuclei Trust Center — Premium Design */
:root {
    --brand: #4F46E5;
    --brand-light: #EEF2FF;
    --text: #111827;
    --text-muted: #6b7280;
    --bg: #ffffff;
    --bg-subtle: #f9fafb;
    --border: #e5e7eb;
    --green: #059669;
    --green-bg: #ecfdf5;
    --green-border: #a7f3d0;
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
}

.container { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.logo-text { font-size: 20px; font-weight: 700; }
.logo-badge { font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-light); padding: 2px 8px; border-radius: 4px; }

/* Breadcrumb */
.breadcrumb { padding: 20px 0 10px; font-size: 14px; color: var(--text-muted); }
.breadcrumb a { color: var(--brand); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 6px; }

/* Policy Page */
.policy-meta { padding: 24px 0 16px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.policy-meta h1 { font-size: 28px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.meta-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-block; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 4px; background: var(--bg-subtle); border: 1px solid var(--border); color: var(--text-muted); }
.badge-region { background: var(--brand-light); color: var(--brand); border-color: var(--brand); }

/* Language Switcher */
.language-switcher { padding: 12px 16px; background: var(--bg-subtle); border-radius: var(--radius); margin-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lang-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.lang-link { font-size: 13px; color: var(--brand); text-decoration: none; padding: 2px 8px; border-radius: 4px; }
.lang-link:hover { background: var(--brand-light); }
.lang-link.active { background: var(--brand); color: white; }

/* Policy Body */
.policy-body { padding-bottom: 48px; }
.policy-body h1 { font-size: 24px; margin: 32px 0 16px; font-weight: 700; }
.policy-body h2 { font-size: 20px; margin: 28px 0 12px; font-weight: 700; }
.policy-body h3 { font-size: 17px; margin: 24px 0 10px; font-weight: 600; }
.policy-body h4 { font-size: 15px; margin: 20px 0 8px; font-weight: 600; }
.policy-body h5, .policy-body h6 { font-size: 14px; margin: 16px 0 8px; font-weight: 600; }
.policy-body p { margin-bottom: 14px; }
.policy-body ul, .policy-body ol { margin: 8px 0 16px 24px; }
.policy-body li { margin-bottom: 6px; }
.policy-body a { color: var(--brand); text-decoration: none; }
.policy-body a:hover { text-decoration: underline; }
.policy-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.policy-body th, .policy-body td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.policy-body th { background: var(--bg-subtle); font-weight: 700; }
.policy-body strong { font-weight: 600; }
.policy-body blockquote { border-left: 3px solid var(--brand); padding: 8px 16px; margin: 16px 0; background: var(--bg-subtle); border-radius: 0 var(--radius) var(--radius) 0; }

/* ===== LANDING PAGE ===== */
.landing { padding: 0 0 48px; }
.section { margin-bottom: 56px; }
.section h2 { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }

/* Hero */
.hero { padding: 56px 0 48px; }
.hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.5px; }
.hero-desc { font-size: 18px; color: var(--text-muted); max-width: 560px; line-height: 1.6; }

/* Compliance Badges */
.badge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.compliance-badge {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: border-color 0.2s;
}

.compliance-badge:hover { border-color: var(--brand); }

.badge-svg { width: 36px; height: 36px; color: var(--brand); margin-bottom: 14px; }
.badge-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.badge-label { font-size: 13px; color: var(--green); font-weight: 500; }

/* Security Highlights */
.highlights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.highlight-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.2s;
}

.highlight-card:hover { border-color: var(--brand); }

.hl-icon { width: 28px; height: 28px; color: var(--brand); margin-bottom: 12px; }

.highlight-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.highlight-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Legal Documents */
.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.doc-group h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }

.doc-links { display: flex; flex-direction: column; gap: 2px; }

.doc-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s;
}

.doc-link:hover { background: var(--bg-subtle); }
.doc-title { font-size: 14px; font-weight: 500; }
.doc-meta { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

/* Contact */
.contact-section { text-align: center; padding: 32px 0; border-top: 1px solid var(--border); }
.contact-section p { font-size: 14px; color: var(--text-muted); }
.contact-section a { color: var(--brand); text-decoration: none; }
.contact-section a:hover { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; margin-top: 48px; text-align: center; font-size: 13px; color: var(--text-muted); }
.site-footer a { color: var(--brand); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin-bottom: 4px; }

/* Responsive */
@media (max-width: 640px) {
    .hero h1 { font-size: 28px; }
    .badge-grid { grid-template-columns: 1fr; }
    .highlights-grid { grid-template-columns: 1fr; }
    .docs-grid { grid-template-columns: 1fr; }
    .policy-meta h1 { font-size: 22px; }
    .language-switcher { flex-direction: column; align-items: flex-start; }
    .doc-link { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* Hero links */
.hero-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.hero-link { font-size: 14px; color: var(--brand); text-decoration: none; }
.hero-link:hover { text-decoration: underline; }
