/* Features page --------------------------------------------------------- */

.features-hero {
    position: relative;
    padding-top: 9rem;
    padding-bottom: 3rem;
}

@media (min-width: 1024px) {
    .features-hero {
        padding-top: 10rem;
    }
}

.features-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 560px;
    background: linear-gradient(180deg, rgba(23, 141, 114, 0.12), rgba(255, 255, 255, 0));
    z-index: 0;
    pointer-events: none;
}

:where(.uc-dark) .features-hero::before {
    background: linear-gradient(180deg, rgba(23, 141, 114, 0.22), rgba(14, 14, 15, 0));
}

.features-hero > * {
    position: relative;
    z-index: 1;
}

/* Anchor-jump offset so the sticky header never covers a section heading */
.feature-block {
    scroll-margin-top: 110px;
}

/* Quick-jump pill nav */
.feature-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-jump a {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--color-primary, #178d72);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary, #178d72);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.feature-jump a:hover {
    background: var(--color-primary, #178d72);
    color: #fff;
}

:where(.uc-dark) .feature-jump a {
    color: #fff;
}

:where(.uc-dark) .feature-jump a:hover {
    background: var(--color-primary, #178d72);
}

/* Screenshot frame — a light browser-style chrome around dashboard images */
.feature-shot {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
    background: #fff;
}

:where(.uc-dark) .feature-shot {
    border-color: rgba(255, 255, 255, 0.14);
    background: #0e0e0f;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.feature-shot-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: #f1f5f9;
}

:where(.uc-dark) .feature-shot-bar {
    background: #1f2937;
}

.feature-shot-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.feature-shot-bar span:nth-child(1) { background: #fb7185; }
.feature-shot-bar span:nth-child(2) { background: #fbbf24; }
.feature-shot-bar span:nth-child(3) { background: #34d399; }

.feature-shot img {
    display: block;
    width: 100%;
    height: auto;
}

/* Even out card heading heights in the summary grid */
.feature-mini-card h3 {
    min-height: 2.4em;
}
