:root{
    --bg:#090d14;
    --surface:#111722;
    --surface-2:#171f2c;
    --surface-3:#202a38;
    --border:#2c3646;
    --border-strong:#445166;
    --blue:#2f7df6;
    --blue-soft:#8fc5ff;
    --cyan:#19b8c7;
    --text:#f6f8fb;
    --muted:#a0aab8;
    --shadow:0 18px 44px rgba(0,0,0,.28);
}

*{
    box-sizing:border-box;
}

html{
    min-height:100%;
    scroll-behavior:smooth;
    scroll-padding-top:92px;
}

body{
    min-height:100vh;
    margin:0;
    color:var(--text);
    background:linear-gradient(180deg,#0b111b 0%,#090d14 46%,#0b0f16 100%);
    font-family:"Segoe UI",Arial,sans-serif;
}

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

.site-header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:20;
    min-height:68px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:12px 18px;
    background:rgba(17,23,34,.72);
    border-bottom:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(14px);
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}

.brand-mark{
    width:40px;
    height:40px;
    flex:0 0 40px;
    display:grid;
    place-items:center;
    border:1px solid #315d95;
    border-radius:8px;
    background:#10223a;
    color:#cfe6ff;
    font-weight:900;
}

.brand-mark img{
    width:28px;
    height:28px;
    display:block;
    object-fit:contain;
}


.brand-copy strong{
    display:block;
    color:#d8ebff;
    font-size:20px;
    line-height:1.15;
    font-weight:800;
}

.brand-copy small{
    display:block;
    margin-top:3px;
    color:var(--muted);
    font-size:12px;
    font-weight:700;
}

.site-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
}

.site-nav a{
    min-height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 12px;
    border:1px solid transparent;
    border-radius:8px;
    color:#dce9f8;
    font-size:13px;
    font-weight:800;
}

.site-nav a:hover,
.site-nav .nav-login{
    border-color:rgba(255,255,255,.16);
    background:rgba(23,31,44,.78);
}

.hero{
    position:relative;
    min-height:720px;
    display:grid;
    overflow:hidden;
}

.hero-media{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-shade{
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg,rgba(5,9,16,.94) 0%,rgba(5,9,16,.74) 42%,rgba(5,9,16,.26) 100%),
        linear-gradient(180deg,rgba(5,9,16,.16) 0%,rgba(5,9,16,.22) 52%,#090d14 100%);
}

.hero-inner{
    position:relative;
    z-index:1;
    width:min(1180px,100%);
    min-height:720px;
    margin:0 auto;
    padding:120px 18px 34px;
    display:grid;
    grid-template-rows:1fr auto;
    gap:28px;
}

.hero-content{
    align-self:center;
    max-width:660px;
}

.eyebrow{
    margin:0 0 10px;
    color:var(--cyan);
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
}

.hero h1{
    margin:0;
    color:#f7fbff;
    font-size:clamp(54px,8vw,112px);
    line-height:.9;
    letter-spacing:0;
    font-weight:900;
}

.hero-copy{
    max-width:560px;
    margin:20px 0 0;
    color:#dce9f8;
    font-size:18px;
    line-height:1.65;
}

.download-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

.button{
    min-height:46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:1px solid transparent;
    border-radius:8px;
    padding:12px 16px;
    cursor:pointer;
    font:inherit;
    font-size:14px;
    font-weight:900;
    transition:filter .15s ease,transform .15s ease,background .15s ease,border-color .15s ease;
}

.button:hover{
    filter:brightness(1.07);
    transform:translateY(-1px);
}

.button-primary{
    color:white;
    background:var(--blue);
}

.button-secondary{
    color:#f6f8fb;
    border-color:rgba(255,255,255,.22);
    background:rgba(23,31,44,.76);
    backdrop-filter:blur(14px);
}

.system-logo{
    width:20px;
    height:20px;
    flex:0 0 20px;
}

.download-icon{
    position:relative;
    width:16px;
    height:16px;
    flex:0 0 16px;
    opacity:.86;
}

.download-icon:before{
    content:"";
    position:absolute;
    left:7px;
    top:1px;
    width:2px;
    height:10px;
    border-radius:2px;
    background:currentColor;
}

.download-icon:after{
    content:"";
    position:absolute;
    left:3px;
    top:6px;
    width:9px;
    height:9px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg);
}

.hero-status{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    max-width:760px;
}

.hero-status div{
    padding:14px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:8px;
    background:rgba(17,23,34,.82);
    backdrop-filter:blur(14px);
}

.hero-status span,
.download-card span:last-child,
.step-list span{
    display:block;
    color:var(--muted);
    font-size:13px;
    font-weight:700;
}

.hero-status strong{
    display:block;
    margin-top:5px;
    color:#f7fbff;
    font-size:15px;
}

main > section:not(.hero){
    width:min(1180px,calc(100% - 28px));
    margin:28px auto 0;
    scroll-margin-top:92px;
}

.download-section{
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);
    align-items:stretch;
    gap:22px;
    margin-top:34px;
}

.section-copy,
.download-card,
.trust-card,
.steps,
.ticket-callout,
.notice{
    border:1px solid var(--border);
    border-radius:8px;
    background:rgba(17,23,34,.98);
    box-shadow:var(--shadow);
}

.section-copy{
    padding:22px;
}

.section-copy h2{
    margin:0;
    color:#eef5ff;
    font-size:32px;
    line-height:1.15;
    letter-spacing:0;
    font-weight:900;
}

.section-copy p:last-child{
    margin:14px 0 0;
    color:var(--muted);
    font-size:15px;
    line-height:1.6;
}

.download-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
    align-items:stretch;
}

.download-card{
    min-height:170px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:18px;
    transition:transform .15s ease,border-color .15s ease,background .15s ease;
}

.download-card:hover{
    transform:translateY(-2px);
    border-color:var(--border-strong);
    background:var(--surface-2);
}

.card-headline{
    display:flex;
    align-items:center;
    gap:10px;
}

.download-card .system-logo{
    color:var(--blue-soft);
}

.download-card strong{
    color:#eef5ff;
    font-size:18px;
}

.trust-section{
    padding-top:0;
    padding-bottom:0;
}

.trust-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:28px;
}

.trust-card{
    min-height:210px;
    padding:22px;
}

.trust-card-light{
    border-color:rgba(25,184,199,.42);
    background:#10223a;
}

.trust-card span{
    display:block;
    margin-bottom:34px;
    color:var(--blue-soft);
    font-size:46px;
    line-height:1;
    font-weight:300;
}

.trust-card h3{
    margin:0;
    color:#eef5ff;
    font-size:20px;
}

.trust-card p{
    margin:10px 0 0;
    color:var(--muted);
    line-height:1.55;
}

.steps{
    margin-top:0;
    padding:22px 14px 14px;
}

.steps .section-copy{
    box-shadow:none;
    background:transparent;
    border:none;
    padding:0 8px 18px;
}

#procedura{
    scroll-margin-top:92px;
}

.step-list{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
}

.step-list li{
    min-height:144px;
    padding:16px;
    border:1px solid var(--border);
    border-radius:8px;
    background:#101824;
}

.step-list b{
    display:grid;
    place-items:center;
    width:32px;
    height:32px;
    margin-bottom:16px;
    border-radius:8px;
    color:#cfe6ff;
    background:#10223a;
    border:1px solid #315d95;
    font-size:13px;
}

.step-list strong{
    display:block;
    margin-bottom:7px;
    color:#eef5ff;
}

.notice{
    margin-top:28px;
    padding:18px;
    border-color:rgba(25,184,199,.42);
    background:#10223a;
}

.notice p{
    margin:0;
    color:#dce9f8;
    line-height:1.55;
}

.ticket-callout{
    margin-top:28px;
    display:grid;
    grid-template-columns:minmax(0,.72fr) minmax(560px,1.28fr);
    align-items:stretch;
    gap:14px;
    padding:14px;
    border-color:rgba(47,125,246,.44);
    background:rgba(17,23,34,.98);
}

.ticket-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:190px;
    padding:18px;
    border-radius:8px;
    background:#101824;
}

.ticket-copy h2{
    margin:0;
    color:#eef5ff;
    font-size:28px;
    line-height:1.15;
    letter-spacing:0;
}

.ticket-copy p:last-child{
    margin:12px 0 0;
    color:#dce9f8;
    line-height:1.6;
}

.support-options{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

.support-option{
    min-height:190px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:18px;
    border:1px solid var(--border);
    border-radius:8px;
    background:#101824;
    transition:transform .15s ease,border-color .15s ease,background .15s ease;
}

.support-option:hover{
    transform:translateY(-2px);
    border-color:var(--border-strong);
    background:var(--surface-2);
}

.support-option-primary{
    border-color:rgba(47,125,246,.62);
    background:#10223a;
}

.support-option-demo{
    border-color:rgba(25,184,199,.52);
}

.support-option span{
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border:1px solid #315d95;
    border-radius:8px;
    color:#cfe6ff;
    background:#10223a;
    font-size:13px;
    font-weight:900;
}

.support-option-primary span{
    color:white;
    background:var(--blue);
    border-color:var(--blue);
}

.support-option-demo span{
    border-color:rgba(25,184,199,.72);
    color:#c5fbff;
    background:#0e2a32;
}

.support-option strong{
    display:block;
    margin-top:auto;
    color:#eef5ff;
    font-size:19px;
}

.support-option small{
    display:block;
    margin-top:8px;
    color:var(--muted);
    font-size:13px;
    line-height:1.45;
}

.footer{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    padding:28px 18px 34px;
    color:var(--muted);
    text-align:center;
    font-size:14px;
}

.footer-version{
    display:inline-flex;
    align-items:center;
    min-height:26px;
    padding:4px 9px;
    border:1px solid var(--border);
    border-radius:999px;
    background:#111722;
    color:#dce9f8;
    font-size:12px;
    font-weight:800;
}

.modal-backdrop{
    position:fixed;
    inset:0;
    z-index:100;
    display:none;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:rgba(5,8,13,.76);
    backdrop-filter:blur(8px);
}

.modal-backdrop.is-open{
    display:flex;
}

.download-modal{
    position:relative;
    width:min(620px,100%);
    max-height:88vh;
    overflow:auto;
    padding:22px;
    border:1px solid var(--border-strong);
    border-radius:8px;
    background:var(--surface);
    box-shadow:0 28px 90px rgba(0,0,0,.54);
}

.modal-close{
    position:absolute;
    top:12px;
    right:12px;
    width:42px;
    height:42px;
    border:none;
    border-radius:8px;
    background:#3c4655;
    color:#fff;
    cursor:pointer;
    font-weight:900;
}

.modal-badge{
    width:max-content;
    max-width:calc(100% - 56px);
    margin:0 0 10px;
    padding:7px 10px;
    border:1px solid var(--border);
    border-radius:8px;
    background:var(--surface-2);
    color:var(--cyan);
    font-size:12px;
    font-weight:900;
}

.download-modal h2{
    margin:0;
    padding-right:50px;
    color:#eef5ff;
    font-size:24px;
    line-height:1.18;
}

.modal-body{
    margin-top:14px;
    color:#dce9f8;
    font-size:14px;
    line-height:1.55;
}

.modal-body ul{
    margin:12px 0 0;
    padding-left:19px;
}

.modal-body li + li{
    margin-top:7px;
}

.modal-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
    margin-top:18px;
}

button{
    font-family:inherit;
}

button:focus-visible,
a:focus-visible{
    outline:3px solid rgba(143,197,255,.42);
    outline-offset:2px;
}

@media(max-width:980px){
    .download-section,
    .trust-grid,
    .ticket-callout{
        grid-template-columns:1fr;
    }

    .step-list{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:720px){
    .site-header{
        position:absolute;
        align-items:flex-start;
        flex-direction:column;
        padding:12px;
    }

    .site-nav{
        width:100%;
        justify-content:flex-start;
    }

    .site-nav a{
        flex:1 1 auto;
    }

    .hero,
    .hero-inner{
        min-height:700px;
    }

    .hero-inner{
        padding:142px 12px 24px;
    }

    .hero-copy{
        font-size:16px;
    }

    .download-actions .button,
    .download-grid,
    .hero-status,
    .step-list{
        grid-template-columns:1fr;
    }

    .download-actions .button{
        width:100%;
    }

    .section-copy h2{
        font-size:26px;
    }

    .ticket-copy h2{
        font-size:25px;
    }

    .support-options{
        grid-template-columns:1fr;
    }

    .download-card{
        min-height:150px;
    }
}

@media(max-width:520px){
    .brand-copy strong{
        font-size:18px;
    }

    .hero h1{
        font-size:48px;
    }

    .site-nav a,
    .modal-actions .button{
        width:100%;
    }

    .download-modal{
        padding:18px;
    }
}
