
:root {
    --navy: #022F5F;
    --ink: #0f2238;
    --yellow: #FDCB00;
    --line: #dde3ec;
    --field: #f5f7fa;
    --muted: #6b788a;
    --error: #d23a3a;
    --ok: #14935a;
    --ease: cubic-bezier(.22,1,.36,1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    font-family: 'Plus Jakarta Sans',sans-serif !important;
    color: var(--ink);
    background: #011a36;
    overflow-x: hidden
}

/* ================= BACKGROUND: tunnel fly-through ================= */
.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(900px 700px at 36% 46%,#0b4a8c 0%,#04305f 40%,#011a36 80%)
}

#tunnel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: linear-gradient(180deg,transparent 35%,#000 80%);
    mask-image: linear-gradient(180deg,transparent 35%,#000 80%)
}

.shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(1,20,42,.78) 0%,rgba(1,20,42,.45) 38%,rgba(1,20,42,.1) 60%,rgba(1,20,42,.35) 100%)
}

/* ================= LAYOUT ================= */
.app {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 100vh;
    margin: 0 auto;
    padding: clamp(20px,4vh,48px) clamp(24px,5vw,96px) clamp(70px,11vh,110px);
    gap: 40px
}

.left {
    color: #fff;
    min-width: 0
}

.up {
    opacity: 0;
    animation: up .8s var(--ease) forwards
}

@keyframes up {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px)
}

    .tag i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--yellow)
    }

h1 {
    margin-top: clamp(14px,2.6vh,24px);
    color: #fff;
    line-height: 1;
    perspective: 700px;
    text-shadow: 0 6px 30px rgba(0,10,30,.4)
}

.kick {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Sora',sans-serif;
    font-size: clamp(12px,.95vw,15px);
    font-weight: 800;
    letter-spacing: .5em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: clamp(10px,1.8vh,16px);
    opacity: 0;
    animation: up .7s .3s var(--ease) forwards
}

    .kick::before {
        content: "";
        width: 0;
        height: 2px;
        background: var(--yellow);
        animation: grow .8s .5s var(--ease) forwards
    }

@keyframes grow {
    to {
        width: clamp(28px,3vw,54px)
    }
}

.big {
    display: block;
    font-family: 'Sora',sans-serif;
    font-size: clamp(34px,min(4vw,7vh),70px);
    font-weight: 800;
    letter-spacing: -.02em;
    white-space: nowrap;
    margin-bottom: clamp(6px,1.1vh,10px)
}

    .big .it {
        font-family: 'Playfair Display',serif;
        font-style: italic;
        font-weight: 600;
        letter-spacing: 0
    }

.end {
    display: block;
    font-family: 'Sora',sans-serif;
    font-size: clamp(24px,2.6vw,48px);
    font-weight: 300
}

    .end .g {
        position: relative;
        display: inline-block;
        font-family: 'Playfair Display',serif;
        font-style: italic;
        font-weight: 700;
        color: var(--yellow)
    }

        .end .g svg {
            position: absolute;
            left: -4%;
            bottom: -.32em;
            width: 108%;
            height: .42em;
            overflow: visible
        }

        .end .g path {
            fill: none;
            stroke: var(--yellow);
            stroke-width: 5;
            stroke-linecap: round;
            stroke-dasharray: 320;
            stroke-dashoffset: 320;
            animation: swoosh .9s 1.6s var(--ease) forwards
        }

@keyframes swoosh {
    to {
        stroke-dashoffset: 0
    }
}

.ch {
    display: inline-block;
    opacity: 0;
    transform: rotateX(-95deg) translateY(.35em);
    font-family: 'Plus Jakarta Sans', sans-serif;
    transform-origin: 50% 100%;
    animation: flip .75s var(--ease) forwards
}

@keyframes flip {
    to {
        opacity: 1;
        transform: none
    }
}

.ch.sp {
    width: .26em
}

.tagline {
    margin-top: clamp(14px,2.6vh,22px);
    max-width: 520px;
    font-size: clamp(13.5px,1.05vw,16px);
    line-height: 1.6;
    color: rgba(255,255,255,.75);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .tagline b {
        color: #fff;
        font-weight: 600
    }

.stats {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: clamp(8px,1vw,14px);
    margin-top: clamp(16px,3.2vh,30px);
    max-width: 640px
}

.stat {
    position: relative;
    padding: clamp(10px,1.6vh,14px) clamp(10px,1vw,16px);
    border-radius: 14px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
    overflow: hidden;
    transition: transform .3s var(--ease),border-color .3s
}

    .stat::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 3px;
        width: 0;
        background: var(--yellow);
        transition: width 1s var(--ease)
    }

    .stat.on::before {
        width: 100%
    }

    .stat:hover {
        transform: translateY(-3px);
        border-color: rgba(253,203,0,.5)
    }

    .stat b {
        display: block;
        font-family: 'Sora',sans-serif;
        font-weight: 800;
        font-size: clamp(20px,2vw,32px);
        color: #fff;
        letter-spacing: -.01em;
        line-height: 1.1
    }

        .stat b em {
            font-style: normal;
            color: var(--yellow)
        }

    .stat small {
        display: block;
        margin-top: 4px;
        font-size: clamp(10.5px,.8vw,12.5px);
        color: rgba(255,255,255,.65);
        line-height: 1.3
    }

/* services ticker */
.ticker {
    position: fixed;
    left: clamp(24px,5vw,96px);
    bottom: clamp(44px,7vh,64px);
    z-index: 1;
    width: min(calc(100vw - 2*clamp(24px,5vw,96px) - 470px),640px);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
    mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
    opacity: 0;
    animation: up .8s 2s var(--ease) forwards
}

.track {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: slide 38s linear infinite
}

.ticker:hover .track {
    animation-play-state: paused
}

.svc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14)
}

    .svc i {
        width: 6px;
        height: 6px;
        background: var(--yellow);
        transform: rotate(45deg)
    }

@keyframes slide {
    to {
        transform: translateX(-50%)
    }
}

.copyright {
    position: fixed;
    left: clamp(24px,5vw,96px);
    bottom: clamp(14px,2.8vh,26px);
    z-index: 1;
    font-size: 12.5px;
    color: rgba(255,255,255,.7);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .copyright b {
        color: #fff;
        font-weight: 600
    }

/* ================= CARD (floating badge + soft fields) ================= */
.cw {
    position: relative;
    opacity: 0;
    animation: rise 1s .2s var(--ease) forwards
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(40px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.card {
    position: relative;
    width: clamp(350px,28vw,410px);
    background: linear-gradient(180deg,#ffffff,#f3f6fb);
    border-radius: 15px !important;
    box-shadow: 0 40px 80px -30px rgba(0,6,20,.85),inset 0 1px 0 #fff,0 0 0 1px rgba(255,255,255,.4)
}

.badge {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%,-50%);
    width: clamp(62px,9vh,76px);
    height: clamp(62px,9vh,76px);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%,#0b4a8a,#022F5F 70%);
    display: grid;
    place-items: center;
    color: var(--yellow);
    box-shadow: 0 0 0 6px #fff,0 14px 28px -10px rgba(2,47,95,.7);
    z-index: 2;
    animation: pop .7s .7s cubic-bezier(.3,1.6,.5,1) both
}

@keyframes pop {
    from {
        transform: translate(-50%,-50%) scale(0)
    }

    to {
        transform: translate(-50%,-50%) scale(1)
    }
}

.badge svg {
    width: 46%;
    height: 46%
}

.badge::before, .badge::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(253,203,0,.7);
    animation: ripple 2.6s 1.4s ease-out infinite;
    opacity: 0
}

.badge::after {
    animation-delay: 2.7s
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: .9
    }

    100% {
        transform: scale(1.7);
        opacity: 0
    }
}

.inner {
    position: relative;
    padding: clamp(24px,4vh,34px) clamp(22px,2.2vw,30px) clamp(12px,2.2vh,20px);
    text-align: left
}

.logo {
    display: block;
    height: clamp(38px,5.4vh,50px);
    width: auto;
    margin: 0 auto
}

.card h2 {
    margin-top: clamp(10px,1.8vh,14px);
    text-align: center;
    font-size: clamp(20px,1.6vw,24px);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.01em
}

.card p.hint {
    text-align: center;
    font-size: 13.5px;
    color: var(--muted);
    margin: 2px 0 clamp(14px,2.6vh,22px)
}

.rv {
    opacity: 0;
    animation: rv .5s var(--ease) forwards
}

@keyframes rv {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.f {
    margin-bottom: clamp(10px,1.8vh,14px)
}

.in {
    position: relative;
    display: flex;
    align-items: center;
    height: clamp(50px,6.6vh,56px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(2,47,95,.06),0 6px 16px -10px rgba(2,47,95,.35),inset 0 0 0 1.5px #e3e8f0;
    transition: box-shadow .3s,transform .3s var(--ease)
}

    .in::before {
        content: "";
        position: absolute;
        left: 0;
        top: 10px;
        bottom: 10px;
        width: 4px;
        border-radius: 0 4px 4px 0;
        background: var(--yellow);
        transform: scaleY(0);
        transition: transform .35s var(--ease)
    }

    .in:hover {
        box-shadow: 0 1px 2px rgba(2,47,95,.06),0 10px 22px -12px rgba(2,47,95,.45),inset 0 0 0 1.5px #cfd8e4
    }

    .in:focus-within {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px -14px rgba(2,47,95,.55),inset 0 0 0 2px var(--navy)
    }

        .in:focus-within::before {
            transform: scaleY(1)
        }

    .in svg.i {
        width: 18px;
        height: 18px;
        margin: 0 12px 0 16px;
        color: #8a96a8;
        flex-shrink: 0;
        transition: color .25s
    }

    .in:focus-within svg.i {
        color: var(--navy)
    }

    .in .fl {
        position: relative;
        flex: 1;
        min-width: 0;
        height: 100%
    }

    .in input {
        width: 100%;
        height: 100%;
        border: none;
        outline: none;
        background: transparent;
        font-family: inherit;
        font-size: 15px;
        font-weight: 600;
        color: var(--ink);
        padding: 16px 10px 0 0
    }

    .in label {
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14.5px;
        color: #8a96a8;
        pointer-events: none;
        transition: all .25s var(--ease)
    }

    .in input:focus + label, .in input:not(:placeholder-shown) + label {
        top: 15px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .4px;
        color: var(--navy)
    }

.eye {
    width: 42px;
    height: 100%;
    border: none;
    background: none;
    color: #8a96a8;
    cursor: pointer;
    display: grid;
    place-items: center;
    margin-right: 2px
}

    .eye:hover {
        color: var(--navy)
    }

    .eye svg {
        width: 18px;
        height: 18px
    }

.err {
    display: none;
    font-size: 12px;
    color: var(--error);
    margin: 5px 0 0 6px
}

.f.bad .in {
    box-shadow: inset 0 0 0 2px var(--error),0 10px 22px -14px rgba(210,58,58,.6);
    animation: jolt .4s
}

    .f.bad .in::before {
        background: var(--error);
        transform: scaleY(1)
    }

.f.bad .err {
    display: block
}

@keyframes jolt {
    20%,60% {
        transform: translateX(-5px)
    }

    40%,80% {
        transform: translateX(5px)
    }
}

.cap {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px
}

.cbox {
    display: flex;
    align-items: center;
    gap: 4px;
    height: clamp(50px,6.6vh,56px);
    padding: 5px;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 0 0 1.5px #e3e8f0
}

    .cbox canvas {
        display: block;
        height: 100%;
        width: auto;
        border-radius: 8px
    }

.re {
    width: 36px;
    height: 100%;
    border: none;
    border-radius: 9px;
    background: #eef2f8;
    color: var(--navy);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .25s,color .25s
}

    .re:hover {
        background: var(--yellow)
    }

    .re svg {
        width: 16px;
        height: 16px;
        transition: transform .5s var(--ease)
    }

    .re:hover svg {
        transform: rotate(-180deg)
    }

.opts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2px 2px clamp(14px,2.6vh,20px);
    font-size: 13.5px
}

.ck {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    cursor: pointer
}

    .ck input {
        width: 16px;
        height: 16px;
        accent-color: var(--navy);
        cursor: pointer
    }

.lnk {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(var(--yellow),var(--yellow)) no-repeat 0 100%/0 2px;
    transition: background-size .3s
}

    .lnk:hover {
        background-size: 100% 2px
    }

.btn {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: clamp(48px,6.4vh,54px);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg,#0b4a8a,#022F5F);
    color: #fff;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 14px 28px -14px rgba(2,47,95,.9);
    transition: transform .2s,box-shadow .3s
}

    .btn::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 3px;
        width: 100%;
        background: var(--yellow);
        transform: scaleX(.2);
        transform-origin: left;
        transition: transform .5s var(--ease)
    }

    .btn span, .btn svg {
        position: relative
    }

    .btn svg {
        width: 19px;
        height: 19px;
        color: var(--yellow);
        transition: transform .3s var(--ease)
    }

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 32px -14px rgba(2,47,95,1)
    }

        .btn:hover::after {
            transform: scaleX(1)
        }

        .btn:hover svg {
            transform: translateX(5px)
        }

    .btn:active {
        transform: scale(.99)
    }

    .btn.busy {
        pointer-events: none;
        opacity: .95
    }

        .btn.busy::after {
            animation: load 1.5s linear forwards
        }

@keyframes load {
    from {
        transform: scaleX(0)
    }

    to {
        transform: scaleX(1)
    }
}

.btn.busy svg {
    animation: spin .8s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.note {
    min-height: 18px;
    margin-top: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600
}

    .note.ok {
        color: var(--ok)
    }

.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: clamp(4px,1vh,8px);
    padding-top: clamp(10px,1.8vh,14px);
    border-top: 1px solid #e6ebf2;
    font-size: 13px;
    color: var(--muted)
}

.ver {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--navy);
    background: #fff4c2;
    padding: 3px 10px;
    border-radius: 999px
}

/* ================= RESPONSIVE ================= */
@media (max-height:780px) and (min-width:901px) {
    .tagline {
        margin-top: 12px
    }

    .stats {
        margin-top: 16px
    }

    .card p.hint {
        margin-bottom: 12px
    }

    .note {
        margin-top: 4px;
        min-height: 14px
    }
}

@media (max-width:1180px) {
    .stats {
        grid-template-columns: repeat(2,minmax(0,1fr));
        max-width: 420px
    }
}

@media (max-width:900px) {
    .app {
        grid-template-columns: 1fr;
        padding: 32px 16px 16px;
        gap: 26px;
        align-content: start
    }

    .cw {
        width: 100%
    }

    .card {
        width: 100%
    }

    .stats {
        grid-template-columns: repeat(2,minmax(0,1fr));
        max-width: none
    }

    .ticker {
        position: relative;
        left: auto;
        bottom: auto;
        width: auto;
        margin: 0 16px 10px
    }

    .copyright {
        position: relative;
        left: auto;
        bottom: auto;
        display: block;
        text-align: center;
        padding: 4px 16px 22px
    }

    .shade {
        background: rgba(1,20,42,.45)
    }
}

@media (max-width:560px) {
    .cap {
        grid-template-columns: 1fr
    }

    .cbox {
        justify-content: space-between
    }

    .foot {
        justify-content: center;
        text-align: center
    }
}

body:not(.ready) .left *, body:not(.ready) .left *::before {
    animation-play-state: paused !important
}

@media (prefers-reduced-motion:reduce) {
    *, *::before, *::after {
        animation-duration: .01s !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important
    }
}
