:root {
    --bg: #06111d;
    --panel: rgba(5, 22, 36, 0.78);
    --line: rgba(255, 255, 255, 0.12);
    --gold: #f6c95f;
    --muted: #aebdca;
    --cyan: #58d8ec;
}
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    min-height: 100%;
    background: #06111d;
    color: #f7f8fb;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}
body:before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 9, 15, 0.9), rgba(5, 17, 30, 0.4)),
        radial-gradient(circle at 70% 20%, rgba(75, 91, 170, 0.24), transparent 35%),
        linear-gradient(180deg, #152a44, #07111d 72%);
    z-index: -2;
}
body:after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 78% 78%, rgba(246, 201, 95, 0.1), transparent 24%);
    z-index: -1;
}
.shell {
    margin-left: 244px;
    min-height: 100dvh;
    padding: 86px clamp(18px, 3vw, 46px) 34px;
    max-width: 1600px;
}
.head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 22px;
}
.eyebrow {
    color: var(--gold);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
h1 {
    font:
        700 clamp(34px, 4vw, 54px)/1 Georgia,
        serif;
    margin: 6px 0 8px;
}
h2,
h3,
p {
    margin-top: 0;
}
.lead {
    color: var(--muted);
    max-width: 720px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}
.card {
    background: linear-gradient(145deg, rgba(12, 35, 54, 0.92), rgba(5, 18, 31, 0.86));
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}
.hero {
    grid-column: span 8;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}
.side {
    grid-column: span 4;
}
.wide {
    grid-column: span 12;
}
.half {
    grid-column: span 6;
}
.third {
    grid-column: span 4;
}
.hero:after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    right: -70px;
    top: -90px;
    background: radial-gradient(circle, rgba(246, 201, 95, 0.25), transparent 65%);
}
.kpi {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.stat {
    flex: 1;
    min-width: 130px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
}
.stat b {
    font-size: 27px;
    display: block;
}
.stat span,
.muted {
    color: var(--muted);
    font-size: 13px;
}
.bar {
    height: 9px;
    background: #ffffff10;
    border-radius: 99px;
    overflow: hidden;
    margin-top: 10px;
}
.bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--gold));
    border-radius: inherit;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(246, 201, 95, 0.45);
    background: linear-gradient(180deg, #ffd86f, #e8b53f);
    color: #1a1407;
    padding: 13px 19px;
    border-radius: 15px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}
.btn.ghost {
    background: #ffffff08;
    color: white;
    border-color: var(--line);
}
.rows {
    display: grid;
    gap: 10px;
}
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    background: #ffffff04;
    border-radius: 15px;
}
.row strong {
    display: block;
}
.pill {
    padding: 6px 10px;
    border-radius: 99px;
    background: #ffffff09;
    color: #d9e4ed;
    font-size: 12px;
}
.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.tab {
    border: 1px solid var(--line);
    background: #ffffff05;
    color: #dce5ec;
    border-radius: 99px;
    padding: 9px 14px;
    cursor: pointer;
}
.tab.active {
    border-color: #e8ba51;
    background: #e8ba5119;
    color: #ffd86f;
}
.field {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
}
.field label {
    font-size: 12px;
    color: #b9c7d2;
}
.field input,
.field select {
    width: 100%;
    padding: 13px 14px;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: #071a2a;
    color: #fff;
    outline: none;
}
.plan {
    position: relative;
}
.plan.featured {
    border-color: #f4c85b;
    box-shadow: 0 0 35px rgba(246, 201, 95, 0.12);
}
.price {
    font:
        700 36px Georgia,
        serif;
}
.check {
    color: #62dfb2;
}
.auth {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    padding: 0;
}
.auth .form {
    padding: 36px;
}
.auth .art {
    min-height: 520px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(circle at 50% 25%, #4f5e8f66, transparent 35%),
        linear-gradient(160deg, #142f48, #0a1623);
}
.auth .art h2 {
    font:
        700 38px Georgia,
        serif;
}
.empty {
    text-align: center;
    padding: 50px 20px;
}
.empty .big {
    font:
        800 90px Georgia,
        serif;
    color: #fff;
}
.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: #092235;
    border: 1px solid #ffffff20;
    padding: 14px 18px;
    border-radius: 14px;
    display: none;
}
@media (max-width: 1050px) {
    .shell {
        margin-left: 92px;
    }
    .hero,
    .side,
    .half,
    .third {
        grid-column: span 12;
    }
    .auth {
        grid-template-columns: 1fr;
    }
    .auth .art {
        min-height: 260px;
    }
}
@media (max-width: 700px) {
    .shell {
        margin-left: 0;
        padding-top: 84px;
    }
    .grid {
        display: block;
    }
    .card {
        margin-bottom: 14px;
    }
    .head {
        align-items: start;
        flex-direction: column;
    }
    .auth .form,
    .auth .art {
        padding: 24px;
    }
}
