/* =====================================================================
   PQ PDF — Cutting-Edge UI Enhancements
   Techniques: @property · scroll-driven animations · container queries ·
   color-mix() · @starting-style · View Transitions · card tilt/spotlight
   Target: Chrome 120+ · Firefox 121+ · Safari 17+
   CSP-compliant: no inline styles
   ===================================================================== */

/* ── @property: type-safe animatable CSS custom properties ───────────── */
@property --card-glow-x {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 50%;
}

@property --card-glow-y {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 50%;
}

@property --card-glow-opacity {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

/* ── Scroll Progress Bar ─────────────────────────────────────────────── */
.pdf-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--pdf-primary) 0%,
        var(--pdf-secondary) 50%,
        var(--pdf-accent) 100%
    );
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 9999;
    pointer-events: none;
    will-change: transform;
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.5);
}

@supports (animation-timeline: scroll()) {
    .pdf-scroll-progress {
        animation: pdf-progress-fill linear;
        animation-timeline: scroll(root block);
    }

    @keyframes pdf-progress-fill {
        from { transform: scaleX(0); }
        to   { transform: scaleX(1); }
    }
}

/* ── Card Spotlight: radial glow follows cursor within each card ─────── */
/* Overrides the base .pdf-tool-card background to layer the spotlight  */
.pdf-tool-card {
    --card-glow-x: 50%;
    --card-glow-y: 50%;
    --card-glow-opacity: 0;
    background:
        radial-gradient(
            480px circle at var(--card-glow-x) var(--card-glow-y),
            rgba(255, 155, 30, calc(var(--card-glow-opacity) * 0.09)),
            transparent 42%
        ),
        var(--pdf-bg-card);
    transition:
        transform var(--pdf-transition),
        border-color var(--pdf-transition),
        box-shadow var(--pdf-transition),
        background var(--pdf-transition),
        --card-glow-opacity 0.35s ease;
    will-change: transform;
}

.pdf-tool-card:hover,
.pdf-tool-card-hover {
    --card-glow-opacity: 1;
    /* Maintain gradient spotlight on hover background switch */
    background:
        radial-gradient(
            480px circle at var(--card-glow-x) var(--card-glow-y),
            rgba(255, 155, 30, 0.09),
            transparent 42%
        ),
        var(--pdf-bg-card-hover);
}

/* ── 3D Perspective: tool grid is the perspective parent ────────────── */
.pdf-tool-grid {
    perspective: 900px;
    perspective-origin: 50% 30%;
}

/* Smooth spring return when JS tilt ends */
.pdf-tool-card.pdf-tilt-return {
    transition:
        transform 0.55s cubic-bezier(0.23, 1, 0.32, 1),
        border-color var(--pdf-transition),
        box-shadow var(--pdf-transition),
        --card-glow-opacity 0.35s ease;
}

/* ── text-wrap: balance for headings ────────────────────────────────── */
@supports (text-wrap: balance) {
    .pdf-page-title,
    .pdf-section-title,
    .pdf-hero-subline,
    .pdf-privacy-title,
    .pdf-tech-title,
    .pdf-tool-title,
    .pdf-how-title {
        text-wrap: balance;
    }
}

/* ── Stats bar: glassmorphism upgrade ───────────────────────────────── */
.pdf-stats-bar {
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    background: rgba(12, 21, 37, 0.72);
    border-color: rgba(255, 140, 0, 0.18);
    position: relative;
    overflow: hidden;
}

/* Animated light-sweep across stats bar */
.pdf-stats-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -55%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 210, 100, 0.05) 50%,
        transparent
    );
    animation: pdf-stats-sweep 5.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes pdf-stats-sweep {
    0%   { left: -55%; }
    60%  { left: 115%; }
    100% { left: 115%; }
}

/* Stats items: spring-lift on hover */
.pdf-stat-item {
    position: relative;
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.pdf-stat-item:hover {
    transform: translateY(-4px);
}

/* ── Proof badges: enhanced hover spring ────────────────────────────── */
.pdf-proof-badge {
    transition:
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease,
        border-color var(--pdf-transition);
}

.pdf-proof-badge:hover {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 10px 28px rgba(255, 140, 0, 0.25);
}

/* ── Section scroll-reveal via CSS view-timeline ────────────────────── */
/* NOTE: .pdf-privacy-card and .pdf-tech-card are handled by the JS
   IntersectionObserver (pdf-fade-in class) — do NOT add animation-timeline
   to those or they will conflict and stay invisible.
   Apply view-timeline only to elements NOT animated by JS. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .pdf-how-it-works-section {
            animation: pdf-vt-rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 25%;
        }

        @keyframes pdf-vt-rise {
            from {
                opacity: 0.3;
                translate: 0 16px;
            }
            to {
                opacity: 1;
                translate: 0 0;
            }
        }
    }
}

/* ── @starting-style: hub drop overlay entrance ─────────────────────── */
@starting-style {
    .pdf-hub-drop-overlay:not(.pdf-hub-drop-hidden) {
        opacity: 0;
        scale: 0.96;
    }
}

.pdf-hub-drop-overlay:not(.pdf-hub-drop-hidden) {
    transition:
        opacity 0.28s ease,
        scale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── color-mix(): richer badge variants ─────────────────────────────── */
@supports (background: color-mix(in oklch, red, blue)) {
    .pdf-header-badge-amber {
        background: color-mix(in oklch, var(--pdf-primary) 16%, transparent);
        border-color: color-mix(in oklch, var(--pdf-primary) 38%, transparent);
    }
    .pdf-header-badge-gold {
        background: color-mix(in oklch, var(--pdf-secondary) 13%, transparent);
        border-color: color-mix(in oklch, var(--pdf-secondary) 30%, transparent);
    }
    .pdf-header-badge-green {
        background: color-mix(in oklch, var(--pdf-green) 11%, transparent);
        border-color: color-mix(in oklch, var(--pdf-green) 26%, transparent);
    }
    .pdf-header-badge-orange {
        background: color-mix(in oklch, var(--pdf-accent) 15%, transparent);
        border-color: color-mix(in oklch, var(--pdf-accent) 34%, transparent);
    }
}

/* ── Search bar: animated gradient border on focus ───────────────────── */
.pdf-search-wrapper {
    position: relative;
    display: block;
}

.pdf-search-wrapper::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: calc(var(--pdf-radius-sm) + 2px);
    background: linear-gradient(
        90deg,
        var(--pdf-primary),
        var(--pdf-secondary),
        var(--pdf-accent),
        var(--pdf-primary)
    );
    background-size: 300% 100%;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: pdf-border-spin 3.5s linear infinite paused;
}

.pdf-search-wrapper:focus-within::before {
    opacity: 1;
    animation-play-state: running;
}

@keyframes pdf-border-spin {
    from { background-position: 0% center; }
    to   { background-position: 300% center; }
}

/* Enhanced search input interaction */
#pdf-tool-search {
    transition:
        border-color var(--pdf-transition),
        box-shadow var(--pdf-transition),
        transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#pdf-tool-search:focus {
    transform: scaleX(1.008);
}

/* ── Button ripple ───────────────────────────────────────────────────── */
.pdf-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.pdf-btn-ripple {
    position: absolute;
    border-radius: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.22);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pdf-ripple-burst 0.6s ease-out forwards;
}

@keyframes pdf-ripple-burst {
    from {
        width: 0;
        height: 0;
        opacity: 0.7;
    }
    to {
        width: 320px;
        height: 320px;
        opacity: 0;
    }
}

/* ── Tool section: container query for responsive grid ──────────────── */
.pdf-tools-section {
    container-type: inline-size;
    container-name: tools-section;
}

@container tools-section (max-width: 580px) {
    .pdf-tool-grid {
        grid-template-columns: 1fr;
    }
}

@container tools-section (min-width: 581px) and (max-width: 820px) {
    .pdf-tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Cross-document View Transitions (CSS-native, Chrome 126+) ───────── */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 0.22s ease-out both pdf-vt-slide-out;
}

::view-transition-new(root) {
    animation: 0.28s ease-out both pdf-vt-slide-in;
}

@keyframes pdf-vt-slide-out {
    from { opacity: 1; translate: 0 0;    scale: 1; }
    to   { opacity: 0; translate: 0 -6px; scale: 0.99; }
}

@keyframes pdf-vt-slide-in {
    from { opacity: 0; translate: 0 8px; scale: 0.99; }
    to   { opacity: 1; translate: 0 0;   scale: 1; }
}

/* ── Search section layout ───────────────────────────────────────────── */
.pdf-search-section {
    margin-bottom: 1.5rem;
}

.pdf-search-input-wrap {
    position: relative;
    max-width: 480px;
}

.pdf-search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0.5;
}

#pdf-tool-search {
    padding-left: 2.4rem;
    width: 100%;
}

/* ── Reduced motion: kill everything ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .pdf-scroll-progress,
    .pdf-stats-bar::after,
    .pdf-search-wrapper::before {
        animation: none !important;
    }

    .pdf-proof-badge:hover {
        transform: none !important;
    }

    .pdf-stat-item:hover {
        transform: none !important;
    }

    .pdf-tool-card.pdf-tilt-return {
        transition: none;
    }

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none !important;
    }

    .pdf-how-it-works-section {
        animation: none !important;
    }
}

/* ── Draggable filter pills ───────────────────────────────────────────────── */
.pdf-filter-pill[draggable="true"] {
    cursor: grab;
    user-select: none;
}
.pdf-filter-pill[draggable="true"]:active {
    cursor: grabbing;
}
.pdf-filter-pill.pdf-pill-dragging {
    opacity: 0.35;
    outline: 2px dashed var(--pdf-amber, #ff8c00);
}
.pdf-filter-pill.pdf-pill-drag-over {
    outline: 2px solid var(--pdf-amber, #ff8c00);
    outline-offset: 2px;
    background: rgba(255, 140, 0, 0.18);
}

/* ════════════════════════════════════════════════════════════════════════
   LANDING PAGE REWRITE — Security-First Sections
   ════════════════════════════════════════════════════════════════════════ */

/* ── Security Hero ──────────────────────────────────────────────────────── */
.pdf-hero-security {
    padding: 1.75rem 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
/* Radial glow behind the headline */
.pdf-hero-security::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 420px;
    background: radial-gradient(ellipse at center, rgba(255,140,0,0.11) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.pdf-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}
/* Pre-headline eyebrow */
.pdf-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.3rem 0.9rem;
    background: rgba(255,140,0,0.1);
    border: 1px solid rgba(255,140,0,0.25);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pdf-primary);
    margin-bottom: 1.2rem;
}
.pdf-hero-eyebrow-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pdf-primary);
    animation: pdf-hero-pulse 2s ease-in-out infinite;
}
@keyframes pdf-hero-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(0.7); }
}
.pdf-hero-headline {
    font-size: clamp(2.2rem, 4.8vw, 3.75rem);
    font-weight: 800;
    line-height: 1.13;
    color: var(--pdf-text);
    margin: 0 0 1.1rem;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 32px rgba(0,0,0,0.5);
}
/* Second line: amber→gold gradient text */
.pdf-hero-headline em {
    font-style: normal;
    display: block;
    font-size: 0.88em;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(100deg, var(--pdf-primary) 0%, var(--pdf-secondary) 60%, #fff0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.1em;
}


.pdf-hero-sub {
    font-size: clamp(0.97rem, 2vw, 1.13rem);
    color: rgba(240, 228, 208, 0.72);
    line-height: 1.75;
    margin: 0 auto 1.75rem;
    max-width: 560px;
}
/* Highlight key phrase in sub */
.pdf-hero-sub strong {
    color: var(--pdf-text);
    font-weight: 600;
}
.pdf-hero-ctas {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}
.pdf-hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    padding: 0.9rem 2.1rem;
    background: var(--pdf-primary);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 0 24px rgba(255, 140, 0, 0.4), 0 2px 8px rgba(0,0,0,0.4);
}
.pdf-hero-cta-primary:hover {
    background: var(--pdf-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(255, 140, 0, 0.6), 0 4px 16px rgba(0,0,0,0.4);
}
.pdf-hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    padding: 0.9rem 2.1rem;
    background: rgba(255,255,255,0.04);
    color: var(--pdf-text);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid var(--pdf-border-hover);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}
.pdf-hero-cta-secondary:hover {
    border-color: var(--pdf-primary);
    color: var(--pdf-primary);
    background: rgba(255,140,0,0.06);
    transform: translateY(-2px);
}
/* Trust strip — pill badges */
.pdf-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255,140,0,0.1);
    padding-top: 1.4rem;
}
.pdf-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--pdf-text-dim);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--pdf-border);
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
}
.pdf-trust-item span[aria-hidden] {
    font-size: 0.85em;
}

/* ── Section 2: Interrogation ────────────────────────────────────────────── */
.pdf-interrogate-section {
    padding: 1.5rem 1.5rem 3rem;     /* was 3.5rem top — now 1.5rem to close gap */
    max-width: 1400px;
    margin: 0 auto;
}
.pdf-interrogate-header {
    text-align: center;
    margin-bottom: 2rem;
}
.pdf-interrogate-lead {
    font-size: 1rem;
    color: var(--pdf-text-dim);
    font-style: italic;
    margin-top: 0.35rem;
}
.pdf-interrogate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.pdf-interrogate-step {
    background: var(--pdf-bg-card);
    border: 1px solid var(--pdf-border);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}
/* Accent line on left edge */
.pdf-interrogate-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--pdf-primary) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.2s;
}
.pdf-interrogate-step:hover {
    border-color: rgba(255, 140, 0, 0.35);
    box-shadow: 0 6px 24px rgba(255, 140, 0, 0.09);
    transform: translateY(-2px);
}
.pdf-interrogate-step:hover::before {
    opacity: 1;
}
.pdf-interrogate-step-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.pdf-interrogate-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
}
.pdf-interrogate-num {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--pdf-text-muted);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}
.pdf-interrogate-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--pdf-text);
    margin: 0;
}
.pdf-interrogate-desc {
    font-size: 0.81rem;
    color: var(--pdf-text-dim);
    line-height: 1.65;
    margin: 0;
}

/* ── Section 3: Sanitize ─────────────────────────────────────────────────── */
.pdf-sanitize-section {
    background: linear-gradient(135deg, rgba(255,140,0,0.06) 0%, rgba(12,21,37,0) 60%);
    border-top: 1px solid var(--pdf-border);
    border-bottom: 1px solid var(--pdf-border);
    padding: 3rem 1.5rem;
}
.pdf-sanitize-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.pdf-sanitize-lead {
    font-size: 1.3rem;
    color: var(--pdf-primary);
    font-weight: 600;
    margin: 0.3rem 0 1rem;
}
.pdf-sanitize-removes {
    margin-bottom: 1.5rem;
}
.pdf-sanitize-remove-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pdf-text-muted);
    margin-bottom: 0.5rem;
}
.pdf-sanitize-remove-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.pdf-sanitize-remove-list li {
    font-size: 0.9rem;
    color: var(--pdf-text-dim);
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.pdf-sanitize-remove-list li::before {
    content: '✕';
    color: #e05555;
    font-weight: 700;
    font-size: 0.75em;
}
.pdf-sanitize-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.75rem 1.6rem;
    background: transparent;
    border: 1px solid var(--pdf-primary);
    color: var(--pdf-primary);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.pdf-sanitize-cta:hover {
    background: var(--pdf-primary);
    color: #000;
}
.pdf-sanitize-modes-wrap {
    padding: 1.2rem 1.4rem;
    background: var(--pdf-bg-card);
    border: 1px solid var(--pdf-border);
    border-radius: 10px;
}
.pdf-sanitize-modes-label {
    font-size: 0.78rem;
    color: var(--pdf-text-muted);
    margin-bottom: 0.75rem;
}
.pdf-sanitize-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.pdf-sanitize-mode {
    font-size: 0.76rem;
    padding: 0.25rem 0.65rem;
    background: rgba(255,140,0,0.1);
    border: 1px solid rgba(255,140,0,0.25);
    border-radius: 4px;
    color: var(--pdf-text-dim);
}

/* ── Tools section: new framing ─────────────────────────────────────────── */
.pdf-tools-after-safe {
    text-align: center;
    font-size: 1.05rem;
    color: var(--pdf-text-dim);
    margin: -0.5rem 0 1.75rem;
}

/* ── Section 5: API Hook ─────────────────────────────────────────────────── */
.pdf-api-hook-section {
    padding: 3.5rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}
.pdf-api-hook-sub {
    font-size: 1.05rem;
    color: var(--pdf-text-dim);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.pdf-api-hook-usecases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    text-align: left;
    margin-bottom: 2rem;
}
.pdf-api-hook-item {
    background: var(--pdf-bg-card);
    border: 1px solid var(--pdf-border);
    border-radius: 10px;
    padding: 1.4rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.pdf-api-hook-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.pdf-api-hook-title {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--pdf-text);
    margin-bottom: 0.35rem;
}
.pdf-api-hook-desc {
    font-size: 0.82rem;
    color: var(--pdf-text-dim);
    line-height: 1.6;
    margin: 0;
}
.pdf-api-hook-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.75rem 1.8rem;
    background: var(--pdf-bg-card);
    border: 1px solid var(--pdf-border-hover);
    color: var(--pdf-text);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    margin-bottom: 0.75rem;
}
.pdf-api-hook-cta:hover {
    border-color: var(--pdf-primary);
    color: var(--pdf-primary);
}
.pdf-api-hook-ctas {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.pdf-api-hook-cta-sec {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.75rem 1.4rem;
    background: transparent;
    border: 1px solid var(--pdf-border);
    color: var(--pdf-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.pdf-api-hook-cta-sec:hover {
    border-color: var(--pdf-border-hover);
    color: var(--pdf-text);
}
.pdf-api-hook-endpoint {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.82rem;
    background: rgba(6,12,22,0.7);
    border: 1px solid rgba(195,160,20,0.22);
    border-radius: 6px;
    padding: 0.45rem 0.9rem;
    margin-bottom: 1.1rem;
}
.pdf-api-hook-method {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #44d888;
    background: rgba(56,220,120,0.12);
    border: 1px solid rgba(56,220,120,0.25);
    border-radius: 3px;
    padding: 0.15em 0.5em;
}
.pdf-api-hook-url { color: #d4a820; }
.pdf-api-hook-note {
    font-size: 0.8rem;
    color: var(--pdf-text-muted);
    margin: 0;
}

/* ── Section 6: Zero-Trust ───────────────────────────────────────────────── */
.pdf-zerotr-section {
    background: var(--pdf-bg-card);
    border-top: 1px solid var(--pdf-border);
    border-bottom: 1px solid var(--pdf-border);
    padding: 3rem 1.5rem;
}
.pdf-zerotr-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.pdf-zerotr-title {
    text-align: center;
    font-size: clamp(1.2rem, 2.8vw, 1.6rem);
    font-weight: 700;
    color: var(--pdf-text);
    margin: 0 0 0.5rem;
}
.pdf-zerotr-sub {
    text-align: center;
    font-size: 0.9rem;
    color: var(--pdf-text-dim);
    margin: 0 0 2rem;
}
.pdf-zerotr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.pdf-zerotr-card {
    background: var(--pdf-bg-panel);
    border: 1px solid var(--pdf-border);
    border-radius: 10px;
    padding: 1.4rem;
}
.pdf-zerotr-card-head {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--pdf-primary);
    margin-bottom: 0.5rem;
}
.pdf-zerotr-card-body {
    font-size: 0.84rem;
    color: var(--pdf-text-dim);
    line-height: 1.65;
    margin: 0;
}

/* ── Footer tagline ─────────────────────────────────────────────────────── */
.pdf-footer-tagline {
    text-align: center;
    font-size: 0.8rem;
    color: var(--pdf-text-muted);
    margin-top: 0.5rem;
    letter-spacing: 0.04em;
}

/* ── Responsive: landing sections ───────────────────────────────────────── */
@media (max-width: 860px) {
    .pdf-interrogate-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pdf-sanitize-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .pdf-api-hook-usecases {
        grid-template-columns: 1fr;
    }
    .pdf-zerotr-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 540px) {
    .pdf-interrogate-grid {
        grid-template-columns: 1fr;
    }
    .pdf-hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .pdf-hero-cta-primary,
    .pdf-hero-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ── Hero: Forensics + Comparator card grid ─────────────────────────────── */
.pdf-forensics-grid {
    margin-top: .9rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Office forensics card ──────────────────────────────────────────────── */
.pdf-ofc-card {
    border-radius: 10px;
    background: rgba(255,140,0,.05);
    border: 1px solid rgba(255,140,0,.18);
    overflow: hidden;
}
.pdf-ofc-card-header {
    padding: .6rem 1rem .5rem;
    border-bottom: 1px solid rgba(255,140,0,.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .4rem;
}
.pdf-ofc-card-title {
    font-size: .72rem;
    font-weight: 800;
    color: rgba(255,140,0,.9);
    letter-spacing: .05em;
    text-transform: uppercase;
}
.pdf-ofc-card-formats {
    display: block;
    font-size: .65rem;
    color: rgba(255,255,255,.3);
    margin-top: .1rem;
}
.pdf-ofc-card-badge {
    font-size: .62rem;
    background: rgba(255,140,0,.15);
    color: rgba(255,140,0,.8);
    border: 1px solid rgba(255,140,0,.25);
    border-radius: 20px;
    padding: .15rem .6rem;
    font-weight: 700;
    white-space: nowrap;
}
.pdf-ofc-card-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid rgba(255,140,0,.1);
}
.pdf-ofc-card-col {
    padding: .7rem .9rem;
}
.pdf-ofc-card-col + .pdf-ofc-card-col {
    border-left: 1px solid rgba(255,140,0,.1);
}
.pdf-ofc-col-label {
    font-size: .65rem;
    font-weight: 700;
    color: rgba(255,140,0,.7);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .35rem;
}
.pdf-ofc-col-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .28rem;
}
.pdf-ofc-col-list li {
    font-size: .67rem;
    color: rgba(255,255,255,.5);
    line-height: 1.4;
}
.pdf-ofc-col-list li::before {
    content: '▸';
    color: rgba(255,140,0,.6);
    margin-right: .3rem;
}
.pdf-ofc-col-list--numbered {
    counter-reset: ofc-steps;
}
.pdf-ofc-col-list--numbered li {
    counter-increment: ofc-steps;
}
.pdf-ofc-col-list--numbered li::before {
    content: counter(ofc-steps) '.';
    font-weight: 700;
}
.pdf-ofc-card-ctas {
    padding: .6rem .9rem;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}
.pdf-ofc-cta-primary {
    background: linear-gradient(135deg,#e67e22,#d35400) !important;
    font-size: .78rem !important;
    padding: .45rem 1.1rem !important;
}
.pdf-ofc-cta-secondary {
    font-size: .78rem !important;
    padding: .45rem 1.1rem !important;
}

/* ── pdf-ofc-card colour variants ───────────────────────────────────────── */
.pdf-ofc-card--violet {
    background: rgba(99,102,241,.05);
    border-color: rgba(99,102,241,.18);
}
.pdf-ofc-card--violet .pdf-ofc-card-header {
    border-bottom-color: rgba(99,102,241,.12);
}
.pdf-ofc-card--violet .pdf-ofc-card-title {
    color: rgba(129,140,248,.9);
}
.pdf-ofc-card--violet .pdf-ofc-card-badge {
    background: rgba(99,102,241,.15);
    color: rgba(129,140,248,.8);
    border-color: rgba(99,102,241,.25);
}
.pdf-ofc-card--violet .pdf-ofc-card-cols {
    border-bottom-color: rgba(99,102,241,.1);
}
.pdf-ofc-card--violet .pdf-ofc-card-col + .pdf-ofc-card-col {
    border-left-color: rgba(99,102,241,.1);
}
.pdf-ofc-card--violet .pdf-ofc-col-label {
    color: rgba(129,140,248,.7);
}
.pdf-ofc-card--violet .pdf-ofc-col-list li::before {
    color: rgba(99,102,241,.6);
}
.pdf-ofc-card--violet .pdf-ofc-cta-primary {
    background: linear-gradient(135deg,#6366f1,#4f46e5) !important;
}

.pdf-ofc-card--teal {
    background: rgba(6,182,212,.04);
    border-color: rgba(6,182,212,.18);
}
.pdf-ofc-card--teal .pdf-ofc-card-header {
    border-bottom-color: rgba(6,182,212,.12);
}
.pdf-ofc-card--teal .pdf-ofc-card-title {
    color: rgba(34,211,238,.9);
}
.pdf-ofc-card--teal .pdf-ofc-card-badge {
    background: rgba(6,182,212,.15);
    color: rgba(34,211,238,.8);
    border-color: rgba(6,182,212,.25);
}
.pdf-ofc-card--teal .pdf-ofc-card-cols {
    border-bottom-color: rgba(6,182,212,.1);
}
.pdf-ofc-card--teal .pdf-ofc-card-col + .pdf-ofc-card-col {
    border-left-color: rgba(6,182,212,.1);
}
.pdf-ofc-card--teal .pdf-ofc-col-label {
    color: rgba(34,211,238,.7);
}
.pdf-ofc-card--teal .pdf-ofc-col-list li::before {
    color: rgba(6,182,212,.6);
}
.pdf-ofc-card--teal .pdf-ofc-cta-primary {
    background: linear-gradient(135deg,#06b6d4,#0891b2) !important;
}

/* ── File Fingerprint Comparator card ───────────────────────────────────── */
.pdf-fcmp-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background: rgba(79,195,247,.04);
    border: 1px solid rgba(79,195,247,.15);
    text-decoration: none;
    min-width: 300px;
    max-width: 340px;
    overflow: hidden;
    transition: background .2s, border-color .2s;
}
.pdf-fcmp-card:hover {
    background: rgba(79,195,247,.08);
    border-color: rgba(79,195,247,.28);
}
.pdf-fcmp-card-header {
    padding: .6rem .85rem .5rem;
    border-bottom: 1px solid rgba(79,195,247,.1);
}
.pdf-fcmp-card-icon {
    font-size: 1.2rem;
    line-height: 1;
    display: block;
    margin-bottom: .3rem;
}
.pdf-fcmp-card-title {
    font-size: .67rem;
    font-weight: 800;
    color: rgba(79,195,247,.9);
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.3;
    display: block;
}
.pdf-fcmp-card-sub {
    font-size: .62rem;
    color: rgba(255,255,255,.35);
    line-height: 1.4;
    display: block;
    margin-top: .2rem;
}
.pdf-fcmp-card-diff {
    padding: .6rem .85rem;
    border-bottom: 1px solid rgba(79,195,247,.08);
    flex: 1;
}
.pdf-fcmp-diff-label {
    font-size: .6rem;
    font-weight: 700;
    color: rgba(79,195,247,.6);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .35rem;
}
.pdf-fcmp-diff-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}
.pdf-fcmp-diff-tag {
    font-size: .6rem;
    color: rgba(255,255,255,.45);
    background: rgba(79,195,247,.07);
    border: 1px solid rgba(79,195,247,.12);
    border-radius: 4px;
    padding: .1rem .4rem;
    white-space: nowrap;
}
.pdf-fcmp-card-verdicts {
    padding: .5rem .85rem;
    border-bottom: 1px solid rgba(79,195,247,.08);
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.pdf-fcmp-verdict-label {
    font-size: .6rem;
    font-weight: 700;
    color: rgba(79,195,247,.6);
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}
.pdf-fcmp-verdict-pill {
    font-size: .56rem;
    border-radius: 20px;
    padding: .1rem .4rem;
    font-weight: 700;
}
.pdf-fcmp-verdict-pill--identical { background: rgba(0,230,118,.1);  color: rgba(0,230,118,.8);  border: 1px solid rgba(0,230,118,.2); }
.pdf-fcmp-verdict-pill--similar   { background: rgba(79,195,247,.1); color: rgba(79,195,247,.8); border: 1px solid rgba(79,195,247,.2); }
.pdf-fcmp-verdict-pill--partial   { background: rgba(255,214,0,.1);  color: rgba(255,214,0,.8);  border: 1px solid rgba(255,214,0,.2); }
.pdf-fcmp-verdict-pill--different { background: rgba(255,140,0,.1);  color: rgba(255,140,0,.8);  border: 1px solid rgba(255,140,0,.2); }
.pdf-fcmp-card-cta {
    padding: .3rem .85rem .5rem;
}
.pdf-fcmp-card-cta-link {
    font-size: .65rem;
    color: rgba(79,195,247,.7);
    font-weight: 700;
}

/* ── pdf-csl-stat-num size override ────────────────────────────────────── */
.pdf-csl-stat-num--lg { font-size: 1.7rem; }
