/* ========================================= */
/* MEVI TRANSFORMER EXPLAINER */
/* PREMIUM FINAL UI */
/* ========================================= */

/* ========================================= */
/* GOOGLE FONT */
/* ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================= */
/* RESET */
/* ========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ========================================= */
/* ROOT */
/* ========================================= */

:root{

    --bg:#020617;

    --card:#0f172a;

    --card2:#111827;

    --text:#ffffff;

    --muted:#cbd5e1;

    --blue:#60a5fa;

    --purple:#8b5cf6;

    --cyan:#22d3ee;

    --border:
    rgba(255,255,255,0.08);
}

/* ========================================= */
/* BODY */
/* ========================================= */

html{
    scroll-behavior:smooth;
}

body{

    font-family:
    'Inter',
    sans-serif;

    background:
    radial-gradient(
        circle at top,
        #0f172a,
        #020617 45%,
        #000000
    );

    color:white;

    overflow-x:hidden;

    line-height:1.8;
}

/* ========================================= */
/* SCROLLBAR */
/* ========================================= */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#020617;
}

::-webkit-scrollbar-thumb{

    background:
    linear-gradient(
        #3b82f6,
        #8b5cf6
    );

    border-radius:20px;
}

/* ========================================= */
/* HERO */
/* ========================================= */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    position:relative;

    overflow:hidden;

    padding:40px;
}

/* ========================================= */
/* HERO GLOW */
/* ========================================= */

.hero::before{

    content:"";

    position:absolute;

    width:1400px;
    height:1400px;

    background:
    radial-gradient(
        circle,
        rgba(59,130,246,0.15),
        transparent 60%
    );

    filter:blur(120px);

    animation:
    glowPulse 8s infinite ease-in-out;
}

@keyframes glowPulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.08);
    }

    100%{
        transform:scale(1);
    }
}

/* ========================================= */
/* HERO CONTENT */
/* ========================================= */

.hero-content{

    position:relative;

    z-index:10;

    max-width:1100px;
}

/* ========================================= */
/* BRAND */
/* ========================================= */

.brand{

    display:inline-block;

    padding:
    12px 24px;

    border-radius:50px;

    background:
    rgba(59,130,246,0.1);

    border:
    1px solid rgba(96,165,250,0.15);

    color:#67e8f9;

    margin-bottom:35px;

    font-size:0.95rem;

    font-weight:600;

    letter-spacing:1px;
}

/* ========================================= */
/* TITLE */
/* ========================================= */

.hero h1{

    font-size:7rem;

    line-height:1;

    font-weight:900;

    letter-spacing:-4px;

    margin-bottom:35px;

    background:
    linear-gradient(
        90deg,
        #60a5fa,
        #8b5cf6,
        #22d3ee
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;
}

/* ========================================= */
/* HERO TEXT */
/* ========================================= */

.hero p{

    font-size:1.35rem;

    line-height:2;

    color:#cbd5e1;

    max-width:900px;

    margin:auto;

    margin-bottom:45px;
}

/* ========================================= */
/* BUTTON */
/* ========================================= */

.hero-btn{

    padding:
    18px 45px;

    border:none;

    border-radius:60px;

    background:
    linear-gradient(
        90deg,
        #3b82f6,
        #8b5cf6
    );

    color:white;

    font-size:1rem;

    font-weight:700;

    cursor:pointer;

    transition:0.4s;
}

.hero-btn:hover{

    transform:
    translateY(-6px);

    box-shadow:
    0 25px 50px rgba(59,130,246,0.4);
}

/* ========================================= */
/* MAIN CONTAINER */
/* ========================================= */

.scrolly-container{

    width:100%;

    display:flex;

    flex-direction:column;

    align-items:center;
}

/* ========================================= */
/* STEP */
/* ========================================= */

.step{

    width:100%;

    max-width:1000px;

    margin:auto;

    margin-bottom:180px;

    padding:
    0 35px;
}

/* ========================================= */
/* STEP LINE */
/* ========================================= */

.step::before{

    content:"";

    display:block;

    width:140px;
    height:5px;

    border-radius:20px;

    margin-bottom:45px;

    background:
    linear-gradient(
        90deg,
        #60a5fa,
        #8b5cf6
    );
}

/* ========================================= */
/* STEP TITLE */
/* ========================================= */

.step h2{

    font-size:4rem;

    line-height:1.1;

    font-weight:900;

    margin-bottom:35px;

    letter-spacing:-2px;

    background:
    linear-gradient(
        90deg,
        #60a5fa,
        #a78bfa
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;
}

/* ========================================= */
/* PARAGRAPH */
/* ========================================= */

.step p{

    font-size:1.15rem;

    color:#cbd5e1;

    line-height:2.1;

    margin-bottom:24px;
}

/* ========================================= */
/* IMAGE WRAPPER */
/* ========================================= */

.image-wrapper{

    width:100%;

    margin:
    50px 0;

    border-radius:32px;

    overflow:hidden;

    background:#111827;

    border:
    1px solid rgba(255,255,255,0.08);

    box-shadow:
    0 35px 90px rgba(0,0,0,0.55);
}

/* ========================================= */
/* IMAGE */
/* ========================================= */

.step-image{

    width:100%;

    height:auto;

    display:block;

    object-fit:contain;

    background:#0f172a;

    transition:0.5s ease;
}

/* ========================================= */
/* IMAGE HOVER */
/* ========================================= */

.image-wrapper:hover .step-image{

    transform:
    scale(1.02);
}

/* ========================================= */
/* EXAMPLE BOX */
/* ========================================= */

.example{

    background:
    linear-gradient(
        145deg,
        rgba(15,23,42,0.95),
        rgba(30,41,59,0.95)
    );

    border:
    1px solid rgba(96,165,250,0.12);

    padding:
    24px 28px;

    border-radius:24px;

    margin:
    30px 0;

    color:#67e8f9;

    font-size:1.08rem;

    line-height:1.9;

    overflow-wrap:break-word;

    box-shadow:
    inset 0 0 30px rgba(59,130,246,0.05);
}

/* ========================================= */
/* FORMULA */
/* ========================================= */

.formula{

    background:
    rgba(15,23,42,0.95);

    border:
    1px solid rgba(168,85,247,0.15);

    border-radius:24px;

    padding:
    30px;

    margin:
    35px 0;

    font-size:1.4rem;

    text-align:center;

    color:#c084fc;

    font-family:monospace;

    overflow-x:auto;
}

/* ========================================= */
/* NOTE */
/* ========================================= */

.note{

    background:
    rgba(34,211,238,0.08);

    border-left:
    4px solid #22d3ee;

    padding:
    22px 28px;

    border-radius:18px;

    margin:
    35px 0;

    color:#cffafe;

    line-height:1.9;
}

/* ========================================= */
/* LIST */
/* ========================================= */

.step ul{

    margin:
    20px 0 35px 30px;
}

.step li{

    margin-bottom:16px;

    color:#e2e8f0;

    font-size:1.08rem;

    line-height:1.9;
}

/* ========================================= */
/* FINAL SECTION */
/* ========================================= */

.final-section{

    text-align:center;

    padding:
    160px 30px;
}

.final-section h2{

    font-size:5rem;

    margin-bottom:35px;

    background:
    linear-gradient(
        90deg,
        #60a5fa,
        #8b5cf6,
        #22d3ee
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;
}

.final-section p{

    max-width:900px;

    margin:auto;

    font-size:1.3rem;

    line-height:2;

    color:#cbd5e1;
}

/* ========================================= */
/* FOOTER */
/* ========================================= */

.footer{

    padding:
    50px 20px;

    text-align:center;

    border-top:
    1px solid rgba(255,255,255,0.05);

    color:#64748b;

    font-size:0.95rem;
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media(max-width:1100px){

    .hero h1{
        font-size:4rem;
    }

    .step h2{
        font-size:2.6rem;
    }

    .hero p,
    .step p{
        font-size:1rem;
    }

    .final-section h2{
        font-size:3rem;
    }

    .step{
        padding:0 22px;
    }
}

@media(max-width:700px){

    .hero h1{
        font-size:3rem;
    }

    .step h2{
        font-size:2rem;
    }

    .hero p{
        font-size:0.95rem;
    }

    .step p{
        font-size:0.95rem;
    }

    .example,
    .formula,
    .note{
        padding:18px;
    }
}
/* ========================================= */
/* MEVI BRAND */
/* ========================================= */

.brand{

    display:inline-block;

    padding:
    12px 24px;

    border-radius:50px;

    background:
    rgba(59,130,246,0.12);

    border:
    1px solid rgba(96,165,250,0.18);

    color:#67e8f9;

    margin-bottom:25px;

    font-size:0.95rem;

    letter-spacing:2px;

    font-weight:700;

    text-transform:uppercase;

    box-shadow:
    0 10px 30px rgba(59,130,246,0.15);
}

/* ========================================= */
/* NOTES TAG */
/* ========================================= */

.notes-tag{

    display:inline-block;

    margin-bottom:35px;

    padding:
    10px 22px;

    border-radius:40px;

    background:
    rgba(168,85,247,0.12);

    border:
    1px solid rgba(168,85,247,0.2);

    color:#c084fc;

    font-size:0.95rem;

    font-weight:600;

    box-shadow:
    0 10px 30px rgba(168,85,247,0.12);
}
/* ========================================= */
/* ARCHITECTURE IMAGE */
/* ========================================= */

.architecture-image{

    background:#ffffff;

    padding:20px;

    object-fit:contain;
}

/* ========================================= */
/* PREDICTION GRID */
/* ========================================= */

.prediction-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(180px,1fr));

    gap:20px;

    margin:
    40px 0;
}

/* ========================================= */
/* PREDICTION CARD */
/* ========================================= */

.prediction-card{

    background:
    linear-gradient(
        145deg,
        rgba(15,23,42,0.95),
        rgba(30,41,59,0.95)
    );

    border:
    1px solid rgba(96,165,250,0.12);

    border-radius:24px;

    padding:30px;

    text-align:center;

    transition:0.4s;
}

.prediction-card:hover{

    transform:
    translateY(-8px);

    box-shadow:
    0 20px 40px rgba(34,211,238,0.12);
}

/* ========================================= */
/* PREDICTION WORD */
/* ========================================= */

.prediction-word{

    font-size:1.4rem;

    font-weight:800;

    color:#67e8f9;

    margin-bottom:15px;
}

/* ========================================= */
/* PREDICTION PERCENT */
/* ========================================= */

.prediction-percent{

    font-size:2rem;

    font-weight:900;

    background:
    linear-gradient(
        90deg,
        #60a5fa,
        #8b5cf6
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;
}