/* =========================================================
   ARPIVA TECHNOLOGIES
   INSIGHTS PAGE
========================================================= */


/* =========================================================
   PAGE BASE
========================================================= */

.insights-page {
    background: #f7faff;
    color: #081b4b;
}


/* =========================================================
   HERO
========================================================= */

.insights-hero {
    position: relative;
    padding: 170px 0 110px;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(47, 128, 237, 0.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #06183f 0%,
            #0b2a6f 55%,
            #123d8f 100%
        );
    overflow: hidden;
}

.insights-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -180px;
    top: -200px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.10);
}

.insights-hero::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    left: -450px;
    bottom: -550px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
}

.insights-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.insights-hero .section-badge {
    background: rgba(255,255,255,.10);
    color: #6fa8ff;
    border: 1px solid rgba(255,255,255,.10);
}

.insights-hero h1 {
    margin: 25px 0 25px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.insights-hero h1 span {
    color: #ff9f1c;
}

.insights-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: #d8e5ff;
    font-size: 19px;
    line-height: 1.8;
}


/* =========================================================
   INTRO
========================================================= */

.insights-intro {
    padding: 110px 0 80px;
    background: #ffffff;
}

.insights-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.insights-intro-content h2 {
    margin: 20px 0 25px;
    color: #081b4b;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.2;
    font-weight: 800;
}

.insights-intro-content h2 span {
    color: #2f80ed;
}

.insights-intro-content p {
    max-width: 800px;
    margin: 0 auto;
    color: #63728d;
    font-size: 18px;
    line-height: 1.9;
}


/* =========================================================
   SECTION BADGE
========================================================= */

.insights-page .section-badge {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 40px;
    background: #eef4ff;
    color: #2f80ed;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.insights-section-heading {
    max-width: 780px;
    margin: 0 auto 55px;
    text-align: center;
}

.insights-section-heading h2 {
    margin: 20px 0 18px;
    color: #081b4b;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.2;
    font-weight: 800;
}

.insights-section-heading h2 span {
    color: #2f80ed;
}

.insights-section-heading p {
    margin: 0;
    color: #687790;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   CATEGORIES
========================================================= */

.insights-categories {
    padding: 100px 0;
    background: #f7faff;
}

.insights-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.insight-category-card {
    position: relative;
    padding: 36px 32px;
    background: #ffffff;
    border: 1px solid #e5ebf5;
    border-radius: 22px;
    box-shadow: 0 15px 45px rgba(15, 43, 91, .06);
    transition: .35s ease;
    overflow: hidden;
}

.insight-category-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        #2f80ed,
        #6fa8ff,
        #ff9f1c
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: .35s ease;
}

.insight-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(15, 43, 91, .12);
    border-color: #d5e2f8;
}

.insight-category-card:hover::before {
    transform: scaleX(1);
}

.insight-category-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        #eaf2ff,
        #f3f7ff
    );
    color: #216ce0;
    font-size: 16px;
    font-weight: 800;
}

.insight-category-card h3 {
    margin: 0 0 15px;
    color: #081b4b;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;
}

.insight-category-card p {
    margin: 0 0 24px;
    color: #697993;
    font-size: 15px;
    line-height: 1.75;
}

.insight-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #216ce0;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s ease;
}

.insight-link:hover {
    color: #ff8c00;
    transform: translateX(4px);
}


/* =========================================================
   FEATURED INSIGHTS
========================================================= */

.featured-insights {
    padding: 110px 0;
    background: #ffffff;
}

.featured-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.featured-insight-card {
    background: #ffffff;
    border: 1px solid #e3eaf4;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(15, 43, 91, .06);
    transition: .35s ease;
}

.featured-insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(15, 43, 91, .12);
}

.featured-insight-image {
    height: 210px;
    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(47,128,237,.35),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071d4c,
            #123d8f
        );
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-placeholder {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.20);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

.featured-insight-content {
    padding: 30px;
}

.insight-meta {
    display: block;
    margin-bottom: 12px;
    color: #2f80ed;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.featured-insight-content h3 {
    margin: 0 0 15px;
    color: #081b4b;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
}

.featured-insight-content p {
    margin: 0 0 22px;
    color: #697993;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   CTA
========================================================= */

.insights-cta {
    padding: 90px 0 120px;
    background: #ffffff;
}

.insights-cta-box {
    position: relative;
    padding: 75px 50px;
    text-align: center;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(47,128,237,.25),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071d4c,
            #0d347e
        );
    box-shadow: 0 30px 70px rgba(8, 27, 75, .18);
}

.insights-cta-box .section-badge {
    background: rgba(255,255,255,.10);
    color: #78aaff;
}

.insights-cta-box h2 {
    margin: 22px 0 18px;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 800;
}

.insights-cta-box p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #d6e2fa;
    font-size: 17px;
    line-height: 1.8;
}

.insights-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 16px 28px;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        #ffb347,
        #ff8c00
    );
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(255,140,0,.30);
    transition: .35s ease;
}

.insights-cta-button:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(255,140,0,.40);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .insights-category-grid,
    .featured-insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .insights-hero {
        padding: 130px 0 80px;
    }

    .insights-hero h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .insights-hero p {
        font-size: 16px;
        line-height: 1.7;
    }

    .insights-intro,
    .insights-categories,
    .featured-insights {
        padding: 75px 0;
    }

    .insights-section-heading {
        margin-bottom: 38px;
    }

    .insights-section-heading h2,
    .insights-intro-content h2 {
        font-size: 34px;
    }

    .insights-intro-content p,
    .insights-section-heading p {
        font-size: 16px;
    }

    .insights-category-grid,
    .featured-insights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .insight-category-card {
        padding: 30px 26px;
    }

    .featured-insight-content {
        padding: 26px;
    }

    .insights-cta {
        padding: 60px 0 80px;
    }

    .insights-cta-box {
        padding: 55px 25px;
        border-radius: 22px;
    }

    .insights-cta-box h2 {
        font-size: 32px;
    }

    .insights-cta-box p {
        font-size: 15px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .insights-hero {
        padding: 115px 0 70px;
    }

    .insights-hero h1 {
        font-size: 34px;
    }

    .insights-hero p {
        font-size: 15px;
    }

    .insights-page .section-badge {
        padding: 8px 17px;
        font-size: 11px;
    }

    .insight-category-card h3,
    .featured-insight-content h3 {
        font-size: 19px;
    }

    .featured-insight-image {
        height: 180px;
    }

}