* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url();
    background-size: cover;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
    pointer-events: none; /* So you can click through to the form */
    background: #000; /* fallback color */
}

/* LOGO CONTAINER ON THE LEFT */
.big-logo-container {
    position: fixed;
    left: 5vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 270px;
    height: 270px;
    background: rgba(255,255,255,0.15);
    border-radius: 0%; 
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
    border: 2px solid #fff;
}

.big-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    display: block;
}

.demo-float-container {
    position: fixed;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 320px;
    max-width: calc(100vw - 40px);
}

.glass-container {
    width: 360px;
    min-height: 350px;
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: 1px solid #fff;
}

.glass-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: -1;
}

.login-box {
    max-width: 310px;
    margin: 0 auto;
    text-align: center;
    padding: 0 0 20px;
}

h2 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: -20px;
}

form {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

input {
    padding: 10px;
    margin-top: 25px;
    border: none;
    border-radius: 10px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-size: 13px;
}

input::placeholder {
    color: #fff;
}

input:focus {
    outline: none;
}

.options {
    display: flex;
    align-items: center;
    margin-top: 15px;
    font-size: 12px;
    color: white;
}

.options input {
    margin-right: 5px;
    margin-top: 0px;
}

.options a {
    text-decoration: none;
    color: white;
    margin-left: auto;
}

button {
    background: #fff;
    color: black;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 15px;
}

button:hover {
    background: transparent;
    color: white;
    outline: 1px solid #fff;
}

p {
    font-size: 12px;
    color: #fff;
    margin-top: 15px;
}

.login-credit {
    margin-top: 18px;
}

.demo-callout {
    margin-top: 18px;
    padding: 14px 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    background: rgba(8, 20, 54, 0.35);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
}

.demo-callout-floating {
    margin-top: 0;
    padding: 18px 18px 20px;
}

.demo-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.demo-copy {
    margin-top: 10px;
    margin-bottom: 12px;
    line-height: 1.45;
}

.demo-credentials {
    display: grid;
    gap: 6px;
    font-size: 11px;
    color: #fff;
    margin-bottom: 12px;
}

.demo-launch-btn {
    width: 100%;
    margin-top: 0;
    background: #fff;
    color: #0c173a;
    font-weight: 600;
}

.demo-launch-btn:hover {
    background: transparent;
    color: #fff;
}

.demo-loading {
    overflow: hidden;
}

.demo-progress-shell {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: none;
    place-items: center;
    padding: 24px;
}

.demo-progress-shell.is-visible {
    display: grid;
}

.demo-progress-shell[hidden] {
    display: none;
}

.demo-progress-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 18, 0.74);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.demo-progress-card {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background:
        radial-gradient(circle at top left, rgba(109, 172, 255, 0.22), transparent 38%),
        linear-gradient(145deg, rgba(10, 18, 42, 0.95), rgba(8, 12, 28, 0.96));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
    color: #fff;
}

.demo-progress-top,
.demo-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.demo-progress-kicker,
.demo-progress-percent,
.demo-progress-meta span {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.demo-progress-kicker {
    color: rgba(255, 255, 255, 0.74);
}

.demo-progress-percent {
    color: #a9f0cf;
    font-weight: 700;
}

.demo-progress-title {
    margin: 12px 0 8px;
    font-size: 28px;
    line-height: 1.15;
    color: #fff;
}

.demo-progress-copy,
.demo-progress-detail {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
}

.demo-progress-copy {
    margin: 0 0 18px;
}

.demo-progress-bar-track {
    position: relative;
    width: 100%;
    height: 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.11);
}

.demo-progress-bar-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5fe1b5 0%, #6db5ff 55%, #a6c8ff 100%);
    box-shadow: 0 0 24px rgba(109, 181, 255, 0.45);
    transition: width 0.35s ease;
}

.demo-progress-meta {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.72);
}

.demo-step-slider {
    position: relative;
    display: grid;
    grid-template-columns: repeat(9, minmax(72px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.demo-step-slider::before {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    top: 19px;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
}

.demo-step {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
}

.demo-step-index {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.demo-step strong {
    font-size: 11px;
    font-weight: 600;
}

.demo-step.is-current {
    color: #fff;
}

.demo-step.is-current .demo-step-index {
    border-color: rgba(169, 240, 207, 0.95);
    background: rgba(95, 225, 181, 0.18);
    color: #fff;
    transform: translateY(-2px);
}

.demo-step.is-done {
    color: rgba(255, 255, 255, 0.9);
}

.demo-step.is-done .demo-step-index {
    border-color: rgba(95, 225, 181, 0.9);
    background: rgba(95, 225, 181, 0.22);
    color: #c7ffe7;
}

.demo-progress-detail {
    margin: 0;
    min-height: 46px;
}

.demo-progress-close {
    margin-top: 16px;
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.demo-progress-close:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    outline: none;
}

.demo-progress-shell.is-error .demo-progress-percent {
    color: #ffb5b5;
}

.demo-progress-shell.is-error .demo-progress-bar-fill {
    background: linear-gradient(90deg, #ff7a7a 0%, #ffb36d 100%);
    box-shadow: 0 0 24px rgba(255, 122, 122, 0.35);
}

.device-block-active {
    overflow: hidden;
}

.device-block-shell {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    place-items: center;
    padding: 24px;
}

.device-block-shell.is-visible {
    display: grid;
}

.device-block-shell[hidden] {
    display: none;
}

.device-block-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 10, 22, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.device-block-card {
    position: relative;
    z-index: 1;
    width: min(540px, 100%);
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background:
        radial-gradient(circle at top left, rgba(118, 214, 255, 0.18), transparent 42%),
        linear-gradient(150deg, rgba(8, 16, 38, 0.97), rgba(6, 11, 24, 0.98));
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
    color: #fff;
}

.device-block-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: linear-gradient(135deg, #9ff7d8 0%, #7ab1ff 100%);
    box-shadow: 0 16px 34px rgba(122, 177, 255, 0.32);
}

.device-block-icon span {
    color: #071120;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.device-block-kicker {
    display: inline-block;
    margin-top: 18px;
    color: #9ff7d8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.device-block-title {
    margin: 14px 0 10px;
    color: #fff;
    font-size: 32px;
    line-height: 1.08;
}

.device-block-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.7;
}

.device-block-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.device-block-highlights span {
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #eef6ff;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.device-block-close {
    width: 100%;
    margin-top: 24px;
    background: linear-gradient(90deg, #ffffff 0%, #dbe9ff 100%);
    color: #071427;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.device-block-close:hover {
    background: linear-gradient(90deg, #ffffff 0%, #eef4ff 100%);
    color: #071427;
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.28);
}

button:disabled,
input:disabled {
    opacity: 0.7;
    cursor: wait;
}

#register {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

@media (max-width: 1100px) {
    body {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: auto;
        min-height: 100vh;
        padding: 40px 20px;
        gap: 20px;
    }
    .big-logo-container,
    .demo-float-container {
        position: static;
        left: unset;
        right: unset;
        top: unset;
        transform: none;
        margin: 0 auto;
    }
    .big-logo-container {
        border-radius: 12px;
        width: 220px;
        height: 220px;
    }
    .big-logo {
        width: 150px;
        height: 150px;
    }
    .glass-container {
        margin: 0 auto;
        width: 95vw;
        max-width: 360px;
    }
    .demo-float-container {
        width: 95vw;
        max-width: 360px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 28px 12px 24px;
        gap: 16px;
    }
    .big-logo-container {
        margin: 0 auto;
        width: 130px;
        height: 130px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    }
    .big-logo {
        width: 90px;
        height: 90px;
    }
    .glass-container,
    .demo-float-container {
        width: 100%;
        max-width: 350px;
    }
    .glass-container {
        height: auto;
        min-height: 300px;
    }
    .demo-callout-floating {
        padding: 16px;
    }

    .demo-progress-shell {
        padding: 16px;
    }

    .demo-progress-card {
        padding: 18px;
        border-radius: 18px;
    }

    .device-block-shell {
        padding: 16px;
    }

    .device-block-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .device-block-title {
        font-size: 26px;
    }

    .device-block-copy {
        font-size: 14px;
    }

    .demo-progress-title {
        font-size: 23px;
    }

    .demo-progress-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .demo-step-slider {
        grid-template-columns: repeat(3, minmax(80px, 1fr));
    }

    .demo-step-slider::before {
        display: none;
    }
}
