@font-face {
    font-family: SatoshiRegular;
    src: url(fonts/satoshi/Satoshi-Regular.woff2);
}

@font-face {
    font-family: SatoshiMedium;
    src: url(fonts/satoshi/Satoshi-Medium.woff2);
}

@font-face {
    font-family: SatoshiBold;
    src: url(fonts/satoshi/Satoshi-Bold.woff2);
}

@font-face {
    font-family: SatoshiBlack;
    src: url(fonts/satoshi/Satoshi-Black.woff2);
}

:root {
    --p-blue: #6366f1;
    --p-purple: #a855f7;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.journey-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 96px 24px;
    font-family: 'SatoshiRegular', sans-serif;
    /* background: #F6F6F6; */
    margin: 0;
    overflow-x: hidden;
}

.phase {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.label {
    font-family: 'SatoshiBold';
    text-transform: uppercase;
    color: #000;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 30px;
    text-align: center;
    margin-top: 10px;
}

.date-tag {
    font-family: 'SatoshiBold';
    font-size: 0.7rem;
    color: #000;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #eee;
    width: 280px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    z-index: 2;
    text-align: center;
}

.card-logos {
    display: flex;
    justify-content: center;
    gap: 17px;
}

.card-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.color-web {
    /* background-color: #f0f7ff; */
    /* background-color: #E0D2F7; */
    /* border-color: #cfe3ff; */
}

.color-back {
    /* background-color: #fcf5ff; */
    /* background-color: #E0D2F7; */
    /* border-color: #ebd5ff; */
}

.color-app {
    /* background-color: #fff5f5; */
    /* background-color: #E0D2F7; */
    /* border-color: #ffdada; */
}

.color-y2 {
    /* background-color: #f0fff4; */
    /* border-color: #cdf7d8; */
    /* background-color: #BE98F7; */
    width: 600px;
    text-align: center;
}

.color-y3 {
    /* background-color: #fffdf0; */
    /* border-color: #fef0c7; */
    /* background-color: #8750E0; */
    width: 600px;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
    background: #fff;
}

.card h4 {
    font-family: 'SatoshiBold';
    font-size: 1.2rem;
    margin: 10px 0;
    color: #111;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    /* color: #555; */
    color: #000;
}

.spine {
    width: 5px;
    height: 80px;
    background: linear-gradient(to bottom, var(--p-blue), var(--p-purple));
}

.gold-spine {
    background: linear-gradient(to bottom, var(--p-purple), #f59e0b);
}

.complex-ecosystem {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floating-tool {
    position: absolute;
    /* background: white; */
    background: #FFF4E2;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-family: 'SatoshiBold';
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index: 3;
    display: none;
}

.t-left {
    left: -60px;
    top: 20%;
}

.t-right {
    right: -60px;
    top: 20%;
}

.b-left {
    left: -40px;
    bottom: 20%;
}

.b-right {
    right: -40px;
    bottom: 20%;
}

.finale-card {
    /* background: #0f172a; */
    /* background: #4F27BE; */
    color: white;
    padding: 60px;
    border-radius: 18px;
    text-align: center;
    width: 650px;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.finale-card p,
.finale-card h3 {
    color: #000;
}

.finale-card h3 {
    font-family: 'SatoshiBold';
    font-size: 1.2rem;
    margin: 10px 0;
    color: #111;
}

.finale-card h2 {
    font-family: 'SatoshiBlack';
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin: 10px 0;
    background: linear-gradient(to right, #818cf8, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-logos img {
    height: 25px;
    /* margin-right: 15px; */
    margin-top: 15px;
    /* opacity: 0.7; */
}

.connector-path {
    width: 100%;
    max-width: 900px;
    height: 220px;
    text-align: center;
}

.connector-path svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.journey-wrapper .program-journey-header {
    text-align: center;
    /* padding: 0 24px; */
}

.journey-wrapper .program-journey-header h2 {
    font-family: 'SatoshiBlack';
    font-size: 40px;
    /* color: #2B2B2B; */
    color: #000;
    margin-bottom: 28px;
    letter-spacing: -1.5px;
}

.journey-wrapper .program-journey-header p {
    /* color: #4c4c4c; */
    color: #000;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
    margin-bottom: 60px;
    font-size: 18px;
}

.logo-popup {
    position: absolute;
    background: #111;
    color: #fff;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    transform: scale(0.8);
    opacity: 0;
    /* transition: 0.2s ease; */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-popup img {
    width: 80px;
    display: block;
    margin: 0 auto 8px;
}

.logo-popup.show {
    opacity: 1;
    transform: scale(1);
}


@media (min-width: 370px) {
    .journey-wrapper {
        padding: 56px 24px;
    }
}

@media (max-width: 1440px) {
    .journey-wrapper .program-journey-header h2 {
        font-size: 32px;
    }

    .journey-wrapper .program-journey-header p {
        font-size: 18px;
    }

}

@media (max-width: 768px) {
    .card-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .card,
    .color-y2,
    .color-y3,
    .finale-card {
        width: 90% !important;
        max-width: 400px;
    }

    .connector-path {
        width: 100%;
        height: 60px;
    }

    .connector-path svg {
        width: 80%;
    }

    .floating-tool {
        position: relative;
        display: inline-block;
        margin: 5px;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: none;
    }

    .complex-ecosystem {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .journey-wrapper .program-journey-header h2 {
        font-size: 26px;
    }

}

@media (max-width: 640px) {

    .card,
    .color-y2,
    .color-y3,
    .finale-card {
        width: 100% !important;
        max-width: 400px;
    }

    .journey-wrapper .program-journey-header {
        /* text-align: center; */
        padding: 0 24px;
    }
}

@media (max-width: 370px) {

    .journey-wrapper .program-journey-header h2 {
        font-size: 22px;
    }

    .journey-wrapper .program-journey-header p {
        font-size: 16px;
    }

    .journey-wrapper {
        padding: 56px 24px;
    }
}