﻿:root {
    --label-color: #4FC3F7;
    --text-p: #D5F0FF;
    --btn-gradient: linear-gradient( 90deg, #02C3BD 0%, #286CA5 38%, #4E148C 100% );
}

.inner-wrapper {
    position: relative;
    overflow: hidden;
}

.mvx_logo {
    display: flex; 
    align-items: center; 
    gap: 10px; 
    width: fit-content; 
}

.mvx_logo img{
    height: 55px; 
    width: auto;
}

.btn-grad {
    margin: 10px;
    padding: 10px 30px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-image: linear-gradient(to right, #36D1DC 0%, #5B86E5 51%, #36D1DC 100%);
    background-size: 200% auto;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.5);
    border-radius: 10px;
    display: inline-block;
    outline: none;
    border: none;
    font-weight: bold;
    font-size: 14px;
    justify-content:center;
}

.btn-grad-small {
    margin: 10px;
    padding: 10px 30px;
    text-align: center;
    transition: 0.5s;
    background-image: linear-gradient(to right, #36D1DC 0%, #5B86E5 51%, #36D1DC 100%);
    background-size: 200% auto;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.5);
    border-radius: 10px;
    display: inline-block;
    outline: none;
    border: none;
    font-size: 12px;
    display: flex;
    gap: 10px;
    justify-content:center;
}

.btn-grad:hover, .btn-grad-small:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
}

.hero-overflow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    object-fit: cover;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
}

.inner-wrapper > *:not(.hero-overflow) {
    position: relative;
    z-index: 2;
}
.partner, .tech-section {
    padding: 80px 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.philosophy-section{
    padding: 80px 60px;
    overflow: visible;
    display: flex;
    align-items: center;
}
.section-header .label {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--label-color);
    margin-bottom: 10px;
}

.tech-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-left {
    position: relative;
}

.col-left img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.col-right {
    padding-left: 20px;
}

.section-header .section-title {
    font-size: 22px;
    font-weight: 200;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 40px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.feature-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    background-color: #D5F0FF1A;
    padding: 5px;
    border-radius: 5px;
}

.feature-icon svg {
    width: 60px;
    height: 60px;
}

.feature-body h3 {
    font-size: 19px;
    font-weight: 300;
    color: #D6D6D6;
    margin-bottom: 6px;
}

.feature-body p {
    color: var(--text-p);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
}

.philosophy-inner {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1.2fr;
    align-items: center;
    gap: 48px;
}

.left-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.center-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cube-wrapper {
    position: relative;
    width: clamp(220px, 28vw, 400px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.cube-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transform: rotate(-25deg);
}

.right-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.body-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.body-text p {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-p);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* BUTTONS */
.btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 8px;
}

.section.core{
    position: relative;
    overflow: visible;
}

.section.core::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../../images/core.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;  
    z-index: 0;
}

.section.core > * {
    position: relative;
    z-index: 2;
}

.sections-wrapper {
    position: relative;
    overflow: visible;
}

.img-wrapper {
    position: absolute;
    right: -18%;
    top: 45%; 
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    width: 500px; 
}

.img-left-wrapper {
    position: absolute;
    left: -22%; /* partially off-screen to the left */
    bottom: 20%; /* sits at the bottom-left */
    width: 380px;
    z-index: 0;
    pointer-events: none;
    transform:rotate(45deg);
}

.img-left-wrapper .left-img{
      width: 300px;
      height: auto;
      display: block;
      opacity: 0.85;
}

.shape-img {
    width: 450px; /* desktop size */
    height: auto;
    display: block;
}

.container.foundation {
    align-items: center;
    display: flex;
}

.foundation-info {
    color: var(--text-p);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
    margin-top: -20px;
    padding-bottom: 25px;
}

.foundation-list {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.foundation-list li{
    margin-bottom:18px;
    color:var(--text-p);
    font-size:17px;
    font-weight:300;   
    letter-spacing:0.5px;
    line-height:17px;
    display:flex;
    align-items:center;
    gap:12px;  
}

.foundation-list li::before{
    content:"➤";
    color:#00e0d3;
    font-size:14px;
}

.eco_text {
    font-size: 17px;
    font-weight: 300;
    color: var(--text-p);
    line-height: 1.7;
    letter-spacing: 0.01em;
    max-width: 700px;
    position:absolute;
    margin-top:10px;
}

.section.globe {
    position: relative;
}

.section.globe::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    top: -60px; 
    bottom: -60px; 
    background-image: url('../../images/star_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
}

.bento_item .p_32, .bento_item .p_32-inline {
    color: var(--label-color);
}

.crystal-get.is-6, .crystal-get.is-5, .crystal-get.is-4 {
    transform: rotate(45deg);
}

.crystal-get.is-3 {
    transform: rotate(10deg);
}

.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top__link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-image: linear-gradient(to right, #36D1DC 0%, #5B86E5 51%, #36D1DC 100%);
    background-size: 200% auto;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.scroll-top__link:hover {
    transform: translateY(-4px);
    background-position: right center;
}

.scroll-top__icon {
    line-height: 2;
    display: inline-block;
    font-weight: bold;
}

@media (max-width: 1280px) {
    .shape-img {
        width: 300px; /* desktop size */
    }

    .img-wrapper {
        position: absolute;
        right: -30%;
    }

    .img-left-wrapper {
        display:none;
    }
}

@media (max-width: 967px){
    .philosophy-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 36px;
    }

    .left-col {
        grid-column: 1;
        grid-row: 1;
    }

    .center-col {
        grid-column: 2;
        grid-row: 1;
    }

    .right-col {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: 640px;
    }

    .cube-wrapper {
        width: clamp(200px, 34vw, 320px);
    }

    .img-wrapper {
        position: absolute;
        top: 35%;
    }

    .eco_text {
        width:100%;
        position: relative;
    }
    
}
/* ── Responsive ── */
@media (max-width: 768px) {
    .tech-row {
        flex-direction: column;
    }

    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-right {
        padding-left: 0;
        padding-top: 32px;
    }

    .section-header .section-title {
        font-size: 30px;
    }

    .tech-section, .philosophy-section {
        padding: 48px 24px;
    }

    .philosophy-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .left-col,
    .center-col,
    .right-col {
        grid-column: 1;
        grid-row: auto;
    }

    .img-wrapper {
        display: none;
    }

    .container.foundation {
        flex-direction: column;
        align-items: flex-start;
    }
}
