﻿/* =========================================================
   CLOCEAN MR - HOW IT WORKS
========================================================= */

.how-it-works {
    position: relative;
    padding: 130px 35px;
    background: radial-gradient( circle at 85% 50%, rgba(255, 45, 10, 0.06), transparent 30% ), #050505;
    overflow: hidden;
}

.process-container {
    max-width: 1200px;
    margin: auto;
}


/* =========================================================
   HEADING
========================================================= */

.process-heading {
    max-width: 760px;
    margin: 0 auto 90px;
    text-align: center;
}

    .process-heading .section-label {
        justify-content: center;
    }

    .process-heading h2 {
        margin: 0;
        font-family: "Outfit", sans-serif;
        font-size: clamp(40px, 6vw, 40px);
        line-height: 1;
        letter-spacing: -3px;
        color: #ffffff;
    }

        .process-heading h2 span {
            display: block;
            background: linear-gradient( 90deg, #ff1717, #ff4d0d, #ff8500 );
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

    .process-heading p {
        max-width: 650px;
        margin: 23px auto 0;
        color: #808080;
        font-size: 14px;
        line-height: 1.8;
    }


/* =========================================================
   PROCESS WRAPPER
========================================================= */

.process-wrapper {
    position: relative;
}


/* =========================================================
   CENTRAL LINE
========================================================= */

.process-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient( to bottom, transparent, rgba(255, 70, 20, 0.35) 10%, rgba(255, 70, 20, 0.35) 90%, transparent );
}

.process-line-progress {
    width: 2px;
    height: 45%;
    margin-left: -0.5px;
    background: linear-gradient( to bottom, #ff1717, #ff8500 );
    box-shadow: 0 0 15px rgba(255, 70, 10, 0.6);
}


/* =========================================================
   PROCESS ITEM
========================================================= */

.process-item {
    position: relative;
    min-height: 230px;
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    gap: 25px;
}


/* =========================================================
   CONTENT
========================================================= */

.process-content {
    max-width: 390px;
}

.process-left .process-content {
    margin-left: auto;
    text-align: right;
}

.process-right .process-content {
    text-align: left;
}

.process-small {
    color: #ff641b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.process-content h3 {
    margin-top: 9px;
    font-family: "Outfit", sans-serif;
    font-size: 27px;
    color: #ffffff;
}

.process-content p {
    margin-top: 12px;
    color: #777777;
    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
   NODE
========================================================= */

.process-node {
    position: relative;
    z-index: 5;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    border: 1px solid rgba(255, 75, 20, 0.5);
    border-radius: 50%;
    background: #090909;
    box-shadow: 0 0 0 7px rgba(255, 55, 10, 0.035), 0 0 25px rgba(255, 50, 10, 0.12);
    transition: .4s ease;
}

.process-item:hover .process-node {
    border-color: #ff5b1a;
    background: linear-gradient( 135deg, #ff1717, #ff7000 );
    box-shadow: 0 0 0 8px rgba(255, 60, 10, 0.08), 0 0 35px rgba(255, 55, 10, 0.45);
    transform: scale(1.12);
}

.process-node span {
    color: #ff641b;
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    font-weight: 800;
    transition: .3s ease;
}

.process-item:hover .process-node span {
    color: #ffffff;
}


/* =========================================================
   VISUAL
========================================================= */

.process-visual {
    position: relative;
    width: 175px;
    height: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid rgba(255, 70, 20, 0.12);
    border-radius: 15px;
    background: linear-gradient( 145deg, rgba(255, 50, 10, 0.055), rgba(255,255,255,0.015) );
    transition: .4s ease;
}

.process-left .process-visual {
    margin-right: auto;
}

.process-right .process-visual {
    margin-left: auto;
}

.process-visual::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 75, 20, 0.07);
    border-radius: 10px;
    pointer-events: none;
}

.process-item:hover .process-visual {
    border-color: rgba(255, 75, 20, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(255, 40, 0, 0.08);
}

.process-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ff651b;
    background: rgba(255, 55, 10, 0.08);
    font-size: 21px;
    transition: .4s ease;
}

.process-item:hover .process-icon {
    color: #ffffff;
    background: linear-gradient( 135deg, #ff1717, #ff7200 );
    box-shadow: 0 0 25px rgba(255, 55, 10, 0.3);
}

.process-visual > span {
    color: #666666;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


/* =========================================================
   BOTTOM
========================================================= */

.process-bottom {
    margin-top: 90px;
    padding-top: 50px;
    text-align: center;
}

.process-bottom-line {
    width: 45px;
    height: 2px;
    margin: 0 auto 25px;
    background: linear-gradient( 90deg, #ff1717, #ff8500 );
}

.process-bottom h3 {
    font-family: "Outfit", sans-serif;
    font-size: 27px;
    color: #ffffff;
}

    .process-bottom h3 span {
        color: #ff641b;
    }

.process-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 14px 22px;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient( 90deg, #ff1717, #ff7000 );
    font-size: 11px;
    font-weight: 700;
    transition: .3s ease;
}

    .process-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 30px rgba(255, 55, 10, 0.3);
    }

    .process-btn i {
        transition: .3s ease;
    }

    .process-btn:hover i {
        transform: translateX(5px);
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .how-it-works {
        padding: 90px 20px;
    }

    .process-heading {
        margin-bottom: 60px;
    }

    .process-line {
        left: 28px;
        transform: none;
    }

    .process-item {
        min-height: auto;
        display: grid;
        grid-template-columns: 58px 1fr;
        gap: 20px;
        margin-bottom: 45px;
    }

    .process-node {
        grid-column: 1;
        grid-row: 1;
        width: 56px;
        height: 56px;
    }

    .process-content {
        grid-column: 2;
        grid-row: 1;
        max-width: none;
        text-align: left !important;
        margin: 0 !important;
    }

    .process-visual {
        display: none;
    }

    .process-bottom {
        margin-top: 50px;
    }
}

@media (max-width: 500px) {

    .process-heading h2 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .process-content h3 {
        font-size: 23px;
    }

    .process-bottom h3 {
        font-size: 22px;
    }
}


