/* SaaS solutions hero — same robot banner treatment as other inner pages */
.hero-saas .hero-background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-saas .gradient-overlay {
    background: linear-gradient(
        135deg,
        rgba(15, 17, 23, 0.85) 0%,
        rgba(15, 17, 23, 0.75) 50%,
        rgba(15, 17, 23, 0.85) 100%
    );
}

/* SaaS solutions — homepage screenshots */

.solution-item {
    overflow: hidden;
}

.solution-shot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    background: #0f1118;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.solution-shot:hover,
.solution-shot:focus-visible {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    outline: 1px solid rgba(255, 255, 255, 0.18);
}

.solution-shot-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    background: #1c1f2b;
}

.solution-shot-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4a4e5c;
}

.solution-shot-bar i:first-child { background: #ff5f57; }
.solution-shot-bar i:nth-child(2) { background: #febc2e; }
.solution-shot-bar i:nth-child(3) { background: #28c840; }

.solution-shot img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    background: #fff;
}

.solution-visual {
    min-height: 0;
    height: auto;
}

.solution-content h3 img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
}

@media (max-width: 768px) {
    .hero-saas {
        min-height: 0;
        padding: 6.5rem 0 2.25rem;
    }

    .hero-saas .hero-title {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
    }

    .hero-saas .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.55;
    }

    .solutions-showcase {
        gap: 1.5rem;
    }

    .solution-item,
    .solution-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        padding: 1.15rem;
        gap: 1.15rem;
    }

    .solution-content {
        padding: 0;
    }

    .solution-content h3 img {
        max-height: 36px;
    }

    .solution-metrics {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }

    .cta.section .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta.section .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-saas {
        padding: 5.75rem 0 1.75rem;
    }

    .metric-value {
        font-size: 1.75rem;
    }

    .solution-link {
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.4rem;
    }
}
