* {
    box-sizing: border-box;
}

:root {
    --bg: #0b0d0c;
    --bg-soft: #111510;
    --surface: #151a14;
    --surface-2: #1b2119;
    --surface-3: #20271d;
    --border: #2d3529;
    --border-strong: #414d39;
    --text: #f7f8f3;
    --muted: #aab2a2;

    --polenta: #f4c430;
    --polenta-strong: #e8ad12;
    --polenta-soft: rgba(244, 196, 48, 0.12);

    --grass: #61c46e;
    --grass-dark: #2e7d43;
    --grass-soft: rgba(97, 196, 110, 0.11);

    --danger: #ef5a5a;
    --info: #62a8ff;

    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    --radius: 16px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background:
        linear-gradient(rgba(11, 13, 12, 0.94), rgba(11, 13, 12, 0.97)),
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 31px,
            rgba(255, 255, 255, 0.025) 32px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 31px,
            rgba(255, 255, 255, 0.025) 32px
        ),
        var(--bg);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 0%, rgba(244, 196, 48, 0.10), transparent 30%),
        radial-gradient(circle at 82% 8%, rgba(97, 196, 110, 0.08), transparent 28%);
    z-index: -1;
}

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

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

.nav {
    height: 74px;
    border-bottom: 1px solid rgba(244, 196, 48, 0.12);
    background: rgba(11, 13, 12, 0.84);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 40;
}

.nav-inner {
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: -0.3px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    font-size: 17px;
}

.brand-text span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.logo {
    position: relative;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(244, 196, 48, 0.35);
    border-radius: 9px;
    color: #1b1603;
    background:
        linear-gradient(135deg, #ffe26f, var(--polenta) 58%, #d69708);
    box-shadow:
        0 0 0 4px rgba(244, 196, 48, 0.06),
        0 12px 35px rgba(244, 196, 48, 0.12);
    font-weight: 1000;
}

.logo::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    right: 5px;
    bottom: 5px;
    background: rgba(255, 255, 255, 0.45);
    box-shadow:
        -9px 0 rgba(255, 255, 255, 0.14),
        0 -9px rgba(255, 255, 255, 0.12);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 800;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--polenta);
    color: #1b1603;
    border-color: #f7d557;
    box-shadow: 0 10px 28px rgba(244, 196, 48, 0.12);
}

.btn-primary:hover {
    background: #ffd54c;
    box-shadow: 0 14px 34px rgba(244, 196, 48, 0.18);
}

.btn-secondary {
    background: #171c16;
    border-color: var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: #1e251c;
    border-color: var(--border-strong);
}

.btn-block {
    width: 100%;
}

.hero {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
    padding: 112px 0 78px;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(244, 196, 48, 0.25);
    border-radius: 999px;
    padding: 7px 12px;
    color: #f7d85e;
    background: rgba(244, 196, 48, 0.07);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .8px;
}

.badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--grass);
    box-shadow: 0 0 14px rgba(97, 196, 110, 0.6);
}

.hero h1 {
    max-width: 900px;
    margin: 26px auto 20px;
    font-size: clamp(44px, 7vw, 78px);
    line-height: .98;
    letter-spacing: -4px;
}

.hero h1 span {
    color: var(--polenta);
    text-shadow: 0 10px 38px rgba(244, 196, 48, 0.12);
}

.hero p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-world {
    width: min(880px, 100%);
    margin: 62px auto 0;
    position: relative;
}

.block-stage {
    min-height: 180px;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(to bottom, #151b16 0 43%, #263622 43% 48%, #3d2d1d 48% 74%, #29221b 74%);
    box-shadow: var(--shadow);
}

.block-stage::before,
.block-stage::after {
    content: "";
    position: absolute;
    image-rendering: pixelated;
}

.block-stage::before {
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 11%, rgba(255,255,255,.03) 11% 12%, transparent 12% 23%, rgba(255,255,255,.025) 23% 24%, transparent 24%),
        linear-gradient(0deg, transparent 0 24%, rgba(255,255,255,.035) 24% 25%, transparent 25% 49%, rgba(255,255,255,.025) 49% 50%, transparent 50%);
    background-size: 128px 128px;
}

.block-stage::after {
    width: 72px;
    height: 72px;
    right: 12%;
    top: 28px;
    background: var(--polenta);
    box-shadow:
        -72px 72px #c99215,
        -144px 72px #d6a11c,
        0 72px #b98110,
        72px 72px #d8a416;
    opacity: .9;
}

.world-copy {
    position: absolute;
    left: 34px;
    bottom: 28px;
    z-index: 2;
    text-align: left;
}

.world-copy strong {
    display: block;
    font-size: 18px;
}

.world-copy span {
    display: block;
    color: #c5d0be;
    margin-top: 5px;
    font-size: 14px;
}

.section {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
    padding: 58px 0;
}

.section-title {
    margin-bottom: 28px;
}

.section-title .eyebrow {
    color: var(--polenta);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.section-title h2 {
    margin: 8px 0 8px;
    font-size: clamp(28px, 4vw, 38px);
    letter-spacing: -1.6px;
}

.section-title p {
    margin: 0;
    color: var(--muted);
}

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

.plan {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(30, 37, 28, .96), rgba(19, 24, 18, .98));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .14);
    transition: .18s ease;
}

.plan::before {
    content: "";
    position: absolute;
    height: 5px;
    inset: 0 0 auto;
    background:
        repeating-linear-gradient(
            90deg,
            var(--grass) 0 18px,
            #519f5b 18px 36px
        );
    opacity: .75;
}

.plan:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
}

.plan.featured {
    border-color: rgba(244, 196, 48, .42);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .22),
        0 0 0 1px rgba(244, 196, 48, .06);
}

.plan.featured::before {
    background:
        repeating-linear-gradient(
            90deg,
            var(--polenta) 0 18px,
            var(--polenta-strong) 18px 36px
        );
    opacity: 1;
}

.plan-kicker {
    margin-bottom: 14px;
    color: var(--grass);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured .plan-kicker {
    color: var(--polenta);
}

.popular {
    position: absolute;
    top: 20px;
    right: 18px;
    border: 1px solid rgba(244, 196, 48, .28);
    border-radius: 999px;
    padding: 5px 8px;
    color: #f9dc6a;
    background: rgba(244, 196, 48, .08);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
}

.plan h3 {
    margin: 0;
    font-size: 25px;
}

.plan-description {
    min-height: 46px;
    margin: 9px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.price {
    margin: 24px 0;
    color: var(--text);
    font-size: 39px;
    font-weight: 950;
    letter-spacing: -1.7px;
}

.price small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.features {
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.features li {
    padding: 8px 0;
    color: #dce3d7;
}

.features li::before {
    content: "■";
    margin-right: 10px;
    color: var(--polenta);
    font-size: 9px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.info-card {
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 24px;
    background: rgba(21, 26, 20, .72);
}

.info-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    border: 1px solid rgba(244, 196, 48, .22);
    background: var(--polenta-soft);
    color: var(--polenta);
    font-weight: 1000;
}

.info-card h3 {
    margin: 0 0 7px;
}

.info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.footer {
    width: min(1180px, calc(100% - 32px));
    margin: 52px auto 0;
    padding: 30px 0 45px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 13px;
}

.auth-shell {
    min-height: calc(100vh - 74px);
    display: grid;
    place-items: center;
    padding: 45px 20px;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 34px;
    background:
        linear-gradient(180deg, rgba(28, 35, 26, .97), rgba(18, 22, 17, .98));
    box-shadow: var(--shadow);
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--polenta) 0 20px,
            var(--grass) 20px 40px
        );
}

.auth-card h1 {
    margin: 0 0 8px;
    font-size: 31px;
    letter-spacing: -1px;
}

.auth-card > p {
    margin: 0 0 27px;
    color: var(--muted);
    line-height: 1.55;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #dbe1d6;
    font-size: 13px;
    font-weight: 800;
}

.form-control {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 13px;
    outline: none;
    color: var(--text);
    background: #0f130e;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-control:focus {
    border-color: rgba(244, 196, 48, .62);
    box-shadow: 0 0 0 3px rgba(244, 196, 48, .08);
}

.form-footer {
    margin-top: 22px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.form-footer a {
    color: var(--polenta);
    font-weight: 800;
}

.alert {
    display: none;
    margin-bottom: 18px;
    border-radius: 10px;
    padding: 13px;
    font-size: 14px;
}

.alert-error {
    border: 1px solid rgba(239, 90, 90, .26);
    color: #ffb4b4;
    background: rgba(239, 90, 90, .08);
}

.alert-success {
    border: 1px solid rgba(97, 196, 110, .28);
    color: #b6f4bd;
    background: rgba(97, 196, 110, .08);
}

.dashboard {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
    padding: 42px 0 80px;
}

.dashboard-header {
    margin-bottom: 34px;
}

.dashboard-header h1 {
    margin: 0 0 7px;
    font-size: clamp(30px, 5vw, 44px);
    letter-spacing: -1.5px;
}

.dashboard-header p {
    margin: 0;
    color: var(--muted);
}

.panel-card {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(25, 31, 23, .93), rgba(17, 21, 16, .97));
}

.orders {
    width: 100%;
    border-collapse: collapse;
}

.orders th,
.orders td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.orders th {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 900;
}

.status-pending {
    color: #f8d86b;
    background: rgba(244, 196, 48, .10);
}

.status-paid {
    color: #acd3ff;
    background: rgba(98, 168, 255, .10);
}

.status-provisioned {
    color: #a9e9b0;
    background: rgba(97, 196, 110, .10);
}

.server-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 12px;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 19px;
    background: #10140f;
}

.server-name {
    margin-bottom: 6px;
    font-weight: 900;
}

.server-meta {
    color: var(--muted);
    font-size: 14px;
}

.empty {
    padding: 20px 0;
    color: var(--muted);
}

@media (max-width: 860px) {
    .plans,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 78px;
    }

    .hero h1 {
        letter-spacing: -2.2px;
    }

    .block-stage {
        min-height: 150px;
    }

    .server-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .hide-mobile {
        display: none;
    }

    .brand-text span {
        display: none;
    }

    .nav-inner {
        width: min(100% - 22px, 1180px);
    }

    .hero,
    .section,
    .dashboard,
    .footer {
        width: min(100% - 24px, 1180px);
    }

    .auth-card {
        padding: 28px 22px;
    }

    .hero-actions .btn {
        width: 100%;
    }
}


/* Admin */
.admin-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 80px;
}

.admin-login-wrap {
    min-height: calc(100vh - 150px);
    display: grid;
    place-items: center;
}

.admin-login-card {
    width: 100%;
    max-width: 470px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 34px;
    background:
        linear-gradient(180deg, rgba(28, 35, 26, .97), rgba(18, 22, 17, .98));
    box-shadow: var(--shadow);
}

.admin-login-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--polenta) 0 20px,
            var(--grass) 20px 40px
        );
}

.admin-login-card h1 {
    margin: 18px 0 8px;
    font-size: 32px;
    letter-spacing: -1.2px;
}

.admin-login-card p {
    margin: 0 0 26px;
    color: var(--muted);
    line-height: 1.6;
}

.admin-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.admin-title h1 {
    margin: 0 0 6px;
    font-size: clamp(32px, 5vw, 46px);
    letter-spacing: -1.6px;
}

.admin-title p {
    margin: 0;
    color: var(--muted);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.stat-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(26, 32, 24, .94), rgba(17, 21, 16, .97));
}

.stat-card .stat-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.stat-card .stat-value {
    margin-top: 8px;
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -1px;
}

.stat-card .stat-value.polenta {
    color: var(--polenta);
}

.stat-card .stat-value.green {
    color: #a9e9b0;
}

.admin-table-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(25, 31, 23, .93), rgba(17, 21, 16, .97));
}

.admin-table-head {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-table-head h2 {
    margin: 0;
    font-size: 20px;
}

.admin-table-head span {
    color: var(--muted);
    font-size: 13px;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-danger {
    background: rgba(239, 90, 90, .09);
    border-color: rgba(239, 90, 90, .22);
    color: #ffb4b4;
}

.btn-danger:hover {
    background: rgba(239, 90, 90, .14);
}

.admin-order-id {
    font-weight: 900;
    color: var(--polenta);
}

.admin-customer strong {
    display: block;
}

.admin-customer span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 900px) {
    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-topbar {
        flex-direction: column;
    }
}

@media (max-width: 540px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-shell {
        width: min(100% - 24px, 1240px);
    }

    .admin-table-head {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* MFA / Security */
.mfa-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: center;
}

.mfa-qr-wrap {
    display: grid;
    place-items: center;
    padding: 16px;
    border-radius: 14px;
    background: #ffffff;
}

.mfa-qr {
    width: 100%;
    max-width: 210px;
    height: auto;
    display: block;
    image-rendering: pixelated;
}

.recovery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.recovery-code {
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 12px;
    background: #0f130e;
    color: var(--polenta);
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 800;
    letter-spacing: 1px;
}

@media (max-width: 700px) {
    .mfa-grid {
        grid-template-columns: 1fr;
    }

    .recovery-grid {
        grid-template-columns: 1fr;
    }
}


/* Admin order lifecycle */
.btn-small {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12px;
    white-space: nowrap;
}

.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 160px;
}

.archive-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.archive-toggle input {
    accent-color: var(--polenta);
}

.archived-row {
    opacity: .56;
}

.mini-tag {
    display: inline-flex;
    margin-left: 7px;
    padding: 3px 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .4px;
    vertical-align: middle;
}

.status-cancelled {
    color: #c9c9c9;
    background: rgba(180, 180, 180, .08);
}

.status-terminated {
    color: #ffb4b4;
    background: rgba(239, 90, 90, .10);
}


/* Checkout */
.checkout-shell {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0 90px;
}

.checkout-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.checkout-heading h1 {
    margin: 18px 0 10px;
    font-size: clamp(34px, 6vw, 52px);
    letter-spacing: -2px;
}

.checkout-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 20px;
    align-items: start;
}

.checkout-card,
.checkout-summary-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(27, 34, 25, .96), rgba(17, 21, 16, .98));
    box-shadow: var(--shadow);
}

.checkout-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.checkout-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--polenta) 0 22px,
            var(--grass) 22px 44px
        );
}

.checkout-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.checkout-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.checkout-card h2 {
    margin: 6px 0 0;
    font-size: 34px;
    letter-spacing: -1.3px;
}

.checkout-popular {
    position: static;
}

.checkout-price {
    margin: 28px 0;
    font-size: 46px;
    font-weight: 950;
    letter-spacing: -2px;
}

.checkout-price small {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
}

.checkout-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.checkout-spec {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    background: rgba(10, 13, 9, .5);
}

.checkout-spec span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
}

.checkout-spec strong {
    font-size: 18px;
}

.checkout-features {
    display: grid;
    gap: 10px;
    color: #dce3d7;
}

.checkout-features div::first-letter {
    color: var(--polenta);
}

.checkout-summary {
    position: sticky;
    top: 96px;
}

.checkout-summary-card {
    padding: 26px;
}

.checkout-summary-card .section-title h2 {
    font-size: 28px;
}

.summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}

.summary-row span {
    color: var(--muted);
    font-size: 13px;
}

.summary-row strong {
    max-width: 60%;
    text-align: right;
    font-size: 14px;
}

.summary-email strong {
    overflow-wrap: anywhere;
}

.summary-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
}

.summary-total span,
.summary-total small {
    display: block;
}

.summary-total span {
    font-weight: 900;
}

.summary-total small {
    margin-top: 4px;
    color: var(--muted);
}

.summary-total > strong {
    color: var(--polenta);
    font-size: 28px;
    letter-spacing: -1px;
}

.checkout-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.checkout-message {
    margin-top: 20px;
}

@media (max-width: 820px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 560px) {
    .checkout-shell {
        width: min(100% - 24px, 1100px);
    }

    .checkout-card {
        padding: 24px 20px;
    }

    .checkout-specs {
        grid-template-columns: 1fr;
    }

    .checkout-card-head {
        flex-direction: column;
    }
}


/* Customer dashboard v1 */
.dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.dashboard-hero h1 {
    margin: 18px 0 8px;
    font-size: clamp(36px, 6vw, 54px);
    letter-spacing: -2px;
}

.dashboard-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.dashboard-cta {
    flex-shrink: 0;
}

.client-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.security-state {
    color: var(--polenta);
    font-size: 21px !important;
}

.dashboard-section {
    margin-bottom: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(25, 31, 23, .93), rgba(17, 21, 16, .97));
}

.dashboard-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.dashboard-section-head h2 {
    margin: 6px 0 5px;
    font-size: 27px;
    letter-spacing: -1px;
}

.dashboard-section-head p {
    margin: 0;
    color: var(--muted);
}

.server-list {
    display: grid;
    gap: 12px;
}

.server-card-premium {
    margin-top: 0;
}

.server-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.server-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.server-cube,
.empty-block {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    border: 1px solid rgba(244, 196, 48, .28);
    color: #1b1603;
    background:
        linear-gradient(135deg, #ffe26f, var(--polenta) 58%, #d69708);
    font-weight: 950;
}

.empty-state {
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px dashed var(--border-strong);
    border-radius: 14px;
    padding: 22px;
    background: rgba(10, 13, 9, .35);
}

.empty-state strong {
    display: block;
    margin-bottom: 4px;
}

.empty-state p {
    margin: 0 0 14px;
    color: var(--muted);
}

/* Dedicated plans page */
.plans-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0 90px;
}

.plans-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.plans-heading h1 {
    margin: 18px 0 10px;
    font-size: clamp(38px, 6vw, 58px);
    letter-spacing: -2.4px;
    line-height: 1.02;
}

.plans-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .client-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-hero,
    .dashboard-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-cta {
        width: 100%;
    }

    .server-card-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .server-card-actions .btn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .client-stats {
        grid-template-columns: 1fr;
    }

    .plans-shell {
        width: min(100% - 24px, 1180px);
        padding-top: 50px;
    }

    .empty-state {
        align-items: flex-start;
    }
}
