/* =========================================================
   CASA DI LILLY
   INSIGHTS PAGE
   ========================================================= */


/* =========================================================
   PAGE BACKGROUND
   ========================================================= */

body {

    background:
        radial-gradient(
            circle at 85% 5%,
            rgba(0, 174, 239, 0.10),
            transparent 28%
        ),

        radial-gradient(
            circle at 5% 45%,
            rgba(10, 46, 115, 0.06),
            transparent 30%
        ),

        linear-gradient(
            180deg,
            #f8fbff 0%,
            #ffffff 45%,
            #f7fbff 100%
        );

}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background: rgba(255,255,255,0.92);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(10,46,115,0.08);

}


.navbar-inner {

    min-height: 74px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* Logo */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-family: 'Poppins', sans-serif;

    font-size: 21px;

    font-weight: 700;

    color: var(--primary);

    white-space: nowrap;

}


.logo-icon {

    width: 32px;

    height: 32px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color: white;

    font-size: 16px;

}


/* Navigation */

.nav-links {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 28px;

}


.nav-links a {

    position: relative;

    font-size: 14px;

    font-weight: 500;

    color: #29415e;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.nav-links a:hover {

    color: var(--primary);

}


.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 2px;

    border-radius: 10px;

    background: var(--secondary);

    transition: width 0.25s ease;

}


.nav-links a:hover::after,
.nav-links a.active::after {

    width: 100%;

}


.nav-links a.active {

    color: var(--primary);

    font-weight: 600;

}


/* Navbar CTA */

.nav-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 13px 22px;

    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #1749b8,
        #2563eb
    );

    color: white !important;

    font-family: 'Poppins', sans-serif;

    font-size: 14px;

    font-weight: 600;

    box-shadow:
        0 10px 25px rgba(37,99,235,0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.nav-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(37,99,235,0.28);

}


/* =========================================================
   HERO
   ========================================================= */

.insights-hero {

    position: relative;

    padding: 100px 0 80px;

    text-align: center;

    overflow: hidden;

}


.insights-hero::before {

    content: "";

    position: absolute;

    width: 520px;

    height: 520px;

    top: -300px;

    right: -150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0,174,239,0.14),
            transparent 68%
        );

    pointer-events: none;

}


.insights-hero::after {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    bottom: -300px;

    left: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(10,46,115,0.08),
            transparent 70%
        );

    pointer-events: none;

}


.insights-hero .container {

    position: relative;

    z-index: 2;

}


.eyebrow {

    display: inline-block;

    margin-bottom: 18px;

    color: #009ed8;

    font-family: 'Poppins', sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;

}


.insights-hero h1 {

    max-width: 850px;

    margin: 0 auto 22px;

    font-size: clamp(
        42px,
        6vw,
        76px
    );

    line-height: 1.05;

    letter-spacing: -0.045em;

    color: #081b33;

}


.insights-hero p {

    max-width: 680px;

    margin: auto;

    font-size: 18px;

    line-height: 1.7;

    color: #647994;

}


/* =========================================================
   FEATURED ARTICLE
   ========================================================= */

.featured-insight {

    padding: 20px 0 90px;

}


.featured-card {

    position: relative;

    display: grid;

    grid-template-columns: 1fr 0.85fr;

    min-height: 440px;

    overflow: hidden;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f0f8ff 100%
        );

    border: 1px solid rgba(10,46,115,0.08);

    box-shadow:
        0 25px 70px rgba(10,46,115,0.10);

}


.featured-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 60px;

}


.featured-content h2 {

    max-width: 650px;

    margin-bottom: 20px;

    font-size: clamp(
        30px,
        4vw,
        48px
    );

    line-height: 1.1;

    letter-spacing: -0.035em;

}


.featured-content p {

    max-width: 570px;

    margin-bottom: 28px;

    font-size: 17px;

    line-height: 1.7;

    color: #5c718b;

}


.article-category {

    display: block;

    margin-bottom: 15px;

    color: #009ed8;

    font-family: 'Poppins', sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.10em;

    text-transform: uppercase;

}


.article-button {

    align-self: flex-start;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 22px;

    border-radius: 999px;

    background: var(--primary);

    color: white;

    font-family: 'Poppins', sans-serif;

    font-size: 14px;

    font-weight: 600;

    box-shadow:
        0 10px 25px rgba(10,46,115,0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.article-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 16px 30px rgba(10,46,115,0.24);

}


/* Featured visual */

.featured-visual {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 45px;

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(0,174,239,0.22),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #dff7ff,
            #eaf1ff
        );

}


.visual-card {

    position: relative;

    width: min(100%, 390px);

    min-height: 270px;

    padding: 35px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border-radius: 22px;

    background:
        rgba(255,255,255,0.86);

    border: 1px solid rgba(255,255,255,0.8);

    box-shadow:
        0 25px 50px rgba(10,46,115,0.14);

    transform: rotate(2deg);

}


.visual-card::before {

    content: "";

    position: absolute;

    width: 90px;

    height: 90px;

    top: -25px;

    right: -25px;

    border-radius: 50%;

    background:
        rgba(0,174,239,0.18);

}


.visual-card span {

    margin-bottom: 20px;

    color: #009ed8;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.12em;

}


.visual-card strong {

    max-width: 290px;

    color: var(--dark);

    font-family: 'Poppins', sans-serif;

    font-size: 30px;

    line-height: 1.15;

}


.visual-lines {

    display: flex;

    flex-direction: column;

    gap: 9px;

    margin-top: 30px;

}


.visual-lines span {

    display: block;

    width: 100%;

    height: 7px;

    margin: 0;

    border-radius: 20px;

    background: #dce9f5;

}


.visual-lines span:nth-child(2) {

    width: 75%;

}


.visual-lines span:nth-child(3) {

    width: 50%;

}


/* =========================================================
   ALL INSIGHTS
   ========================================================= */

.all-insights {

    padding: 70px 0 110px;

}


.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

    margin-bottom: 45px;

}


.section-heading h2 {

    margin-top: 4px;

    font-size: clamp(
        34px,
        4vw,
        52px
    );

    line-height: 1.1;

    letter-spacing: -0.035em;

}


.section-heading p {

    max-width: 480px;

    color: #687d95;

    font-size: 16px;

    line-height: 1.7;

}


/* =========================================================
   INSIGHTS GRID
   ========================================================= */

.insights-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

}


.insight-card {

    overflow: hidden;

    display: flex;

    flex-direction: column;

    min-width: 0;

    border-radius: 22px;

    background: white;

    border: 1px solid rgba(10,46,115,0.08);

    box-shadow:
        0 12px 35px rgba(10,46,115,0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.insight-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 22px 45px rgba(10,46,115,0.13);

}


/* =========================================================
   ARTICLE IMAGE AREAS
   ========================================================= */

.insight-image {

    position: relative;

    height: 225px;

    display: flex;

    align-items: flex-end;

    padding: 22px;

    overflow: hidden;

}


.insight-image::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(10,46,115,0.10),
            rgba(0,174,239,0.12)
        );

}


.insight-image::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    right: -55px;

    top: -60px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.25);

}


/* Website */

.web-image {

    background:
        linear-gradient(
            135deg,
            #dcefff,
            #eef8ff
        );

}


.web-image::before {

    background:
        linear-gradient(
            135deg,
            rgba(10,46,115,0.18),
            rgba(0,174,239,0.08)
        );

}


/* AI */

.ai-image {

    background:
        linear-gradient(
            135deg,
            #d9f5ff,
            #e8ecff
        );

}


.ai-image::before {

    background:
        linear-gradient(
            135deg,
            rgba(0,174,239,0.16),
            rgba(10,46,115,0.08)
        );

}


/* SEO */

.seo-image {

    background:
        linear-gradient(
            135deg,
            #e3f4ff,
            #eef3ff
        );

}


.seo-image::before {

    background:
        linear-gradient(
            135deg,
            rgba(10,46,115,0.12),
            rgba(0,174,239,0.12)
        );

}


.insight-image span {

    position: relative;

    z-index: 3;

    padding: 7px 12px;

    border-radius: 999px;

    background:
        rgba(255,255,255,0.82);

    color: var(--primary);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.10em;

    backdrop-filter: blur(8px);

}


/* =========================================================
   INSIGHT CONTENT
   ========================================================= */

.insight-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 28px;

}


.insight-content .article-category {

    margin-bottom: 10px;

    font-size: 10px;

}


.insight-content h3 {

    margin-bottom: 13px;

    font-size: 23px;

    line-height: 1.2;

    letter-spacing: -0.025em;

}


.insight-content p {

    margin-bottom: 22px;

    color: #647890;

    font-size: 15px;

    line-height: 1.65;

}


.read-more {

    margin-top: auto;

    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: var(--primary);

    font-family: 'Poppins', sans-serif;

    font-size: 14px;

    font-weight: 600;

    transition:
        gap 0.25s ease,
        color 0.25s ease;

}


.read-more:hover {

    gap: 10px;

    color: #009ed8;

}


/* =========================================================
   CASE STUDIES
   ========================================================= */

.insights-case-study {

    padding: 20px 0 100px;

}


.case-study-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 55px 60px;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #081b33,
            #0a2e73
        );

    box-shadow:
        0 25px 60px rgba(8,27,51,0.18);

}


.case-study-inner .eyebrow {

    color: #57cfff;

}


.case-study-inner h2 {

    max-width: 600px;

    margin-bottom: 15px;

    color: white;

    font-size: clamp(
        32px,
        4vw,
        48px
    );

    line-height: 1.1;

    letter-spacing: -0.035em;

}


.case-study-inner p {

    max-width: 650px;

    color: rgba(255,255,255,0.75);

    line-height: 1.7;

}


.case-study-button {

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 24px;

    border-radius: 999px;

    background: white;

    color: var(--primary);

    font-family: 'Poppins', sans-serif;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.case-study-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(0,0,0,0.20);

}


/* =========================================================
   FINAL CTA
   ========================================================= */

.insights-cta {

    padding: 20px 0 110px;

}


.cta-box {

    position: relative;

    overflow: hidden;

    padding: 75px 40px;

    text-align: center;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #eef9ff,
            #f5f8ff
        );

    border: 1px solid rgba(0,174,239,0.10);

}


.cta-box::before {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    top: -180px;

    right: -80px;

    border-radius: 50%;

    background:
        rgba(0,174,239,0.12);

}


.cta-box::after {

    content: "";

    position: absolute;

    width: 250px;

    height: 250px;

    bottom: -160px;

    left: -80px;

    border-radius: 50%;

    background:
        rgba(10,46,115,0.07);

}


.cta-box > * {

    position: relative;

    z-index: 2;

}


.cta-box h2 {

    max-width: 760px;

    margin: 0 auto 18px;

    font-size: clamp(
        32px,
        4vw,
        52px
    );

    line-height: 1.1;

    letter-spacing: -0.035em;

}


.cta-box p {

    max-width: 680px;

    margin: 0 auto 30px;

    color: #647890;

    font-size: 16px;

    line-height: 1.7;

}


.cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 25px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #1749b8,
            #2563eb
        );

    color: white;

    font-family: 'Poppins', sans-serif;

    font-size: 14px;

    font-weight: 600;

    box-shadow:
        0 12px 28px rgba(37,99,235,0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.cta-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 17px 35px rgba(37,99,235,0.28);

}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {

    padding: 65px 0 25px;

    background: #081b33;

    color: white;

}


.footer-inner {

    display: flex;

    justify-content: space-between;

    gap: 50px;

    padding-bottom: 40px;

}


.footer h3 {

    margin-bottom: 12px;

    color: white;

    font-size: 21px;

}


.footer p {

    max-width: 400px;

    color: rgba(255,255,255,0.65);

    line-height: 1.7;

}


.footer-links {

    display: flex;

    flex-wrap: wrap;

    gap: 25px;

}


.footer-links a {

    color: rgba(255,255,255,0.75);

    font-size: 14px;

    transition: color 0.2s ease;

}


.footer-links a:hover {

    color: white;

}


.footer-bottom {

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,0.10);

}


.footer-bottom p {

    font-size: 13px;

    color: rgba(255,255,255,0.50);

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .nav-links {

        gap: 17px;

    }


    .nav-links a {

        font-size: 13px;

    }


    .featured-card {

        grid-template-columns: 1fr;

    }


    .featured-visual {

        min-height: 330px;

    }


    .insights-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .insights-grid .insight-card:last-child {

        grid-column: span 2;

        max-width: calc(50% - 12px);

    }


    .case-study-inner {

        padding: 45px;

    }

}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 800px) {

    .navbar-inner {

        min-height: 68px;

    }


    .nav-links {

        display: none;

    }


    .nav-button {

        padding: 11px 17px;

        font-size: 12px;

    }


    .logo {

        font-size: 18px;

    }


    .logo-icon {

        width: 29px;

        height: 29px;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .insights-hero {

        padding: 75px 0 60px;

    }


    .insights-hero h1 {

        font-size: 42px;

    }


    .insights-hero p {

        font-size: 16px;

    }


    .featured-insight {

        padding-bottom: 65px;

    }


    .featured-content {

        padding: 35px 25px;

    }


    .featured-content h2 {

        font-size: 32px;

    }


    .featured-visual {

        min-height: 300px;

        padding: 30px;

    }


    .visual-card {

        min-height: 230px;

        padding: 25px;

    }


    .visual-card strong {

        font-size: 25px;

    }


    .all-insights {

        padding: 55px 0 70px;

    }


    .section-heading {

        display: block;

        margin-bottom: 30px;

    }


    .section-heading h2 {

        font-size: 36px;

        margin-bottom: 18px;

    }


    .insights-grid {

        grid-template-columns: 1fr;

    }


    .insights-grid .insight-card:last-child {

        grid-column: auto;

        max-width: none;

    }


    .insight-image {

        height: 210px;

    }


    .insight-content {

        padding: 24px;

    }


    .insight-content h3 {

        font-size: 21px;

    }


    .insights-case-study {

        padding-bottom: 70px;

    }


    .case-study-inner {

        display: block;

        padding: 38px 28px;

    }


    .case-study-inner h2 {

        font-size: 34px;

    }


    .case-study-button {

        margin-top: 25px;

    }


    .insights-cta {

        padding-bottom: 70px;

    }


    .cta-box {

        padding: 55px 25px;

    }


    .cta-box h2 {

        font-size: 34px;

    }


    .footer-inner {

        display: block;

    }


    .footer-links {

        margin-top: 30px;

    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .navbar-inner {

        gap: 10px;

    }


    .logo {

        font-size: 16px;

    }


    .logo-icon {

        width: 27px;

        height: 27px;

    }


    .nav-button {

        padding: 10px 13px;

        font-size: 11px;

    }


    .insights-hero h1 {

        font-size: 36px;

    }


    .featured-content h2 {

        font-size: 29px;

    }


    .featured-visual {

        min-height: 260px;

        padding: 22px;

    }


    .visual-card {

        min-height: 205px;

    }


    .visual-card strong {

        font-size: 22px;

    }


    .section-heading h2 {

        font-size: 32px;

    }


    .case-study-inner h2 {

        font-size: 30px;

    }


    .cta-box h2 {

        font-size: 30px;

    }

}