/* ==================================================
   FEATURES PAGE - HERO
================================================== */

.features-hero {
    padding: 6rem 0 5.5rem;
    background: radial-gradient( circle at 50% 0%, rgba(237, 245, 255, 0.95) 0%, rgba(237, 245, 255, 0) 58% ), #fff;
}

    .features-hero h1 {
        margin-bottom: 1.5rem;
        color: var(--intelliscope-navy);
        font-size: clamp(3rem, 6vw, 5rem);
        font-weight: 700;
        letter-spacing: -0.04em;
    }

    .features-hero p {
        max-width: 820px;
        margin: 0 auto 2rem;
        color: var(--intelliscope-muted);
        font-size: 1.3rem;
        line-height: 1.7;
    }

.features-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}


/* ==================================================
   FEATURES PAGE - OVERVIEW
================================================== */

.features-overview {
    padding: 5.5rem 0 7rem;
    background-color: var(--intelliscope-light);
}

.feature-overview-card {
    display: flex;
    height: 100%;
    gap: 1.25rem;
    padding: 2rem;
    background-color: #fff;
    border: 1px solid rgba(11, 16, 62, 0.08);
    border-radius: 0.9rem;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(11, 16, 62, 0.035);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .feature-overview-card:hover {
        color: inherit;
        border-color: rgba(11, 16, 62, 0.16);
        box-shadow: 0 16px 40px rgba(11, 16, 62, 0.08);
        transform: translateY(-3px);
    }

    .feature-overview-card .feature-icon {
        flex: 0 0 52px;
        margin-bottom: 0;
    }

    .feature-overview-card h3 {
        margin-bottom: 0.5rem;
        font-size: 1.45rem;
    }

    .feature-overview-card p {
        margin-bottom: 1rem;
        color: var(--intelliscope-muted);
    }

    .feature-overview-card span {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        color: var(--intelliscope-navy);
        font-weight: 600;
    }

        .feature-overview-card span i {
            color: var(--intelliscope-orange);
            transition: transform 0.2s ease;
        }

    .feature-overview-card:hover span i {
        transform: translateX(4px);
    }

.feature-overview-card-highlight {
    background-color: var(--intelliscope-navy);
    border-color: var(--intelliscope-navy);
}

    .feature-overview-card-highlight h3,
    .feature-overview-card-highlight span {
        color: #fff;
    }

    .feature-overview-card-highlight p {
        color: rgba(255, 255, 255, 0.72);
    }


/* ==================================================
   FEATURES PAGE - DETAIL SECTIONS
================================================== */

.feature-detail {
    padding: 7rem 0;
    background-color: #fff;
}

.feature-detail-alt {
    background-color: var(--intelliscope-light);
}

.feature-detail h2 {
    margin-bottom: 1.25rem;
    color: var(--intelliscope-navy);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
}

.feature-detail-lead {
    margin-bottom: 1.75rem;
    color: var(--intelliscope-muted);
    font-size: 1.18rem;
    line-height: 1.7;
}

.feature-detail-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    margin-bottom: 1.25rem;
    align-items: center;
    justify-content: center;
    background-color: var(--intelliscope-light);
    border-radius: 0.9rem;
    color: var(--intelliscope-navy);
    font-size: 1.65rem;
}

.feature-detail-alt .feature-detail-icon {
    background-color: #fff;
}

.feature-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

    .feature-detail-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.7rem;
        color: var(--intelliscope-text);
        font-size: 1.05rem;
    }

        .feature-detail-list li i {
            margin-top: 0.15rem;
            color: var(--intelliscope-orange);
            font-size: 1rem;
        }


/* ==================================================
   FEATURES PAGE - SCREENSHOTS
================================================== */

.feature-screenshot {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid rgba(11, 16, 62, 0.08);
    border-radius: 1rem;
    box-shadow: 0 24px 60px rgba(11, 16, 62, 0.1), 0 6px 18px rgba(11, 16, 62, 0.05);
}

.feature-screenshot-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0.55rem;
    user-select: none;
    -webkit-user-drag: none;
}

.feature-screenshot-wide {
    width: 100%;
    max-width: 100%;
}


/* ==================================================
   FEATURES PAGE - PURCHASING VISUAL
================================================== */

.purchasing-visual {
    max-width: 520px;
    margin: 0 auto;
    padding: 2.25rem;
    background-color: #fff;
    border: 1px solid rgba(11, 16, 62, 0.08);
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(11, 16, 62, 0.07);
}

.purchasing-flow-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    background-color: #fff;
    border: 1px solid rgba(11, 16, 62, 0.08);
    border-radius: 0.8rem;
}

.purchasing-flow-icon {
    display: flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    background-color: var(--intelliscope-light);
    border-radius: 0.7rem;
    color: var(--intelliscope-navy);
    font-size: 1.35rem;
}

.purchasing-flow-item span {
    display: block;
    margin-bottom: 0.1rem;
    color: var(--intelliscope-orange);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.purchasing-flow-item strong {
    display: block;
    color: var(--intelliscope-navy);
    font-size: 1.05rem;
    font-weight: 600;
}

.purchasing-flow-arrow {
    display: flex;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: var(--intelliscope-orange);
    font-size: 1.25rem;
}


/* ==================================================
   FEATURES PAGE - CONNECTED
================================================== */

.features-connected {
    padding: 7rem 0;
    background-color: var(--intelliscope-navy);
    color: #fff;
}

    .features-connected .section-eyebrow {
        color: var(--intelliscope-orange);
    }

    .features-connected h2 {
        margin-bottom: 1.5rem;
        color: #fff;
        font-size: clamp(2.25rem, 4vw, 3.5rem);
        font-weight: 700;
    }

    .features-connected p {
        max-width: 850px;
        margin: 0 auto 3rem;
        color: rgba(255, 255, 255, 0.72);
        font-size: 1.2rem;
        line-height: 1.7;
    }

.feature-connected-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    color: var(--intelliscope-orange);
    font-size: 1.75rem;
}

.features-process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin-bottom: 3rem;
}

.features-process-item {
    display: flex;
    min-width: 135px;
    min-height: 120px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.85rem;
}

    .features-process-item i {
        color: var(--intelliscope-orange);
        font-size: 1.8rem;
    }

    .features-process-item span {
        color: #fff;
        font-size: 1.05rem;
        font-weight: 600;
    }

.features-process-arrow {
    color: var(--intelliscope-orange);
    font-size: 1.6rem;
}


/* ==================================================
   FEATURES PAGE - DEMO
================================================== */

.features-demo {
    padding: 7rem 0;
    background-color: #fff;
}


/* ==================================================
   FEATURES PAGE - ANCHOR OFFSET
================================================== */

#feature-overview,
#sales,
#purchasing,
#inventory,
#finance,
#reporting,
#connected {
    scroll-margin-top: 110px;
}


/* ==================================================
   FEATURES PAGE - RESPONSIVE
================================================== */

@media (max-width: 1199.98px) {
    .feature-screenshot-wide {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 991.98px) {
    .features-hero {
        padding: 5rem 0 4.5rem;
    }

    .features-overview {
        padding: 4.5rem 0 5.5rem;
    }

    .feature-detail,
    .features-connected,
    .features-demo {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }

    .feature-screenshot {
        margin-top: 1rem;
    }

    .features-process {
        flex-direction: column;
    }

    .features-process-arrow {
        transform: rotate(90deg);
    }

    .features-process-item {
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 767.98px) {
    .features-hero h1 {
        font-size: 3.6rem;
    }

    .features-hero p {
        font-size: 1.15rem;
    }

    .feature-overview-card {
        padding: 1.6rem;
    }

    .purchasing-visual {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .features-hero {
        padding: 4rem 0;
    }

        .features-hero h1 {
            font-size: 3rem;
        }

    .features-hero-actions {
        flex-direction: column;
    }

        .features-hero-actions .btn {
            width: 100%;
        }

    .features-overview,
    .feature-detail,
    .features-connected,
    .features-demo {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .feature-overview-card {
        flex-direction: column;
    }

    .feature-detail h2 {
        font-size: 2.4rem;
    }

    .feature-screenshot {
        padding: 0.5rem;
        border-radius: 0.75rem;
    }

    .feature-screenshot-image {
        border-radius: 0.4rem;
    }

    .purchasing-flow-item {
        align-items: flex-start;
    }
}
