/* =========================================================
   YXE WEB STUDIOS
   CUSTOM APPLICATIONS PORTFOLIO
   ========================================================= */

.apps-page {
    position: relative;
    overflow: hidden;
}


/* =========================================================
   INTRO
   ========================================================= */

.apps-intro {
    position: relative;
    padding: 150px 0 100px;
}


.apps-intro-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 70px;
}


.apps-intro-count {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,.38);
    white-space: nowrap;
}


.apps-intro-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    align-items: end;
    gap: 80px;
}


.apps-intro-row h1 {
    margin: 0;
    max-width: 850px;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(48px, 7vw, 100px);
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 600;
}


.apps-intro-row h1 span {
    display: inline-block;
    background: linear-gradient(
        110deg,
        #ffffff 0%,
        #63a9ff 45%,
        #2563eb 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.apps-intro-row p {
    max-width: 430px;
    margin: 0 0 8px;
    color: rgba(255,255,255,.60);
    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   WORK
   ========================================================= */

.apps-work {
    position: relative;
    padding: 20px 0 120px;
}


.apps-accordion {
    border-top: 1px solid rgba(255,255,255,.10);
}


/* =========================================================
   CARD
   ========================================================= */

.apps-card {
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,.10);
}


.apps-card-toggle {
    width: 100%;
    min-height: 90px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;

    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 50px;
    align-items: center;

    text-align: left;
    cursor: pointer;
}


.apps-card-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    letter-spacing: .12em;
    color: rgba(255,255,255,.32);
}


.apps-card-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .01em;
    color: rgba(255,255,255,.78);
    transition:
        color .3s ease,
        transform .3s ease;
}


.apps-card-arrow {
    justify-self: end;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;

    font-size: 15px;
    color: rgba(255,255,255,.45);

    transition:
        transform .35s ease,
        background .35s ease,
        border-color .35s ease,
        color .35s ease;
}


.apps-card:hover .apps-card-label {
    color: #fff;
    transform: translateX(4px);
}


.apps-card:hover .apps-card-arrow {
    border-color: rgba(255,255,255,.25);
    color: #fff;
}


/* =========================================================
   ACTIVE STATE
   ========================================================= */

.apps-card.is-active .apps-card-label {
    color: #fff;
}


.apps-card.is-active .apps-card-arrow {
    transform: rotate(45deg);
    color: #fff;
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.05);
}


/* =========================================================
   CONTENT
   ========================================================= */

.apps-card-content {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
    gap: 70px;

    max-height: 0;
    overflow: hidden;
    opacity: 0;

    transform: translateY(-10px);

    transition:
        max-height .65s cubic-bezier(.22,1,.36,1),
        opacity .35s ease,
        transform .5s cubic-bezier(.22,1,.36,1),
        padding .5s ease;
}


.apps-card.is-active .apps-card-content {
    max-height: 750px;
    padding: 20px 0 80px;

    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   IMAGE
   ========================================================= */

.apps-card-image {
    position: relative;
    min-height: 430px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 4px;

    background:
        linear-gradient(
            145deg,
            rgba(15,23,42,.95),
            rgba(5,9,15,.98)
        );
}


.apps-card-image img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 430px;

    object-fit: cover;

    transition:
        transform .8s cubic-bezier(.22,1,.36,1);
}


.apps-card:hover .apps-card-image img {
    transform: scale(1.025);
}


/* =========================================================
   PLACEHOLDER VISUALS
   ========================================================= */

.apps-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(59,130,246,.16),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            rgba(13,22,37,.95),
            rgba(4,8,14,.98)
        );
}


.apps-placeholder {
    width: 80%;
    text-align: center;
}


.apps-placeholder span {
    display: block;
    margin-bottom: 18px;

    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;

    color: rgba(255,255,255,.32);
}


.apps-placeholder strong {
    display: block;

    font-family: 'Orbitron', sans-serif;
    font-size: clamp(25px, 3vw, 42px);
    line-height: 1.05;
    letter-spacing: -.035em;

    color: rgba(255,255,255,.88);
}


/* =========================================================
   INFO
   ========================================================= */

.apps-card-info {
    align-self: center;
    padding-right: 20px;
}


.apps-card-info > span {
    display: block;
    margin-bottom: 22px;

    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .18em;

    color: rgba(255,255,255,.35);
}


.apps-card-info h2 {
    margin: 0 0 24px;

    font-family: 'Orbitron', sans-serif;
    font-size: clamp(35px, 4vw, 62px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 600;
}


.apps-card-info p {
    max-width: 440px;
    margin: 0 0 30px;

    color: rgba(255,255,255,.56);

    font-size: 16px;
    line-height: 1.75;
}


.apps-card-info a {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #fff;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        gap .3s ease,
        color .3s ease;
}


.apps-card-info a strong {
    font-size: 17px;
    font-weight: 400;
}


.apps-card-info a:hover {
    gap: 17px;
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.apps-bottom {
    position: relative;
    padding: 40px 0 140px;
}


.apps-bottom-inner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;

    padding: 70px 65px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 5px;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(59,130,246,.16),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(14,23,37,.88),
            rgba(5,9,15,.96)
        );
}


.apps-bottom-inner h2 {
    margin: 18px 0 0;

    font-family: 'Orbitron', sans-serif;
    font-size: clamp(35px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -.045em;
}


.apps-bottom-inner h2 span {
    background: linear-gradient(
        110deg,
        #ffffff 0%,
        #63a9ff 45%,
        #2563eb 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.apps-bottom-inner p {
    max-width: 550px;
    margin: 20px 0 0;

    color: rgba(255,255,255,.55);

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .apps-intro {
        padding: 120px 0 75px;
    }


    .apps-intro-top {
        margin-bottom: 50px;
    }


    .apps-intro-row {
        grid-template-columns: 1fr;
        gap: 35px;
    }


    .apps-intro-row p {
        max-width: 600px;
    }


    .apps-card-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }


    .apps-card.is-active .apps-card-content {
        padding-bottom: 60px;
    }


    .apps-card-image {
        min-height: 360px;
    }


    .apps-card-image img {
        min-height: 360px;
    }


    .apps-card-info {
        padding-right: 0;
    }


    .apps-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 50px 35px;
    }

}


@media (max-width: 600px) {

    .apps-intro {
        padding: 100px 0 60px;
    }


    .apps-intro-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }


    .apps-intro-row h1 {
        font-size: clamp(42px, 13vw, 65px);
    }


    .apps-intro-row p {
        font-size: 15px;
    }


    .apps-work {
        padding-bottom: 80px;
    }


    .apps-card-toggle {
        min-height: 75px;
        grid-template-columns: 48px minmax(0, 1fr) 42px;
    }


    .apps-card-label {
        font-size: 16px;
    }


    .apps-card-arrow {
        width: 34px;
        height: 34px;
    }


    .apps-card-image {
        min-height: 250px;
    }


    .apps-card-image img {
        min-height: 250px;
    }


    .apps-card-info h2 {
        font-size: 34px;
    }


    .apps-bottom {
        padding-bottom: 90px;
    }


    .apps-bottom-inner {
        padding: 40px 25px;
    }

}