@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --line: rgba(88, 151, 255, .25);
    --line-strong: rgba(57, 148, 255, .45);
    --text: #f7fbff;
    --muted: #b5c3d2;
    --blue: #1197ff;
    --blue-2: #006cff;
    --cyan: #1482be;
    --loading: #e0e7f0;
    --radius: 14px;
    font-family: 'Nunito', Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

* {
    box-sizing: border-box
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(20, 96, 158, .9) #071224;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: #071224;
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
    border: 2px solid #071224;
    border-radius: 999px;
    background: linear-gradient(180deg, #14609e, #09284f);
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1a78c7, #0d396f);
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #0b1324;
}

a {
    color: inherit;
    text-decoration: none
}

    .page-shell {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        padding:20px;
    }

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 132, 255, .3), 0 0 40px rgba(0, 107, 255, .15);
    margin-top: 60px;
    transition: height 0.6s ease, min-height 0.6s ease;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 10px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px
}

.brand-mark {
    width: 200px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 140, 255, .35))
}

.brand-name {
    font-size: 18px;
    line-height: 1;
    letter-spacing: .065em;
    font-weight: 800
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(95, 181, 255, .5);
    border-radius: 10px;
    color: var(--loading);
    background: var(--blue-2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 32px rgba(0, 108, 255, .22);
    font-weight: 700;
    min-height: 48px;
    padding: 0 28px;
    font-size: 15px
}

.button:hover {
    filter: brightness(1.08)
}

.header-demo-button {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-button {
    min-height: 40px;
    padding: 0 18px;
    border-color: rgba(95, 181, 255, .28);
    background: rgba(7, 18, 36, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 32px rgba(0, 108, 255, .10);
}

body.demo-overlay-open .site-header {
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

body.demo-overlay-open .brand {
    flex: 0 1 auto;
    min-width: 0;
}

body.demo-overlay-open .brand-mark {
    width: clamp(118px, 38vw, 180px);
}

body.demo-overlay-open .header-demo-button {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 clamp(10px, 3vw, 18px);
    font-size: clamp(12px, 3.25vw, 14px);
    white-space: nowrap;
}

body.demo-form-visible .header-demo-button {
    display: none;
}

body.demo-overlay-open .hero-text {
    display: none;
}

body.demo-overlay-open .hero-background {
    display: none;
}

.hero-background {
    display: block;
    width: 100%;
    height: auto;
    z-index: 1
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 40px 60px;
    gap: 40px
}

.hero-text {
    color: var(--loading);
    position: relative;
    z-index: 2
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--cyan);
    font-size: 13px;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-weight: 700;
    transform: translateY(-20px);
}

h1 {
    margin: 0;
    font-size: clamp(47px, 7vw, 65px);
    line-height: .93;
    letter-spacing: -.055em;
    font-weight: 850
}

.lede {
    margin: 30px 0;
    color: #d7e0ea;
    font-size: 19px;
    line-height: 1.55
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 60px
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 13px;
    color: var(--cyan);
    border-bottom: 1px solid rgba(0, 199, 255, .85);
    font-weight: 600
}

.hero-visual {
    position: relative;
    height: 480px;
    isolation: isolate
}

.neon-frame {
    position: absolute;
    right: 0;
    top: 92px;
    width: min(580px, 100%);
    height: 288px;
    border: 4px solid #0a78ff;
    border-radius: 22px;
    transform: perspective(880px) rotateY(-7deg) rotateZ(-1deg);
    background: linear-gradient(135deg, rgba(8, 18, 34, .78), rgba(2, 9, 19, .9));
    box-shadow: 0 0 6px var(--loading), 0 0 22px #0084ff, 0 0 58px rgba(0, 107, 255, .8), inset 0 0 38px rgba(0, 88, 255, .36);
    z-index: 4
}

.neon-frame:before,
.neon-frame:after {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 30px;
    background: radial-gradient(circle at 8% 82%, rgba(0, 191, 255, .9), transparent 18%);
    filter: blur(16px);
    z-index: -1
}

.glow-base {
    position: absolute;
    right: 28px;
    top: 354px;
    width: 520px;
    height: 76px;
    background: radial-gradient(ellipse, rgba(0, 102, 255, .55), transparent 62%);
    filter: blur(6px);
    transform: rotate(-2deg);
    z-index: 1
}

.light-stream {
    position: absolute;
    left: -90px;
    right: 44px;
    height: 190px;
    border-top: 2px solid rgba(0, 128, 255, .62);
    border-radius: 55% 45% 0 0;
    filter: drop-shadow(0 0 8px rgba(0, 129, 255, .8));
    opacity: .9;
    z-index: 2
}

.stream-a {
    top: 95px;
    transform: skewY(-9deg) rotate(-8deg)
}

.stream-b {
    top: 132px;
    transform: skewY(-4deg) rotate(-4deg);
    opacity: .65
}

.stream-c {
    top: 170px;
    transform: skewY(6deg) rotate(2deg);
    opacity: .5
}

.light-stream:before,
.light-stream:after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00bcff;
    box-shadow: 0 0 12px #0097ff, 95px 22px 0 rgba(0, 151, 255, .7), 185px 3px 0 rgba(0, 151, 255, .45)
}

.light-stream:before {
    left: 39%;
    top: -4px
}

.light-stream:after {
    left: 56%;
    top: -3px
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
    width: min(920px, 100%);
    margin: 80px auto 68px
}

.feature-card,
.demo-card {
    background: linear-gradient(145deg, rgba(6, 20, 39, .88), rgba(3, 12, 25, .68));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 18px 70px rgba(0, 0, 0, .18)
}

.feature-card {
    min-height: 142px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 28px 44px
}

.feature-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border: 1px solid rgba(57, 148, 255, .42);
    border-radius: 50%;
    color: var(--loading);
    background: radial-gradient(circle at 35% 25%, rgba(0, 124, 255, .38), rgba(5, 23, 47, .8) 62%, rgba(1, 9, 22, .9));
    box-shadow: 0 0 32px rgba(0, 112, 255, .2)
}

.feature-icon svg {
    width: 34px;
    height: 34px
}

.feature-icon.small {
    width: 58px;
    height: 58px;
    margin-bottom: 24px
}

.feature-icon.small svg {
    width: 27px;
    height: 27px
}

.feature-card h2,
.demo-intro h2 {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: -.025em
}

.feature-card p,
.demo-intro p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45
}

.demo-card {
    width: min(920px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 44px;
    padding: 62px 56px
}

.demo-intro {
    padding-top: 20px
}

.demo-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 22px
}

.demo-form[hidden],
.demo-thank-you[hidden] {
    display: none;
}

.demo-form label {
    display: grid;
    gap: 8px
}

.demo-form label.full {
    grid-column: 1/-1
}

.demo-form span {
    color: #f4f8ff;
    font-size: 13px;
    font-weight: 650
}

.demo-form em {
    color: #73869a;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}

.field-error {
    display: none;
    order: 1;
    color: #ff8f98;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.field-invalid .field-error {
    display: block;
}

input,
select,
textarea {
    width: 100%;
    color: #ecf5ff;
    background: #0b1324;
    border: 1px solid rgba(105, 151, 207, .29);
    border-radius: 8px;
    outline: none;
    padding: 12px 16px;
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035)
}

.field input,
.field select,
.field textarea {
    order: 2;
}

.field-invalid input,
.field-invalid select,
.field-invalid textarea {
    border-color: #ff5e6c;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 0 0 2px rgba(255, 94, 108, .22);
}

.privacy-consent.field-invalid .checkbox-row {
    color: #ffb0b7;
}

select {
    appearance: none;
}

textarea {
    resize: vertical;
    min-height: 98px
}

input::placeholder,
textarea::placeholder {
    color: #73869a
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--line-strong);
    
}

.submit {
    justify-self: start;
    gap: 14px;
    cursor: pointer;
    font-family: inherit
}

.privacy-consent {
    grid-column: 1/-1;
}

.privacy-consent .field-error {
    order: 0;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #d7e0ea;
    font-size: 14px;
    line-height: 1.45;
}

.checkbox-row input {
    flex: 0 0 auto;
    order: 0;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--blue);
}

.checkbox-row label {
    display: inline;
    gap: 0;
}

.privacy-consent .checkbox-row,
.privacy-consent .checkbox-row label,
.privacy-consent .checkbox-row span,
.privacy-consent .text-button {
    font-weight: 400;
}

.text-button {
    appearance: none;
    border: 0;
    padding: 0;
    color: #37b8ff;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-status {
    grid-column: 1/-1;
    display: none;
    margin: -4px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(44, 220, 141, .42);
    border-radius: 8px;
    color: #bbffd8;
    background: rgba(16, 84, 50, .22);
    font-size: 14px;
    font-weight: 700;
}

.form-status.visible {
    display: block;
}

.form-status.error {
    border-color: rgba(255, 94, 108, .42);
    color: #ffd0d4;
    background: rgba(116, 20, 33, .24);
}

.form-actions {
    grid-column: 1/-1;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}




.site-footer {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    color: #aab5c2;
    font-size: 14px
}

.site-footer a {
    color: var(--cyan)
}

.separator {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, .55)
}

.video-mock-overlay {
    position: absolute;
    top: calc(17% - 11px);
    right: calc(4% + -9px);
    width: 68%;
    height: 68%;

    transform: perspective(1336px) rotateY(-27deg) rotateX(10deg) rotateZ(-2deg) translateZ(-18px);
    transform-origin: center center;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    display: flex;
    transition: transform 0.6s ease, width 0.6s ease, height 0.6s ease, top 0.6s ease, right 0.6s ease;
}

.video-mock-overlay.flat {
    transform: perspective(1336px) rotateY(0deg) rotateX(0deg) rotateZ(0deg) translateZ(0px);
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.video-mock-overlay.flat .video-sidebar {
    display: none;
}

.video-sidebar {
    width: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
    transform: perspective(3900px) rotateY(-12deg) rotateX(0deg) rotateZ(0deg) translateZ(-292px);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-left: -49px;
    margin-right: 45px;
    margin-top: 2px;
}

.video-sidebar ul {
   list-style: none;
     padding-left: 0;
  margin-left: 0;
}


.sidebar-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.video-main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px;
    gap: 12px;
}


.main-video {
    flex: 1;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.main-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-videos {
    display: flex;
    gap: 8px;
    height: 80px;
}

.mini-video {
    flex: 1;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

.mini-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 26, 0.98);
    transform: translateX(100%);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.4s ease;
    overflow-y: auto;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.demo-overlay.active {
    transform: translateX(0);
}

.demo-overlay h2 {
    margin: 0 0 8px;
    font-size: 24px;
    color: white;
}

.demo-overlay > h2[hidden] {
    display: none;
}

.demo-overlay p {
    margin: 0 0 20px;
    color: #b5c3d2;
    font-size: 14px;
}

.privacy-overlay {
    position: absolute;
    inset: 0;
    z-index: 180;
    display: grid;
    place-items: stretch;
    padding: 24px;
    background: rgba(5, 10, 21, .78);
    backdrop-filter: blur(10px);
}

.privacy-overlay[hidden] {
    display: none;
}

.privacy-panel {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(95, 181, 255, .32);
    border-radius: 12px;
    background: #080d18;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .42), 0 0 40px rgba(0, 108, 255, .16);
}

.privacy-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px 16px;
    border-bottom: 1px solid rgba(95, 181, 255, .18);
}

.privacy-kicker {
    margin: 0 0 5px;
    color: #8fa6bc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.privacy-header h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
}

.privacy-close {
    flex: 0 0 auto;
    min-height: 38px;
    border: 1px solid rgba(95, 181, 255, .5);
    border-radius: 8px;
    padding: 0 14px;
    color: var(--loading);
    background: rgba(0, 108, 255, .92);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.privacy-content {
    overflow-y: auto;
    padding: 22px 24px 30px;
    color: #d7e0ea;
    font-size: 14px;
    line-height: 1.55;
}

.privacy-content section + section {
    margin-top: 22px;
}

.privacy-content h4 {
    margin: 0 0 8px;
    color: #f7fbff;
    font-size: 16px;
}

.privacy-content p {
    margin: 0 0 10px;
    color: #c6d2df;
}

.privacy-content a {
    color: #37b8ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.demo-thank-you {
    min-height: calc(100% - 24px);
    max-width: 680px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    outline: none;
}

.demo-thank-you h2 {
    margin: 0;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1;
}

.demo-thank-you p {
    max-width: 620px;
    margin: 0;
    color: #c7d4e2;
    font-size: 16px;
    line-height: 1.55;
}

.thank-you-kicker {
    color: #37b8ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.capacity-note {
    width: min(100%, 640px);
    padding: 22px 24px;
    border: 1px solid rgba(95, 181, 255, .28);
    border-radius: 12px;
    background: rgba(5, 16, 34, .74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.capacity-note h3 {
    margin: 0 0 10px;
    color: #f7fbff;
    font-size: 18px;
}

.capacity-note p + p {
    margin-top: 10px;
}

@media (min-width:900px) {
    body.demo-overlay-open .hero {
        height: clamp(710px, calc(86vw - 150px), 810px);
    }

    body.demo-overlay-open .hero-content {
        display: block;
        padding: 36px;
    }

    body.demo-overlay-open .demo-overlay {
        padding: 38px 56px;
    }
}

@media (max-width:899px) {

    .hero-background {
        display: none;
    }

    .page-shell {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        padding-top:30px;
    }

    .site-header {
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }

    .brand {
        flex: 0 1 auto;
        min-width: 0;
    }

    .brand-mark {
        width: clamp(118px, 38vw, 180px);
    }

    .header-demo-button {
        display: inline-flex;
        flex: 0 0 auto;
        min-height: 40px;
        padding: 0 clamp(10px, 3vw, 18px);
        font-size: clamp(12px, 3.25vw, 14px);
        white-space: nowrap;
    }

    .header-actions {
        gap: 8px;
    }

    .login-button {
        min-height: 40px;
        padding: 0 clamp(10px, 3vw, 14px);
        font-size: clamp(12px, 3.25vw, 14px);
        white-space: nowrap;
    }

    .hero-text {
        display: none;
    }

    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: flex-end
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 700px;
    }

    .hero-visual {
        height: 380px
    }

    .hero-content {
        padding: 40px 20px;
        display: block;
    }


    .video-mock-overlay {
        transform: perspective(1336px) rotateY(0deg) rotateX(0deg) rotateZ(0deg) translateZ(0px);
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }

    .video-sidebar {
        display: none
    }

    .neon-frame {
        left: 8%;
        right: auto;
        width: 86%;
        top: 44px
    }

    .light-stream {
        left: -20px
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 28px
    }

    .demo-card {
        grid-template-columns: 1fr;
        padding: 38px 28px
    }
}

@media (max-width:745px) {
    .site-header {
        display: flex;
        gap: 10px
    }

    .nav-links {
        justify-content: flex-start
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 750px;
    }


    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px
    }

    .feature-card {
        padding: 24px;
        gap: 18px
    }

    .demo-form {
        grid-template-columns: 1fr
    }

    h1 {
        font-size: 54px
    }


}

@media (max-width:480px) {
    .page-shell {
        padding-left: 10px;
        padding-right: 10px;
    }

    .site-header {
        gap: 6px;
    }

    .brand-mark {
        width: clamp(92px, 32vw, 124px);
    }

    .header-actions {
        gap: 6px;
    }

    .login-button,
    .header-demo-button {
        min-height: 38px;
        padding: 0 10px;
        font-size: 12px;
    }

    .privacy-overlay {
        padding: 14px;
    }

    .privacy-header {
        flex-direction: column;
        gap: 12px;
        padding: 20px 18px 14px;
    }

    .privacy-header h3 {
        font-size: 22px;
        overflow-wrap: anywhere;
    }

    .privacy-close {
        align-self: flex-start;
    }

    .privacy-content {
        padding: 18px 18px 26px;
    }
}
