:root {
    --blue: #0b5cc4;
    --navy: #06142e;
    --sky: #4aa3ff;
    --gold: #ffc24a;
    --bg: #f4f8ff;
    --surf: #fff;
    --ink: #0c1a33;
    --mut: #5a6b86;
    color-scheme: light;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

@media(prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --bg: #081326;
        --surf: #0f1f3a;
        --ink: #eaf2ff;
        --mut: #9db0cf;
        color-scheme: dark
    }
}

:root[data-theme="dark"] {
    --bg: #081326;
    --surf: #0f1f3a;
    --ink: #eaf2ff;
    --mut: #9db0cf;
    color-scheme: dark
}

*,
*:before,
*:after {
    box-sizing: inherit
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Sans', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden
}

h1,
h2,
h3 {
    font-family: 'Sora', system-ui, sans-serif;
    line-height: 1.15;
    margin: 0
}

.wrap {
    max-width: 1120px;
    margin: auto;
    padding: 0 20px
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 0 12px;
    backdrop-filter: blur(14px);
    background: rgba(6, 20, 46, .72)
}

nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font: 800 22px Sora, sans-serif;
    text-decoration: none
}

.logo span {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: var(--blue) center/100% 100% no-repeat url('logo.png')
}

nav ul {
    display: flex;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0
}

nav a.l {
    color: #cfe0ff;
    text-decoration: none;
    font-size: 15px
}

nav a.l:hover {
    color: #fff
}

.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 999px;
    background: var(--gold);
    color: #241800;
    font: 600 15px Sora, sans-serif;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(255, 194, 74, .4)
}

.btn.o {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .4)
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px
}

.hero {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(1200px 600px at 75% 30%, #0e4aa3 0, var(--navy) 65%);
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 110px 0 70px
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .45;
    animation: fl 12s ease-in-out infinite alternate
}

.b1 {
    width: 340px;
    height: 340px;
    background: #1b7bff;
    left: -80px;
    top: 20%
}

.b2 {
    width: 260px;
    height: 260px;
    background: #ffc24a;
    opacity: .18;
    right: 5%;
    bottom: 5%;
    animation-delay: -5s
}

@keyframes fl {
    to {
        transform: translate(50px, -40px) scale(1.15)
    }
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative
}

.hero h1 {
    font-size: clamp(34px, 5.4vw, 62px);
    font-weight: 800
}

.hero h1 b {
    display: block;
    color: var(--sky)
}

.hero p {
    color: #bcd0f2;
    font-size: 18px;
    max-width: 30em;
    margin: 20px 0 30px
}

.hero .cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.scene {
    perspective: 1100px;
    height: 430px;
    display: grid;
    place-items: center;
    position: relative
}

.stack {
    position: relative;
    width: 340px;
    height: 215px;
    transform-style: preserve-3d;
    animation: spin 14s ease-in-out infinite alternate;
    transition: transform .15s
}

@keyframes spin {
    from {
        transform: rotateX(18deg) rotateY(-28deg)
    }

    to {
        transform: rotateX(-8deg) rotateY(24deg)
    }
}

.cc {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45)
}

.c1 {
    background: linear-gradient(135deg, #1d7dff, #0a3f93 70%);
    transform: translateZ(60px)
}

.c2 {
    background: linear-gradient(135deg, #ffd278, #e29a1b);
    transform: translateZ(0) translate(-40px, 34px);
    opacity: .95
}

.c3 {
    background: linear-gradient(135deg, #243b66, #101e3b);
    transform: translateZ(-60px) translate(-80px, 68px)
}

.cc .mk {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #0b5cc4 center/100% 100% no-repeat url('logo.png')
}

.cc .chip {
    width: 44px;
    height: 32px;
    border-radius: 7px;
    background: linear-gradient(135deg, #f6dd9a, #c99b3a)
}

.cc .num {
    font: 600 20px Sora;
    letter-spacing: 3px
}

.cc small {
    opacity: .8
}

.coin {
    position: absolute;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff3c9, #ffc24a 55%, #b9770a);
    display: grid;
    place-items: center;
    font: 800 28px Sora;
    color: #7a4a00;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .35);
    animation: cn 5s ease-in-out infinite
}

.coin:nth-child(1) {
    left: 2%;
    top: 8%
}

.coin:nth-child(2) {
    right: 4%;
    top: 20%;
    animation-delay: -1.5s;
    width: 58px;
    height: 58px
}

.coin:nth-child(3) {
    right: 14%;
    bottom: 4%;
    animation-delay: -3s
}

@keyframes cn {
    50% {
        transform: translateY(-24px) rotateY(180deg)
    }
}

section {
    padding: 90px 0
}

.t {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 50px
}

.t h2 {
    font-size: clamp(28px, 4vw, 42px)
}

.t p {
    color: var(--mut)
}

.stats {
    background: var(--blue);
    color: #fff;
    padding: 46px 0
}

.stats .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center
}

.stats b {
    font: 800 40px Sora;
    display: block
}

.stats span {
    opacity: .85
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    perspective: 1000px
}

.card {
    background: var(--surf);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 12px 34px rgba(11, 92, 196, .12);
    transform-style: preserve-3d;
    transition: transform .15s, box-shadow .3s;
    will-change: transform
}

.card svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    transform: translateZ(40px)
}

.card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    transform: translateZ(25px)
}

.card p {
    color: var(--mut);
    margin: 0
}

.emi {
    background: linear-gradient(160deg, var(--navy), #0b3a82);
    color: #fff
}

.emi .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center
}

.emi h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 14px
}

.emi p {
    color: #bcd0f2
}

.box {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(8px)
}

.box label {
    display: flex;
    justify-content: space-between;
    margin: 18px 0 8px;
    font-weight: 500
}

input[type=range] {
    width: 100%;
    accent-color: var(--gold)
}

.res {
    margin-top: 26px;
    text-align: center
}

.res b {
    font: 800 44px Sora;
    color: var(--gold);
    display: block
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.step {
    text-align: center;
    padding: 10px
}

.step i {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font: 800 24px Sora;
    font-style: normal;
    box-shadow: 0 10px 24px rgba(11, 92, 196, .4);
    animation: pu 3s infinite
}

.step:nth-child(2) i {
    animation-delay: .4s
}

.step:nth-child(3) i {
    animation-delay: .8s
}

.step:nth-child(4) i {
    animation-delay: 1.2s
}

@keyframes pu {
    50% {
        transform: scale(1.1) rotateY(180deg)
    }
}

.step p {
    color: var(--mut);
    margin: 4px 0 0
}

.cube-sec {
    background: var(--surf)
}

.cube-sec .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center
}

.cubeScene {
    perspective: 900px;
    height: 300px;
    display: grid;
    place-items: center
}

.cube {
    width: 150px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    animation: cb 16s linear infinite
}

.cube div {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font: 700 16px Sora;
    color: #fff;
    background: linear-gradient(135deg, #1d7dff, #0a3f93);
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 14px;
    text-align: center;
    opacity: .95
}

.cube div:nth-child(1) {
    transform: translateZ(75px)
}

.cube div:nth-child(2) {
    transform: rotateY(90deg) translateZ(75px)
}

.cube div:nth-child(3) {
    transform: rotateY(180deg) translateZ(75px)
}

.cube div:nth-child(4) {
    transform: rotateY(-90deg) translateZ(75px)
}

.cube div:nth-child(5) {
    transform: rotateX(90deg) translateZ(75px)
}

.cube div:nth-child(6) {
    transform: rotateX(-90deg) translateZ(75px)
}

@keyframes cb {
    to {
        transform: rotateX(360deg) rotateY(360deg)
    }
}

.cube-sec ul {
    padding: 0;
    list-style: none;
    color: var(--mut)
}

.cube-sec li {
    padding: 10px 0 10px 34px;
    position: relative
}

.cube-sec li:before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 24px
}

.cube-sec h2 {
    font-size: clamp(26px, 3.6vw, 38px);
    margin-bottom: 14px
}

.quote {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.quote .card p {
    font-style: italic;
    transform: translateZ(15px)
}

.quote b {
    display: block;
    margin-top: 14px;
    font-family: Sora;
    transform: translateZ(20px)
}

.enq {
    background: var(--bg)
}

.enq .wrap {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 50px;
    align-items: start
}

.enq-info h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 12px
}

.enq-info p {
    color: var(--mut)
}

.enq-info ul {
    list-style: none;
    padding: 0;
    margin: 26px 0 0
}

.enq-info li {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(90, 107, 134, .25)
}

.enq-info li b {
    min-width: 70px;
    font-family: Sora
}

.enq-info li span {
    color: var(--mut)
}

.enq-form {
    background: var(--surf);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 16px 44px rgba(11, 92, 196, .16)
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.f {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column
}

.f label {
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px
}

.f input,
.f select,
.f textarea {
    font: inherit;
    color: var(--ink);
    background: var(--bg);
    border: 1.5px solid rgba(90, 107, 134, .35);
    border-radius: 12px;
    padding: 12px 14px;
    width: 100%
}

.f input:focus,
.f select:focus,
.f textarea:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 163, 255, .35)
}

.f.bad input,
.f.bad select {
    border-color: #d93a3a
}

.err {
    color: #d93a3a;
    font-size: 13px;
    min-height: 0
}

.ck {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--mut);
    align-items: flex-start;
    margin-bottom: 6px
}

.ck input {
    margin-top: 4px;
    accent-color: var(--blue)
}

.enq-form .btn {
    background: var(--blue);
    color: #fff;
    width: 100%;
    margin-top: 14px
}

.enq-form .btn:hover {
    box-shadow: 0 10px 24px rgba(11, 92, 196, .4)
}

.ok {
    margin: 16px 0 0;
    padding: 14px;
    border-radius: 12px;
    background: rgba(40, 170, 90, .15);
    color: #1f9a52;
    font-weight: 500
}

.final {
    background: linear-gradient(135deg, var(--blue), #0a2f73);
    color: #fff;
    text-align: center
}

.final h2 {
    font-size: clamp(28px, 4.4vw, 48px);
    margin-bottom: 14px
}

.final p {
    color: #d6e5ff;
    margin: 0 0 26px
}

footer {
    background: var(--navy);
    color: #9db0cf;
    padding: 34px 0;
    font-size: 14px
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap
}

.rv {
    opacity: 0;
    transform: translateY(34px) rotateX(-12deg);
    transition: opacity .8s, transform .8s
}

.rv.in {
    opacity: 1;
    transform: none
}

@media(max-width:860px) {
    nav ul {
        display: none
    }

    .hero .wrap,
    .emi .wrap,
    .cube-sec .wrap,
    .enq .wrap,
    .row {
        grid-template-columns: 1fr
    }

    .grid,
    .quote {
        grid-template-columns: 1fr
    }

    .stats .wrap,
    .steps {
        grid-template-columns: repeat(2, 1fr)
    }

    .scene {
        height: 340px;
        transform: scale(.8)
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important
    }

    .rv {
        opacity: 1;
        transform: none
    }
}

.enq-info li a {
    color: var(--mut);
    text-decoration: none;
    overflow-wrap: anywhere
}

.enq-info li a:hover {
    color: var(--blue);
    text-decoration: underline
}