/**
 * DOVERTECH Software Catalog
 * DT-WEB-003
 */

.dovertech-software-active .entry-header,
.dovertech-software-active .entry-title {
    display: none !important;
}

.dt-software-page,
.dt-software-page * {
    box-sizing: border-box;
}

.dt-software-page {
    overflow: hidden;
    color: var(--dt-ink);
    font-family: var(--dt-font-body);
    background: var(--dt-white);
}

.dt-sw-shell {
    width: min(calc(100% - 40px), var(--dt-content-width));
    margin: 0 auto;
}

.dt-sw-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    color: var(--dt-action-blue);
    font-family: var(--dt-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.dt-sw-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    flex: 0 0 auto;
    background: var(--dt-blue);
}

.dt-sw-hero {
    padding: 112px 0 104px;
    border-bottom: 1px solid var(--dt-border);
    background:
        radial-gradient(circle at 79% 22%, rgba(0, 129, 204, .10), transparent 29%),
        linear-gradient(180deg, #FFFFFF 0%, #F8FBFD 100%);
}

.dt-sw-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
    gap: 90px;
    align-items: end;
}

.dt-sw-hero h1,
.dt-sw-section h2,
.dt-sw-final h2 {
    margin: 0;
    font-family: var(--dt-font-heading);
    font-weight: 700;
    letter-spacing: -.045em;
    color: var(--dt-ink);
}

.dt-sw-hero h1 {
    max-width: 790px;
    font-size: clamp(48px, 6.3vw, 78px);
    line-height: .99;
}

.dt-sw-hero h1 span {
    color: var(--dt-blue);
}

.dt-sw-lead {
    max-width: 720px;
    margin: 30px 0 0;
    color: var(--dt-slate);
    font-size: 19px;
    line-height: 1.7;
}

.dt-sw-summary {
    display: grid;
    grid-template-columns: .75fr .75fr 1.5fr;
    overflow: hidden;
    border: 1px solid var(--dt-border);
    border-radius: 14px;
    background: rgba(255,255,255,.88);
    box-shadow: var(--dt-shadow-sm);
}

.dt-sw-summary div {
    min-height: 112px;
    padding: 22px 20px;
    border-right: 1px solid var(--dt-border);
}

.dt-sw-summary div:last-child {
    border-right: 0;
}

.dt-sw-summary small {
    display: block;
    margin-bottom: 18px;
    color: var(--dt-muted);
    font-family: var(--dt-font-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .08em;
}

.dt-sw-summary strong {
    display: block;
    color: var(--dt-ink);
    font-family: var(--dt-font-heading);
    font-size: 20px;
    line-height: 1.1;
}

.dt-sw-section {
    padding: 104px 0;
}

.dt-sw-section--soft {
    background: var(--dt-surface);
}

.dt-sw-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 80px;
    align-items: end;
    margin-bottom: 48px;
}

.dt-sw-section h2 {
    max-width: 760px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
}

.dt-sw-head > p {
    margin: 0 0 4px;
    color: var(--dt-slate);
    font-size: 16px;
    line-height: 1.75;
}

.dt-sw-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dt-sw-product {
    position: relative;
    display: flex;
    min-height: 348px;
    flex-direction: column;
    padding: 34px;
    overflow: hidden;
    border: 1px solid var(--dt-border);
    border-radius: 16px;
    background: var(--dt-white);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.dt-sw-product:hover {
    transform: translateY(-2px);
    border-color: #B8DDF2;
    box-shadow: var(--dt-shadow-sm);
}

.dt-sw-product.is-featured {
    color: var(--dt-white);
    border-color: transparent;
    background:
        radial-gradient(circle at 88% 12%, rgba(0, 129, 204, .55), transparent 32%),
        var(--dt-ink);
}

.dt-sw-product.is-featured::after {
    content: "V";
    position: absolute;
    right: -18px;
    bottom: -90px;
    color: rgba(255,255,255,.035);
    font-family: var(--dt-font-heading);
    font-size: 330px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.dt-sw-product-top,
.dt-sw-product h3,
.dt-sw-product > p,
.dt-sw-tags,
.dt-sw-product-link {
    position: relative;
    z-index: 1;
}

.dt-sw-product-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.dt-sw-product-code,
.dt-sw-featured-label {
    font-family: var(--dt-font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dt-sw-product-code {
    color: var(--dt-action-blue);
}

.dt-sw-product.is-featured .dt-sw-product-code {
    color: #7DD3FC;
}

.dt-sw-featured-label {
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #E2E8F0;
}

.dt-sw-product h3 {
    margin: 46px 0 12px;
    color: var(--dt-ink);
    font-family: var(--dt-font-heading);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.dt-sw-product.is-featured h3 {
    color: var(--dt-white);
}

.dt-sw-product > p {
    max-width: 620px;
    margin: 0;
    color: var(--dt-slate);
    font-size: 15px;
    line-height: 1.7;
}

.dt-sw-product.is-featured > p {
    color: #CBD5E1;
}

.dt-sw-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.dt-sw-tags li {
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--dt-muted);
    background: var(--dt-surface);
    font-size: 11px;
    font-weight: 600;
}

.dt-sw-product.is-featured .dt-sw-tags li {
    color: #D8E3EE;
    background: rgba(255,255,255,.075);
}

.dt-sw-product-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--dt-border);
    color: var(--dt-action-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.dt-sw-product.is-featured .dt-sw-product-link {
    border-color: rgba(255,255,255,.14);
    color: #7DD3FC;
}

.dt-sw-product-link span:last-child {
    font-size: 18px;
    transition: transform .18s ease;
}

.dt-sw-product-link:hover span:last-child {
    transform: translateX(4px);
}

.dt-sw-principles-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
    align-items: start;
}

.dt-sw-principles {
    display: grid;
    border-top: 1px solid var(--dt-border);
}

.dt-sw-principles article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--dt-border);
}

.dt-sw-principles article > span {
    color: var(--dt-action-blue);
    font-family: var(--dt-font-mono);
    font-size: 11px;
    font-weight: 600;
}

.dt-sw-principles strong {
    display: block;
    margin-bottom: 6px;
    color: var(--dt-ink);
    font-family: var(--dt-font-heading);
    font-size: 18px;
}

.dt-sw-principles p {
    margin: 0;
    color: var(--dt-slate);
    font-size: 14px;
    line-height: 1.65;
}

.dt-sw-final {
    padding: 84px 0;
    background: var(--dt-ink);
}

.dt-sw-final .dt-sw-eyebrow {
    color: #7DD3FC;
}

.dt-sw-final-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: end;
}

.dt-sw-final h2 {
    max-width: 850px;
    color: var(--dt-white);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
}

.dt-sw-final-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.dt-sw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.dt-sw-btn--light {
    color: var(--dt-ink);
    background: var(--dt-white);
}

.dt-sw-text-link {
    color: #7DD3FC;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1000px) {
    .dt-sw-hero-grid,
    .dt-sw-head,
    .dt-sw-principles-grid,
    .dt-sw-final-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .dt-sw-grid {
        grid-template-columns: 1fr;
    }

    .dt-sw-final-actions {
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .dt-sw-shell {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .dt-sw-hero {
        padding: 72px 0 68px;
    }

    .dt-sw-hero h1 {
        font-size: clamp(44px, 13vw, 58px);
    }

    .dt-sw-lead {
        margin-top: 22px;
        font-size: 17px;
    }

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

    .dt-sw-summary div:nth-child(2) {
        border-right: 0;
    }

    .dt-sw-summary div:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid var(--dt-border);
    }

    .dt-sw-section {
        padding: 76px 0;
    }

    .dt-sw-product {
        min-height: 0;
        padding: 28px 24px;
    }

    .dt-sw-product h3 {
        margin-top: 34px;
    }

    .dt-sw-principles article {
        grid-template-columns: 42px 1fr;
    }

    .dt-sw-final {
        padding: 68px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dt-sw-product,
    .dt-sw-product-link span:last-child {
        transition: none;
    }
}

/* DT-WEB-006 */
.dt-sw-download-link {
    display: inline-flex;
    margin-top: 22px;
    color: var(--dt-action-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.dt-sw-download-link:hover { text-decoration: underline; }
