:root {
    --bg: #06101d;
    --bg-deep: #030a13;
    --surface: #0c1929;
    --surface-2: #101f32;
    --surface-3: #14273c;
    --line: #20364e;
    --line-soft: rgba(113, 143, 174, .18);
    --text: #f1f6fb;
    --muted: #9bacc0;
    --muted-2: #70849c;
    --green: #28d5a3;
    --green-strong: #13ba89;
    --green-soft: rgba(40, 213, 163, .12);
    --blue: #53a8ff;
    --danger: #ff6c70;
    --warning: #f5bd52;
    --shadow: 0 28px 80px rgba(0, 0, 0, .32);
    --radius: 18px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.1; }
h1 { font-size: clamp(3rem, 6vw, 5.7rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.65rem); }
h3 { font-size: 1.22rem; }
p { color: var(--muted); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-150%); background: #fff; color: #000; padding: 10px 14px; }
.skip-link:focus { transform: none; }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(6, 16, 29, .86);
    border-bottom: 1px solid rgba(97, 126, 158, .2);
    backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 18px; height: 18px; background: var(--green); transform: rotate(45deg); box-shadow: 0 0 24px rgba(40,213,163,.4); }
.brand strong { display: block; color: var(--green); letter-spacing: .04em; font-size: 1.1rem; }
.brand small { display: block; color: #b8c7d8; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.button) { color: #b4c3d5; text-decoration: none; font-size: .9rem; transition: color .2s ease; }
.site-nav > a:not(.button):hover { color: #fff; }
.nav-form { margin: 0; }
.language-switcher { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: rgba(8, 20, 34, .72); }
.language-switcher a { min-width: 31px; padding: 5px 7px; color: var(--muted-2); text-align: center; text-decoration: none; font-size: .7rem; font-weight: 800; border-radius: 5px; }
.language-switcher a.is-active { color: #03120d; background: var(--green); }
.nav-toggle { display: none; width: 44px; height: 42px; background: transparent; border: 1px solid var(--line); color: #fff; }
.nav-toggle > span:not(.sr-only) { display: block; width: 19px; height: 1px; background: currentColor; margin: 5px auto; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 750;
    font-size: .92rem;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #03120d; background: var(--green); box-shadow: 0 9px 28px rgba(40, 213, 163, .18); }
.button-primary:hover { background: #52e0b6; }
.button-secondary { color: var(--text); background: var(--surface-2); border-color: var(--line); }
.button-secondary:hover, .button-ghost:hover { border-color: #44617f; background: var(--surface-3); }
.button-ghost { color: #d6e0eb; background: transparent; border-color: var(--line); }
.button-danger { color: #fff; background: #b63c47; }
.button-warning { color: #1b1100; background: var(--warning); }
.button-small { min-height: 38px; padding: 8px 15px; font-size: .82rem; }
.button-large { min-height: 54px; padding: 14px 23px; }
.button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

.hero { position: relative; overflow: hidden; padding: 104px 0 112px; }
.hero::after { content: ""; position: absolute; inset: auto -10% 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(40,213,163,.4), transparent); }
.hero-glow { position: absolute; width: 680px; height: 680px; top: -260px; right: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(40,213,163,.14), transparent 68%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 19px; color: var(--green); font-size: .72rem; letter-spacing: .2em; font-weight: 800; }
.eyebrow span { width: 24px; height: 1px; background: currentColor; }
.hero h1 { max-width: 720px; margin-bottom: 25px; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-lead { max-width: 630px; margin-bottom: 34px; font-size: 1.12rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 27px; color: var(--muted-2); font-size: .78rem; }
.hero-points b { color: var(--green); margin-right: 5px; }
.hero-visual { position: relative; padding: 26px 8px 30px 20px; }
.app-frame { overflow: hidden; border: 1px solid #2a425e; border-radius: 14px; background: #081323; box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 8px rgba(15,31,50,.38); transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
.app-frame-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 12px; color: #8194a9; font-size: .68rem; background: #0e1b2b; border-bottom: 1px solid #25394f; }
.app-frame-bar i { width: 7px; height: 7px; border-radius: 50%; background: #365169; }
.app-frame-bar i:first-child { background: var(--green); }
.app-frame-bar span { margin-left: 7px; }
.app-frame img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top left; }
.floating-stat { position: absolute; z-index: 2; min-width: 154px; padding: 15px 17px; border: 1px solid #31506d; border-radius: 12px; background: rgba(11,25,42,.94); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.floating-stat small, .floating-stat span { display: block; color: var(--muted-2); font-size: .67rem; }
.floating-stat strong { display: block; margin: 3px 0 1px; color: var(--green); font-size: 1.15rem; }
.floating-stat-top { top: 0; right: -14px; }
.floating-stat-bottom { bottom: 2px; left: -18px; }

.trust-strip { border-bottom: 1px solid var(--line-soft); background: rgba(3,10,19,.45); }
.trust-grid { min-height: 80px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.trust-grid span { color: #8194aa; font-size: .77rem; text-align: center; border-right: 1px solid var(--line-soft); }
.trust-grid span:last-child { border-right: 0; }
.section { padding: 112px 0; }
.section-heading { max-width: 710px; margin-bottom: 50px; }
.section-heading h2, .process-section h2 { margin-bottom: 20px; }
.section-heading p, .section-lead { max-width: 620px; font-size: 1.04rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { position: relative; min-height: 295px; padding: 30px; overflow: hidden; background: rgba(13, 28, 46, .82); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.feature-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 20% 0, rgba(40,213,163,.1), transparent 45%); transition: opacity .25s ease; }
.feature-card:hover::before { opacity: 1; }
.feature-card-large { grid-column: span 2; }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 52px; border: 1px solid #31516d; color: var(--green); background: #10243a; font-size: 1.35rem; }
.feature-number { position: absolute; top: 31px; right: 31px; color: #526a82; font: 700 .72rem ui-monospace, monospace; }
.feature-card h3 { position: relative; margin-bottom: 12px; }
.feature-card p { position: relative; max-width: 630px; margin-bottom: 0; font-size: .92rem; line-height: 1.7; }
.mini-chart { position: absolute; right: 32px; bottom: 33px; width: 210px; height: 80px; display: flex; align-items: flex-end; gap: 8px; opacity: .55; }
.mini-chart i { flex: 1; background: var(--green); }
.mini-chart i:nth-child(1) { height: 24%; }.mini-chart i:nth-child(2) { height: 43%; }.mini-chart i:nth-child(3) { height: 35%; }.mini-chart i:nth-child(4) { height: 70%; }.mini-chart i:nth-child(5) { height: 58%; }.mini-chart i:nth-child(6) { height: 91%; }
.process-section { background: #081522; border-block: 1px solid var(--line-soft); }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps b { width: 42px; height: 42px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font: 800 .78rem ui-monospace, monospace; }
.steps h3 { margin: 0 0 7px; }
.steps p { margin: 0; font-size: .9rem; }
.cta-section { padding-top: 84px; }
.cta-card { min-height: 275px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 52px; overflow: hidden; position: relative; background: #102439; border: 1px solid #2d4d69; border-radius: 22px; }
.cta-card::after { content: ""; position: absolute; width: 430px; height: 430px; right: -150px; top: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(40,213,163,.18), transparent 68%); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { max-width: 700px; margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-card p { margin-bottom: 0; }

.site-footer { padding: 70px 0 28px; border-top: 1px solid var(--line-soft); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 50px; }
.footer-brand { margin-bottom: 20px; }
.footer-grid p { max-width: 390px; font-size: .88rem; }
.footer-grid h2 { margin: 3px 0 17px; color: #d7e1eb; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div > a:not(.brand) { display: block; width: max-content; margin: 9px 0; color: var(--muted); font-size: .84rem; text-decoration: none; }
.footer-grid > div > a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 23px; border-top: 1px solid var(--line-soft); color: #60748b; font-size: .72rem; }

.flash-wrap { position: relative; z-index: 90; width: min(calc(100% - 40px), var(--container)); margin: 18px auto -2px; }
.flash { padding: 14px 17px; border: 1px solid #315173; background: #10243a; color: #dce8f4; border-radius: 10px; }
.flash-success { border-color: rgba(40,213,163,.45); background: rgba(22,111,87,.26); }
.flash-warning { border-color: rgba(245,189,82,.45); background: rgba(117,82,20,.26); }
.flash-error { border-color: rgba(255,108,112,.45); background: rgba(124,39,45,.3); }

.auth-page { background: var(--bg-deep); }
.auth-shell { min-height: calc(100vh - 77px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-panel { display: flex; align-items: center; padding: 70px max(35px, calc((100vw - var(--container))/2)); }
.auth-panel-main { justify-content: flex-end; background: var(--bg); }
.auth-panel-side { position: relative; overflow: hidden; border-left: 1px solid var(--line-soft); background: #0a1828; }
.auth-panel-side::after { content: ""; position: absolute; width: 700px; height: 700px; left: -180px; bottom: -350px; border-radius: 50%; background: radial-gradient(circle, rgba(40,213,163,.16), transparent 68%); }
.auth-card { width: min(100%, 480px); }
.auth-card h1 { margin-bottom: 12px; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.auth-card > p { margin-bottom: 32px; }
.auth-aside { position: relative; z-index: 1; width: min(100%, 470px); }
.auth-aside blockquote { margin: 0 0 30px; font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.25; letter-spacing: -.035em; }
.auth-aside p { max-width: 410px; }
.auth-list { padding: 0; margin: 30px 0 0; list-style: none; }
.auth-list li { padding: 12px 0; color: #b7c6d6; border-bottom: 1px solid var(--line-soft); }
.auth-list b { color: var(--green); margin-right: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field-full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 8px; color: #c4d0dd; font-size: .8rem; font-weight: 700; }
.field input, .field textarea, .field select {
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    color: var(--text);
    background: #091522;
    border: 1px solid #294058;
    border-radius: 8px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 125px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(40,213,163,.12); }
.field-help { display: block; margin-top: 7px; color: var(--muted-2); font-size: .72rem; }
.form-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 22px; }
.form-row a, .auth-footer a { color: var(--green); text-decoration: none; }
.checkbox { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: .8rem; }
.checkbox input { margin-top: 3px; accent-color: var(--green); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-actions .button-primary { min-width: 160px; }
.auth-footer { margin-top: 25px; color: var(--muted-2); font-size: .84rem; }
.password-meter { display: block; margin-top: 7px; color: var(--muted-2); font-size: .72rem; }
.password-meter[data-score="4"] { color: var(--green); }

.page-hero { padding: 80px 0 45px; border-bottom: 1px solid var(--line-soft); background: #081421; }
.page-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.page-hero h1 { margin-bottom: 12px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.page-hero p { max-width: 700px; margin-bottom: 0; }
.content-section { padding: 55px 0 100px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.panel { grid-column: span 6; padding: 28px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.panel-wide { grid-column: 1/-1; }
.panel-third { grid-column: span 4; }
.panel h2 { margin-bottom: 8px; font-size: 1.25rem; }
.panel > p:last-child { margin-bottom: 0; }
.status-line { display: flex; align-items: center; gap: 10px; margin: 17px 0 23px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-2); }
.status-dot-good { background: var(--green); box-shadow: 0 0 12px rgba(40,213,163,.55); }
.status-dot-warn { background: var(--warning); }
.status-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px; color: #b8c6d5; background: #0b1928; font-size: .72rem; }
.status-chip-vip { border-color: rgba(40,213,163,.4); color: var(--green); background: var(--green-soft); }
.data-list { margin: 20px 0 0; }
.data-list div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.data-list dt { color: var(--muted-2); font-size: .8rem; }
.data-list dd { margin: 0; color: #dfe8f1; font-size: .84rem; text-align: right; }
.release-list { display: grid; gap: 14px; }
.release-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 25px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; }
.release-card h2 { margin-bottom: 7px; font-size: 1.2rem; }
.release-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted-2); font-size: .76rem; }
.checksum { margin-top: 12px; color: #60758c; font: .68rem ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.empty-state { padding: 50px 25px; text-align: center; border: 1px dashed #2a435c; background: rgba(10,23,38,.5); }
.empty-state h2 { margin-bottom: 8px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); }
.data-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.data-table th, .data-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.data-table th { color: #7f93aa; background: #091624; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.data-table td { color: #cbd7e3; font-size: .8rem; }
.data-table tr:last-child td { border-bottom: 0; }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form select, .inline-form input { min-height: 35px; padding: 6px 8px; color: #fff; background: #081522; border: 1px solid var(--line); }
.admin-section { margin-bottom: 36px; }
.admin-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.admin-section-head h2 { margin: 0; font-size: 1.4rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 35px; }
.metric { padding: 23px; border: 1px solid var(--line-soft); background: var(--surface); }
.metric small { display: block; color: var(--muted-2); }
.metric strong { display: block; margin-top: 8px; color: var(--green); font-size: 1.8rem; }

.legal-content { max-width: 840px; }
.legal-content h2 { margin: 42px 0 14px; font-size: 1.6rem; }
.legal-content h3 { margin: 28px 0 10px; font-size: 1.1rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content a { color: var(--green); }

@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 760px; }
    .hero-visual { max-width: 830px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .feature-card-large { grid-column: span 2; }
    .process-grid { grid-template-columns: 1fr; gap: 45px; }
    .panel-third { grid-column: span 6; }
    .metric-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .site-nav { position: absolute; display: none; top: 76px; left: 0; right: 0; padding: 22px 20px 28px; flex-direction: column; align-items: stretch; gap: 5px; background: #091522; border-bottom: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
    .site-nav.is-open { display: flex; }
    .site-nav > a { padding: 10px 4px; }
    .site-nav .button { margin-top: 8px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); padding: 15px 0; }
    .trust-grid span { padding: 10px; border-right: 0; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-panel { padding: 60px max(20px, calc((100vw - 620px)/2)); justify-content: flex-start; }
    .auth-panel-side { display: none; }
    .auth-card { width: 100%; }
    .panel, .panel-third { grid-column: 1/-1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1/-1; }
}

@media (max-width: 620px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .hero { padding: 72px 0 78px; }
    .hero-grid { gap: 45px; }
    .hero h1 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
    .hero-actions .button { width: 100%; }
    .hero-points { flex-direction: column; gap: 8px; }
    .hero-visual { padding: 16px 0 35px; }
    .app-frame { transform: none; }
    .floating-stat-top { right: -4px; top: -10px; }
    .floating-stat-bottom { left: -3px; bottom: 0; }
    .floating-stat { min-width: 134px; padding: 11px 13px; }
    .section { padding: 78px 0; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card, .feature-card-large { grid-column: auto; min-height: 270px; }
    .mini-chart { width: 130px; }
    .cta-card { align-items: flex-start; flex-direction: column; padding: 31px 24px; }
    .cta-card .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .field-full { grid-column: auto; }
    .page-hero-row { align-items: flex-start; flex-direction: column; }
    .release-card { grid-template-columns: 1fr; }
    .release-card .button { width: 100%; }
    .metric-grid { grid-template-columns: 1fr; }
    .admin-section-head { align-items: flex-start; flex-direction: column; }
}
