@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    color: #ffffff;
    background: #050608;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   BACKGROUND
========================================= */

.background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: #6d4aff;
    top: -220px;
    left: -180px;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: #0077ff;
    top: 35%;
    right: -250px;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: #a855f7;
    bottom: -200px;
    left: 40%;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.header {
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.logo img {
    width: 150px;
    max-height: 48px;
    object-fit: contain;
}

.status {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 9px 14px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;

    background: rgba(255,255,255,0.035);

    color: #a7aab3;
    font-size: 12px;
    font-weight: 500;
}

.status-dot {
    width: 7px;
    height: 7px;

    background: #32e875;
    border-radius: 50%;

    box-shadow:
        0 0 0 4px rgba(50,232,117,0.08),
        0 0 14px rgba(50,232,117,0.7);
}


/* =========================================
   HERO
========================================= */

.hero {
    max-width: 820px;

    padding-top: 100px;
    padding-bottom: 100px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 25px;

    color: #8f8dff;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.eyebrow span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #7667ff;

    box-shadow: 0 0 15px #7667ff;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 800;
}

.hero h1 span {
    color: transparent;

    background:
        linear-gradient(
            100deg,
            #8d7cff 0%,
            #c1baff 45%,
            #6da8ff 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
}

.hero p {
    max-width: 620px;

    margin-top: 30px;

    color: #8e919b;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   APPLICATION SECTION
========================================= */

.applications {
    padding-bottom: 100px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 28px;
}

.section-label {
    display: block;

    margin-bottom: 7px;

    color: #666974;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.section-heading h2 {
    font-size: 25px;
    letter-spacing: -0.03em;
}

.application-count {
    color: #5f626d;

    font-size: 12px;
}


/* =========================================
   APP GRID
========================================= */

.app-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================
   APP CARD
========================================= */

.app-card {
    position: relative;

    min-height: 360px;

    display: flex;
    flex-direction: column;

    padding: 28px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.075);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.065),
            rgba(255,255,255,0.018)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 25px 70px rgba(0,0,0,0.22);

    transition:
        transform 0.4s cubic-bezier(.2,.8,.2,1),
        border-color 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;
}

.app-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(139,125,255,0.35);

    background:
        linear-gradient(
            145deg,
            rgba(139,125,255,0.12),
            rgba(255,255,255,0.025)
        );

    box-shadow:
        0 35px 90px rgba(0,0,0,0.35),
        0 0 45px rgba(111,91,255,0.08);
}


/* =========================================
   CARD GLOW
========================================= */

.card-glow {
    position: absolute;

    width: 220px;
    height: 220px;

    top: -130px;
    right: -100px;

    border-radius: 50%;

    background: #7164ff;

    filter: blur(90px);

    opacity: 0;

    transition: opacity 0.5s ease;
}

.app-card:hover .card-glow {
    opacity: 0.18;
}


/* =========================================
   APP ICON
========================================= */

.app-icon {
    position: relative;

    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 42px;

    border-radius: 19px;

    background: rgba(255,255,255,0.055);

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.25);

    overflow: hidden;

    transition:
        transform 0.4s cubic-bezier(.2,.8,.2,1),
        box-shadow 0.4s ease;
}

.app-icon::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.12),
            transparent 45%
        );

    pointer-events: none;
}

.app-icon img {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    padding: 8px;

    object-fit: contain;

    transition: transform 0.4s ease;
}

.app-card:hover .app-icon {
    transform: translateY(-4px) rotate(-2deg);

    box-shadow:
        0 20px 40px rgba(0,0,0,0.35),
        0 0 30px rgba(120,105,255,0.15);
}

.app-card:hover .app-icon img {
    transform: scale(1.07);
}


/* =========================================
   APP CONTENT
========================================= */

.app-content {
    position: relative;
    z-index: 2;
}

.app-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;
}

.app-category {
    color: #747782;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.16em;
}

.external-icon {
    color: #6c6f7a;

    font-size: 21px;
    line-height: 1;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.app-card:hover .external-icon {
    color: #aaa2ff;
    transform: translate(3px, -3px);
}

.app-content h3 {
    font-size: 23px;
    letter-spacing: -0.035em;
}

.app-content p {
    max-width: 290px;

    margin-top: 11px;

    color: #777a85;

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================
   OPEN APP
========================================= */

.open-app {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: auto;
    padding-top: 25px;

    color: #8c8e98;

    font-size: 12px;
    font-weight: 600;

    border-top: 1px solid rgba(255,255,255,0.06);

    transition: color 0.3s ease;
}

.open-app span {
    font-size: 18px;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.app-card:hover .open-app {
    color: #c0bdff;
}

.app-card:hover .open-app span {
    color: #a69eff;
    transform: translateX(5px);
}


/* =========================================
   FEATURED CARD
========================================= */

.app-card.featured {
    border-color:
        rgba(125,111,255,0.16);

    background:
        linear-gradient(
            145deg,
            rgba(117,101,255,0.09),
            rgba(255,255,255,0.018)
        );
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding-bottom: 35px;
}

.footer-line {
    height: 1px;

    margin-bottom: 22px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.08),
            transparent
        );
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #50535d;

    font-size: 11px;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-status span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #32e875;

    box-shadow: 0 0 8px #32e875;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .hero {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .app-grid {
        grid-template-columns: 1fr 1fr;
    }

    .app-card:last-child {
        grid-column: 1 / -1;
    }

}


@media (max-width: 620px) {

    .container {
        width: min(100% - 30px, 1180px);
    }

    .header {
        height: 82px;
    }

    .logo img {
        width: 125px;
    }

    .status {
        padding: 8px 11px;
        font-size: 10px;
    }

    .hero {
        padding-top: 70px;
        padding-bottom: 65px;
    }

    .hero h1 {
        font-size: clamp(43px, 14vw, 65px);
    }

    .hero p {
        margin-top: 23px;

        font-size: 14px;
        line-height: 1.7;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }

    .app-card:last-child {
        grid-column: auto;
    }

    .app-card {
        min-height: 330px;
        padding: 24px;
    }

    .app-icon {
        margin-bottom: 35px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;

        gap: 10px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

}
