/* ============================================================
   JSV TECHGROUP
   DIGITAL SIGNATURE SOFTWARE PRODUCT PAGE
   ============================================================ */

:root {

    --dss-bg: #060b16;
    --dss-bg-2: #0a1120;
    --dss-panel: #0d1627;
    --dss-panel-2: #101c30;

    --dss-white: #ffffff;
    --dss-text: #dce7f3;
    --dss-muted: #8493a8;

    --dss-cyan: #00d4ff;
    --dss-blue: #00b4d8;
    --dss-purple: #7a5cff;
    --dss-green: #26d69b;

    --dss-border: rgba(255,255,255,0.09);

    --dss-radius: 22px;

    --dss-shadow:
            0 25px 80px rgba(0,0,0,0.30);
}


/* ============================================================
   BASE
============================================================ */

.dss-page {

    margin: 0;
    background: var(--dss-bg);
    color: var(--dss-text);

    overflow-x: hidden;
}

.dss-page *,
.dss-page *::before,
.dss-page *::after {

    box-sizing: border-box;
}

.dss-container {

    width: min(1380px, 92%);
    margin: 0 auto;
}

.dss-section {

    position: relative;
    padding: 125px 0;
}


/* ============================================================
   PROGRESS
============================================================ */

.dss-progress {

    position: fixed;

    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    z-index: 99999;

    background:
            linear-gradient(
                    90deg,
                    var(--dss-cyan),
                    var(--dss-purple)
            );

    box-shadow:
            0 0 20px rgba(0,212,255,0.65);
}


/* ============================================================
   HERO
============================================================ */

.dss-hero {

    position: relative;

    min-height: 820px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:

            radial-gradient(
                    circle at 75% 42%,
                    rgba(0,212,255,0.13),
                    transparent 27%
            ),

            radial-gradient(
                    circle at 95% 15%,
                    rgba(122,92,255,0.17),
                    transparent 25%
            ),

            linear-gradient(
                    135deg,
                    #050914,
                    #07101d 55%,
                    #090d1d
            );
}

.dss-hero-grid {

    position: absolute;
    inset: 0;

    opacity: 0.17;

    background-image:

            linear-gradient(
                    rgba(255,255,255,0.055) 1px,
                    transparent 1px
            ),

            linear-gradient(
                    90deg,
                    rgba(255,255,255,0.055) 1px,
                    transparent 1px
            );

    background-size: 60px 60px;

    mask-image:
            radial-gradient(
                    circle at 70% 50%,
                    black,
                    transparent 70%
            );

    animation:
            dssGrid 25s linear infinite;
}

.dss-hero-layout {

    position: relative;
    z-index: 5;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(480px, 0.95fr);

    gap: 70px;

    align-items: center;

    padding: 120px 0 90px;
}


/* ============================================================
   HERO COPY
============================================================ */

.dss-product-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 9px 14px;

    border:
            1px solid
            rgba(0,212,255,0.22);

    border-radius: 999px;

    background:
            rgba(0,212,255,0.055);

    color:
            rgba(255,255,255,0.72);

    font-size: 0.69rem;

    font-weight: 800;

    letter-spacing: 0.13em;
}

.dss-live-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--dss-cyan);

    box-shadow:
            0 0 0 5px rgba(0,212,255,0.09),
            0 0 18px rgba(0,212,255,0.8);

    animation:
            dssPulse 2s infinite;
}

.dss-hero h1 {

    max-width: 780px;

    margin: 30px 0 25px;

    font-size:
            clamp(3.2rem, 6.5vw, 6.4rem);

    line-height: 0.94;

    letter-spacing: -0.065em;

    font-weight: 900;
}

.dss-hero h1 span {

    display: inline;

    background:
            linear-gradient(
                    90deg,
                    var(--dss-cyan),
                    #70e7ff 45%,
                    #9b89ff
            );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.dss-hero-text {

    max-width: 720px;

    margin: 0;

    color:
            rgba(220,231,243,0.67);

    font-size: 1.08rem;

    line-height: 1.85;
}

.dss-hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-top: 34px;
}

.dss-primary-button,
.dss-secondary-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    min-height: 51px;

    padding: 13px 20px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 0.84rem;

    font-weight: 800;

    transition:
            transform .3s ease,
            box-shadow .3s ease,
            background .3s ease;
}

.dss-primary-button {

    background:
            linear-gradient(
                    100deg,
                    var(--dss-blue),
                    var(--dss-purple)
            );

    color: #fff;

    box-shadow:
            0 15px 40px
            rgba(0,180,216,0.18);
}

.dss-primary-button:hover {

    transform: translateY(-4px);

    box-shadow:
            0 20px 50px
            rgba(0,180,216,0.28);
}

.dss-secondary-button {

    border:
            1px solid
            rgba(255,255,255,0.13);

    background:
            rgba(255,255,255,0.045);

    color: rgba(255,255,255,0.82);

    backdrop-filter: blur(10px);
}

.dss-secondary-button:hover {

    transform: translateY(-4px);

    border-color:
            rgba(0,212,255,0.35);

    background:
            rgba(0,212,255,0.06);
}

.dss-hero-trust {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;

    color:
            rgba(255,255,255,0.40);

    font-size: 0.7rem;

    letter-spacing: 0.03em;
}

.trust-line {

    width: 30px;

    height: 1px;

    background:
            rgba(255,255,255,0.2);
}


/* ============================================================
   SOFTWARE WINDOW
============================================================ */

.dss-hero-product {

    perspective: 1300px;
}

.software-window {

    position: relative;

    overflow: hidden;

    border:
            1px solid
            rgba(255,255,255,0.12);

    border-radius: 22px;

    background:
            #0b1423;

    box-shadow:

            0 45px 100px
            rgba(0,0,0,0.42),

            0 0 70px
            rgba(0,212,255,0.08);

    transform:
            rotateY(-6deg)
            rotateX(3deg);

    animation:
            softwareFloat 7s ease-in-out infinite;

    transition:
            transform .6s ease;
}

.software-window:hover {

    transform:
            rotateY(0deg)
            rotateX(0deg)
            translateY(-8px);
}

.software-window-top {

    height: 45px;

    display: grid;

    grid-template-columns: 90px 1fr 90px;

    align-items: center;

    padding: 0 15px;

    border-bottom:
            1px solid
            rgba(255,255,255,0.08);

    background:
            rgba(255,255,255,0.035);
}

.window-controls {

    display: flex;

    gap: 6px;
}

.window-controls span {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
            rgba(255,255,255,0.20);
}

.window-title {

    text-align: center;

    color:
            rgba(255,255,255,0.65);

    font-size: 0.68rem;
}

.window-status {

    color:
            var(--dss-green);

    font-size: 0.61rem;

    text-align: right;
}

.software-window-body {

    display: grid;

    grid-template-columns: 145px 1fr;

    min-height: 470px;
}

.software-sidebar {

    padding: 20px 12px;

    border-right:
            1px solid
            rgba(255,255,255,0.07);

    background:
            rgba(0,0,0,0.13);
}

.sidebar-brand {

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    margin-bottom: 30px;

    border-radius: 11px;

    background:
            linear-gradient(
                    135deg,
                    var(--dss-cyan),
                    var(--dss-purple)
            );

    color: #fff;

    font-weight: 900;
}

.software-menu {

    padding: 11px 10px;

    margin-bottom: 4px;

    border-radius: 9px;

    color:
            rgba(255,255,255,0.45);

    font-size: 0.67rem;

    transition: .25s ease;
}

.software-menu.active {

    color: #fff;

    background:
            rgba(0,212,255,0.10);

    box-shadow:
            inset 2px 0 var(--dss-cyan);
}

.software-dashboard {

    padding: 28px;
}

.dashboard-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 15px;
}

.dashboard-heading small {

    display: block;

    margin-bottom: 6px;

    color:
            var(--dss-cyan);

    font-size: 0.58rem;

    font-weight: 800;

    letter-spacing: 0.13em;
}

.dashboard-heading h3 {

    margin: 0;

    color: #fff;

    font-size: 1.25rem;
}

.dashboard-chip {

    padding: 7px 10px;

    border:
            1px solid
            rgba(0,212,255,0.18);

    border-radius: 8px;

    color:
            var(--dss-cyan);

    background:
            rgba(0,212,255,0.05);

    font-size: 0.61rem;

    font-weight: 800;
}

.signature-preview {

    display: grid;

    grid-template-columns: 1fr 130px;

    gap: 18px;

    margin-top: 25px;
}

.pdf-page {

    position: relative;

    min-height: 270px;

    overflow: hidden;

    border-radius: 10px;

    background: #f8fafc;

    box-shadow:
            0 15px 35px rgba(0,0,0,0.20);
}

.pdf-lines {

    position: absolute;

    inset: 30px;

    opacity: .25;

    background:
            repeating-linear-gradient(
                    to bottom,
                    #758090 0 2px,
                    transparent 2px 17px
            );
}

.signature-box {

    position: absolute;

    right: 28px;
    bottom: 30px;

    width: 120px;

    padding: 12px;

    border:
            1px solid
            rgba(0,160,190,0.45);

    border-radius: 7px;

    background:
            rgba(0,212,255,0.06);

    color: #263445;

    font-size: 0.48rem;
}

.signature-box span {

    display: block;

    color:
            #007e9b;

    font-size: 0.42rem;

    font-weight: 800;
}

.signature-box strong {

    display: block;

    margin-top: 5px;

    font-size: 0.63rem;
}

.signature-box small {

    display: block;

    margin-top: 3px;
}

.signature-controls {

    display: flex;

    flex-direction: column;

    gap: 8px;

    color:
            rgba(255,255,255,0.4);

    font-size: 0.58rem;
}

.fake-control {

    padding: 10px;

    border:
            1px solid
            rgba(255,255,255,0.08);

    border-radius: 7px;

    background:
            rgba(255,255,255,0.035);

    color:
            rgba(255,255,255,0.75);
}

.software-bottom-row {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 9px;

    margin-top: 17px;
}

.software-bottom-row > div {

    padding: 12px;

    border:
            1px solid
            rgba(255,255,255,0.07);

    border-radius: 9px;

    background:
            rgba(255,255,255,0.025);
}

.software-bottom-row small {

    display: block;

    color:
            rgba(255,255,255,0.36);

    font-size: 0.52rem;
}

.software-bottom-row strong {

    display: block;

    margin-top: 4px;

    color: #fff;

    font-size: 0.68rem;
}

.software-bottom-row .software-ready {

    display: grid;

    place-items: center;

    border-color:
            rgba(38,214,155,0.18);

    color:
            var(--dss-green);

    font-size: 0.58rem;

    font-weight: 800;
}


/* ============================================================
   FLOATING HERO ELEMENTS
============================================================ */

.dss-floating-code {

    position: absolute;

    z-index: 2;

    display: grid;
    place-items: center;

    border:
            1px solid
            rgba(255,255,255,0.08);

    border-radius: 12px;

    background:
            rgba(255,255,255,0.035);

    color:
            rgba(255,255,255,0.22);

    font-size: 0.65rem;

    font-weight: 900;

    backdrop-filter: blur(8px);

    animation:
            codeFloat 7s ease-in-out infinite;
}

.code-one {

    width: 65px;
    height: 65px;

    right: 7%;
    top: 20%;
}

.code-two {

    width: 54px;
    height: 54px;

    right: 42%;
    top: 11%;

    animation-delay: -2s;
}

.code-three {

    width: 72px;
    height: 72px;

    right: 3%;
    bottom: 18%;

    animation-delay: -4s;
}

.dss-glow {

    position: absolute;

    border-radius: 50%;

    filter: blur(50px);

    pointer-events: none;
}

.dss-glow-one {

    width: 300px;
    height: 300px;

    right: 15%;
    top: 25%;

    background:
            rgba(0,212,255,0.08);
}

.dss-glow-two {

    width: 260px;
    height: 260px;

    right: 40%;
    bottom: 5%;

    background:
            rgba(122,92,255,0.07);
}


/* ============================================================
   VALUE STRIP
============================================================ */

.dss-value-strip {

    position: relative;

    z-index: 5;

    border-top:
            1px solid
            var(--dss-border);

    border-bottom:
            1px solid
            var(--dss-border);

    background:
            #080f1c;
}

.dss-value-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    border-left:
            1px solid
            var(--dss-border);
}

.dss-value-item {

    display: flex;

    gap: 15px;

    padding: 25px 20px;

    border-right:
            1px solid
            var(--dss-border);
}

.value-number {

    color:
            var(--dss-cyan);

    font-size: 0.61rem;

    font-weight: 900;
}

.dss-value-item strong {

    display: block;

    color: #fff;

    font-size: 0.78rem;
}

.dss-value-item p {

    margin: 5px 0 0;

    color:
            var(--dss-muted);

    font-size: 0.7rem;

    line-height: 1.5;
}


/* ============================================================
   INTRO
============================================================ */

.dss-intro {

    background:
            #f7fafc;

    color:
            #1b293a;
}

.dss-intro-grid {

    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 70px;
}

.dss-section-label span,
.dss-section-label p {

    color:
            #00a9ca;
}

.dss-section-label span {

    display: block;

    margin-bottom: 10px;

    font-size: 0.7rem;

    font-weight: 900;
}

.dss-section-label p {

    margin: 0;

    font-size: 0.62rem;

    font-weight: 800;

    letter-spacing: .13em;
}

.dss-intro-content {

    max-width: 900px;
}

.dss-intro-content h2 {

    margin: 0 0 25px;

    font-size:
            clamp(2.3rem, 5vw, 4.6rem);

    line-height: 1;

    letter-spacing: -.055em;
}

.dss-intro-content h2 span {

    color:
            #00a9ca;
}

.dss-intro-content p {

    max-width: 820px;

    color:
            #627084;

    font-size: 1rem;

    line-height: 1.9;
}


/* ============================================================
   SECTION HEADINGS
============================================================ */

.dss-section-heading {

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(280px,0.55fr);

    gap: 50px;

    align-items: end;

    margin-bottom: 55px;
}

.dss-section-heading span,
.signature-heading > span,
.security-heading > span,
.excel-heading > span,
.before-heading > span,
.media-heading > span,
.licensing-heading > span,
.audience-heading > span,
.faq-heading > span {

    display: block;

    margin-bottom: 12px;

    color:
            var(--dss-cyan);

    font-size: 0.66rem;

    font-weight: 900;

    letter-spacing: .14em;
}

.dss-section-heading h2,
.signature-heading h2,
.security-heading h2,
.excel-heading h2,
.before-heading h2,
.media-heading h2,
.licensing-heading h2,
.audience-heading h2,
.faq-heading h2 {

    margin: 0;

    color: #fff;

    font-size:
            clamp(2.2rem, 4.5vw, 4.4rem);

    line-height: 1;

    letter-spacing: -.055em;
}

.dss-section-heading h2 span,
.signature-heading h2 span,
.security-heading h2 span,
.excel-heading h2 span,
.before-heading h2 span,
.media-heading h2 span,
.licensing-heading h2 span,
.audience-heading h2 span,
.faq-heading h2 span {

    color:
            var(--dss-cyan);
}

.dss-section-heading > p {

    margin: 0;

    color:
            var(--dss-muted);

    font-size: .9rem;

    line-height: 1.8;
}


/* ============================================================
   FEATURES
============================================================ */

.dss-features {

    background:
            var(--dss-bg);
}

.dss-feature-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 16px;
}

.dss-feature-card {

    position: relative;

    min-height: 330px;

    padding: 30px;

    overflow: hidden;

    border:
            1px solid
            var(--dss-border);

    border-radius:
            var(--dss-radius);

    background:
            linear-gradient(
                    145deg,
                    rgba(255,255,255,.045),
                    rgba(255,255,255,.015)
            );

    transition:
            transform .4s ease,
            border-color .4s ease,
            box-shadow .4s ease;
}

.dss-feature-card:hover {

    transform:
            translateY(-9px);

    border-color:
            rgba(0,212,255,.28);

    box-shadow:
            0 30px 70px
            rgba(0,0,0,.25);
}

.feature-number {

    position: absolute;

    right: 25px;
    top: 22px;

    color:
            rgba(255,255,255,.10);

    font-size: 2.5rem;

    font-weight: 900;
}

.feature-icon {

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 28px;

    border-radius: 14px;

    background:
            rgba(0,212,255,.07);

    color:
            var(--dss-cyan);

    font-weight: 900;
}

.dss-feature-card h3 {

    margin: 0 0 13px;

    color: #fff;

    font-size: 1.25rem;
}

.dss-feature-card p {

    color:
            var(--dss-muted);

    font-size: .86rem;

    line-height: 1.75;
}

.feature-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 25px;
}

.feature-tags span {

    padding: 6px 8px;

    border:
            1px solid
            rgba(255,255,255,.08);

    border-radius: 7px;

    color:
            rgba(255,255,255,.45);

    font-size: .58rem;
}


/* ============================================================
   SIGNATURE SECTION
============================================================ */

.dss-signature-section {

    background:
            linear-gradient(
                    180deg,
                    #f5f9fc,
                    #edf5f9
            );

    color: #1b293a;
}

.signature-heading {

    max-width: 820px;

    margin: 0 auto 60px;

    text-align: center;
}

.signature-heading h2 {

    color: #162334;
}

.signature-heading p {

    margin: 18px auto 0;

    max-width: 680px;

    color: #68778b;

    line-height: 1.8;
}

.signature-workflow {

    display: grid;

    grid-template-columns:
        1fr 80px 1fr 80px 1fr 80px 1fr;

    align-items: center;
}

.signature-step {

    text-align: center;
}

.step-circle {

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin: 0 auto 17px;

    border:
            1px solid
            rgba(0,180,216,.25);

    border-radius: 50%;

    background: #fff;

    color:
            #00a9ca;

    font-size: .65rem;

    font-weight: 900;

    box-shadow:
            0 10px 30px
            rgba(0,180,216,.08);
}

.signature-step h3 {

    margin: 0 0 7px;

    color: #172436;

    font-size: 1rem;
}

.signature-step p {

    margin: 0;

    color: #738196;

    font-size: .76rem;

    line-height: 1.6;
}

.signature-connector {

    height: 1px;

    background:
            linear-gradient(
                    90deg,
                    transparent,
                    #8dd8e8,
                    transparent
            );
}


/* ============================================================
   CERTIFICATES
============================================================ */

.dss-certificates {

    background:
            #070e1a;
}

.certificate-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 14px;
}

.certificate-card {

    position: relative;

    min-height: 310px;

    padding: 28px;

    border:
            1px solid
            var(--dss-border);

    border-radius: 19px;

    background:
            rgba(255,255,255,.025);

    transition:
            transform .35s ease,
            border-color .35s ease;
}

.certificate-card:hover {

    transform:
            translateY(-8px);

    border-color:
            rgba(122,92,255,.3);
}

.certificate-symbol {

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border-radius: 15px;

    background:
            linear-gradient(
                    135deg,
                    rgba(0,212,255,.10),
                    rgba(122,92,255,.10)
            );

    color:
            var(--dss-cyan);

    font-size: .7rem;

    font-weight: 900;
}

.certificate-card h3 {

    margin: 0 0 10px;

    color: #fff;

    font-size: 1.15rem;
}

.certificate-card p {

    color:
            var(--dss-muted);

    font-size: .78rem;

    line-height: 1.75;
}

.certificate-status {

    position: absolute;

    bottom: 25px;
    left: 28px;

    color:
            rgba(255,255,255,.28);

    font-size: .53rem;

    font-weight: 800;

    letter-spacing: .12em;
}


/* ============================================================
   CUSTOM SIGN
============================================================ */

.dss-custom-sign {

    background:
            #f7fafc;

    color: #1b293a;
}

.dss-custom-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;
}

.custom-sign-preview {

    min-height: 540px;

    display: grid;
    place-items: center;

    border-radius: 28px;

    background:
            #eaf1f6;

    overflow: hidden;
}

.custom-page {

    position: relative;

    width: 72%;

    height: 420px;

    border-radius: 8px;

    background: #fff;

    box-shadow:
            0 30px 60px
            rgba(17,37,55,.14);
}

.custom-page-lines {

    position: absolute;

    inset: 35px;

    opacity: .18;

    background:
            repeating-linear-gradient(
                    to bottom,
                    #67788c 0 2px,
                    transparent 2px 19px
            );
}

.custom-sign-box {

    position: absolute;

    padding: 10px 14px;

    border:
            1px dashed
            #00a9ca;

    border-radius: 6px;

    background:
            rgba(0,212,255,.04);

    color:
            #008ca8;

    font-size: .62rem;

    animation:
            signatureBoxFloat 4s ease-in-out infinite;
}

.sign-position-one {

    left: 35px;
    top: 100px;
}

.sign-position-two {

    right: 35px;
    top: 190px;

    animation-delay:
            -1.3s;
}

.sign-position-three {

    left: 90px;
    bottom: 55px;

    animation-delay:
            -2.5s;
}

.custom-sign-copy > span,
.security-heading > span {

    display: block;

    margin-bottom: 12px;

    color:
            #00a9ca;

    font-size: .66rem;

    font-weight: 900;

    letter-spacing: .14em;
}

.custom-sign-copy h2 {

    margin: 0 0 20px;

    color: #162334;

    font-size:
            clamp(2.4rem, 4vw, 4.2rem);

    line-height: 1;

    letter-spacing: -.055em;
}

.custom-sign-copy h2 span {

    color:
            #00a9ca;
}

.custom-sign-copy > p {

    color:
            #68778b;

    line-height: 1.8;
}

.custom-options {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-top: 30px;
}

.custom-options > div {

    padding: 17px;

    border:
            1px solid
            #dce6ed;

    border-radius: 13px;

    background: #fff;
}

.custom-options strong {

    display: block;

    color: #203044;

    font-size: .78rem;
}

.custom-options span {

    display: block;

    margin-top: 5px;

    color: #758498;

    font-size: .68rem;

    line-height: 1.5;
}


/* ============================================================
   SECURITY
============================================================ */

.dss-security {

    background:
            #07101d;
}

.security-heading {

    max-width: 800px;

    margin: 0 auto 60px;

    text-align: center;
}

.security-heading h2 {

    margin: 0;

    color: #fff;

    font-size:
            clamp(2.3rem, 4.5vw, 4.3rem);

    line-height: 1;

    letter-spacing: -.055em;
}

.security-heading p {

    max-width: 680px;

    margin: 20px auto 0;

    color:
            var(--dss-muted);

    line-height: 1.8;
}

.security-flow {

    display: grid;

    grid-template-columns:
        1fr 100px 1fr 100px 1fr 100px 1fr;

    align-items: center;
}

.security-node {

    min-height: 110px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 10px;

    border:
            1px solid
            rgba(255,255,255,.08);

    border-radius: 15px;

    background:
            rgba(255,255,255,.025);
}

.security-node span {

    color:
            var(--dss-cyan);

    font-size: .61rem;

    font-weight: 900;
}

.security-node strong {

    color:
            rgba(255,255,255,.78);

    font-size: .72rem;

    text-align: center;
}

.security-active {

    border-color:
            rgba(0,212,255,.30);

    box-shadow:
            0 0 35px
            rgba(0,212,255,.07);
}

.security-line {

    height: 1px;

    background:
            linear-gradient(
                    90deg,
                    transparent,
                    rgba(0,212,255,.5),
                    transparent
            );
}


/* ============================================================
   AUTOMATION
============================================================ */

.dss-automation {

    background:
            #f5f9fc;

    color: #172436;
}

.dss-automation .dss-section-heading h2 {

    color: #162334;
}

.dss-automation .dss-section-heading > p {

    color: #738196;
}

.automation-flow {

    display: grid;

    grid-template-columns:
        1fr 50px 1fr 50px 1fr 50px 1fr;

    align-items: center;
}

.automation-box {

    min-height: 190px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border:
            1px solid
            #dbe5ec;

    border-radius: 17px;

    background: #fff;

    box-shadow:
            0 15px 40px
            rgba(16,35,53,.055);

    transition:
            transform .35s ease;
}

.automation-box:hover {

    transform:
            translateY(-7px);
}

.automation-box small {

    margin-bottom: 10px;

    color:
            #00a9ca;

    font-size: .58rem;

    font-weight: 900;

    letter-spacing: .13em;
}

.automation-box strong {

    color:
            #182638;

    font-size: 1.1rem;
}

.automation-box span {

    margin-top: 8px;

    color:
            #78879a;

    font-size: .7rem;

    line-height: 1.5;
}

.automation-output {

    border-color:
            rgba(38,214,155,.25);
}

.automation-arrow {

    color:
            #00a9ca;

    font-size: 1.7rem;

    text-align: center;

    animation:
            arrowPulse 2s ease-in-out infinite;
}


/* ============================================================
   EXCEL
============================================================ */

.dss-excel {

    background:
            #07101d;
}

.excel-heading {

    max-width: 850px;

    margin-bottom: 55px;
}

.excel-heading h2 {

    margin: 0;

    color: #fff;

    font-size:
            clamp(2.4rem,4.5vw,4.4rem);

    line-height: 1;

    letter-spacing: -.055em;
}

.excel-heading p {

    max-width: 720px;

    margin-top: 20px;

    color:
            var(--dss-muted);

    line-height: 1.8;
}

.excel-comparison {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 16px;
}

.excel-panel {

    padding: 30px;

    border:
            1px solid
            var(--dss-border);

    border-radius: 20px;

    background:
            rgba(255,255,255,.025);
}

.panel-top {

    display: flex;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 25px;
}

.panel-top span {

    color:
            var(--dss-cyan);

    font-size: .58rem;

    font-weight: 900;
}

.panel-top strong {

    color: #fff;

    font-size: .85rem;
}

.excel-mini-table {

    overflow: hidden;

    border:
            1px solid
            rgba(255,255,255,.08);

    border-radius: 10px;
}

.excel-row {

    display: grid;

    grid-template-columns:
        1fr 1.3fr 1fr;

    border-bottom:
            1px solid
            rgba(255,255,255,.06);
}

.excel-row:last-child {

    border-bottom: 0;
}

.excel-row span {

    padding: 12px;

    border-right:
            1px solid
            rgba(255,255,255,.06);

    color:
            rgba(255,255,255,.47);

    font-size: .6rem;
}

.excel-row span:last-child {

    border-right: 0;
}

.excel-head span {

    color:
            var(--dss-cyan);

    font-weight: 800;
}

.excel-panel > p {

    margin: 20px 0 0;

    color:
            var(--dss-muted);

    font-size: .73rem;

    line-height: 1.7;
}

.folder-animation {

    display: flex;

    flex-direction: column;

    gap: 8px;

    min-height: 164px;

    justify-content: center;
}

.folder-animation div {

    padding: 12px 15px;

    border:
            1px solid
            rgba(255,255,255,.07);

    border-radius: 8px;

    background:
            rgba(255,255,255,.025);

    color:
            rgba(255,255,255,.65);

    font-size: .65rem;

    animation:
            folderSlide 4s ease-in-out infinite;
}

.folder-animation div:nth-child(2) {
    animation-delay: .3s;
}

.folder-animation div:nth-child(3) {
    animation-delay: .6s;
}

.folder-animation div:nth-child(4) {
    animation-delay: .9s;
}


/* ============================================================
   BEFORE AFTER
============================================================ */

.dss-before-after {

    background:
            #f6f9fb;

    color: #182638;
}

.before-heading {

    max-width: 900px;

    margin-bottom: 55px;
}

.before-heading h2 {

    color: #172536;
}

.before-after-grid {

    display: grid;

    grid-template-columns:
        1fr 100px 1fr;

    align-items: center;

    gap: 20px;
}

.work-column {

    padding: 30px;

    border-radius: 20px;

    background: #fff;

    border:
            1px solid
            #dfe7ee;
}

.automated-work {

    border-color:
            rgba(0,180,216,.22);

    box-shadow:
            0 20px 50px
            rgba(0,180,216,.06);
}

.work-label {

    margin-bottom: 22px;

    color:
            #00a9ca;

    font-size: .62rem;

    font-weight: 900;

    letter-spacing: .13em;
}

.work-list {

    display: flex;

    flex-direction: column;

    gap: 8px;
}

.work-list div {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px;

    border-radius: 9px;

    background:
            #f6f8fa;

    color:
            #566579;

    font-size: .72rem;
}

.work-list span {

    color:
            #00a9ca;

    font-weight: 900;
}

.before-after-arrow {

    display: grid;
    place-items: center;

    width: 60px;
    height: 60px;

    margin: auto;

    border-radius: 50%;

    background:
            #eaf7fa;

    color:
            #00a9ca;

    font-size: 1.5rem;

    animation:
            arrowFloat 2.5s ease-in-out infinite;
}

.productivity-message {

    max-width: 850px;

    margin: 35px auto 0;

    padding: 25px;

    border-radius: 15px;

    background:
            #eaf7fa;

    text-align: center;
}

.productivity-message strong {

    display: block;

    color:
            #203044;

    font-size: .9rem;

    line-height: 1.7;
}

.productivity-message span {

    display: block;

    margin-top: 10px;

    color:
            #718094;

    font-size: .68rem;

    line-height: 1.6;
}


/* ============================================================
   MEDIA
============================================================ */

.dss-media {

    background:
            #070e1a;
}

.media-heading {

    max-width: 800px;

    margin-bottom: 50px;
}

.media-heading p {

    margin-top: 18px;

    color:
            var(--dss-muted);

    line-height: 1.7;
}

.media-grid {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 15px;
}

.software-media {

    position: relative;

    min-height: 280px;

    overflow: hidden;

    border:
            1px solid
            var(--dss-border);

    border-radius: 20px;

    background:
            #0b1423;
}

.media-large {

    grid-row: span 2;

    min-height: 575px;
}

.software-media img,
.software-media video {

    width: 100%;
    height: 100%;

    min-height: inherit;

    display: block;

    object-fit: cover;
}

.software-media figcaption {

    position: absolute;

    left: 20px;
    bottom: 17px;

    color:
            rgba(255,255,255,.55);

    font-size: .65rem;
}

.media-placeholder-content {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background:
            radial-gradient(
                    circle at center,
                    rgba(0,212,255,.07),
                    transparent 55%
            );
}

.media-placeholder-content span {

    color:
            var(--dss-cyan);

    font-size: .58rem;

    font-weight: 900;

    letter-spacing: .14em;
}

.media-placeholder-content strong {

    margin-top: 12px;

    color: rgba(255,255,255,.75);

    font-size: .9rem;
}

.media-placeholder-content small {

    margin-top: 6px;

    color:
            rgba(255,255,255,.3);

    font-size: .58rem;
}

.software-media:not(.media-placeholder)
.media-placeholder-content {

    display: none;
}

.video-overlay-text {

    position: absolute;

    left: 20px;
    top: 20px;

    padding: 10px 13px;

    border-radius: 9px;

    background:
            rgba(0,0,0,.60);

    backdrop-filter: blur(8px);
}

.video-overlay-text span {

    display: block;

    color:
            var(--dss-cyan);

    font-size: .5rem;

    font-weight: 900;
}

.video-overlay-text strong {

    display: block;

    margin-top: 4px;

    color: #fff;

    font-size: .66rem;
}


/* ============================================================
   LICENSING
============================================================ */

.dss-licensing {

    background:
            #f6f9fb;

    color: #182638;
}

.licensing-heading {

    max-width: 900px;

    margin-bottom: 55px;
}

.licensing-heading h2 {

    color: #172536;

    margin: 0;
}

.licensing-heading p {

    max-width: 760px;

    margin-top: 18px;

    color: #6d7b8e;

    line-height: 1.8;
}

.licence-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 16px;
}

.licence-card {

    position: relative;

    display: flex;

    flex-direction: column;

    padding: 32px;

    min-height: 500px;

    border:
            1px solid
            #dce5ec;

    border-radius: 21px;

    background: #fff;

    box-shadow:
            0 15px 45px
            rgba(20,40,60,.045);
}

.licence-featured {

    border-color:
            rgba(0,180,216,.35);

    transform:
            translateY(-12px);

    box-shadow:
            0 25px 65px
            rgba(0,180,216,.09);
}

.licence-featured-label {

    position: absolute;

    top: 18px;
    right: 18px;

    padding: 6px 9px;

    border-radius: 7px;

    background:
            #e9f9fc;

    color:
            #00a9ca;

    font-size: .5rem;

    font-weight: 900;
}

.licence-top span {

    color:
            #00a9ca;

    font-size: .58rem;

    font-weight: 900;

    letter-spacing: .13em;
}

.licence-top h3 {

    margin: 13px 0 0;

    color:
            #182638;

    font-size: 1.45rem;
}

.licence-line {

    height: 1px;

    margin: 25px 0;

    background:
            #e4ebf0;
}

.licence-card ul {

    padding: 0;

    margin: 0;

    list-style: none;
}

.licence-card li {

    position: relative;

    padding: 9px 0 9px 22px;

    color:
            #69788b;

    font-size: .77rem;

    line-height: 1.55;
}

.licence-card li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color:
            #00a9ca;

    font-weight: 900;
}

.licence-button {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin-top: auto;

    padding: 13px;

    border:
            1px solid
            #dce7ed;

    border-radius: 10px;

    color:
            #1d3044;

    text-decoration: none;

    font-size: .68rem;

    font-weight: 800;

    transition: .25s ease;
}

.licence-button:hover {

    color:
            #00a9ca;

    border-color:
            #9edee9;

    background:
            #f1fbfd;
}

.licence-important {

    margin-top: 30px;

    padding: 22px;

    border-radius: 15px;

    background:
            #edf6f9;
}

.licence-important strong {

    color:
            #1e3145;

    font-size: .8rem;
}

.licence-important p {

    margin: 7px 0 0;

    color:
            #6b7b8f;

    font-size: .7rem;

    line-height: 1.7;
}


/* ============================================================
   AUDIENCE
============================================================ */

.dss-audience {

    background:
            #07101d;
}

.audience-heading {

    max-width: 850px;

    margin-bottom: 50px;
}

.audience-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 12px;
}

.audience-card {

    padding: 27px;

    min-height: 190px;

    border:
            1px solid
            var(--dss-border);

    border-radius: 17px;

    background:
            rgba(255,255,255,.025);

    transition:
            transform .35s ease,
            border-color .35s ease;
}

.audience-card:hover {

    transform:
            translateY(-6px);

    border-color:
            rgba(0,212,255,.25);
}

.audience-card > span {

    color:
            var(--dss-cyan);

    font-size: .6rem;

    font-weight: 900;
}

.audience-card h3 {

    margin: 22px 0 8px;

    color: #fff;

    font-size: 1rem;
}

.audience-card p {

    margin: 0;

    color:
            var(--dss-muted);

    font-size: .72rem;

    line-height: 1.65;
}


/* ============================================================
   FAQ
============================================================ */

.dss-faq {

    background:
            #f6f9fb;

    color: #182638;
}

.faq-heading {

    max-width: 800px;

    margin-bottom: 50px;
}

.faq-heading h2 {

    color: #172536;
}

.faq-list {

    max-width: 950px;

    margin: auto;
}

.faq-item {

    border-bottom:
            1px solid
            #dce5ec;
}

.faq-question {

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 25px;

    padding: 23px 5px;

    border: 0;

    background: transparent;

    color:
            #24354a;

    cursor: pointer;

    text-align: left;

    font: inherit;

    font-size: .9rem;

    font-weight: 750;
}

.faq-question b {

    flex: 0 0 auto;

    color:
            #00a9ca;

    font-size: 1.4rem;

    font-weight: 400;

    transition:
            transform .3s ease;
}

.faq-item.open
.faq-question b {

    transform:
            rotate(45deg);
}

.faq-answer {

    display: grid;

    grid-template-rows: 0fr;

    transition:
            grid-template-rows .35s ease;
}

.faq-answer p {

    overflow: hidden;

    margin: 0;

    color:
            #708094;

    font-size: .78rem;

    line-height: 1.8;
}

.faq-item.open
.faq-answer {

    grid-template-rows: 1fr;
}

.faq-item.open
.faq-answer p {

    padding-bottom: 22px;
}


/* ============================================================
   CTA
============================================================ */

.dss-cta {

    position: relative;

    overflow: hidden;

    padding: 130px 0;

    background:
            radial-gradient(
                    circle at 25% 50%,
                    rgba(0,212,255,.14),
                    transparent 32%
            ),

            radial-gradient(
                    circle at 80% 50%,
                    rgba(122,92,255,.16),
                    transparent 32%
            ),

            #050914;
}

.dss-cta-grid {

    position: absolute;

    inset: 0;

    opacity: .12;

    background-image:
            linear-gradient(
                    rgba(255,255,255,.07) 1px,
                    transparent 1px
            ),
            linear-gradient(
                    90deg,
                    rgba(255,255,255,.07) 1px,
                    transparent 1px
            );

    background-size: 50px 50px;
}

.dss-cta-content {

    position: relative;

    z-index: 2;

    max-width: 900px;

    margin: auto;

    text-align: center;
}

.dss-cta-content > span {

    color:
            var(--dss-cyan);

    font-size: .64rem;

    font-weight: 900;

    letter-spacing: .14em;
}

.dss-cta-content h2 {

    margin: 22px auto;

    color: #fff;

    font-size:
            clamp(2.5rem,5vw,5rem);

    line-height: .98;

    letter-spacing: -.06em;
}

.dss-cta-content h2 strong {

    background:
            linear-gradient(
                    90deg,
                    var(--dss-cyan),
                    #9b89ff
            );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.dss-cta-content p {

    max-width: 720px;

    margin: auto;

    color:
            var(--dss-muted);

    line-height: 1.8;
}

.dss-cta-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


/* ============================================================
   REVEAL
============================================================ */

.reveal-dss {

    opacity: 0;

    transform:
            translateY(35px);

    transition:
            opacity .8s ease,
            transform .8s
            cubic-bezier(.22,1,.36,1);
}

.reveal-dss.visible {

    opacity: 1;

    transform:
            translateY(0);
}


/* ============================================================
   ANIMATIONS
============================================================ */

@keyframes dssGrid {

    from {
        transform: translate(0,0);
    }

    to {
        transform: translate(60px,60px);
    }
}

@keyframes dssPulse {

    0%,100% {
        transform: scale(1);
        opacity: .7;
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

@keyframes softwareFloat {

    0%,100% {
        transform:
                rotateY(-6deg)
                rotateX(3deg)
                translateY(0);
    }

    50% {
        transform:
                rotateY(-4deg)
                rotateX(2deg)
                translateY(-12px);
    }
}

@keyframes codeFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes signatureBoxFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes arrowPulse {

    0%,100% {
        transform: translateX(0);
        opacity: .5;
    }

    50% {
        transform: translateX(5px);
        opacity: 1;
    }
}

@keyframes arrowFloat {

    0%,100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(8px);
    }
}

@keyframes folderSlide {

    0%,100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(7px);
    }
}


/* ============================================================
   LARGE DESKTOP / TV
============================================================ */

@media (min-width: 1600px) {

    .dss-container {
        width: min(1500px, 90%);
    }

    .dss-hero {
        min-height: 900px;
    }

    .dss-hero-layout {
        gap: 100px;
    }

    .dss-section {
        padding: 150px 0;
    }

    .dss-feature-card {
        min-height: 360px;
    }
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1100px) {

    .dss-hero-layout {
        grid-template-columns: 1fr;
    }

    .dss-hero-product {
        max-width: 850px;
        width: 100%;
        margin: auto;
    }

    .dss-hero {
        min-height: auto;
    }

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

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

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

    .licence-featured {
        transform: none;
    }

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

    .signature-workflow,
    .security-flow,
    .automation-flow {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .signature-connector,
    .security-line,
    .automation-arrow {
        width: 1px;
        height: 35px;
        margin: auto;
    }

    .automation-arrow {
        transform: rotate(90deg);
    }

    .dss-section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}


/* ============================================================
   SMALL TABLET
============================================================ */

@media (max-width: 820px) {

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

    .dss-intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dss-custom-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
    }

    .before-after-arrow {
        transform: rotate(90deg);
    }

    .excel-comparison {
        grid-template-columns: 1fr;
    }

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

    .media-large {
        grid-row: auto;
        min-height: 350px;
    }

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

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    .dss-container {
        width: 92%;
    }

    .dss-section {
        padding: 85px 0;
    }

    .dss-hero-layout {
        padding:
                105px 0
                70px;
    }

    .dss-hero h1 {
        font-size:
                clamp(2.8rem, 15vw, 4.5rem);
    }

    .dss-hero-text {
        font-size: .91rem;
    }

    .dss-hero-buttons {
        flex-direction: column;
    }

    .dss-primary-button,
    .dss-secondary-button {
        width: 100%;
    }

    .dss-hero-trust {
        flex-wrap: wrap;
    }

    .software-window {
        transform: none;
    }

    .software-window-body {
        grid-template-columns: 1fr;
    }

    .software-sidebar {
        display: none;
    }

    .software-dashboard {
        padding: 20px;
    }

    .signature-preview {
        grid-template-columns: 1fr;
    }

    .signature-controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .software-bottom-row {
        grid-template-columns: 1fr 1fr;
    }

    .software-bottom-row .software-ready {
        grid-column: span 2;
    }

    .dss-value-grid {
        grid-template-columns: 1fr;
    }

    .dss-feature-grid,
    .certificate-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .custom-options {
        grid-template-columns: 1fr;
    }

    .custom-sign-preview {
        min-height: 400px;
    }

    .custom-page {
        width: 82%;
        height: 320px;
    }

    .dss-hero-product {
        overflow: hidden;
    }

    .dss-floating-code {
        display: none;
    }

    .automation-box {
        min-height: 150px;
    }

    .excel-panel {
        padding: 20px;
    }

    .work-column {
        padding: 22px;
    }

    .media-large,
    .software-media {
        min-height: 300px;
    }

    .dss-cta {
        padding: 90px 0;
    }

    .dss-cta-buttons {
        flex-direction: column;
    }

    .dss-cta-buttons a {
        width: 100%;
    }

}


/* ============================================================
   VERY SMALL
============================================================ */

@media (max-width: 380px) {

    .dss-hero h1 {
        font-size: 2.65rem;
    }

    .dss-feature-card {
        padding: 22px;
    }

    .dss-section-heading h2,
    .signature-heading h2,
    .security-heading h2,
    .excel-heading h2,
    .before-heading h2,
    .media-heading h2,
    .licensing-heading h2,
    .audience-heading h2,
    .faq-heading h2 {
        font-size: 2.25rem;
    }

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .dss-page *,
    .dss-page *::before,
    .dss-page *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
    }

    .reveal-dss {

        opacity: 1;

        transform: none;
    }
}
/* =========================================================
   UPDATED SOFTWARE VIDEO + SCREENSHOT GALLERIES
   Appended overrides: keeps the original page styling intact.
   ========================================================= */
.dss-media {
    overflow: hidden;
}

.dss-gallery-block {
    width: 100%;
    margin-top: 42px;
}

.dss-gallery-block:first-of-type {
    margin-top: 0;
}

.dss-gallery-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.dss-gallery-title h3 {
    margin: 6px 0 0;
}

.dss-gallery-kicker {
    display: inline-block;
    color: var(--dss-cyan, #00b4d8);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dss-gallery-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.dss-gallery-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(0, 180, 216, .35);
    border-radius: 50%;
    background: #fff;
    color: #142033;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.dss-gallery-controls button:hover {
    background: var(--dss-cyan, #00b4d8);
    color: #fff;
    transform: translateY(-1px);
}

.dss-media-track {
    display: grid;
    grid-auto-columns: minmax(280px, 46%);
    grid-auto-flow: column;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 4px 2px 16px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--dss-cyan, #00b4d8) #e8edf2;
}

.dss-media-track::-webkit-scrollbar {
    height: 8px;
}

.dss-media-track::-webkit-scrollbar-track {
    background: #e8edf2;
    border-radius: 20px;
}

.dss-media-track::-webkit-scrollbar-thumb {
    background: var(--dss-cyan, #00b4d8);
    border-radius: 20px;
}

.dss-video-card,
.dss-image-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(20, 32, 51, .1);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
    scroll-snap-align: start;
}

.dss-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101827;
}

.dss-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.dss-image-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    padding: 12px;
    background: #f3f6f9;
}

.dss-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.dss-image-frame a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.dss-media-caption {
    padding: 15px 17px 17px;
}

.dss-media-caption h4 {
    margin: 0;
    color: #142033;
    font-size: 16px;
    line-height: 1.45;
}

.dss-media-caption p {
    margin: 6px 0 0;
    color: var(--dss-muted, #64748b);
    font-size: 13px;
    line-height: 1.6;
}

.dss-gallery-hint {
    margin: 9px 2px 0;
    color: var(--dss-muted, #64748b);
    font-size: 13px;
}

@media (max-width: 820px) {
    .dss-media-track {
        grid-auto-columns: minmax(260px, 72%);
    }
}

@media (max-width: 600px) {
    .dss-gallery-block {
        margin-top: 30px;
    }

    .dss-gallery-title {
        align-items: center;
        gap: 10px;
    }

    .dss-gallery-title h3 {
        font-size: 20px;
    }

    .dss-gallery-controls button {
        width: 36px;
        height: 36px;
        font-size: 21px;
    }

    .dss-media-track {
        grid-auto-columns: 88%;
        gap: 14px;
    }

    .dss-image-frame {
        aspect-ratio: 4 / 3;
        padding: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dss-media-track,
    .dss-gallery-controls button {
        scroll-behavior: auto;
        transition: none;
    }
}
