﻿:root {
    --navy: #0b1f4d;
    --navy-2: #0f2a66;
    --blue: #2f7cf6;
    --blue-2: #1e5fd8;
    --sky: #5aa6ff;
    --ink: #1a2350;
    --muted: #8a93b5;
    --field: #f4f6fd;
    --line: #dfe4f5;
    --rd: .35s;
    --rc: var(--red);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html, body {
    height: 100%
}

body {
    font-family: 'Inter',system-ui,sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    color: #fff;
    background: linear-gradient(135deg,#071538 0%,var(--navy) 40%,var(--navy-2) 70%,#123a8a 100%);
    background-size: 200% 200%;
    animation: bgShift 14s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@keyframes bgShift {
    0%,100% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }
}

/* ---------- Animated background ---------- */
.bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0
}

.grid {
    position: absolute;
    inset: -50%;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
    background-size: 48px 48px;
    transform: perspective(600px) rotateX(55deg);
    animation: gridMove 18s linear infinite
}

@keyframes gridMove {
    to {
        background-position: 0 480px
    }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55
}

.b1 {
    width: 420px;
    height: 420px;
    background: #2f7cf6;
    top: -120px;
    left: -100px;
    animation: float1 12s ease-in-out infinite
}

.b2 {
    width: 360px;
    height: 360px;
    background: #5a3df5;
    bottom: -120px;
    right: -80px;
    animation: float2 15s ease-in-out infinite
}

.b3 {
    width: 260px;
    height: 260px;
    background: #22b8ff;
    top: 45%;
    left: 42%;
    opacity: .3;
    animation: float1 18s ease-in-out infinite reverse
}

@keyframes float1 {
    0%,100% {
        transform: translate(0,0)
    }

    50% {
        transform: translate(80px,60px)
    }
}

@keyframes float2 {
    0%,100% {
        transform: translate(0,0)
    }

    50% {
        transform: translate(-70px,-50px)
    }
}

.dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    animation: rise linear infinite
}

@keyframes rise {
    from {
        transform: translateY(110vh);
        opacity: 0
    }

    10% {
        opacity: 1
    }

    to {
        transform: translateY(-10vh);
        opacity: 0
    }
}

/* ---------- Layout ---------- */
.wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: stretch
}

.left {
    padding: clamp(18px,4vh,56px) 5vw clamp(18px,4vh,56px) 6vw;
    align-self: center;
    min-width: 0
}

.panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px,4vh,48px) 5vw clamp(16px,4vh,48px) 1vw;
    animation: panelIn 1s cubic-bezier(.2,.8,.2,1) both
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateX(80px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* ---------- Left ---------- */
.brand {
    animation: blurIn .9s cubic-bezier(.16,1,.3,1) both
}

.eyebrow {
    animation: blurIn .9s .15s cubic-bezier(.16,1,.3,1) both
}

@keyframes blurIn {
    from {
        opacity: 0;
        transform: translateY(-14px);
        filter: blur(10px)
    }

    to {
        opacity: 1;
        transform: none;
        filter: blur(0)
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-40px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0px;
    gap: 14px;
    margin-bottom: clamp(12px,3.4vh,38px)
}

.logo {
    width: clamp(46px,6.4vh,62px);
    height: clamp(46px,6.4vh,62px);
    border-radius: 16px;
    background: #0b1f4d;
    box-shadow: 0 10px 30px rgba(47,124,246,.35),inset 0 0 0 1px rgba(255,255,255,.12);
    display: grid;
    place-items: center;
    animation: pulse 3.5s ease-in-out infinite;
    transition: transform .4s
}

    .logo:hover {
        transform: rotate(-6deg) scale(1.08)
    }

@keyframes pulse {
    0%,100% {
        box-shadow: 0 10px 30px rgba(47,124,246,.35),inset 0 0 0 1px rgba(255,255,255,.12)
    }

    50% {
        box-shadow: 0 10px 44px rgba(47,124,246,.7),inset 0 0 0 1px rgba(255,255,255,.2)
    }
}

.logo .arrow {
    stroke-dasharray: 90;
    stroke-dashoffset: 90;
    animation: draw 1.4s .6s ease forwards
}

@keyframes draw {
    to {
        stroke-dashoffset: 0
    }
}

.brand-text b {
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .5px
}

    .brand-text b span {
        color: var(--sky)
    }

.brand-text small {
    font-size: 11px;
    letter-spacing: 3px;
    color: #9fb0dd
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 30px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    font-size: 12.5px;
    font-weight: 600;
    color: #bcd2ff;
    margin-bottom: clamp(10px,2.2vh,22px)
}

    .eyebrow i {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #3ddc97;
        box-shadow: 0 0 0 0 rgba(61,220,151,.7);
        animation: ping 1.8s infinite
    }

@keyframes ping {
    70% {
        box-shadow: 0 0 0 9px rgba(61,220,151,0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(61,220,151,0)
    }
}

h1 {
    font-size: clamp(28px,min(4.2vw,6.4vh),56px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.2px;
    margin-bottom: clamp(8px,1.8vh,18px)
}

    h1 .ln {
        display: block;
        overflow: hidden;
        padding: .04em 0 .12em
    }

        h1 .ln > span {
            display: inline-block;
            position: relative;
            opacity: 0;
            transform: translateY(105%) rotate(2deg);
            filter: blur(8px);
            animation: lineUp 1s cubic-bezier(.16,1,.3,1) forwards
        }

        h1 .ln:nth-child(1) > span {
            animation-delay: .3s
        }

        h1 .ln:nth-child(2) > span {
            animation-delay: .48s
        }

@keyframes lineUp {
    to {
        opacity: 1;
        transform: none;
        filter: blur(0)
    }
}

h1 .grad {
    background: linear-gradient(90deg,#5aa6ff,#b5dcff,#5aa6ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: lineUp 1s .48s cubic-bezier(.16,1,.3,1) forwards,shine 4s 1.5s linear infinite
}

.sub .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
    animation: wordIn .7s cubic-bezier(.16,1,.3,1) forwards
}

@keyframes wordIn {
    to {
        opacity: 1;
        transform: none;
        filter: blur(0)
    }
}

.sub .hl {
    color: #fff;
    font-weight: 600
}

@keyframes shine {
    to {
        background-position: 200% center
    }
}

.sub {
    font-size: clamp(14px,1.9vh,17px);
    line-height: 1.6;
    color: #b9c5e8;
    max-width: 500px;
    margin-bottom: clamp(6px,2.2vh,30px)
}

.features {
    display: grid;
    gap: 14px;
    max-width: 480px
}

.feat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .35s,background .35s,border-color .35s;
    opacity: 0;
    animation: fadeUp .7s ease forwards
}

    .feat:nth-child(1) {
        animation-delay: .5s
    }

    .feat:nth-child(2) {
        animation-delay: .65s
    }

    .feat:nth-child(3) {
        animation-delay: .8s
    }

    .feat:hover {
        transform: translateX(8px);
        background: rgba(47,124,246,.16);
        border-color: rgba(90,166,255,.45)
    }

    .feat .ic {
        width: 38px;
        height: 38px;
        flex: none;
        border-radius: 10px;
        display: grid;
        place-items: center;
        background: linear-gradient(135deg,var(--blue),var(--blue-2))
    }

    .feat b {
        font-size: 14.5px;
        display: block
    }

    .feat span {
        font-size: 13px;
        color: #9fb0dd
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: none
    }
}


.copy {
    position: absolute;
    left: 6vw;
    bottom: clamp(14px,3vh,28px);
    z-index: 2;
    font-size: 12px;
    letter-spacing: .6px;
    color: #8fa0cf;
    opacity: 0;
    animation: blurIn .9s 1.4s cubic-bezier(.16,1,.3,1) forwards
}

    .copy b {
        color: #c9d6f5;
        font-weight: 600
    }

    .copy .sep {
        margin: 0 10px;
        color: rgba(255,255,255,.25)
    }

/* ---------- Card ---------- */
.card {
    width: 100%;
    max-width: 380px;
    color: var(--ink);
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 24px;
    padding: clamp(18px,3.4vh,32px) clamp(20px,2vw,28px) clamp(14px,2.4vh,22px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 30px 80px rgba(3,10,40,.55),0 0 0 8px rgba(255,255,255,.06);
    animation: cardIn 1s .25s cubic-bezier(.2,.8,.2,1) both;
    transition: transform .45s,box-shadow .45s
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 40px 90px rgba(3,10,40,.65),0 0 0 8px rgba(90,166,255,.18)
    }

    .card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg,#2f7cf6,#5a3df5,#22b8ff,#2f7cf6);
        background-size: 200% 100%;
        animation: bar 3s linear infinite
    }

@keyframes bar {
    to {
        background-position: 200% 0
    }
}

.card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    z-index: -1;
    background: radial-gradient(circle,rgba(47,124,246,.10),transparent 70%);
    top: -80px;
    right: -80px;
    animation: float2 12s ease-in-out infinite
}

.card h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 4px;
    margin-top: 10px;
    background: linear-gradient(90deg,var(--blue),#5a3df5);
    animation: grow 1s .8s ease both
}

@keyframes grow {
    from {
        width: 0
    }

    to {
        width: 44px
    }
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(.96)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.card h2 {
    font-size: clamp(19px,2.6vh,22px);
    font-weight: 800;
    margin-bottom: 6px
}

.card p.hint {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: clamp(12px,2.6vh,26px)
}

.field {
    position: relative;
    margin-bottom: clamp(8px,1.4vh,14px);
    opacity: 0;
    animation: fadeUp .6s ease forwards
}

    .field:nth-of-type(1) {
        animation-delay: .45s
    }

    .field:nth-of-type(2) {
        animation-delay: .55s
    }

    .field:nth-of-type(3) {
        animation-delay: .65s
    }

.row, .cloud, .btn-main {
    opacity: 0;
    animation: fadeUp .6s ease forwards
}

.row {
    animation-delay: .75s
}

.cloud {
    animation-delay: .85s
}

.btn-main {
    animation-delay: .95s
}

.input {
    width: 100%;
    height: clamp(38px,5.2vh,46px);
    border-radius: 14px;
    border: 1.5px solid var(--line);
    background: var(--field);
    padding: 0 42px 0 42px;
    font: 500 14px 'Inter',sans-serif;
    color: var(--ink);
    outline: none;
    transition: border-color .25s,box-shadow .25s,background .25s
}

    .input::placeholder {
        color: #a3abc9
    }

    .input:hover {
        border-color: #b9c6ef
    }

    .input:focus {
        border-color: var(--blue);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(47,124,246,.15)
    }

.field .ico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #3b4fa8;
    transition: color .25s,transform .25s
}

.field:focus-within .ico {
    color: var(--blue);
    transform: translateY(-50%) scale(1.12)
}

.eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    cursor: pointer;
    color: #6b76a3;
    padding: 6px;
    border-radius: 8px;
    transition: background .2s,color .2s
}

    .eye:hover {
        background: #e8edfb;
        color: var(--blue)
    }

.cloud:hover .cbadge {
    transform: scale(1.1) rotate(-8deg);
    background: #d4ddff
}

.cloud .chev {
    margin-left: auto;
    transition: transform .25s
}

.cloud:hover .chev {
    transform: translateX(4px)
}

.menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 56px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(20,30,80,.18);
    padding: 6px;
    display: none;
    z-index: 5
}

    .menu.open {
        display: block;
        animation: fadeUp .25s ease
    }

    .menu div {
        padding: 11px 12px;
        border-radius: 10px;
        font-size: 14.5px;
        transition: background .2s
    }

        .menu div:hover {
            background: #eef2ff;
            color: var(--blue)
        }

.btn-main {
    width: 100%;
    height: clamp(42px,5.6vh,50px);
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg,#1f4fd6,#2f3aa8);
    color: #fff;
    font: 800 14.5px 'Inter',sans-serif;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 12px 28px rgba(31,79,214,.45);
    transition: transform .25s,box-shadow .25s
}

    .btn-main::after {
        content: "";
        position: absolute;
        top: 0;
        left: -60%;
        width: 40%;
        height: 100%;
        background: linear-gradient(120deg,transparent,rgba(255,255,255,.45),transparent);
        transform: skewX(-20deg);
        animation: sweep 3.2s ease-in-out infinite
    }

@keyframes sweep {
    0% {
        left: -60%
    }

    55%,100% {
        left: 130%
    }
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(31,79,214,.6)
}

    .btn-main:hover svg {
        transform: translateX(4px)
    }

.btn-main svg {
    transition: transform .25s
}

.btn-main:active {
    transform: scale(.98)
}

.msg {
    min-height: 18px;
    font-size: 13px;
    text-align: center;
    margin-top: clamp(6px,1.2vh,12px);
    font-weight: 600
}

    .msg.err {
        color: #e5484d
    }

    .msg.good {
        color: #16955f
    }

.shake {
    animation: shake .45s
}

@keyframes shake {
    20%,60% {
        transform: translateX(-8px)
    }

    40%,80% {
        transform: translateX(8px)
    }
}

.foot {
    margin-top: clamp(6px,1.4vh,14px);
    padding-top: clamp(8px,1.4vh,14px);
    border-top: 1px solid #eef0f8;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted)
}

    .foot a {
        color: var(--blue);
        text-decoration: none;
        font-weight: 600
    }

        .foot a:hover {
            text-decoration: underline
        }

@media (min-width:921px) {
    html, body {
        height: 100%;
        overflow: hidden
    }

    .wrap {
        height: 100vh;
        height: 100dvh;
        min-height: 0
    }
}

@media (max-width:920px) {
    .wrap {
        grid-template-columns: 1fr
    }

    .left {
        text-align: center;
        padding: 40px 16px 32px
    }

    .brand {
        justify-content: center;
        margin-bottom: 24px
    }

    .sub {
        margin: 0 auto 8px
    }

    .panel {
        padding: 0 16px 16px
    }

    .copy {
        position: static;
        grid-column: 1/-1;
        text-align: center;
        padding: 8px 16px 24px
    }

    @keyframes panelIn {
        from {
            opacity: 0;
            transform: translateY(60px)
        }

        to {
            opacity: 1;
            transform: none
        }
    }
}

@media (max-width:420px) {
    .row {
        grid-template-columns: 1fr auto
    }

    .proceed {
        grid-column: 1/-1;
        justify-content: center
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important
    }
}

/* ================= M-POWER APP LOGO ================= */
.mp-logo {
    flex: none;
    width: clamp(84px,13vh,132px);
    height: auto;
    border-radius: 22%;
    display: block;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(156,196,255,.25),0 18px 40px rgba(0,0,0,.45),0 0 40px rgba(47,134,255,.35);
    opacity: 0;
    transform: translateY(14px) scale(.92);
    filter: blur(6px);
    animation: logoPop 1.1s cubic-bezier(.16,1,.3,1) .2s forwards;
    transition: transform .5s cubic-bezier(.16,1,.3,1),box-shadow .5s
}

    .mp-logo:hover {
        transform: translateY(-4px) scale(1.04) rotate(-2deg);
        box-shadow: 0 0 0 1px rgba(156,196,255,.45),0 24px 50px rgba(0,0,0,.5),0 0 60px rgba(47,134,255,.55)
    }

@keyframes logoPop {
    to {
        opacity: 1;
        transform: none;
        filter: none
    }
}

@media (max-width:980px) {
    .mp-logo {
        width: clamp(56px,9vh,78px)
    }
}

@media (prefers-reduced-motion:reduce) {
    .mp-logo {
        opacity: 1;
        transform: none;
        filter: none
    }
}


.wm-t {
    overflow: visible;
}

.wm-t {
    display: flex;
    align-items: baseline;
    gap: .22em;
    font-size: clamp(34px, 6.2vh, 62px);
    font-weight: 900;
    letter-spacing: -.035em;
    overflow: hidden;
    padding-bottom: .08em;
}

.wm {
    line-height: 1;
}

.mp {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.6vw, 22px);
    margin-bottom: clamp(40px, 4vh, 40px);
}

.wm-t.split .ch, h1 .plus.split .ch {
    -webkit-text-fill-color: currentColor;
}

.m {
    color: #5499ff;
}
