/* =========================================================
   GROWTH DIGITAL STUDIO
   SERVICES SECTION
========================================================= */


/* =========================================================
   SECTION
========================================================= */

.services-section {

    position: relative;

    padding:
        140px 0 130px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #07080d 0%,
            #080a11 50%,
            #07080d 100%
        );

}


/* =========================================================
   BACKGROUND GLOW
========================================================= */

.services-section::before {

    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    top: 15%;
    right: -300px;

    border-radius: 50%;

    background:
        rgba(112,71,255,.10);

    filter: blur(120px);

    pointer-events: none;

}


.services-section::after {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    bottom: -250px;
    left: -250px;

    border-radius: 50%;

    background:
        rgba(21,155,255,.07);

    filter: blur(120px);

    pointer-events: none;

}


/* =========================================================
   CONTAINER
========================================================= */

.services-container {

    position: relative;

    z-index: 2;

}


/* =========================================================
   HEADER
========================================================= */

.services-header {

    margin-bottom: 70px;

}


.services-eyebrow {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 25px;

    color: #a98cff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .24em;

}


.services-eyebrow-line {

    width: 36px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #a98cff,
            transparent
        );

}


.services-heading-wrap {

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(280px, .65fr);

    align-items: end;

    gap: 60px;

}


.services-title {

    margin: 0;

    max-width: 800px;

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            3.2rem,
            6vw,
            6.5rem
        );

    font-weight: 700;

    line-height: .92;

    letter-spacing: -.06em;

    color: #fff;

}


.services-title span {

    display: block;

    background:
        linear-gradient(
            110deg,
            #8e72ff,
            #56b9ff,
            #b879ff
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

}


.services-intro {

    max-width: 480px;

    margin: 0 0 8px;

    color:
        var(--color-text-secondary);

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================================
   GRID
========================================================= */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {

    position: relative;

    min-height: 480px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 32px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    box-shadow:
        0 25px 80px
        rgba(0,0,0,.18);

    transition:
        transform .45s cubic-bezier(.22,1,.36,1),
        border-color .45s ease,
        box-shadow .45s ease;

}


.service-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(167,139,250,.28);

    box-shadow:
        0 35px 100px
        rgba(0,0,0,.35);

}


/* =========================================================
   CARD TOP
========================================================= */

.service-card-top {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.service-number {

    font-family:
        var(--font-heading);

    color:
        rgba(255,255,255,.32);

    font-size: 12px;

    letter-spacing: .12em;

}


.service-category {

    padding:
        7px 11px;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius: 999px;

    color:
        #a98cff;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .2em;

}


/* =========================================================
   CARD CONTENT
========================================================= */

.service-card-content {

    position: relative;

    z-index: 2;

}


.service-card h3 {

    margin: 0 0 16px;

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            2.2rem,
            4vw,
            4rem
        );

    line-height: .95;

    letter-spacing: -.055em;

    color: #fff;

}


.service-card h3 span {

    display: block;

    color:
        rgba(255,255,255,.34);

}


.service-card p {

    max-width: 440px;

    margin: 0 0 28px;

    color:
        var(--color-text-secondary);

    font-size: 13px;

    line-height: 1.7;

}


/* =========================================================
   SERVICE LIST
========================================================= */

.service-list {

    display: flex;

    flex-direction: column;

}


.service-list a {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding:
        13px 0;

    border-top:
        1px solid
        rgba(255,255,255,.07);

    color:
        #d5d6dc;

    font-size: 12px;

    transition:
        color .3s ease,
        padding .35s cubic-bezier(.22,1,.36,1);

}


.service-list a:last-child {

    border-bottom:
        1px solid
        rgba(255,255,255,.07);

}


.service-list a:hover {

    padding-left: 8px;

    color: #fff;

}


.service-arrow {

    color:
        #8e72ff;

    font-size: 15px;

    transition:
        transform .35s cubic-bezier(.22,1,.36,1);

}


.service-list a:hover .service-arrow {

    transform:
        translate(4px,-4px);

}


/* =========================================================
   CARD GLOW
========================================================= */

.service-card-glow {

    position: absolute;

    width: 240px;
    height: 240px;

    right: -100px;
    bottom: -120px;

    border-radius: 50%;

    background:
        rgba(112,71,255,.16);

    filter: blur(60px);

    opacity: .5;

    transition:
        transform .6s ease,
        opacity .6s ease;

}


.service-card:hover .service-card-glow {

    transform:
        scale(1.4);

    opacity: .8;

}


/* =========================================================
   DIFFERENT CARD ACCENTS
========================================================= */

.service-card-grow .service-card-glow {

    background:
        rgba(21,155,255,.14);

}


.service-card-create .service-card-glow {

    background:
        rgba(184,121,255,.15);

}


.service-card-scale .service-card-glow {

    background:
        rgba(86,185,255,.12);

}


/* =========================================================
   BOTTOM CTA
========================================================= */

.services-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-top: 55px;

    padding-top: 28px;

    border-top:
        1px solid
        rgba(255,255,255,.08);

}


.services-bottom-text {

    display: flex;

    align-items: center;

    gap: 25px;

}


.services-bottom-text > span {

    color:
        #8e72ff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .18em;

    white-space: nowrap;

}


.services-bottom-text p {

    margin: 0;

    color:
        var(--color-text-muted);

    font-size: 11px;

}


.services-cta {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    min-height: 50px;

    padding:
        0 20px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 999px;

    color: #fff;

    background:
        rgba(255,255,255,.035);

    font-size: 11px;

    font-weight: 700;

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;

}


.services-cta:hover {

    transform:
        translateY(-3px);

    background:
        rgba(142,114,255,.12);

    border-color:
        rgba(142,114,255,.35);

}


.services-cta span:last-child {

    font-size: 17px;

    transition:
        transform .3s ease;

}


.services-cta:hover span:last-child {

    transform:
        translate(3px,-3px);

}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.service-card {

    opacity: 0;

    transform:
        translateY(50px);

}


.services-section.is-visible
.service-card {

    animation:
        serviceCardReveal .8s
        cubic-bezier(.22,1,.36,1)
        forwards;

}


.services-section.is-visible
.service-card:nth-child(1) {
    animation-delay: .05s;
}


.services-section.is-visible
.service-card:nth-child(2) {
    animation-delay: .15s;
}


.services-section.is-visible
.service-card:nth-child(3) {
    animation-delay: .25s;
}


.services-section.is-visible
.service-card:nth-child(4) {
    animation-delay: .35s;
}


@keyframes serviceCardReveal {

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {

    .services-section {

        padding:
            110px 0 100px;

    }


    .services-heading-wrap {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    .services-title {

        max-width: 700px;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .service-card {

        min-height: 430px;

    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 600px) {

    .services-section {

        padding:
            90px 0 80px;

    }


    .services-header {

        margin-bottom: 45px;

    }


    .services-eyebrow {

        font-size: 9px;

        letter-spacing: .18em;

    }


    .services-title {

        font-size:
            clamp(
                2.8rem,
                13vw,
                4.2rem
            );

        line-height: .94;

    }


    .services-intro {

        font-size: 13px;

        line-height: 1.7;

    }


    .services-grid {

        gap: 12px;

    }


    .service-card {

        min-height: 0;

        padding: 24px;

        border-radius: 20px;

    }


    .service-card h3 {

        font-size: 2.5rem;

    }


    .service-card p {

        font-size: 12px;

        margin-bottom: 20px;

    }


    .service-list a {

        padding:
            11px 0;

        font-size: 11px;

    }


    .services-bottom {

        align-items: flex-start;

        flex-direction: column;

        margin-top: 40px;

    }


    .services-bottom-text {

        align-items: flex-start;

        flex-direction: column;

        gap: 8px;

    }


    .services-cta {

        width: 100%;

        justify-content: center;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .service-card {

        opacity: 1;

        transform: none;

        animation: none !important;

    }

}






/* =========================================================
   PREMIUM SERVICE CARD MICRO-INTERACTIONS
========================================================= */

.service-card {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.5s cubic-bezier(.22, 1, .36, 1),
        border-color 0.5s ease,
        box-shadow 0.5s ease;
}


/* Soft ambient glow */
.service-card::before {
    content: "";
    position: absolute;

    width: 260px;
    height: 260px;

    top: -140px;
    right: -100px;

    background:
        radial-gradient(
            circle,
            rgba(124, 92, 255, 0.13) 0%,
            rgba(90, 160, 255, 0.06) 30%,
            transparent 70%
        );

    filter: blur(25px);

    opacity: 0.55;

    pointer-events: none;

    transition:
        opacity 0.6s ease,
        transform 0.8s cubic-bezier(.22, 1, .36, 1);
}


/* Very subtle moving light */
.service-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 100%;

    top: 0;
    left: -220px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.035),
            transparent
        );

    transform: skewX(-18deg);

    pointer-events: none;

    transition:
        left 0.9s cubic-bezier(.22, 1, .36, 1);
}


/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) {

    .service-card:hover {
        transform: translateY(-7px);

        border-color:
            rgba(139, 92, 246, 0.28);

        box-shadow:
            0 18px 55px rgba(0,0,0,0.28),
            0 0 35px rgba(105, 80, 255, 0.07);
    }

    .service-card:hover::before {
        opacity: 1;

        transform:
            translate(-20px, 20px)
            scale(1.15);
    }

    .service-card:hover::after {
        left: calc(100% + 80px);
    }

}


/* =========================================================
   CARD NUMBER / TAG MICRO GLOW
========================================================= */

.service-card:hover .service-card-number,
.service-card:hover .service-card-tag {
    text-shadow:
        0 0 14px rgba(139, 92, 246, 0.45);
}


/* =========================================================
   SERVICE ROW HOVER
========================================================= */

.service-card li,
.service-card .service-item {
    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}

@media (hover: hover) {

    .service-card li:hover,
    .service-card .service-item:hover {
        color: #ffffff;
        padding-left: 5px;
    }

}


/* =========================================================
   MOBILE — KEEP IT SOFT
========================================================= */

@media (max-width: 768px) {

    .service-card {
        transition:
            border-color 0.4s ease,
            box-shadow 0.4s ease;
    }

    .service-card::before {
        opacity: 0.35;
    }

}