/* ============================================
   WHISPR COMPLIANCE ITALY — CONVERSION MACHINE
   Musk minimal + McAfee fear = $$$
   ============================================ */

:root {
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --bg: #0a0a0f;
    --bg-card: #111118;
    --bg-surface: #1a1a24;
    --bg-light: #f8f9fb;
    --bg-white: #ffffff;
    --text: #0f172a;
    --text-light: #f0f2f5;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;
    --accent: #2563eb;
    --accent-strong: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.4);
    --danger: #ef4444;
    --danger-soft: rgba(239, 68, 68, 0.12);
    --danger-glow: rgba(239, 68, 68, 0.3);
    --warning: #f59e0b;
    --warning-soft: rgba(245, 158, 11, 0.12);
    --success: #10b981;
    --success-soft: rgba(16, 185, 129, 0.12);
    --border: #e2e8f0;
    --border-dark: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-sm: 12px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.12);
    --site-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, a, strong, span, small { overflow-wrap: break-word; word-break: normal; }

section[id], article[id], div[id] { scroll-margin-top: 120px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
    width: min(calc(100% - 40px), var(--site-width));
    margin: 0 auto;
}

/* ===== URGENCY BANNER ===== */
.urgency-banner {
    background: linear-gradient(90deg, #7f1d1d, #991b1b, #7f1d1d);
    color: #fecaca;
    padding: 12px 0;
    font-size: 0.88rem;
    font-weight: 600;
    position: relative;
    z-index: 60;
}

.urgency-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    text-align: center;
}

.urgency-pulse {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

.urgency-text strong { color: #ffffff; }

.urgency-cta {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #ffffff;
    color: #991b1b;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform 0.2s;
}

.urgency-cta:hover { transform: scale(1.05); }

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.8); }
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-row {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -0.03em;
    flex: 0 0 auto;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #0f172a, #1e293b);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.brand-wordmark strong { font-size: 1.05rem; }
.brand-wordmark span { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

.nav-links, .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links { flex: 1 1 auto; justify-content: center; }
.nav-actions { flex: 0 0 auto; gap: 10px; }

.nav-links a {
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
}

.nav-links a:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--text);
}

.language-switch {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
}

.language-switch a {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-subtle);
}

.language-switch a.active {
    background: #0f172a;
    color: #fff;
}

.mobile-toggle {
    display: none;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-panel { display: none; padding: 0 0 16px; }
.mobile-panel.open { display: block; }
body.nav-open { overflow: hidden; }

.mobile-panel .panel-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.mobile-links, .mobile-actions { display: grid; gap: 6px; }
.mobile-links { margin-bottom: 12px; }
.mobile-links a {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 600;
    background: #f8f9fb;
}

.mobile-actions { margin-top: 8px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: var(--accent-strong); box-shadow: 0 8px 24px var(--accent-glow); }

.btn-secondary {
    background: #fff;
    border-color: var(--border);
    color: var(--text);
}

.btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text-muted);
}

.btn-glow {
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { box-shadow: 0 0 20px 4px var(--accent-glow); }
}

/* ===== HERO DARK ===== */
.hero-dark {
    background: linear-gradient(175deg, #0a0a0f 0%, #0f1628 40%, #111827 100%);
    color: var(--text-light);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-dark::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-dark .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.1);
    border-radius: 999px;
    color: #fca5a5;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-dark h1 {
    margin: 0 0 24px;
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.hero-sub {
    margin: 0 0 40px;
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 520px;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
}

.hero-stat { text-align: center; }

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #fff;
}

.stat-number.danger-text { color: #ef4444; }

.stat-label {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-hero {
    background: var(--accent);
    color: #fff;
    min-height: 54px;
    padding: 0 32px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

.btn-hero:hover {
    background: var(--accent-strong);
    box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    min-height: 54px;
    padding: 0 28px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.proof-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
}

.proof-item svg { color: var(--success); flex-shrink: 0; }

/* ===== HERO VISUAL (MOCK WINDOW) ===== */
.hero-visual-new {
    position: relative;
}

.hero-visual-new::before {
    content: '';
    position: absolute;
    inset: 10% -8% -8% 15%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
    filter: blur(30px);
    z-index: 0;
}

.mock-window {
    position: relative;
    z-index: 1;
    background: #1a1a24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.mock-window-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.mock-dots { display: flex; gap: 6px; }
.mock-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.mock-window-bar > span {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.mock-window-content { padding: 18px; }

.mock-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.mock-stat-card {
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
}

.mock-stat-card strong {
    display: block;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: -0.03em;
}

.mock-stat-card span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 4px;
}

.mock-stat-danger { border-color: rgba(239, 68, 68, 0.2); background: rgba(239, 68, 68, 0.06); }
.mock-stat-danger strong { color: #ef4444; }

.mock-stat-ok { border-color: rgba(16, 185, 129, 0.2); background: rgba(16, 185, 129, 0.06); }
.mock-stat-ok strong { color: #10b981; }

.mock-case-list {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.mock-case {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.mock-case-id {
    font-weight: 700;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.mock-case-desc {
    font-size: 0.82rem;
    color: #64748b;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.chip-warning { background: var(--warning-soft); color: var(--warning); }
.chip-blue { background: rgba(37, 99, 235, 0.15); color: #60a5fa; }
.chip-muted { background: rgba(148, 163, 184, 0.12); color: #94a3b8; }

.mock-deadline-bar {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    height: 28px;
    overflow: hidden;
}

.mock-deadline-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #3b82f6);
    border-radius: 999px;
    transition: width 1.5s ease;
}

.mock-deadline-bar > span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 14px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}

/* ===== SECTION GLOBAL ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: rgba(37, 99, 235, 0.04);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.section-title-lg {
    margin: 0 0 48px;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
    font-weight: 900;
}

/* ===== RISK SECTION ===== */
.section-risk {
    padding: 100px 0 80px;
    background: var(--bg-light);
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.risk-card {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.risk-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.risk-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.risk-card-red .risk-icon { background: var(--danger-soft); color: var(--danger); }
.risk-card-orange .risk-icon { background: var(--warning-soft); color: var(--warning); }
.risk-card-dark .risk-icon { background: rgba(15, 23, 42, 0.08); color: #334155; }

.risk-amount {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.risk-card-red .risk-amount { color: var(--danger); }
.risk-card-orange .risk-amount { color: var(--warning); }
.risk-card-dark .risk-amount { color: var(--text); }

.risk-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.risk-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.risk-source {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.risk-source a {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.88rem;
}

.risk-sep {
    width: 4px;
    height: 4px;
    background: var(--border);
    border-radius: 50%;
}

/* ===== COMPARE SECTION ===== */
.section-compare {
    padding: 100px 0;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.compare-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.compare-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.compare-header-bad {
    background: linear-gradient(135deg, #fef2f2, #fff1f2);
    color: var(--danger);
    border-bottom: 1px solid rgba(239, 68, 68, 0.15);
}

.compare-header-good {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    color: var(--success);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.compare-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.compare-list li {
    padding: 14px 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    font-weight: 500;
}

.compare-list li:last-child { border-bottom: 0; }

.compare-bad .compare-list li {
    padding-left: 48px;
    position: relative;
}

.compare-bad .compare-list li::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
    opacity: 0.4;
}

.compare-good .compare-list li {
    padding-left: 48px;
    position: relative;
    color: var(--text);
}

.compare-good .compare-list li::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

/* ===== WORKFLOW FLOW ===== */
.section-flow {
    padding: 100px 0;
    background: linear-gradient(175deg, #0f172a, #1e293b);
    color: var(--text-light);
}

.section-flow .section-label {
    border-color: rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}

.flow-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.flow-step {
    flex: 1;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: transform 0.3s, background 0.3s;
}

.flow-step:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.07);
}

.flow-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.flow-step h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.flow-step p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.88rem;
}

.flow-connector {
    width: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

.flow-connector::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
}

/* ===== FEATURES GRID ===== */
.section-features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
}

.feature-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== WHO MUST COMPLY ===== */
.section-who {
    padding: 100px 0;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.who-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s;
}

.who-card:hover { transform: translateY(-2px); }

.who-icon-check {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--success-soft);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.who-card strong {
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.who-cta {
    text-align: center;
    padding: 24px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: var(--radius);
}

.who-cta p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.who-cta strong { color: var(--danger); }

/* ===== PRICING ===== */
.section-pricing {
    padding: 100px 0;
    background: var(--bg-light);
}

.pricing-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.price-card {
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.price-card-featured {
    border-color: var(--accent);
    box-shadow: 0 20px 50px var(--accent-glow);
}

.price-card-featured:hover {
    box-shadow: 0 30px 60px var(--accent-glow);
}

.price-popular {
    position: absolute;
    top: -12px;
    left: 28px;
    padding: 4px 14px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.price-tag {
    display: inline-flex;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 8px;
}

.price-amount small {
    display: inline;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: normal;
    margin-left: 6px;
}

.price-for {
    margin: 0 0 20px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 10px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.price-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.btn-price {
    width: 100%;
    background: #fff;
    border: 2px solid var(--border);
    color: var(--text);
    min-height: 50px;
    font-size: 0.95rem;
}

.btn-price:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-price-featured {
    width: 100%;
    background: var(--accent);
    color: #fff;
    min-height: 50px;
    font-size: 0.95rem;
}

.btn-price-featured:hover {
    background: var(--accent-strong);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.price-trial-note {
    margin: 8px 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* ===== COMPLIANCE TABLE ===== */
.section-compliance-table {
    padding: 100px 0;
}
.compliance-table {
    max-width: 900px;
    margin: 2.5rem auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}
.ct-header {
    display: grid;
    grid-template-columns: 2.2fr 90px 2.5fr;
    gap: 1rem;
    padding: 16px 28px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}
.ct-row {
    display: grid;
    grid-template-columns: 2.2fr 90px 2.5fr;
    gap: 1rem;
    padding: 14px 28px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: var(--text);
    transition: background 0.15s;
    align-items: center;
}
.ct-row:first-of-type { border-top: none; }
.ct-row:nth-child(even) { background: #fafbfc; }
.ct-row:hover { background: #f1f5f9; }
.ct-row span:nth-child(2) {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 700;
    text-align: center;
    background: rgba(37, 99, 235, 0.06);
    padding: 3px 8px;
    border-radius: 6px;
}
.ct-check {
    color: var(--success);
    font-weight: 600;
}
@media (max-width: 700px) {
    .section-compliance-table { padding: 72px 0; }
    .ct-header { display: none; }
    .ct-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 16px 20px;
    }
    .ct-row span:nth-child(1) { font-weight: 700; }
    .ct-row span:nth-child(2) { text-align: left; display: inline-block; width: fit-content; }
}

/* ===== PRICING EXTRAS ===== */
.pricing-anchor {
    max-width: 700px;
    margin: 2rem auto 0;
    padding: 20px 28px;
    background: linear-gradient(135deg, #fef2f2, #fff1f2);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--radius);
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text);
}
.pricing-anchor strong {
    color: var(--danger);
    font-weight: 800;
}
.pricing-enterprise {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.pricing-enterprise a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}
.pricing-guarantee {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.tier-row {
    text-align: center;
    padding: 12px;
}

.tier-row span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.tier-row strong {
    font-size: 0.88rem;
    letter-spacing: -0.01em;
}

/* ===== TRUST BAR ===== */
.section-trust {
    padding: 48px 0;
}

.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trust-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.2s;
}

.trust-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.trust-link svg { flex-shrink: 0; }

/* ===== FAQ ===== */
.section-faq {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-list-new {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item[open] { box-shadow: var(--shadow); }

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--text-subtle);
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== FINAL CTA ===== */
.section-final-cta {
    padding: 100px 0 120px;
}

.final-cta-card {
    text-align: center;
    padding: 64px 40px;
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border-radius: var(--radius-lg);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.final-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta-card h2 {
    margin: 0 0 16px;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 900;
    position: relative;
}

.final-cta-card p {
    margin: 0 0 32px;
    color: #94a3b8;
    font-size: 1.1rem;
    position: relative;
}

.final-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn-final {
    background: var(--accent);
    color: #fff;
    min-height: 56px;
    padding: 0 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

.btn-final:hover {
    background: var(--accent-strong);
    box-shadow: 0 16px 40px var(--accent-glow);
}

.btn-final-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    min-height: 56px;
    padding: 0 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

.btn-final-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    padding: 32px 0 44px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, minmax(0, 0.7fr));
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.footer-grid h3 {
    margin: 0 0 10px;
    font-size: 0.9rem;
}

.footer-grid p, .footer-grid a { color: var(--text-muted); }

.footer-links {
    display: grid;
    gap: 6px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.small-print {
    margin-top: 14px;
    color: var(--text-subtle);
    font-size: 0.85rem;
}

/* ===== STICKY BOTTOM CTA ===== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.btn-sticky {
    width: 100%;
    background: var(--accent);
    color: #fff;
    min-height: 52px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

.btn-sticky:hover {
    background: var(--accent-strong);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: 0.15s;
}

/* ============================================
   TRUST CENTER SUBPAGES
   (security, dpa, privacy, terms, implementation,
    retention, subprocessors)
   ============================================ */

/* -- Page base -- */
.trust-page {
    background: var(--bg-white);
    color: var(--text);
}

/* -- Hero (trust pages) -- */
.trust-page .hero {
    padding: 120px 0 80px;
    background: linear-gradient(175deg, #0f172a, #1e293b);
    color: var(--text-light);
}

.section-heading {
    max-width: 720px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.breadcrumbs a:hover { color: #fff; }

.eyebrow {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(37, 99, 235, 0.15);
    color: #93c5fd;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.trust-page .hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 16px;
}

.lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px;
    max-width: 640px;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-links a {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.2s, color 0.2s;
}

.hero-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* -- Summary cards -- */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.summary-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
}

.eyeline {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 10px;
}

.summary-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
    color: #fff;
}

.summary-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* -- Document grid (main + aside) -- */
.section-muted {
    background: var(--bg-light);
}

.trust-page .section {
    padding: 80px 0;
}

.doc-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 48px;
    align-items: start;
}

.doc-main {
    display: grid;
    gap: 40px;
}

/* -- Section cards -- */
.section-card {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.section-card .eyeline {
    color: var(--accent);
}

.section-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--text);
}

.section-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 16px;
}

.section-card p:last-child { margin-bottom: 0; }

/* -- Doc list -- */
.doc-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 10px;
}

.doc-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.doc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* -- Doc table -- */
.doc-table {
    margin: 16px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.doc-table-row {
    display: grid;
    grid-template-columns: 140px 1fr 1.5fr;
    gap: 16px;
    padding: 14px 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

.doc-table-row:first-child { border-top: none; }

.doc-table-row.header {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-top: none;
}

.doc-table-row:not(.header):nth-child(even) { background: #fafbfc; }

.doc-cell-label {
    display: none;
}

.doc-meta {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-subtle);
    font-style: italic;
}

/* -- Doc callout -- */
.doc-callout {
    margin: 16px 0 0;
    padding: 16px 20px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text);
}

.doc-callout strong {
    color: var(--accent);
}

/* -- Sidebar -- */
.doc-aside {
    position: sticky;
    top: 100px;
}

.doc-nav {
    margin-bottom: 32px;
}

.doc-nav h4,
.doc-links h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 12px;
}

.doc-nav a,
.doc-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.15s;
}

.doc-nav a:hover,
.doc-links a:hover {
    color: var(--accent);
}

/* -- Timeline (implementation page) -- */
.timeline {
    margin-top: 16px;
    display: grid;
    gap: 0;
}

.timeline-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.timeline-step:first-child { border-top: none; }

.timeline-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.timeline-step.light .timeline-number {
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
}

.timeline-copy h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text);
}

.timeline-copy p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.timeline-meta {
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--text-subtle);
    font-style: italic;
}

/* -- Trust page responsive -- */
@media (max-width: 900px) {
    .doc-grid {
        grid-template-columns: 1fr;
    }
    .doc-aside {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding-top: 32px;
        border-top: 1px solid var(--border);
    }
}

@media (max-width: 768px) {
    .trust-page .hero { padding: 100px 0 60px; }
    .trust-page .hero h1 { font-size: 1.6rem; }
    .summary-grid { grid-template-columns: 1fr; gap: 12px; }
    .trust-page .section { padding: 60px 0; }
    .section-card { padding: 24px; }
    .doc-table-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 16px 20px;
    }
    .doc-table-row.header { display: none; }
    .doc-cell-label {
        display: inline;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--text-muted);
        margin-right: 6px;
    }
    .doc-aside {
        grid-template-columns: 1fr;
    }
}

/* ===== RESPONSIVE ===== */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .btn-glow { animation: none; transition: none; }
}

@media (max-width: 1060px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: inline-flex; }
}

@media (max-width: 1024px) {
    .hero-dark .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .risk-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-grid {
        flex-wrap: wrap;
    }

    .flow-step { flex: 0 0 calc(50% - 8px); min-width: 0; }
    .flow-connector { display: none; }

    .pricing-tiers {
        grid-template-columns: repeat(2, 1fr);
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(calc(100% - 24px), var(--site-width));
    }

    .hero-dark {
        padding: 60px 0 80px;
    }

    .hero-dark h1 {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-proof {
        flex-direction: column;
        gap: 8px;
    }

    .risk-grid,
    .features-grid,
    .pricing-grid-new,
    .who-grid,
    .pricing-tiers {
        grid-template-columns: 1fr;
    }

    .flow-step {
        flex: 0 0 100%;
    }

    .hero-visual-new {
        max-width: 100%;
    }

    .trust-bar {
        justify-content: flex-start;
    }

    .final-cta-card {
        padding: 40px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .sticky-cta {
        display: block;
    }

    .urgency-inner {
        flex-direction: column;
        gap: 8px;
    }

    .section-risk,
    .section-compare,
    .section-flow,
    .section-features,
    .section-who,
    .section-pricing,
    .section-faq,
    .section-final-cta {
        padding: 72px 0;
    }

    .section-title-lg {
        font-size: clamp(1.7rem, 5vw, 2.4rem);
    }

    .compare-header {
        padding: 14px 20px;
    }

    .compare-list li {
        padding: 12px 20px 12px 40px;
    }

    .compare-bad .compare-list li::before,
    .compare-good .compare-list li::before {
        left: 20px;
    }

    .section-proof {
        padding: 40px 0;
    }

    .proof-logos {
        gap: 8px;
    }

    .proof-logo-item {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .section-testimonial {
        padding: 60px 0;
    }

    .testimonial-card blockquote p {
        font-size: 1.1rem;
    }

    .section-spacer {
        height: 56px;
    }
}

@media (max-width: 480px) {
    .hero-dark h1 {
        font-size: 1.85rem;
    }

    .price-amount {
        font-size: 2.4rem;
    }

    .mock-stats-row {
        grid-template-columns: 1fr;
    }

    .mock-case {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .mock-case .chip {
        justify-self: start;
    }

    .nav-row {
        min-height: 64px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }
}

/* ===== INFRASTRUCTURE BADGES ===== */
.section-badges {
    padding: 48px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.badges-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.badge-item svg {
    color: var(--accent);
    flex-shrink: 0;
    opacity: 0.7;
}

/* Section subtitle for FAQ etc */
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: -8px;
    margin-bottom: 40px;
    text-align: center;
}

/* Better section dividers for skimmability */
.section-risk,
.section-compare,
.section-flow,
.section-features,
.section-who,
.section-pricing,
.section-faq {
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .badges-row {
        gap: 20px;
        justify-content: flex-start;
    }

    .badge-item {
        font-size: 0.8rem;
        flex: 0 0 calc(50% - 10px);
    }

    .badge-item span {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .badge-item {
        flex: 0 0 100%;
    }
}

/* ===== SOCIAL PROOF BAR ===== */
.section-proof {
    padding: 56px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.proof-bar {
    text-align: center;
}

.proof-headline {
    margin: 0 0 28px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.proof-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.proof-logo-item {
    padding: 12px 28px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    transition: transform 0.2s, box-shadow 0.2s;
}

.proof-logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ===== TESTIMONIAL ===== */
.section-testimonial {
    padding: 80px 0;
    background: linear-gradient(175deg, #0f172a, #1e293b);
    color: var(--text-light);
}

.testimonial-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-card blockquote {
    margin: 0 0 32px;
}

.testimonial-card blockquote p {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #e2e8f0;
    margin: 0;
}

.testimonial-author {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: #f0f2f5;
}

.testimonial-author span {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 2px;
}

/* ===== SECTION SPACER (inside merged sections) ===== */
.section-spacer {
    height: 80px;
}

/* ===== HERO BADGE BLUE VARIANT ===== */
.hero-badge-blue {
    border-color: rgba(37, 99, 235, 0.3);
    background: rgba(37, 99, 235, 0.12);
    color: #93c5fd;
}

.hero-badge-blue svg {
    color: #60a5fa;
}

/* ===== EDU PAGE OVERRIDES (keep for edu.html) ===== */
body.edu-page {
    --accent: #1d6b62;
    --accent-strong: #17544d;
    --accent-glow: rgba(29, 107, 98, 0.3);
    font-family: 'IBM Plex Sans', sans-serif;
}

/* ===== LEGACY: DOC / TRUST SUB-PAGES ===== */
/* Used by: security, dpa, subprocessors, retention, privacy, terms, implementation */

body.trust-page {
    background: #0a0a0f;
    color: #f0f2f5;
    --bg: #0a0a0f;
    --text: #f0f2f5;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    --border: rgba(255, 255, 255, 0.08);
    --bg-card: #111118;
    --bg-surface: #1a1a24;
}

/* --- Dark header/nav for all compliance pages (main + sub) --- */
body.compliance-page .site-header {
    background: rgba(10, 10, 15, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.compliance-page .mobile-toggle {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f0f2f5;
}

body.compliance-page .mobile-panel .panel-card {
    background: #111118;
    border-color: rgba(255, 255, 255, 0.08);
}

body.compliance-page .mobile-links a {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
}

body.compliance-page .mobile-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f0f2f5;
}

body.compliance-page .nav-links a {
    color: #94a3b8;
}

body.compliance-page .nav-links a:hover {
    color: #f0f2f5;
}

body.compliance-page .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}

body.compliance-page .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    color: #f0f2f5;
}

body.compliance-page .brand-wordmark strong {
    color: #f0f2f5;
}

body.compliance-page .brand-wordmark span {
    color: #94a3b8;
}

/* --- Hero (sub-page variant — lighter, no gradient) --- */
.trust-page .hero {
    padding: 100px 0 56px;
    background: var(--bg);
}

.trust-page .hero .section-heading {
    max-width: 720px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.breadcrumbs a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--text-muted);
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 8px;
}

.trust-page .hero h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin: 0 0 16px;
}

.lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 20px;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.hero-links a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.hero-links a:hover {
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.08);
}

/* --- Summary grid --- */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.eyeline {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 8px;
}

.summary-card h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    margin: 0 0 8px;
}

.summary-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* --- Section & doc grid --- */
.section {
    padding: 56px 0;
}

.section-muted {
    background: var(--bg-surface);
}

.doc-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

.doc-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* --- Section card --- */
.section-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.section-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    margin: 0 0 12px;
}

.section-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 12px;
}

.section-card p:last-child {
    margin-bottom: 0;
}

/* --- Doc list --- */
.doc-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.doc-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.doc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* --- Doc table --- */
.doc-table {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin: 16px 0;
}

.doc-table-row {
    display: grid;
    grid-template-columns: 140px 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.doc-table-row:last-child {
    border-bottom: none;
}

.doc-table-row.header {
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.doc-table-row > div {
    padding: 12px 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-right: 1px solid var(--border);
}

.doc-table-row > div:last-child {
    border-right: none;
}

.doc-table-row > div strong {
    color: var(--text);
}

.doc-cell-label {
    display: none;
}

/* --- Doc callout --- */
.doc-callout {
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 16px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.doc-callout strong {
    color: var(--accent);
}

/* --- Doc meta --- */
.doc-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
    font-style: italic;
}

/* --- Doc aside (sidebar) --- */
.doc-aside {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.doc-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doc-nav a {
    font-size: 0.84rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.15s;
}

.doc-nav a:hover {
    color: var(--accent);
}

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

.doc-links a {
    font-size: 0.84rem;
    color: var(--accent);
    text-decoration: none;
}

.doc-links a:hover {
    text-decoration: underline;
}

/* --- Timeline --- */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 16px;
}

.timeline-step {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.timeline-step:last-child {
    border-bottom: none;
}

.timeline-step.light {
    /* light modifier — no visual change needed in dark theme, class preserved for HTML compat */
}

.timeline-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-copy h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
}

.timeline-copy p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.timeline-meta {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding-top: 2px;
}

/* --- Sub-page responsive --- */
@media (max-width: 1060px) {
    .doc-grid {
        grid-template-columns: 1fr;
    }

    .doc-aside {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .trust-page .hero {
        padding: 84px 0 40px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .doc-aside {
        grid-template-columns: 1fr;
    }

    .doc-table-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .doc-table-row.header {
        display: none;
    }

    .doc-cell-label {
        display: inline-block;
        font-size: 0.72rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--text-muted);
        margin-right: 8px;
    }

    .doc-table-row > div {
        border-right: none;
        padding: 8px 16px;
    }

    .doc-table-row > div:first-child {
        padding-top: 14px;
    }

    .doc-table-row > div:last-child {
        padding-bottom: 14px;
    }

    .timeline-step {
        grid-template-columns: 36px 1fr;
    }

    .timeline-meta {
        grid-column: 2;
    }

    .section {
        padding: 40px 0;
    }
}
