/* ============================================================
   Obzervi - shared styles (index.html + help-center.html)
   ============================================================ */

/* ===== Landing page + shared base ===== */
        :root {
            --bg: #f4f5f9;
            --surface: #ffffff;
            --surface2: #f0f2f8;
            --border: #dde0ec;
            --navy: #033D93;
            --navy-light: #3a3980;
            --red: #E13B3B;
            --red-hover: #c93232;
            --red-light: #fef0f0;
            --dark: #00133F;
            --accent-light: #eeedf8;
            --text: #033D93;
            --text-muted: #555470;
            --text-dim: #8e8da8;
            --green: #15803d;
            --green-bg: #f0fdf4;
            --mono: 'IBM Plex Mono', monospace;
            --sans: 'Open Sans', sans-serif;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
            --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
            --radius: 12px;
        }

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

        html,
        body {
            width: 100%;
            max-width: 100%;
            overflow-x: clip;
        }

        @supports not (overflow-x: clip) {
            html,
            body {
                overflow-x: hidden;
            }
        }

        img,
        video,
        iframe {
            max-width: 100%;
        }

        body {
            font-family: var(--sans);
            background: var(--surface);
            color: var(--text);
            font-size: 15px;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }

        .header {
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
            background: rgba(255,255,255,0.92);
            backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            transition: background 0.3s, border-color 0.3s;
        }
        .header-inner {
            max-width: 1140px; margin: 0 auto; padding: 0 32px;
            height: 64px; display: flex; align-items: center; justify-content: space-between;
        }
        .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
        .logo-img { height: 25px; width: auto; }
        .header-nav { display: flex; align-items: center; gap: 28px; }
        .nav-link { font-size: 13px; font-weight: 500; color: var(--navy); text-decoration: none; transition: color 0.15s; }
        .nav-link:hover { color: var(--red); }

        .btn {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 9px 20px; border-radius: 8px; font-family: var(--sans);
            font-size: 13px; font-weight: 600; text-decoration: none;
            cursor: pointer; border: none; transition: all 0.2s;
        }
        .btn-primary { background: var(--red); color: #fff; box-shadow: 0 2px 8px rgba(237,28,36,0.25); }
        .btn-primary:hover { background: var(--red-hover); box-shadow: 0 4px 14px rgba(237,28,36,0.35); transform: translateY(-1px); }
        .btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--border); }
        .btn-ghost:hover { background: var(--accent-light); border-color: #c5c4e0; }
        .btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 10px; }
        .btn-white { background: #fff; color: var(--navy); font-weight: 700; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
        .btn-white:hover { background: #f0f2f8; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(0,0,0,0.2); }

        .hero {
            padding: 160px 32px 100px; text-align: center;
            background: var(--dark); position: relative; overflow: hidden;
        }
        .hero::before {
            content: ''; position: absolute; inset: 0;
            background:
                repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 160px),
                repeating-linear-gradient(0deg, transparent 0px, transparent 32px, rgba(255,255,255,0.012) 32px, rgba(255,255,255,0.012) 33px),
                linear-gradient(160deg, #00133F 0%, #021B4D 35%, #0A2A6B 65%, #001030 100%);
            pointer-events: none; z-index: 0;
        }
        .hero::after {
            content: ''; position: absolute; top: -100px; right: -100px;
            width: 600px; height: 600px; border-radius: 50%;
            background: radial-gradient(circle, rgba(225,59,59,0.08) 0%, rgba(225,59,59,0.03) 40%, transparent 70%);
            pointer-events: none; z-index: 0;
        }
        .hero-bg-glow {
            position: absolute; bottom: -120px; left: -80px;
            width: 500px; height: 500px; border-radius: 50%;
            background: radial-gradient(circle, rgba(3,61,147,0.15) 0%, transparent 65%);
            pointer-events: none; z-index: 0;
        }
        .hero-content { position: relative; z-index: 1; max-width: 740px; margin: 0 auto; }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 5px 14px; border-radius: 20px;
            background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
            font-family: var(--mono); font-size: 11px; font-weight: 600;
            letter-spacing: 0.04em; border: 1px solid rgba(255,255,255,0.12);
            margin-bottom: 24px; backdrop-filter: blur(8px);
        }
        .hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px rgba(225,59,59,0.5); }
        .hero h1 { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: #ffffff; margin-bottom: 20px; }
        .hero h1 em { font-style: normal; color: var(--red); }
        .hero-sub { font-size: 18px; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 580px; margin: 0 auto 36px; font-weight: 400; }
        .hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
        .hero .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
        .hero .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
        .hero-powered { margin-top: 48px; font-size: 12px; color: rgba(255,255,255,0.35); letter-spacing: 0.06em; font-weight: 500; line-height: 1.6; }
        .hero-powered a { color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 700; }
        .hero-powered a:hover { text-decoration: underline; color: #fff; }

        /* header is always white — no dark mode variant */

        .stats-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 28px 32px; overflow-x: clip; }
        .stats-bar-inner { max-width: 900px; margin: 0 auto; display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
        .stat { text-align: center; }
        .stat-num { font-size: 32px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
        .stat-num em { font-style: normal; color: var(--red); }
        .stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

        .section { padding: 80px 32px; overflow-x: clip; }
        .section-alt { background: var(--bg); }
        .section-inner { width: 100%; max-width: 1140px; min-width: 0; margin: 0 auto; }
        @supports (content-visibility: auto) {
            main > .section,
            main > .cta {
                content-visibility: auto;
                contain-intrinsic-size: 900px;
            }
        }
        .section-label { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red); margin-bottom: 12px; }
        .section-title { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); margin-bottom: 12px; line-height: 1.2; }
        .section-desc { font-size: 16px; color: var(--text-muted); max-width: 560px; line-height: 1.7; margin-bottom: 48px; }
        .section-center { text-align: center; }
        .section-center .section-desc { margin-left: auto; margin-right: auto; }

        .compare-table {
            width: 100%; max-width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0;
            border-radius: var(--radius); overflow: hidden;
            box-shadow: var(--shadow-md); font-size: 14px;
        }
        .compare-table thead th {
            padding: 20px 28px; font-family: var(--mono); font-size: 13px;
            font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
            text-align: left; border-bottom: 2px solid var(--border);
        }
        .compare-table thead th:first-child { background: var(--surface2); color: var(--text-muted); width: 25%; }
        .compare-table thead th.col-old { background: var(--red-light); color: var(--red); width: 37.5%; }
        .compare-table thead th.col-new { background: var(--green-bg); color: var(--green); width: 37.5%; }
        .compare-table tbody tr { transition: background 0.15s; }
        .compare-table tbody tr:hover { background: var(--surface2); }
        .compare-table tbody td { padding: 16px 28px; border-bottom: 1px solid var(--border); color: var(--text-muted); line-height: 1.55; vertical-align: top; overflow-wrap: anywhere; }
        .compare-table tbody tr:last-child td { border-bottom: none; }
        .compare-table tbody td:first-child { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; background: var(--surface2); }
        .compare-table tbody td.cell-old { position: relative; padding-left: 44px; }
        .compare-table tbody td.cell-old::before { content: "\2715"; position: absolute; left: 24px; top: 18px; color: var(--red); font-weight: 700; font-size: 12px; }
        .compare-table tbody td.cell-new { position: relative; padding-left: 44px; }
        .compare-table tbody td.cell-new::before { content: "\2713"; position: absolute; left: 24px; top: 17px; color: var(--green); font-weight: 700; font-size: 14px; }
        .compare-intro { text-align: center; max-width: 620px; margin: 0 auto 40px; }
        .compare-intro p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

        .comp-grid-wrap { position: relative; max-width: 100%; overflow-x: auto; padding-top: 16px; }
        .comp-grid {
            width: 100%; max-width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0;
            border-radius: var(--radius); overflow: visible;
            box-shadow: var(--shadow-md); font-size: 13px;
        }
        .comp-grid thead th {
            padding: 16px 14px; font-family: var(--mono); font-size: 11px;
            font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
            text-align: center; border-bottom: 2px solid var(--border);
            background: var(--surface2); color: var(--text-muted);
        }
        .comp-grid thead th:first-child { text-align: left; width: 28%; border-radius: 12px 0 0 0; }
        .comp-grid thead th:last-child { border-radius: 0 12px 0 0; }
        .comp-grid thead th.col-highlight {
            background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
            color: #fff; position: relative;
        }
        .comp-grid thead th.col-highlight::after {
            content: 'BEST VALUE'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
            background: var(--red); color: #fff; font-size: 9px; padding: 3px 10px;
            border-radius: 4px; letter-spacing: 0.08em; white-space: nowrap; z-index: 2;
        }
        .comp-grid tbody tr { transition: background 0.15s; }
        .comp-grid tbody tr:hover { background: var(--surface2); }
        .comp-grid tbody td {
            padding: 12px 14px; border-bottom: 1px solid var(--border);
            color: var(--text-muted); text-align: center; vertical-align: middle; line-height: 1.4; overflow-wrap: anywhere;
        }
        .comp-grid tbody tr:last-child td { border-bottom: none; }
        .comp-grid tbody tr:last-child td:first-child { border-radius: 0 0 0 12px; }
        .comp-grid tbody tr:last-child td:last-child { border-radius: 0 0 12px 0; }
        .comp-grid tbody td:first-child { font-weight: 600; color: var(--navy); text-align: left; font-size: 12px; }
        .comp-grid tbody td.td-highlight { background: rgba(3,61,147,0.03); font-weight: 600; color: var(--navy); }
        .comp-grid .check { color: var(--green); font-weight: 700; font-size: 15px; }
        .comp-grid .cross { color: var(--text-dim); font-size: 14px; }
        .comp-grid .premium { font-size: 10px; font-family: var(--mono); color: var(--navy); background: var(--accent-light); padding: 2px 6px; border-radius: 4px; }
        .comp-grid .price-cell { font-size: 16px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
        .comp-grid .price-cell span { font-size: 11px; font-weight: 500; color: var(--text-dim); }
        .comp-grid .price-cell.price-free { color: var(--green); }
        .comp-grid tbody tr.row-category td {
            background: var(--surface2); font-family: var(--mono); font-size: 10px;
            font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
            color: var(--text-dim); padding: 10px 14px; text-align: left;
        }

        .pipeline-steps { display: flex; align-items: flex-start; max-width: 100%; gap: 0; overflow-x: auto; padding-bottom: 12px; justify-content: center; }
        .ps-item { display: flex; align-items: flex-start; flex-shrink: 0; }
        .ps-card { display: flex; flex-direction: column; align-items: center; text-align: center; width: 150px; flex-shrink: 0; }
        .ps-num { font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--text-dim); margin-bottom: 8px; letter-spacing: 0.05em; }
        .ps-icon {
            width: 56px; height: 56px; border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            font-size: 24px; margin-bottom: 12px; border: 2px solid transparent; transition: transform 0.2s;
        }
        .ps-card:hover .ps-icon { transform: scale(1.08); }
        .ps-icon.i-install { background: #eeedf8; border-color: var(--border); }
        .ps-icon.i-log { background: #d1fae5; border-color: #6ee7b7; }
        .ps-icon.i-ai { background: #fef3c7; border-color: #fcd34d; }
        .ps-icon.i-shield { background: #fef0f0; border-color: #f9b4b7; }
        .ps-icon.i-alert { background: #f3e8ff; border-color: #d8b4fe; }
        .ps-name { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
        .ps-desc { font-size: 11px; color: var(--text-muted); line-height: 1.4; }
        .ps-arrow { display: flex; align-items: center; height: 56px; margin-top: 26px; padding: 0 2px; flex-shrink: 0; }
        .ps-arrow svg { width: 24px; height: 24px; color: var(--border); }
        .ps-icon.i-install .lucide-icon { color: var(--navy); }
        .ps-icon.i-log .lucide-icon { color: #065f46; }
        .ps-icon.i-ai .lucide-icon { color: #92400e; }
        .ps-icon.i-shield .lucide-icon { color: var(--red); }
        .ps-icon.i-alert .lucide-icon { color: #7c3aed; }

        .hiw-image {
            display: block;
            width: 100%;
            max-width: 1080px;
            height: auto;
            margin: clamp(48px, 8vw, 96px) auto 0;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .hiw-image:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.18); }
        @media (max-width: 768px) {
            .hiw-image { margin-top: 40px; border-radius: 10px; }
        }

        .showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
        .showcase-reversed { direction: rtl; }
        .showcase-reversed > * { direction: ltr; }
        .showcase-text { max-width: 480px; }
        .showcase-text .section-label { margin-bottom: 12px; }
        .showcase-text h2 { font-size: 28px; font-weight: 700; color: var(--navy); letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 16px; }
        .showcase-text p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
        .showcase-bullets { list-style: none; margin-bottom: 24px; }
        .showcase-bullets li { font-size: 14px; color: var(--text-muted); padding: 6px 0 6px 24px; position: relative; line-height: 1.5; }
        .showcase-bullets li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: 13px; }
        .showcase-img {
            width: 100%; height: auto; border-radius: var(--radius);
            box-shadow: var(--shadow-lg); border: 1px solid var(--border);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .showcase-img:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }

        .features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
        .feature {
            background: var(--surface); border: 1px solid var(--border);
            border-radius: var(--radius); padding: 28px; transition: all 0.2s;
        }
        .feature:hover { border-color: #c5c4e0; box-shadow: var(--shadow-md); transform: translateY(-2px); }
        .feature-icon {
            width: 44px; height: 44px; border-radius: 11px;
            display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px;
        }
        .fi-log { background: #eeedf8; } .fi-log .lucide-icon { color: var(--navy); }
        .fi-ai { background: #fef3c7; } .fi-ai .lucide-icon { color: #92400e; }
        .fi-shield { background: #fef0f0; } .fi-shield .lucide-icon { color: var(--red); }
        .fi-history { background: #d1fae5; } .fi-history .lucide-icon { color: #065f46; }
        .fi-alert { background: #f3e8ff; } .fi-alert .lucide-icon { color: #7c3aed; }
        .fi-export { background: #e8e7f5; } .fi-export .lucide-icon { color: #3a3980; }
        .feature h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: -0.01em; }
        .feature p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

        .security-highlight {
            background: linear-gradient(135deg, var(--dark) 0%, #0a2a6b 100%);
            border-radius: var(--radius); padding: 48px; margin-top: 48px;
            display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
        }
        .security-highlight h3 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: -0.02em; }
        .security-highlight p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 20px; }
        .security-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
        .security-stat {
            background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
            border-radius: 10px; padding: 20px; text-align: center;
        }
        .security-stat-num { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
        .security-stat-num em { font-style: normal; color: var(--red); }
        .security-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 4px; font-family: var(--mono); letter-spacing: 0.04em; }

        .pricing-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: 1000px; margin: 0 auto; }
        .tier {
            background: var(--surface); border: 1px solid var(--border);
            border-radius: var(--radius); padding: 32px 28px; text-align: center;
            position: relative; transition: all 0.2s;
            display: flex; flex-direction: column;
        }
        .tier:hover { border-color: #c5c4e0; box-shadow: var(--shadow-md); transform: translateY(-2px); }
        .tier.tier-featured { border-color: var(--red); border-width: 2px; box-shadow: 0 4px 24px rgba(225,59,59,0.12); }
        .tier-popular {
            position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
            background: var(--red); color: #fff; font-family: var(--mono);
            font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
            text-transform: uppercase; padding: 4px 14px; border-radius: 4px; white-space: nowrap;
        }
        .tier-name { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 8px; }
        .tier-price { font-size: 42px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
        .tier-price span { font-size: 15px; font-weight: 500; color: var(--text-dim); }
        .tier-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
        .tier-features { list-style: none; text-align: left; margin-bottom: 24px; }
        .tier-features li { font-size: 13px; color: var(--text-muted); padding: 7px 0; padding-left: 22px; position: relative; line-height: 1.45; }
        .tier-features li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: 13px; }
        .tier-features li.dim { color: var(--text-dim); }
        .tier-features li.dim::before { content: "\2014"; color: var(--text-dim); }
        .tier-cta {
            display: block; width: 100%; padding: 12px 20px; border-radius: 8px;
            font-family: var(--sans); font-size: 14px; font-weight: 600;
            text-decoration: none; text-align: center; cursor: pointer; border: none; transition: all 0.2s;
            margin-top: auto;
        }
        .tier-cta-primary {
            width: calc(100% + 12px); margin-left: -6px; margin-right: -6px;
            background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(237,28,36,0.3);
            font-size: 15px;
        }
        .tier-cta-primary:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(237,28,36,0.35); }
        .tier-cta-outline { background: transparent; color: var(--navy); border: 1px solid var(--border); }
        .tier-cta-outline:hover { background: var(--accent-light); border-color: #c5c4e0; }
        .tier-note { min-height: 47px; font-family: var(--mono); font-size: 11px; color: var(--text-dim); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); line-height: 1.45; }
        .pricing-footnote { font-size: 14px; color: var(--text-muted); max-width: 600px; margin: 36px auto 0; text-align: center; line-height: 1.7; }
        .pricing-footnote strong { color: var(--navy); }

        .faq-list { max-width: 700px; margin: 0 auto; }
        .faq-item { border-bottom: 1px solid var(--border); }
        .faq-q {
            display: flex; align-items: center; justify-content: space-between;
            padding: 20px 0; cursor: pointer; font-size: 15px; font-weight: 600;
            color: var(--navy); background: none; border: none; width: 100%;
            text-align: left; font-family: var(--sans); transition: color 0.15s;
        }
        .faq-q:hover { color: var(--red); }
        .faq-q svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--text-dim); transition: transform 0.25s; }
        .faq-item.open .faq-q svg { transform: rotate(45deg); }
        .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
        .faq-a-inner { padding: 0 0 20px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
        .faq-item.open .faq-a { max-height: 300px; }

        .cta {
            background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
            padding: 72px 32px; text-align: center; position: relative; overflow: hidden;
        }
        .cta::before {
            content: ''; position: absolute; inset: 0;
            background: radial-gradient(ellipse 500px 250px at 50% 100%, rgba(237,28,36,0.12), transparent);
            pointer-events: none;
        }
        .cta-inner { position: relative; z-index: 1; max-width: 540px; margin: 0 auto; }
        .cta h2 { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -0.03em; margin-bottom: 12px; line-height: 1.2; }
        .cta p { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 28px; line-height: 1.7; }

        .footer { background: var(--surface); border-top: 1px solid var(--border); padding: 32px; overflow-x: clip; }
        .footer-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
        .footer-copy { font-size: 12px; color: var(--text-dim); }
        .footer-copy a { color: var(--navy); text-decoration: none; font-weight: 600; }
        .footer-copy a:hover { text-decoration: underline; }
        .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
        .footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; }
        .footer-links a:hover { color: var(--red); }

        /* Walkthrough — tabbed deep-dive */
        .walkthrough {
            background: var(--surface); border: 1px solid var(--border);
            border-radius: var(--radius); max-width: 100%; overflow: hidden; box-shadow: var(--shadow-md);
        }
        .wt-tabs {
            display: flex; border-bottom: 1px solid var(--border);
            background: var(--surface2); overflow-x: auto; scrollbar-width: thin;
        }
        .wt-tab {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 16px 22px; background: none; border: none; cursor: pointer;
            font-family: var(--sans); font-size: 13px; font-weight: 600;
            color: var(--text-muted); border-bottom: 3px solid transparent;
            transition: all 0.15s; white-space: nowrap; flex-shrink: 0;
        }
        .wt-tab:hover { color: var(--navy); }
        .wt-tab.active { color: var(--red); border-bottom-color: var(--red); background: var(--surface); }
        .wt-tab .lucide-icon { width: 16px; height: 16px; stroke-width: 2; }
        .wt-panel { display: none; padding: 44px; animation: fadeUp 0.35s ease both; }
        .wt-panel.active { display: block; }
        .wt-headline {
            font-size: 24px; font-weight: 700; color: var(--navy);
            letter-spacing: -0.025em; line-height: 1.25; margin-bottom: 10px;
        }
        .wt-lede {
            font-size: 15px; color: var(--text-muted); line-height: 1.7;
            margin-bottom: 32px; max-width: 720px;
        }
        .wt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; margin-bottom: 28px; }
        .wt-group h4 {
            font-size: 14px; font-weight: 700; color: var(--navy);
            margin-bottom: 8px; letter-spacing: -0.01em;
            display: flex; align-items: center; gap: 8px;
        }
        .wt-group h4 .lucide-icon { width: 16px; height: 16px; color: var(--red); stroke-width: 2; }
        .wt-group p { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 10px; }
        .wt-list { list-style: none; }
        .wt-list li {
            font-size: 13px; color: var(--text-muted);
            padding: 3px 0 3px 20px; position: relative; line-height: 1.55;
        }
        .wt-list li::before {
            content: "\2713"; position: absolute; left: 0; top: 3px;
            color: var(--green); font-weight: 700; font-size: 12px;
        }
        .wt-benefits {
            background: linear-gradient(135deg, var(--surface2) 0%, var(--accent-light) 100%);
            border: 1px solid var(--border); border-radius: 10px;
            padding: 22px 26px; margin-top: 8px;
        }
        .wt-benefits-label {
            font-family: var(--mono); font-size: 11px; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.08em; color: var(--red);
            margin-bottom: 14px;
        }
        .wt-benefits ul { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; }
        .wt-benefits li {
            font-size: 13px; color: var(--navy); padding: 2px 0 2px 22px;
            position: relative; font-weight: 500; line-height: 1.5;
        }
        .wt-benefits li::before {
            content: "\2713"; position: absolute; left: 0; top: 2px;
            color: var(--green); font-weight: 700; font-size: 13px;
        }
        .wt-tagline {
            margin-top: 28px; padding-top: 20px; border-top: 1px dashed var(--border);
            font-size: 13px; color: var(--text-muted); line-height: 1.7;
            font-style: italic;
        }
        .wt-tagline strong { color: var(--navy); font-style: normal; font-weight: 700; }
        .wt-video {
            position: relative; margin: 0 0 32px; max-width: 760px;
            aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
            background: #000; box-shadow: var(--shadow-lg);
            border: 1px solid var(--border);
        }
        .wt-video video, .wt-video iframe {
            position: absolute; inset: 0; width: 100%; height: 100%;
            display: block; border: 0;
        }

        @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
        .fade-in { opacity: 0; animation: fadeUp 0.5s ease forwards; }
        .d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.2s; } .d3 { animation-delay: 0.3s; } .d4 { animation-delay: 0.4s; }
        .lucide-icon { width: 24px; height: 24px; stroke-width: 1.5; }
        .ps-icon .lucide-icon { width: 26px; height: 26px; }
        .feature-icon .lucide-icon { width: 22px; height: 22px; }

        @media (max-width: 768px) {
            .header-inner { padding: 0 20px; }
            .nav-link { display: none; }
            .hero { padding: 130px 20px 70px; }
            .hero h1 { font-size: 32px; }
            .hero-sub { font-size: 16px; }
            .section { padding: 56px 20px; }
            .section-title { font-size: 24px; }
            .features { grid-template-columns: 1fr; }
            .pipeline-steps { justify-content: flex-start; padding-left: 20px; }
            .footer-inner { flex-direction: column; text-align: center; }
            .pricing-tiers { grid-template-columns: 1fr; max-width: 400px; }
            .security-highlight { grid-template-columns: 1fr; padding: 32px; }
            .stats-bar-inner { gap: 32px; }
            .showcase, .showcase-reversed { grid-template-columns: 1fr; direction: ltr; }
            .showcase-reversed > * { direction: ltr; }
            .showcase-text { max-width: 100%; }
            .compare-table thead th, .compare-table tbody td { padding: 12px 14px; }
            .compare-table tbody td.cell-old, .compare-table tbody td.cell-new { padding-left: 32px; }
            .compare-table tbody td.cell-old::before { left: 12px; }
            .compare-table tbody td.cell-new::before { left: 12px; }
            .compare-table thead th:first-child, .compare-table tbody td:first-child { display: none; }
            .comp-grid { font-size: 11px; }
            .comp-grid thead th, .comp-grid tbody td { padding: 10px 8px; }
            .comp-grid thead th.col-highlight::after { display: none; }
            .wt-panel { padding: 28px 22px; }
            .wt-headline { font-size: 20px; }
            .wt-grid { grid-template-columns: 1fr; gap: 22px; }
            .wt-benefits ul { grid-template-columns: 1fr; }
            .wt-tab { padding: 14px 16px; font-size: 12px; }
        }
        @media (max-width: 480px) {
            .hero h1 { font-size: 26px; }
            .hero-actions { flex-direction: column; align-items: center; }
            .btn-lg { width: 100%; justify-content: center; }
            .pricing-tiers { max-width: 100%; }
            .security-stats { grid-template-columns: 1fr; }
        }
        /* Problem section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 8px;
}
.problem-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.2s;
}
.problem-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.problem-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--red-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.problem-icon .lucide-icon { width: 18px; height: 18px; color: var(--red); stroke-width: 2; }
.problem-q {
    font-size: 14px;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.5;
    margin: 7px 0 0;
    font-family: var(--sans);
}
.problem-answer {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
    border-radius: var(--radius);
    padding: 32px 36px;
    display: flex;
    align-items: center;
    gap: 24px;
    color: #fff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.problem-answer::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(225,59,59,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.problem-answer-badge {
    width: 56px; height: 56px;
    background: var(--red);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(225,59,59,0.4);
    position: relative; z-index: 1;
}
.problem-answer-badge .lucide-icon { width: 26px; height: 26px; color: #fff; stroke-width: 2; }
.problem-answer-text { position: relative; z-index: 1; }
.problem-pre {
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.problem-answer-headline {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 6px;
}
.problem-answer-headline em { font-style: normal; color: var(--red); }
.problem-answer-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}
@media (max-width: 600px) {
    .problem-answer { flex-direction: column; align-items: flex-start; padding: 26px; gap: 16px; }
    .problem-answer-headline { font-size: 19px; }
}
.hiw-image-wrap {
    position: relative;
    max-width: 1080px;
    width: 100%;
    margin: clamp(48px, 8vw, 96px) auto 0;
}
.hiw-image-wrap .hiw-image { margin: 0; }
.hiw-cta {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 10px 32px rgba(225,59,59,0.5), 0 0 0 8px rgba(255,255,255,0.85);
    transition: transform 0.25s, box-shadow 0.25s;
}
.hiw-cta:hover {
    transform: translate(-50%, -50%) scale(1.04);
    box-shadow: 0 14px 40px rgba(225,59,59,0.6), 0 0 0 10px rgba(255,255,255,0.95);
}
@media (max-width: 600px) {
    .hiw-cta { font-size: 13px; padding: 10px 18px; width: 80dvw; }
}
/* Who It's For */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 8px;
}
.audience-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}
.audience-card:hover {
    border-color: #c5c4e0;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.audience-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.audience-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.audience-icon .lucide-icon { width: 22px; height: 22px; stroke-width: 2; }
.audience-icon.a-agency { background: #eeedf8; }
.audience-icon.a-agency .lucide-icon { color: var(--navy); }
.audience-icon.a-editorial { background: #d1fae5; }
.audience-icon.a-editorial .lucide-icon { color: #065f46; }
.audience-icon.a-security { background: #fef0f0; }
.audience-icon.a-security .lucide-icon { color: var(--red); }
.audience-icon.a-compliance { background: #fef3c7; }
.audience-icon.a-compliance .lucide-icon { color: #92400e; }
.audience-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.audience-card > p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}
.audience-list { list-style: none; margin-top: auto; }
.audience-list li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 5px 0 5px 22px;
    position: relative;
    line-height: 1.5;
}
.audience-list li::before {
    content: "\2713";
    position: absolute;
    left: 0; top: 5px;
    color: var(--green);
    font-weight: 700;
    font-size: 13px;
}
@media (max-width: 768px) {
    .audience-grid { grid-template-columns: 1fr; }
    .audience-card { padding: 24px 22px; }
}

/* ===== Help Center (knowledge base) ===== */
        .mobile-toggle {
            display: none;
            background: none; border: none; cursor: pointer;
            width: 40px; height: 40px;
            align-items: center; justify-content: center;
        }
        .mobile-toggle svg,
        .mobile-toggle .lucide-icon { width: 22px; height: 22px; color: var(--navy); }

        /* Mobile menu overlay */
        .mobile-menu {
            display: none;
            position: fixed; top: 56px; left: 0; right: 0;
            background: rgba(255,255,255,0.97);
            backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            box-shadow: var(--shadow-lg);
            padding: 16px 20px;
            z-index: 99;
            flex-direction: column; gap: 4px;
        }
        .mobile-menu.open { display: flex; }
        .mobile-menu a {
            display: flex; align-items: center; gap: 10px;
            padding: 12px 16px; border-radius: 10px;
            font-size: 14px; font-weight: 500; color: var(--navy);
            text-decoration: none; transition: all 0.15s;
        }
        .mobile-menu a:hover { background: var(--surface2); color: var(--red); }
        .mobile-menu a.active { color: var(--red); font-weight: 600; background: var(--red-light); }
        .mobile-menu .btn-primary {
            margin-top: 8px; justify-content: center;
            padding: 12px 20px; border-radius: 10px; font-size: 14px;
            color: #fff !important;
        }

        /* =============================================
           HERO
           ============================================= */
        .kb-hero {
            padding: 140px 32px 72px;
            background: var(--dark);
            position: relative; overflow: hidden; text-align: center;
        }
        .kb-hero::before {
            content: ''; position: absolute; inset: 0;
            background:
                repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 160px),
                repeating-linear-gradient(0deg, transparent 0px, transparent 32px, rgba(255,255,255,0.012) 32px, rgba(255,255,255,0.012) 33px),
                linear-gradient(160deg, #00133F 0%, #021B4D 35%, #0A2A6B 65%, #001030 100%);
            pointer-events: none; z-index: 0;
        }
        .kb-hero::after {
            content: ''; position: absolute; top: -100px; right: -100px;
            width: 600px; height: 600px; border-radius: 50%;
            background: radial-gradient(circle, rgba(225,59,59,0.08) 0%, rgba(225,59,59,0.03) 40%, transparent 70%);
            pointer-events: none; z-index: 0;
        }
        .kb-hero-glow {
            position: absolute; bottom: -120px; left: -80px;
            width: 500px; height: 500px; border-radius: 50%;
            background: radial-gradient(circle, rgba(3,61,147,0.15) 0%, transparent 65%);
            pointer-events: none; z-index: 0;
        }
        .kb-hero-content { position: relative; z-index: 3; max-width: 700px; margin: 0 auto; }
        .kb-hero-badge {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 5px 14px; border-radius: 20px;
            background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
            font-family: var(--mono); font-size: 11px; font-weight: 600;
            letter-spacing: 0.04em; border: 1px solid rgba(255,255,255,0.12);
            margin-bottom: 24px; backdrop-filter: blur(8px);
        }
        .kb-hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px rgba(225,59,59,0.5); }
        .kb-hero h1 {
            font-size: 44px; font-weight: 800; letter-spacing: -0.04em;
            line-height: 1.15; color: #fff; margin-bottom: 16px;
        }
        .kb-hero h1 em { font-style: normal; color: var(--red); }
        .kb-hero-sub {
            font-size: 17px; color: rgba(255,255,255,0.55); line-height: 1.7;
            max-width: 520px; margin: 0 auto 36px; font-weight: 400;
        }

        .kb-search { max-width: 540px; margin: 0 auto; position: relative; z-index: 10; }
        .kb-search-input {
            width: 100%; padding: 16px 56px 16px 22px;
            border: 2px solid rgba(255,255,255,0.15); border-radius: 14px;
            background: rgba(255,255,255,0.07); backdrop-filter: blur(12px);
            color: #fff; font-family: var(--sans); font-size: 15px; font-weight: 400;
            outline: none; transition: all 0.25s;
        }
        .kb-search-input::placeholder { color: rgba(255,255,255,0.35); }
        .kb-search-input:focus {
            border-color: var(--red);
            background: rgba(255,255,255,0.1);
            box-shadow: 0 0 0 4px rgba(225,59,59,0.15);
        }
        .kb-search-icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #fff; }
        .kb-search-icon svg,
        .kb-search-icon .lucide-icon { width: 20px; height: 20px; color: #fff !important; stroke: #fff !important; }

        /* Search Dropdown */
        .kb-search-dropdown {
            position: absolute; top: calc(100% + 8px); left: 0; right: 0;
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 12px; box-shadow: var(--shadow-lg);
            max-height: 360px; overflow-y: auto;
            display: none; z-index: 20;
        }
        .kb-search-dropdown.open { display: block; }
        .kb-search-dropdown-item {
            display: flex; align-items: center; gap: 12px;
            padding: 12px 18px; cursor: pointer;
            border-bottom: 1px solid var(--border);
            transition: background 0.15s;
        }
        .kb-search-dropdown-item:last-child { border-bottom: none; }
        .kb-search-dropdown-item:hover { background: var(--surface2); }
        .kb-search-dropdown-icon {
            width: 32px; height: 32px; border-radius: 8px;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
            background: var(--accent-light);
        }
        .kb-search-dropdown-icon svg { width: 15px; height: 15px; color: var(--navy); stroke-width: 2; }
        .kb-search-dropdown-text { flex: 1; min-width: 0; }
        .kb-search-dropdown-title { font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .kb-search-dropdown-parent { font-size: 11px; color: var(--text-dim); margin-top: 1px; }
        .kb-search-dropdown-arrow svg { width: 14px; height: 14px; color: var(--text-dim); }
        .kb-search-no-results { padding: 20px; text-align: center; font-size: 13px; color: var(--text-dim); }

        /* =============================================
           TOPIC CARDS
           ============================================= */
        .kb-topics {
            max-width: 1140px; margin: 0 auto; padding: 0 32px;
            position: relative; z-index: 2;
            margin-top: -44px;
        }
        .kb-topics-grid {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 24px;
            box-shadow: var(--shadow-md);
        }
        .kb-topic-card {
            background: var(--surface2); border: 1px solid transparent; border-radius: 12px;
            padding: 20px; display: flex; align-items: center; gap: 14px;
            text-decoration: none; transition: all 0.2s; cursor: pointer;
        }
        .kb-topic-card:hover { border-color: var(--border); box-shadow: var(--shadow-sm); transform: translateY(-2px); background: #fff; }
        .kb-topic-icon {
            width: 42px; height: 42px; border-radius: 10px;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .kb-topic-icon .lucide-icon { width: 20px; height: 20px; stroke-width: 2; }
        .kb-topic-text h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
        .kb-topic-text span { font-size: 11px; color: var(--text-dim); }

        /* =============================================
           MAIN KB LAYOUT
           ============================================= */
        .kb-layout {
            max-width: 1140px; margin: 0 auto; padding: 48px 32px 80px;
            display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px;
        }

        /* SIDEBAR NAV */
        .kb-sidebar { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; }
        .kb-sidebar-title {
            font-family: var(--mono); font-size: 10px; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.1em;
            color: var(--text-dim); margin-bottom: 16px; padding-left: 14px;
        }
        .kb-nav { list-style: none; }
        .kb-nav-section { margin-bottom: 8px; }
        .kb-nav-link {
            display: flex; align-items: center; gap: 10px;
            padding: 10px 14px; border-radius: 10px;
            font-size: 13px; font-weight: 500; color: var(--text-muted);
            text-decoration: none; transition: all 0.15s;
            border: 1px solid transparent;
        }
        .kb-nav-link:hover { background: var(--surface); color: var(--navy); border-color: var(--border); }
        .kb-nav-link.active {
            background: var(--surface); color: var(--red);
            border-color: var(--border); font-weight: 600;
            box-shadow: var(--shadow-sm);
        }
        .kb-nav-link .lucide-icon { width: 16px; height: 16px; flex-shrink: 0; stroke-width: 2; }
        .kb-nav-link.active .lucide-icon { color: var(--red); }
        .kb-nav-sub { list-style: none; margin-left: 26px; margin-bottom: 4px; }
        .kb-nav-sub a {
            display: block; padding: 5px 14px; font-size: 12px;
            color: var(--text-dim); text-decoration: none;
            border-left: 2px solid var(--border); transition: all 0.15s;
        }
        .kb-nav-sub a:hover { color: var(--navy); border-left-color: var(--navy); }
        .kb-nav-sub a.active { color: var(--red); border-left-color: var(--red); font-weight: 600; }

        /* =============================================
           CONTENT AREA
           ============================================= */
        .kb-article {
            background: var(--surface); border: 1px solid var(--border);
            border-radius: var(--radius); padding: 48px;
            margin-bottom: 32px; box-shadow: var(--shadow-sm);
            scroll-margin-top: 96px;
        }
        .kb-article-label {
            font-family: var(--mono); font-size: 11px; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.1em;
            color: var(--red); margin-bottom: 12px;
            display: flex; align-items: center; gap: 8px;
        }
        .kb-article-label .lucide-icon { width: 14px; height: 14px; }
        .kb-article h2 {
            font-size: 26px; font-weight: 700; letter-spacing: -0.03em;
            color: var(--navy); margin-bottom: 16px; line-height: 1.2;
        }
        .kb-article h3 {
            font-size: 19px; font-weight: 700; letter-spacing: -0.02em;
            color: var(--navy); margin: 36px 0 14px; line-height: 1.3;
            scroll-margin-top: 96px;
        }
        .kb-article h4 {
            font-size: 15px; font-weight: 700; color: var(--navy);
            margin: 24px 0 10px; display: flex; align-items: center; gap: 8px;
        }
        .kb-article h4 .lucide-icon { width: 16px; height: 16px; color: var(--red); stroke-width: 2; }
        .kb-article p { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
        .kb-article strong { color: var(--navy); font-weight: 600; }

        .kb-intro-box {
            background: linear-gradient(135deg, var(--surface2) 0%, var(--accent-light) 100%);
            border: 1px solid var(--border); border-radius: 10px;
            padding: 22px 26px; margin-bottom: 28px;
        }
        .kb-intro-box p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0; }
        .kb-intro-box .lucide-icon { width: 18px; height: 18px; color: var(--navy); margin-bottom: 8px; }

        .kb-steps { list-style: none; counter-reset: step; margin: 20px 0 28px; }
        .kb-steps li {
            counter-increment: step; position: relative;
            padding: 16px 20px 16px 64px; margin-bottom: 12px;
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 10px; transition: all 0.2s;
        }
        .kb-steps li:hover { border-color: #c5c4e0; box-shadow: var(--shadow-sm); transform: translateX(4px); }
        .kb-steps li::before {
            content: counter(step);
            position: absolute; left: 16px; top: 14px;
            width: 32px; height: 32px; border-radius: 8px;
            background: var(--dark); color: #fff;
            font-family: var(--mono); font-size: 13px; font-weight: 600;
            display: flex; align-items: center; justify-content: center;
        }
        .kb-steps li strong { color: var(--navy); font-weight: 600; }
        .kb-steps li span { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

        .kb-kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0 28px; }
        .kb-kpi-card {
            padding: 20px; border-radius: 10px;
            border: 1px solid var(--border); transition: all 0.2s;
        }
        .kb-kpi-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
        .kb-kpi-card h5 { font-size: 13px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
        .kb-kpi-card p { font-size: 12px; color: var(--text-muted); line-height: 1.55; margin: 0; }
        .kb-kpi-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

        .kpi-blue { background: #e8f4fd; }
        .kpi-blue h5 { color: #1d4ed8; }
        .kpi-blue .kb-kpi-dot { background: #3b82f6; }
        .kpi-green { background: var(--green-bg); }
        .kpi-green h5 { color: var(--green); }
        .kpi-green .kb-kpi-dot { background: var(--green); }
        .kpi-purple { background: #f3e8ff; }
        .kpi-purple h5 { color: #7c3aed; }
        .kpi-purple .kb-kpi-dot { background: #7c3aed; }
        .kpi-orange { background: #fff7ed; }
        .kpi-orange h5 { color: #c2410c; }
        .kpi-orange .kb-kpi-dot { background: #ea580c; }

        .kb-feature-row {
            display: flex; gap: 16px; align-items: flex-start;
            padding: 18px; margin-bottom: 14px;
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 10px; transition: all 0.2s;
        }
        .kb-feature-row:hover { border-color: #c5c4e0; box-shadow: var(--shadow-sm); }
        .kb-feature-icon {
            width: 40px; height: 40px; border-radius: 10px;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .kb-feature-icon .lucide-icon { width: 18px; height: 18px; stroke-width: 2; }
        .kb-feature-text h5 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
        .kb-feature-text p { font-size: 12px; color: var(--text-muted); line-height: 1.55; margin: 0; }

        .fi-purple { background: #f3e8ff; }
        .fi-purple .lucide-icon { color: #7c3aed; }
        .fi-blue { background: #e8f4fd; }
        .fi-blue .lucide-icon { color: #1d4ed8; }
        .fi-green-bg { background: var(--green-bg); }
        .fi-green-bg .lucide-icon { color: var(--green); }
        .fi-amber { background: #fef3c7; }
        .fi-amber .lucide-icon { color: #92400e; }
        .fi-red-bg { background: var(--red-light); }
        .fi-red-bg .lucide-icon { color: var(--red); }
        .fi-navy-bg { background: var(--accent-light); }
        .fi-navy-bg .lucide-icon { color: var(--navy); }

        .kb-callout {
            display: flex; gap: 14px; align-items: flex-start;
            padding: 18px 22px; border-radius: 10px; margin: 24px 0;
        }
        .kb-callout-icon {
            width: 36px; height: 36px; border-radius: 9px;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .kb-callout-icon .lucide-icon { width: 18px; height: 18px; stroke-width: 2; }
        .kb-callout p { font-size: 13px; line-height: 1.6; margin: 0; }

        .callout-warning { background: #fff7ed; border: 1px solid #fed7aa; }
        .callout-warning .kb-callout-icon { background: #ffedd5; }
        .callout-warning .kb-callout-icon .lucide-icon { color: #ea580c; }
        .callout-warning p { color: #9a3412; }

        .callout-info { background: #e8f4fd; border: 1px solid #bfdbfe; }
        .callout-info .kb-callout-icon { background: #dbeafe; }
        .callout-info .kb-callout-icon .lucide-icon { color: #1d4ed8; }
        .callout-info p { color: #1e40af; }

        .callout-tip { background: var(--green-bg); border: 1px solid #bbf7d0; }
        .callout-tip .kb-callout-icon { background: #dcfce7; }
        .callout-tip .kb-callout-icon .lucide-icon { color: var(--green); }
        .callout-tip p { color: #166534; }

        .callout-danger { background: var(--red-light); border: 1px solid #fecaca; }
        .callout-danger .kb-callout-icon { background: #fee2e2; }
        .callout-danger .kb-callout-icon .lucide-icon { color: #dc2626; }
        .callout-danger p { color: #991b1b; }

        .kb-faq { margin-top: 8px; }
        .kb-faq-item {
            border: 1px solid var(--border); border-radius: 10px;
            margin-bottom: 10px; background: var(--surface);
            overflow: hidden; transition: all 0.2s;
        }
        .kb-faq-item:hover { border-color: #c5c4e0; }
        .kb-faq-item.open { border-color: var(--red); box-shadow: var(--shadow-sm); }
        .kb-faq-q {
            display: flex; align-items: center; justify-content: space-between;
            gap: 16px; padding: 16px 20px;
            cursor: pointer; font-size: 14px; font-weight: 600;
            color: var(--navy); background: none; border: none; width: 100%;
            text-align: left; font-family: var(--sans); transition: color 0.15s;
        }
        .kb-faq-q:hover { color: var(--red); }
        .kb-faq-q svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--text-dim); transition: transform 0.25s; }
        .kb-faq-item.open .kb-faq-q svg { transform: rotate(45deg); }
        .kb-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
        .kb-faq-item.open .kb-faq-a { max-height: 400px; }
        .kb-faq-a-inner { padding: 0 20px 18px; font-size: 13px; color: var(--text-muted); line-height: 1.7; }

        .kb-divider { height: 1px; background: var(--border); margin: 32px 0; border: none; }

        .kb-list { list-style: none; margin: 12px 0 20px; }
        .kb-list li {
            font-size: 13px; color: var(--text-muted);
            padding: 5px 0 5px 22px; position: relative; line-height: 1.6;
        }
        .kb-list li::before {
            content: "\2713"; position: absolute; left: 0; top: 5px;
            color: var(--green); font-weight: 700; font-size: 12px;
        }

        /* =============================================
           TABLES
           ============================================= */
        .kb-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); margin: 20px 0 28px; }
        .kb-table thead th { padding: 12px 16px; font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; text-align: left; background: var(--surface2); color: var(--text-muted); border-bottom: 2px solid var(--border); }
        .kb-table tbody td { padding: 14px 16px; font-size: 13px; color: var(--text-muted); line-height: 1.55; border-bottom: 1px solid var(--border); vertical-align: top; }
        .kb-table tbody tr:last-child td { border-bottom: none; }
        .kb-table tbody tr:hover { background: var(--surface2); }
        .kb-table tbody td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }

        /* =============================================
           SEVERITY BADGES
           ============================================= */
        .severity-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; font-family: var(--mono); }
        .sev-critical { background: #fef0f0; color: #dc2626; }
        .sev-high { background: #fff7ed; color: #ea580c; }
        .sev-medium { background: #fefce8; color: #ca8a04; }
        .sev-low { background: #e8f4fd; color: #1d4ed8; }
        .sev-info { background: var(--surface2); color: var(--text-dim); }
        .severity-dot { width: 8px; height: 8px; border-radius: 50%; }
        .sev-critical .severity-dot { background: #dc2626; }
        .sev-high .severity-dot { background: #ea580c; }
        .sev-medium .severity-dot { background: #ca8a04; }
        .sev-low .severity-dot { background: #1d4ed8; }
        .sev-info .severity-dot { background: var(--text-dim); }

        /* =============================================
           RELATED / CTA
           ============================================= */
        .kb-related {
            background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
            border-radius: var(--radius); padding: 36px 40px;
            position: relative; overflow: hidden;
        }
        .kb-related::before {
            content: ''; position: absolute; top: -60px; right: -60px;
            width: 280px; height: 280px;
            background: radial-gradient(circle, rgba(225,59,59,0.18) 0%, transparent 65%);
            pointer-events: none;
        }
        .kb-related-inner { position: relative; z-index: 1; }
        .kb-related h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
        .kb-related p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 24px; line-height: 1.6; }
        .kb-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
        .kb-related-card {
            background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
            border-radius: 10px; padding: 16px 18px;
            text-decoration: none; transition: all 0.2s;
            display: flex; align-items: center; gap: 12px;
        }
        .kb-related-card:hover {
            background: rgba(255,255,255,0.18);
            border-color: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }
        .kb-related-card-icon {
            width: 34px; height: 34px; border-radius: 8px;
            background: rgba(255,255,255,0.12);
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .kb-related-card-icon svg,
        .kb-related-card-icon .lucide-icon { width: 16px; height: 16px; color: #fff !important; stroke: #fff !important; stroke-width: 2; }
        .kb-related-card span { font-size: 13px; font-weight: 500; color: #fff; }

/* ===== Help Center responsive ===== */
        /* =============================================
           RESPONSIVE - TABLET (max 960px)
           ============================================= */
        @media (max-width: 960px) {
            .kb-layout { grid-template-columns: 1fr; gap: 0; padding: 0 24px 64px; }
            .kb-sidebar {
                position: relative; top: 0;
                padding: 24px 0 0;
                border-bottom: 1px solid var(--border);
                margin-bottom: 32px;
            }
            .kb-sidebar-title { display: none; }
            .kb-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 16px; }
            .kb-nav-section { margin-bottom: 0; flex-shrink: 0; }
            .kb-nav-sub { display: none; }
            .kb-nav-link { white-space: nowrap; padding: 8px 14px; font-size: 12px; }
            .kb-article { padding: 32px 28px; }
            .kb-kpi-grid { grid-template-columns: 1fr 1fr; }
            .kb-topics-grid { grid-template-columns: repeat(2, 1fr); padding: 20px; }
            .kb-topics { margin-top: -24px; padding: 0 24px; }
        }

        /* =============================================
           RESPONSIVE - MOBILE (max 768px)
           ============================================= */
        @media (max-width: 768px) {
            .header-inner { padding: 0 16px; height: 56px; }
            .header-nav .nav-link { display: none; }
            .header-nav .btn-primary { display: none; }
            .mobile-toggle { display: flex; }

            .kb-hero { padding: 120px 20px 56px; }
            .kb-hero h1 { font-size: 30px; }
            .kb-hero-sub { font-size: 15px; }

            .kb-layout { padding: 0 16px 48px; }
            .kb-article { padding: 24px 20px; margin-bottom: 20px; }
            .kb-article h2 { font-size: 22px; }
            .kb-article h3 { font-size: 17px; }

            .kb-kpi-grid { grid-template-columns: 1fr; }
            .kb-feature-row { flex-direction: column; }
            .kb-related-grid { grid-template-columns: 1fr; }
            .kb-topics-grid { grid-template-columns: 1fr; padding: 16px; }
            .kb-topics { padding: 0 16px; }
            .kb-table { font-size: 12px; }
            .kb-table thead th, .kb-table tbody td { padding: 10px 12px; }

            .footer-inner { flex-direction: column; text-align: center; }
        }

        /* =============================================
           RESPONSIVE - SMALL MOBILE (max 480px)
           ============================================= */
        @media (max-width: 480px) {
            .kb-hero h1 { font-size: 24px; }
            .kb-search-input { font-size: 14px; padding: 14px 50px 14px 18px; }
            .kb-steps li { padding-left: 56px; }
            .kb-steps li::before { width: 28px; height: 28px; font-size: 11px; }
            .kb-article { padding: 20px 16px; }
        }

/* ===== Page-scoped overrides (keep landing & help isolated) ===== */
body.page-home { background: var(--surface); }
body.page-help { background: var(--bg); }
@media (max-width: 768px) {
    body.page-home .header-inner,
    body.page-help .header-inner { padding: 0 20px; height: 64px; }
    body.page-home .header-nav .btn-primary,
    body.page-help .header-nav .btn-primary { display: inline-flex; }
}

/* ===== Custom play button for lazy videos ===== */
.wt-video-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 76px; height: 76px; border-radius: 50%;
    border: none; cursor: pointer; z-index: 2; padding: 0;
    background: var(--red);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 28px rgba(0,0,0,0.35), 0 0 0 6px rgba(255,255,255,0.18);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.wt-video-play:hover {
    background: var(--red-hover);
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 12px 34px rgba(0,0,0,0.45), 0 0 0 8px rgba(255,255,255,0.25);
}
.wt-video-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wt-video-play svg { width: 32px; height: 32px; margin-left: 4px; }
.wt-video.is-loaded .wt-video-play { display: none; }

/* ===== Scroll-to-top button ===== */
.scroll-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 90;
    width: 46px; height: 46px; border-radius: 50%;
    border: none; cursor: pointer; padding: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--navy); color: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.scroll-top:hover { background: var(--red); transform: translateY(-2px) scale(1.06); box-shadow: 0 12px 32px rgba(0,0,0,0.28); }
.scroll-top:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.scroll-top svg { width: 22px; height: 22px; }
@media (max-width: 768px) {
    .scroll-top { bottom: 16px; right: 16px; width: 42px; height: 42px; }
}
/* ===== Edge-to-edge showcase screenshots on mobile ===== */
@media (max-width: 768px) {
    .showcase-img {
        /*
        width: calc(100% + 40px);
        max-width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        */
        height: auto;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .hiw-image-wrap {
        width: calc(100% + 40px);
        max-width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
    }
    .hiw-image-wrap .hiw-image {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}
/* ===== Floating Help button (links to Help Center) ===== */
.help-fab {
    position: fixed; right: 24px; bottom: 24px; z-index: 90;
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--red); color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(225,59,59,0.4);
    text-decoration: none;
    transition: bottom 0.3s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.help-fab:hover { background: var(--red-hover); transform: translateY(-2px) scale(1.06); box-shadow: 0 8px 22px rgba(225,59,59,0.5); }
.help-fab:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.help-fab svg { width: 22px; height: 22px; }
.help-fab.lifted { bottom: 80px; }
@media (max-width: 768px) {
    .help-fab { right: 16px; bottom: 16px; width: 42px; height: 42px; }
    .help-fab.lifted { bottom: 68px; }
}
