@font-face {
    font-family: "Dana";
    src: url("/content/PajoohyarAndPaknevis/fonts/DanaVF.woff2") format("woff2"), url("/content/PajoohyarAndPaknevis/fonts/DanaVF.woff") format("woff");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

.software-showcase {
    color-scheme: light;
    --ink: #152f36;
    --muted: #587078;
    --line: rgba(42, 78, 84, 0.12);
    --paknevis: #078f9d;
    --paknevis-deep: #056d79;
    --pajoohyar: #e06d1c;
    --pajoohyar-deep: #c7540c;
}

.software-showcase {
    box-sizing: border-box;
}

.software-showcase {
    background: #f4f8f8;
}

.software-showcase {
    margin: 0;
    min-width: 320px;
    font-family: "Dana", Tahoma, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
}

.software-showcase {
    width: 100%;
    /*height: 420px;*/
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: #f8fbfb;
}

.software-panel {
    --accent: var(--paknevis);
    --accent-deep: var(--paknevis-deep);
    --accent-rgb: 7, 143, 157;
    position: relative;
    isolation: isolate;
    min-width: 0;
    height: 420px;
    padding: 34px clamp(20px, 2.7vw, 44px) 22px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    direction: rtl;
    overflow: hidden;
    border-inline-start: 1px solid var(--line);
    background-color: #f4fafb;
    background-image: radial-gradient(circle at 2% 96%, rgba(27, 165, 178, 0.16), transparent 33%), radial-gradient(circle at 100% 0%, rgba(153, 223, 230, 0.17), transparent 28%), linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 249, 0.95));
}

.software-panel--pajoohyar {
    --accent: var(--pajoohyar);
    --accent-deep: var(--pajoohyar-deep);
    --accent-rgb: 224, 109, 28;
    background-color: #fff9f3;
    background-image: radial-gradient(circle at 2% 96%, rgba(238, 133, 49, 0.16), transparent 34%), radial-gradient(circle at 100% 0%, rgba(226, 105, 27, 0.12), transparent 29%), linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 236, 0.96));
}

.software-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 190px;
    height: 132px;
    inset-inline-start: 18px;
    top: 20px;
    pointer-events: none;
    opacity: 0.4;
    background-image: radial-gradient(circle, rgba(var(--accent-rgb), 0.5) 1px, transparent 1.6px);
    background-size: 17px 17px;
    -webkit-mask-image: linear-gradient(135deg, #000, transparent 78%);
    mask-image: linear-gradient(135deg, #000, transparent 78%);
}

.software-panel::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 14px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 26px;
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.035);
}

.panel-ambient {
    position: absolute;
    z-index: -2;
    width: 290px;
    height: 290px;
    inset-inline-start: -174px;
    bottom: -178px;
    border: 1px solid rgba(var(--accent-rgb), 0.19);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.26), 0 0 0 43px rgba(var(--accent-rgb), 0.08), 0 0 0 82px rgba(255, 255, 255, 0.14), 0 0 0 83px rgba(var(--accent-rgb), 0.05);
    pointer-events: none;
}

.panel-copy {
    position: relative;
    z-index: 2;
    flex: 0 1 47%;
    min-width: 260px;
    padding-block: 2px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: right;
    direction: rtl;
}

.brand-heading {
    display: flex;
    align-items: center;
    gap: 7px;
}

.product-logo {
    display: block;
    width: 61px;
    height: 61px;
    flex: 0 0 61px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-logo--pajoohyar {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
}

.eyebrow {
    margin: 0;
    color: var(--accent-deep);
    font-size: clamp(10px, 0.78vw, 12px);
    font-weight: 700;
    line-height: 1.8;
}

.product-title {
    margin: 10px 0 0;
    color: var(--ink);
    font-size: clamp(26px, 2.25vw, 36px);
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -0.035em;
}

    .product-title span {
        display: block;
    }

    .product-title strong,
    .product-title--pajoohyar {
        color: var(--accent-deep);
    }

.product-title--pajoohyar {
    font-size: clamp(34px, 3vw, 48px);
}

.description {
    max-width: 310px;
    margin: 8px 0 0;
    padding: 7px 11px;
    border: 1px solid rgba(var(--accent-rgb), 0.1);
    border-radius: 11px;
    background: rgba(var(--accent-rgb), 0.075);
    color: color-mix(in srgb, var(--accent-deep) 78%, var(--muted));
    font-size: clamp(11px, 0.86vw, 14px);
    font-weight: 600;
    line-height: 1.75;
}

.platforms {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #668087;
    font-size: 10px;
    font-weight: 700;
}

    .platforms img {
        display: block;
        width: 106px;
        height: auto;
        mix-blend-mode: multiply;
    }

.software-panel--pajoohyar .platforms img {
    width: 136px;
}

.panel-actions {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: nowrap;
}

.primary-action,
.site-address {
    width: 120px;
    height: 46px;
    flex: 0 0 120px;
    text-decoration: none;
}

.primary-action {
    padding: 7px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*gap: 8px;*/
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 14px;
    background: var(--accent-deep);
    color: #fff;
    box-shadow: 0 12px 24px rgba(24, 59, 65, 0.16);
    font-size: 13px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

    .primary-action .button-icon {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

    .primary-action:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 29px rgba(24, 59, 65, 0.22);
        text-decoration: none;
        color: #fff;
    }

    .primary-action:focus-visible,
    .site-address:focus-visible {
        outline: 3px solid rgba(7, 143, 157, 0.28);
        outline-offset: 3px;
    }

.site-address {
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(49, 89, 95, 0.14);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--accent-deep);
    backdrop-filter: blur(8px);
    font-family: "Dana", Arial, sans-serif;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.02em;
}

    .site-address:hover {
        border-color: var(--accent);
        background: rgba(255, 255, 255, 0.94);
        color: var(--accent-deep);
        text-decoration: none;
    }

.device-stage {
    position: relative;
    z-index: 1;
    flex: 1 1 53%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: ltr;
}

    .device-stage::before {
        content: "";
        position: absolute;
        z-index: 0;
        width: 88%;
        height: 64%;
        left: 50%;
        bottom: 28px;
        border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
        transform: translateX(-50%) rotate(-4deg);
        pointer-events: none;
        opacity: 0.84;
        filter: blur(22px) saturate(108%);
        background: radial-gradient(circle at 18% 62%, rgba(var(--accent-rgb), 0.24), transparent 38%), radial-gradient(circle at 76% 30%, rgba(var(--accent-rgb), 0.19), transparent 36%), radial-gradient(circle at 58% 82%, rgba(var(--accent-rgb), 0.14), transparent 41%), radial-gradient(circle at 48% 48%, rgba(255, 255, 255, 0.82), rgba(var(--accent-rgb), 0.07) 48%, transparent 74%);
    }

.software-panel--pajoohyar .device-stage::before {
    transform: translateX(-50%) rotate(4deg);
}

.device-stage::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 76%;
    height: 10px;
    bottom: 36px;
    border-radius: 50%;
    background: rgba(39, 75, 80, 0.14);
    filter: blur(10px);
}

.device-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    max-height: 326px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 16px 17px rgba(31, 69, 75, 0.14));
}

.device-image--paknevis {
    max-height: 312px;
}

.device-image--pajoohyar {
    max-height: 318px;
}

@media (max-width: 1100px) {
    .software-panel {
        padding-inline: 24px;
    }

    .panel-copy {
        min-width: 250px;
    }

    .platforms span {
        display: none;
    }
}

@media (max-width: 900px) {
    .software-showcase {
        height: auto;
        grid-template-columns: 1fr;
    }

    .software-panel {
        height: 420px;
        padding-inline: clamp(24px, 6vw, 62px);
        border-inline-start: 0;
        border-top: 1px solid var(--line);
    }

        .software-panel:first-child {
            border-top: 0;
        }

    .panel-copy {
        flex-basis: 40%;
    }

    .device-stage {
        flex-basis: 60%;
    }
}

@media (max-width: 640px) {
    .software-panel {
        height: auto;
        min-height: 610px;
        padding: 24px 20px 20px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
    }

        .software-panel::after {
            inset: 9px;
            border-radius: 19px;
        }

    .panel-copy {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        padding: 0;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
    }

    .device-stage {
        order: 2;
        flex: 1 1 auto;
        width: 100%;
        max-width: 440px;
        min-height: 225px;
        align-items: center;
    }

        .device-stage::before {
            width: min(92%, 380px);
            height: 58%;
            bottom: 22px;
            opacity: 0.76;
            filter: blur(18px) saturate(106%);
        }

    .product-logo,
    .product-logo--pajoohyar {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .brand-heading {
        width: 100%;
        flex-direction: column;
        gap: 2px;
    }

    .eyebrow {
        font-size: 9px;
        line-height: 1.55;
    }

    .product-title,
    .product-title--pajoohyar {
        margin-top: 7px;
        font-size: 23px;
        line-height: 1.5;
    }

    .description {
        max-width: 360px;
        font-size: 10px;
        line-height: 1.75;
    }

    .platforms {
        margin-top: 6px;
        justify-content: center;
    }

        .platforms img {
            width: 94px;
        }

    .software-panel--pajoohyar .platforms img {
        width: 121px;
    }

    .panel-actions {
        margin-top: 11px;
        gap: 6px;
        justify-content: center;
    }

    .primary-action,
    .site-address {
        width: 132px;
        height: 42px;
        flex-basis: 132px;
    }

    .primary-action {
        padding-inline: 9px;
        font-size: 11px;
    }

        .primary-action .button-icon {
            width: 18px;
            height: 18px;
            flex-basis: 18px;
        }

    .site-address {
        padding-inline: 9px;
        font-size: 10px;
    }

    .device-image--paknevis,
    .device-image--pajoohyar {
        max-height: 235px;
    }

    .device-stage::after {
        bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
    }
}
