/* Shared, non-interactive LinkoPDF demo frame used across marketing landing pages. */
.hero.csvlink-video-hero {
    display: block;
    align-items: initial;
}

.csvlink-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
    gap: 34px;
    align-items: start;
}

.csvlink-hero-copy,
.landing-video-shell {
    min-width: 0;
}

.csvlink-hero-copy > h1:first-child {
    margin-top: 0;
}

.landing-video-shell {
    width: 100%;
    align-self: start;
}

/* Photographic laptop frame with the live demo aligned behind its screen opening. */
.hero-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
}

/* Transparent PNG foreground: bezel, keyboard, trackpad, and lower deck. */
.hero-video-frame::before {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    background: url("/assets/images/laptop-frame.png") center / contain no-repeat;
    filter: drop-shadow(0 22px 24px rgba(15, 23, 42, 0.2));
    pointer-events: none;
}

.hero-video-frame::after {
    content: none;
}

.hero-video-stage {
    position: absolute;
    z-index: 4;
    top: 6.7%;
    left: 13.1%;
    right: 13.1%;
    height: 66.5%;
    width: auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 0.55%;
    background:
        radial-gradient(circle at 74% 20%, rgba(20, 184, 166, 0.22), transparent 36%),
        radial-gradient(circle at 18% 82%, rgba(37, 99, 235, 0.26), transparent 42%),
        linear-gradient(145deg, #0b1731 0%, #10264b 58%, #0c1c36 100%);
    box-shadow:
        0 0 0 3px #0b0f16,
        0 0 0 4px rgba(255, 255, 255, 0.08);
}

.hero-demo-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
    background: #071327;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.hero-video-label {
    position: absolute;
    left: 18px;
    top: 16px;
    z-index: 2;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(5, 16, 36, 0.42);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 980px) {
    .csvlink-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .landing-video-shell {
        width: min(100%, 820px);
        margin: 0 auto;
    }
}

@media (max-width: 620px) {
    .hero-video-label {
        left: 12px;
        top: 11px;
        padding: 5px 8px;
        font-size: 10px;
    }
}
