/* =========================================================
   ARPIVA TECHNOLOGIES
   GUIDES & DOWNLOADS PAGE
========================================================= */

.guides-downloads-page {
    background: #f7faff;
    color: #081b4b;
}


/* =========================================================
   HERO
========================================================= */

.guides-hero {
    position: relative;
    padding: 170px 0 110px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(47, 128, 237, .22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #06183f 0%,
            #0b2a6f 55%,
            #123d8f 100%
        );
}

.guides-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -200px;
    top: -230px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
}

.guides-hero::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    left: -470px;
    bottom: -570px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.guides-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.guides-hero .section-badge {
    background: rgba(255,255,255,.10);
    color: #76aaff;
    border: 1px solid rgba(255,255,255,.10);
}

.guides-hero h1 {
    margin: 25px 0;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.guides-hero h1 span {
    color: #ff9f1c;
}

.guides-hero p {
    max-width: 760px;
    margin: auto;
    color: #d9e5fb;
    font-size: 19px;
    line-height: 1.8;
}


/* =========================================================
   SECTION BADGE
========================================================= */

.guides-downloads-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;
}


/* =========================================================
   INTRO
========================================================= */

.guides-intro {
    padding: 110px 0;
    background: #ffffff;
}

.guides-intro-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.guides-intro-content h2 {
    margin: 22px 0 22px;
    color: #081b4b;
    font-size: clamp(35px, 4vw, 52px);
    line-height: 1.2;
    font-weight: 800;
}

.guides-intro-content h2 span {
    color: #2f80ed;
}

.guides-intro-content p {
    max-width: 700px;
    margin: 0 0 18px;
    color: #687790;
    font-size: 17px;
    line-height: 1.85;
}

.guides-intro-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.guides-visual-card {
    position: relative;
    width: min(100%, 360px);
    min-height: 300px;
    padding: 45px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(47,128,237,.35),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #071d4c,
            #123d8f
        );

    box-shadow: 0 30px 70px rgba(8,27,75,.18);

    overflow: hidden;
}

.guides-visual-card::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -100px;
    bottom: -110px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.guides-visual-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);

    color: #ffae3d;
    font-size: 30px;
    font-weight: 800;
}

.guides-visual-card span {
    margin-bottom: 8px;
    color: #78aaff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.guides-visual-card strong {
    color: #ffffff;
    font-size: 22px;
}


/* =========================================================
   RESOURCE SECTION
========================================================= */

.guides-resource-section {
    padding: 110px 0;
    background: #f7faff;
}

.guides-section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.guides-section-heading h2 {
    margin: 20px 0 18px;
    color: #081b4b;
    font-size: clamp(35px, 4vw, 50px);
    line-height: 1.2;
    font-weight: 800;
}

.guides-section-heading h2 span {
    color: #2f80ed;
}

.guides-section-heading p {
    margin: 0;
    color: #687790;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   RESOURCE CARDS
========================================================= */

.guides-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.guide-resource-card {
    position: relative;

    display: flex;
    gap: 22px;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #e3eaf4;
    border-radius: 22px;

    box-shadow: 0 15px 45px rgba(15,43,91,.06);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    overflow: hidden;
}

.guide-resource-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #2f80ed,
            #6fa8ff,
            #ff9f1c
        );

    transform: scaleX(0);
    transform-origin: left;

    transition: .35s ease;
}

.guide-resource-card:hover {
    transform: translateY(-8px);

    border-color: #d5e2f8;

    box-shadow:
        0 25px 60px rgba(15,43,91,.12);
}

.guide-resource-card:hover::before {
    transform: scaleX(1);
}

.guide-resource-icon {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #eaf2ff,
            #f4f8ff
        );

    color: #216ce0;

    font-size: 13px;
    font-weight: 800;
}

.guide-resource-content {
    flex: 1;
}

.guide-resource-type {
    display: block;
    margin-bottom: 8px;

    color: #2f80ed;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.2px;
}

.guide-resource-content h3 {
    margin: 0 0 12px;

    color: #081b4b;

    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.guide-resource-content p {
    margin: 0 0 18px;

    color: #697993;

    font-size: 14px;
    line-height: 1.7;
}

.guide-coming-soon {
    display: inline-flex;
    padding: 7px 12px;

    border-radius: 20px;

    background: #fff5e6;

    color: #d97706;

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   FEATURED PRODUCT
========================================================= */

.guides-featured {
    padding: 110px 0;
    background: #ffffff;
}

.guides-featured-box {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 280px;

    min-height: 350px;

    overflow: hidden;

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(47,128,237,.28),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071d4c,
            #0d347e
        );

    box-shadow:
        0 30px 70px rgba(8,27,75,.18);
}

.guides-featured-content {
    padding: 65px;
}

.guides-featured-content .section-badge {
    background: rgba(255,255,255,.10);
    color: #78aaff;
}

.guides-featured-content h2 {
    margin: 20px 0 18px;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.15;
    font-weight: 800;
}

.guides-featured-content p {
    max-width: 700px;

    margin: 0 0 24px;

    color: #d6e2fa;

    font-size: 17px;
    line-height: 1.8;
}

.guides-launch-badge {
    display: inline-flex;

    padding: 9px 16px;

    border-radius: 30px;

    background: rgba(255,159,28,.14);

    border: 1px solid rgba(255,159,28,.25);

    color: #ffb347;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .8px;
    text-transform: uppercase;
}

.guides-featured-side {
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(255,255,255,.035);

    border-left: 1px solid rgba(255,255,255,.08);
}

.guides-erp-mark {
    width: 150px;
    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.18);

    color: #ffffff;

    font-size: 30px;
    font-weight: 800;

    box-shadow:
        0 0 0 20px rgba(255,255,255,.025),
        0 0 0 40px rgba(255,255,255,.015);
}


/* =========================================================
   CTA
========================================================= */

.guides-cta {
    padding: 90px 0 120px;
    background: #ffffff;
}

.guides-cta-box {
    padding: 70px 40px;

    text-align: center;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #f0f5ff,
            #ffffff
        );

    border: 1px solid #dfe8f6;

    box-shadow:
        0 20px 55px rgba(15,43,91,.07);
}

.guides-cta-box h2 {
    margin: 22px 0 16px;

    color: #081b4b;

    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.2;
    font-weight: 800;
}

.guides-cta-box p {
    max-width: 650px;

    margin: 0 auto 28px;

    color: #687790;

    font-size: 17px;
    line-height: 1.8;
}

.guides-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;
}

.guides-cta-button:hover {
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 18px 40px rgba(255,140,0,.40);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .guides-resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .guides-hero {
        padding: 130px 0 80px;
    }

    .guides-hero h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .guides-hero p {
        font-size: 16px;
        line-height: 1.7;
    }

    .guides-intro,
    .guides-resource-section,
    .guides-featured {
        padding: 75px 0;
    }

    .guides-intro-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .guides-intro-content h2 {
        font-size: 34px;
    }

    .guides-intro-content p {
        font-size: 16px;
    }

    .guides-resource-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .guide-resource-card {
        padding: 28px;
    }

    .guides-featured-box {
        grid-template-columns: 1fr;
    }

    .guides-featured-content {
        padding: 45px 28px;
    }

    .guides-featured-side {
        min-height: 220px;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .guides-cta {
        padding: 60px 0 80px;
    }

    .guides-cta-box {
        padding: 50px 25px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .guides-hero {
        padding: 115px 0 70px;
    }

    .guides-hero h1 {
        font-size: 34px;
    }

    .guides-hero p {
        font-size: 15px;
    }

    .guides-downloads-page .section-badge {
        padding: 8px 17px;
        font-size: 11px;
    }

    .guide-resource-card {
        gap: 16px;
        padding: 24px;
    }

    .guide-resource-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .guide-resource-content h3 {
        font-size: 18px;
    }

    .guide-resource-content p {
        font-size: 13px;
    }

    .guides-featured-content h2 {
        font-size: 32px;
    }

}