/* ══════════════════════════════════════════
   ALIGNMENT SECTION (sticky scroll)
   ══════════════════════════════════════════ */
.alignment_section {
    background: #141212;
    position: relative;
}

.alignment_sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.alignment_content {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-areas: "stack";
    align-items: center;
    justify-items: stretch;
}
.alignment_content .step-1,
.alignment_content .step-2 {
    grid-area: stack;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.alignment_title_1 {
    filter: blur(6px);
    opacity: 1;
}
.alignment_subtitle,
.alignment_cards_1,
.alignment_cards_2,
.alignment_title_2,
.alignment_bottom {
    opacity: 0;
    filter: blur(6px);
    visibility: hidden;
}

.alignment_subtitle {
    max-width: 600px;
    margin: 24px auto 0;
}

.alignment_cards_1 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    width: 100%;
    margin-top: 48px;
}
.alignment_cards_2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    margin-top: 48px;
}

.alignment_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 32px;
    background-color: #1F1D1D;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 600;
    min-height: 204px;
}
.alignment_card img {
    width: 40px;
    height: 40px;
}
.alignment_card div {
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.alignment_bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    margin-top: 40px;
}
.alignment_bottom h3 {
    color: rgba(255,255,255,0.5);
    text-align: center;
}

/* ══════════════════════════════════════════
   DECENTRALIZED COMPARISON
   ══════════════════════════════════════════ */
.decentralized_wrapper {
    background-image: url("assets/img/Block-3-background.png");
    background-color: #191717;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0;
}

.decentralized_title {
    margin-bottom: 56px;
}

.decentralized_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 990px;
    margin: 0 auto;
}

.decentralized_item {
    padding: 32px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.decentralized_left {
    background: #141212;
    backdrop-filter: blur(42px);
}

.decentralized_right {
    background: #FFFFFF;
}
.decentralized_right h3 { color: #141212; }

.decentralized_item_icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.decentralized_left .decentralized_item_icon {
    background: #FFFFFF;
}
.decentralized_right .decentralized_item_icon {
    background: #141212;
}
.decentralized_item_icon img {
    width: 24px;
    height: 24px;
}

.decentralized_item h3 {
    margin-top: 20px;
    margin-bottom: 24px;
    font-size: 24px;
}

.decentralized_left .decentralized_item_icon img {
    filter: brightness(0) saturate(100%) invert(0%) sepia(91%) saturate(7500%) hue-rotate(89deg) brightness(91%) contrast(94%);
}

.decentralized_left_item,
.decentralized_right_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 100px;
    transition: background 0.2s;
}
.decentralized_left_item {
    background: rgba(255,255,255,0.04);
}
.decentralized_left_item:hover {
    background: rgba(255,255,255,0.07);
}
.decentralized_right_item {
    background: #F7F7F5;
}
.decentralized_right_item:hover {
    background: #eeecea;
}
.decentralized_right_item .fw-semibold {
    color: #000;
}

.decentralized_left_item img,
.decentralized_right_item img {
    width: 24px;
    min-width: 24px;
}

.decentralized_items_col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ══════════════════════════════════════════
   MORPH / TRANSITION SECTION (Desktop)
   ══════════════════════════════════════════ */
.morph-section {
    height: 100vh;
    background-color: #141212;
    overflow: hidden;
    color: #fff;
    pointer-events: none;
}

.morph-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    pointer-events: none;
}

.cards-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.morph-card {
    position: absolute;
    background: #1F1D1D;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-family: 'EB Garamond', Georgia, serif;
    color: #FFFFFF;
    white-space: nowrap;
    border-radius: 12px;
}

.morph-card[data-id="1"] {
    margin-top: -150px;
    margin-left: -600px;
    font-size: 60px;
    width: 500px;
    height: 200px;
    filter: blur(6px);
}
.morph-card[data-id="2"] {
    margin-top: -150px;
    margin-left: 400px;
    font-size: 45px;
    width: 390px;
    height: 140px;
    filter: blur(1px);
}
.morph-card[data-id="3"] {
    margin-top: 250px;
    margin-left: -350px;
    font-size: 40px;
    width: 370px;
    height: 135px;
    filter: blur(2px);
}
.morph-card[data-id="4"] {
    margin-top: 300px;
    margin-left: 450px;
    font-size: 38px;
    width: 330px;
    height: 125px;
    filter: blur(6px);
}
@media (max-width: 1700px) {
    .morph-card[data-id="1"] { width: 450px; margin-left: -400px; }
    .morph-card[data-id="2"] { margin-left: 300px; }
    .morph-card[data-id="4"] { margin-left: 300px; }
}

.morph-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    width: 300px;
    opacity: 0;
}
.morph-center img {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
}
.morph-center h2 {
    font-size: 40px;
    margin-top: 15px;
    line-height: 40px;
}

.morph-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    border-radius: 20px;
}

.final-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1180px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    z-index: 50;
}

.final-container-title {
    transition: opacity 0.2s;
    opacity: 0;
    margin-bottom: 96px;
}

.full-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    background: #1F1D1D;
    padding: 25px;
    border-radius: 24px;
    border: 0.5px solid rgba(13, 7, 20, 0.04);
    transform-origin: center center;
    opacity: 0;
    width: 100%;
    will-change: transform, background-color;
    overflow: hidden;
    min-height: 100px;
    pointer-events: none;
    transform-style: preserve-3d;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
    transform: translateZ(0);
    contain: paint;
    transition: background-color 0.2s;
}
.full-card .phase-numeral {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 80px;
    font-weight: 400;
    color: rgba(255,255,255,0.06);
    letter-spacing: -0.02em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.full-card:hover {
    text-decoration: none !important;
    background-color: #242221 !important;
}

.full-card h3 {
    width: 220px;
    min-width: 220px;
    color: #fff;
    transition: all 0.2s;
}
.full-card p {
    color: #BFBFBF;
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
    transition: all 0.2s;
}
.full-card h3, .full-card p {
    opacity: 1 !important;
    will-change: transform, opacity;
    transform: translateZ(0) rotate(0.02deg);
}

/* Mobile transition */
.transition_mobile {
    display: none;
    padding: 60px 0;
}
.transition_mobile_title {
    margin-bottom: 32px;
}
.transition_mobile_items {
    display: flex;
    flex-direction: column;
}
.transition_mobile_item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 20px;
    background-color: #1F1D1D;
    padding: 24px 16px;
    margin-bottom: 20px;
    overflow: hidden;
}
.transition_mobile_item .phase-numeral {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 56px;
    font-weight: 400;
    color: rgba(255,255,255,0.06);
    letter-spacing: -0.02em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.transition_mobile_item > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.transition_mobile_item .text-dark { font-size: 14px; }

/* ══════════════════════════════════════════
   EXPLORE BLOCK
   ══════════════════════════════════════════ */
.explore_block {
    padding: 0 16px;
    background-color: #141212;
}

.explore_container {
    max-width: 1180px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.explore_title {
    font-size: 44px;
    margin-bottom: 64px;
}

.explore_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.explore_card {
    background: #1F1D1D;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.04);
    transition: transform 0.3s;
}
.explore_card:hover {
    transform: translateY(-4px);
}
.explore_card > img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.explore_card > div {
    padding: 24px 48px 48px;
}
.explore_card h3 {
    font-size: 28px;
    margin-bottom: 0;
}
.explore_card .text-dark {
    font-size: 15px;
    margin-top: 12px;
    margin-bottom: 24px;
    color: #E0E0E0;
}

/* ══════════════════════════════════════════
   HOMEPAGE RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
    .alignment_sticky {
        height: auto;
        overflow: visible;
        position: relative;
    }
    .alignment_content {
        display: flex;
        flex-direction: column;
        padding-bottom: 50px;
    }
    .alignment_title_1,
    .alignment_subtitle,
    .alignment_cards_1,
    .alignment_cards_2,
    .alignment_title_2,
    .alignment_bottom {
        filter: blur(0);
    }
    .alignment_cards_1, .alignment_cards_2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-top: 32px;
    }
    .alignment_card {
        min-height: 100px;
        min-width: 150px;
        padding: 16px;
        font-size: 14px;
        width: calc(50% - 6px);
    }
    .alignment_card:last-child { width: 100%; }
    .alignment_card div { font-size: 14px; white-space: normal; }
    .alignment_card img { width: 28px; height: 28px; }
    .alignment_bottom {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .decentralized_wrapper { padding: 60px 0; }
    .decentralized_item_icon { width: 48px; height: 48px; }
    .decentralized_item_icon img { width: 24px; height: 24px; }
    .decentralized_grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .decentralized_title { margin-bottom: 32px; }

    .morph-section { display: none !important; }
    .transition_mobile { display: block; }

    .explore_title { margin-bottom: 32px; }
    .explore_card > div { padding: 16px 16px 24px; }
    .explore_card > img { height: 200px; }

    .full-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px;
    }
    .full-card h3 { width: auto; min-width: auto; }
}

@media (max-width: 767.98px) {
    .explore_grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .alignment_card {
        padding: 12px 14px;
        min-width: 100px;
    }
}
