﻿@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Ruslan+Display&family=Inter:wght@400;500;600;700;800&family=Unbounded:wght@500;700;800&display=swap");


@font-face {
    font-family: "Kramola";
    src: url("/static/media/kramola.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
:root {
    --bg: #08111f;
    --bg-soft: #0f1b2d;
    --panel: rgba(14, 23, 38, 0.72);
    --panel-strong: rgba(18, 31, 48, 0.9);
    --panel-border: rgba(165, 214, 255, 0.12);
    --text: #f6fbff;
    --muted: #90a7bc;
    --muted-strong: #c5d6e5;
    --accent: #78f2f2;
    --accent-strong: #4cb8ff;
    --accent-soft: rgba(120, 242, 242, 0.12);
    --purple: #8c7cff;
    --danger: #ff6e7d;
    --danger-strong: #ff475f;
    --ok: #4ee2a0;
    --shadow: 0 30px 90px rgba(0, 6, 17, 0.45);
    --radius-xl: 36px;
    --radius-lg: 28px;
    --radius-md: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 15%, rgba(120, 242, 242, 0.18), transparent 24%),
        radial-gradient(circle at 85% 12%, rgba(140, 124, 255, 0.22), transparent 28%),
        radial-gradient(circle at 50% 100%, rgba(76, 184, 255, 0.15), transparent 30%),
        linear-gradient(180deg, #08111f 0%, #0b1323 40%, #0e1628 100%);
    font-family: "Inter", "Segoe UI Variable Display", sans-serif;
}

.login-body,
.dashboard-body {
    min-height: 100vh;
}

.login-shell,
.dashboard-shell,
.orbital-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.orbital-shell {
    padding: 28px 0 56px;
    max-width: 1380px;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.login-card,
.card,
.orbital-panel,
.metric-card,
.status-orb {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.login-card {
    width: min(500px, 100%);
    padding: 40px;
    border-radius: 32px;
}

.register-card {
    width: min(1120px, 100%);
    padding: clamp(24px, 4vw, 46px);
    display: grid;
    grid-template-columns: minmax(440px, 1fr) minmax(320px, 420px);
    gap: clamp(34px, 5vw, 64px);
    align-items: stretch;
}

.login-card h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.02;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.register-card h1 {
    margin-top: 8px;
    font-size: clamp(3.15rem, 4.6vw, 4.85rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    max-width: 8.5ch;
    text-wrap: balance;
    overflow-wrap: normal;
}

.register-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-lead {
    max-width: 620px;
    margin-top: 12px;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.28;
}

.register-card .register-actions {
    margin-top: 20px;
}

.register-card .divider-line {
    display: none;
}

.register-card .compact-title {
    max-width: 100%;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.register-bootstrap {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 14px;
    padding: clamp(22px, 3vw, 32px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(120, 242, 242, 0.12), transparent 32%),
        rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(126, 247, 239, 0.12);
}

.register-bootstrap .muted {
    font-size: 1rem;
    line-height: 1.42;
}

.register-bootstrap .login-form {
    margin-top: 4px;
}

.register-card .auth-list {
    font-size: 1rem;
    line-height: 1.35;
}

.eyebrow,
.panel-tag,
.orbital-kicker,
.metric-label {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
    color: var(--accent);
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(3.2rem, 5.4vw, 5.8rem);
    line-height: 0.92;
    max-width: 12.8ch;
    text-wrap: balance;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    line-height: 1.05;
}

p {
    margin: 0;
}

.muted {
    color: var(--muted);
}

.hero-lead {
    max-width: 700px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted-strong);
}

.hero-tagline {
    margin-top: 18px;
    color: #aeefff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1;
    opacity: 0.92;
}

.login-form,
.client-form {
    display: grid;
    gap: 16px;
}

.divider-line {
    height: 1px;
    margin: 8px 0 2px;
    background: rgba(126, 247, 239, 0.14);
}

.compact-title {
    margin: 0 0 8px;
    font-size: 1.35rem;
    line-height: 1.2;
}

.auth-list {
    margin: 0;
    padding-left: 18px;
}

.auth-helper-links {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.bootstrap-code-box {
    display: grid;
    gap: 10px;
    margin: 12px 0;
    padding: 16px;
    border-radius: 18px;
    background: rgba(15, 24, 37, 0.9);
    border: 1px solid rgba(126, 247, 239, 0.14);
}

.bootstrap-code-box span {
    color: #7ef7ef;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.bootstrap-code-box code {
    color: var(--text);
    word-break: break-all;
    white-space: pre-wrap;
    font-size: 0.9rem;
    line-height: 1.5;
}

.client-help {
    margin: 16px 0;
}

.client-help summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid var(--planb-line-strong, rgba(255, 255, 255, 0.28));
    border-radius: 2px;
    color: var(--planb-ink, var(--text));
    background: rgba(255, 255, 255, 0.04);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.client-help summary::-webkit-details-marker {
    display: none;
}

.client-help-body {
    display: grid;
    gap: 16px;
    margin-top: 14px;
    color: var(--muted-strong);
}

.client-help-body ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 22px;
}

.instruction-shot {
    display: grid;
    gap: 12px;
    max-width: 320px;
    padding: 18px;
    border: 1px solid var(--planb-line, rgba(255, 255, 255, 0.16));
    background: rgba(0, 0, 0, 0.34);
}

.shot-top {
    color: var(--planb-ink, var(--text));
    font-family: "Cormorant Garamond", Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1.35rem;
}

.shot-plus {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    justify-self: end;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    color: var(--planb-ink, var(--text));
    font-size: 1.4rem;
}

.shot-row {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--planb-ink, var(--text));
    background: rgba(255, 255, 255, 0.04);
}

.muted-row {
    color: var(--muted);
}

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

.login-form label,
.client-form label,
.platform-picker,
.device-picker {
    display: grid;
    gap: 8px;
    font-size: 14px;
    color: var(--muted-strong);
}

input,
select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

select option {
    color: #111827;
    background: #ffffff;
}

input::placeholder {
    color: rgba(198, 216, 231, 0.42);
}

button,
.button-link,
.ghost-link,
.store-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

button:hover,
.button-link:hover,
.ghost-link:hover,
.store-link:hover {
    transform: translateY(-1px);
}

button,
.button-link {
    color: #04111a;
    background: linear-gradient(135deg, var(--accent) 0%, #9fffd8 100%);
    box-shadow: 0 12px 30px rgba(120, 242, 242, 0.24);
}

.ghost-button,
.ghost-link,
.store-link {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.ghost-link.bright {
    background: rgba(120, 242, 242, 0.08);
    border-color: rgba(120, 242, 242, 0.18);
}

.danger-button {
    color: white;
    background: linear-gradient(135deg, var(--danger), var(--danger-strong));
    box-shadow: 0 12px 24px rgba(255, 71, 95, 0.24);
}

.error-box,
.error-text {
    color: var(--danger);
}

.download-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.download-link:hover {
    text-decoration: underline;
}

.action-link {
    font-size: 16px;
}

.hidden {
    display: none;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.45;
}

.mono-cell {
    font-family: Consolas, "SFMono-Regular", monospace;
    word-break: break-all;
}

.dashboard-orbital::before,
.dashboard-orbital::after {
    content: "";
    position: fixed;
    z-index: -1;
    inset: auto;
    width: 38vw;
    height: 38vw;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.22;
}

.dashboard-orbital::before {
    top: -8vw;
    right: -4vw;
    background: radial-gradient(circle, rgba(120, 242, 242, 0.9) 0%, rgba(120, 242, 242, 0) 70%);
}

.dashboard-orbital::after {
    bottom: -12vw;
    left: -10vw;
    background: radial-gradient(circle, rgba(140, 124, 255, 0.85) 0%, rgba(140, 124, 255, 0) 70%);
}

.orbital-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(420px, 0.72fr);
    gap: 30px;
    align-items: start;
}

.orbital-hero-copy,
.orbital-hero-side {
    min-width: 0;
}

.orbital-hero-copy {
    padding: 20px 0 8px;
    max-width: 860px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.orbital-hero-side {
    display: grid;
    gap: 12px;
    min-width: 420px;
}

.status-orb {
    position: relative;
    overflow: hidden;
    padding: 26px 26px 30px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top left, rgba(120, 242, 242, 0.22), transparent 32%),
        radial-gradient(circle at bottom right, rgba(140, 124, 255, 0.18), transparent 34%),
        rgba(15, 27, 45, 0.88);
}

.status-orb-top {
    display: grid;
    gap: 12px;
    align-items: start;
}

.status-orb-top > div {
    min-width: 0;
}

.status-orb strong {
    display: block;
    margin-top: 14px;
    font-size: clamp(18px, 1.32vw, 23px);
    line-height: 1.08;
    max-width: none;
    overflow-wrap: anywhere;
    padding-right: 0;
}

.status-orb p {
    margin-top: 8px;
    color: var(--muted-strong);
}

.signal-bars {
    display: flex;
    gap: 10px;
    align-items: end;
    margin-top: 22px;
}

.signal-bars span {
    width: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(120, 242, 242, 0.95), rgba(76, 184, 255, 0.28));
}

.signal-bars span:nth-child(1) { height: 24px; }
.signal-bars span:nth-child(2) { height: 38px; }
.signal-bars span:nth-child(3) { height: 56px; }
.signal-bars span:nth-child(4) { height: 72px; }

.hero-logout {
    display: inline-flex;
    margin-top: 18px;
}

.hero-logout .ghost-button {
    min-width: auto;
    padding: 12px 18px;
    white-space: nowrap;
}

.orbital-banner {
    margin-top: 18px;
}

.orbital-flash {
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(120, 242, 242, 0.16), rgba(76, 184, 255, 0.08));
}

.flash-text {
    margin-top: 6px;
    color: var(--text);
}

.orbital-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.metric-card {
    padding: 22px;
    border-radius: var(--radius-lg);
}

.metric-card strong {
    display: block;
    margin-top: 12px;
    font-size: 30px;
    line-height: 1;
}

.metric-card p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.5;
}

.traffic-panel {
    display: grid;
    gap: 18px;
    margin-top: 16px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 53, 64, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.traffic-panel-main,
.traffic-breakdown,
.traffic-device-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.traffic-panel-main h2 {
    margin-top: 8px;
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: 0.95;
}

.traffic-total {
    display: grid;
    justify-items: end;
    gap: 6px;
    min-width: 120px;
}

.traffic-total span {
    color: var(--accent);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

.traffic-total small,
.traffic-breakdown span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.traffic-bar {
    position: relative;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.traffic-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #ff3540);
    box-shadow: 0 0 24px rgba(255, 53, 64, 0.24);
}

.traffic-breakdown {
    align-items: stretch;
}

.traffic-breakdown > div {
    flex: 1;
    min-width: 0;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.traffic-breakdown strong {
    display: block;
    margin-top: 8px;
    font-size: 22px;
}

.traffic-warning {
    color: var(--danger);
}

.traffic-device-list {
    display: grid;
    gap: 10px;
}

.traffic-device-row {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.055);
}

.traffic-device-row strong {
    display: block;
}

.traffic-device-row p {
    margin-top: 5px;
}

.traffic-device-meter {
    display: grid;
    gap: 8px;
    min-width: min(240px, 38vw);
    text-align: right;
}

.traffic-device-meter > span {
    color: var(--text);
    font-weight: 800;
}

.traffic-bar.mini {
    height: 8px;
}

.orbital-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.72fr);
    gap: 16px;
    margin-top: 16px;
}

.orbital-panel {
    position: relative;
    padding: 24px;
    border-radius: var(--radius-xl);
}

.panel-topline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

.summary-panel h2 {
    max-width: 15ch;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.summary-item {
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

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

.summary-item strong {
    display: block;
    margin-top: 8px;
    font-size: 20px;
    line-height: 1.1;
}

.billing-panel h3 {
    margin-top: 10px;
}

.billing-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.billing-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.billing-row strong {
    display: block;
}

.billing-row p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.billing-meta {
    display: grid;
    gap: 8px;
    justify-items: end;
    text-align: right;
}

.billing-status {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(120, 242, 242, 0.1);
    color: var(--accent);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.billing-shell {
    display: grid;
    gap: 18px;
}

.billing-hero {
    align-items: stretch;
}

.billing-status-orb strong {
    padding-right: 0;
}

.billing-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 16px;
}

.billing-note-panel,
.billing-current-panel,
.billing-history-panel,
.billing-plan-card {
    background: rgba(255, 255, 255, 0.03);
}

.billing-note-panel,
.billing-current-panel,
.billing-history-panel {
    min-height: 100%;
}

.billing-summary-grid {
    margin-top: 20px;
}

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

.billing-plan-card {
    display: grid;
    gap: 22px;
    min-height: 100%;
}

.billing-plan-card.is-current {
    border-color: rgba(120, 242, 242, 0.28);
    box-shadow: 0 18px 44px rgba(120, 242, 242, 0.12);
}

.billing-plan-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
}

.billing-price-line {
    display: grid;
    gap: 8px;
}

.billing-price-line strong {
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.billing-price-line span {
    color: var(--muted-strong);
    font-size: 15px;
}

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

.billing-feature-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.billing-feature-item p {
    color: var(--muted-strong);
    line-height: 1.45;
}

.billing-plan-form {
    margin-top: auto;
}

.billing-plan-form button {
    width: 100%;
}

.billing-history-section {
    display: grid;
}

.billing-history-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.billing-history-row {
    align-items: center;
}

.orbital-install {
    margin-top: 16px;
    padding: 26px;
    border-radius: 42px;
    background:
        linear-gradient(180deg, rgba(10, 19, 33, 0.9), rgba(12, 22, 36, 0.92)),
        rgba(10, 19, 33, 0.86);
    border: 1px solid rgba(165, 214, 255, 0.09);
    box-shadow: var(--shadow);
}

.install-intro {
    display: block;
    margin-bottom: 22px;
}

.install-intro h2 {
    margin-top: 10px;
    max-width: 16ch;
}

.install-intro .muted {
    margin-top: 12px;
    max-width: 720px;
}

.orbital-install-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
    gap: 16px;
}

.orbital-stack {
    display: grid;
    gap: 16px;
}

.soft-panel {
    background: rgba(255, 255, 255, 0.03);
}

.combined-panel {
    display: grid;
    gap: 20px;
}

.combined-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
}

.top-platform-picker {
    min-width: 220px;
}

.install-app-tabs {
    gap: 10px;
}

.install-app-tabs .app-tab {
    position: relative;
    min-height: 74px;
    min-width: 168px;
    justify-content: flex-start;
    padding-inline: 24px;
    border-radius: 18px;
    overflow: hidden;
}

.install-app-tabs .app-tab::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: transparent;
}

.install-app-tabs .app-tab.active::after {
    background: linear-gradient(180deg, var(--accent), #4cb8ff);
}

.install-reference-layout {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.install-rail {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 34px;
    padding-top: 8px;
}

.install-rail-line {
    position: absolute;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, rgba(120, 242, 242, 0.9), rgba(120, 242, 242, 0.18));
}

.install-rail-dot {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(20, 37, 57, 0.95);
    border: 1px solid rgba(120, 242, 242, 0.5);
    color: var(--accent);
    font-weight: 800;
}

.install-reference-steps {
    display: grid;
    gap: 28px;
}

.install-step-block {
    display: grid;
    gap: 16px;
}

.inlined-action-core {
    margin-top: 0;
}

.combined-flow-block {
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.combined-guide-block {
    padding-top: 8px;
}

.subsection-head {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.subsection-head h4 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.step-head {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}

.step-badge {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    color: #04111a;
    font-weight: 700;
    font-size: 18px;
    background: linear-gradient(135deg, var(--accent), #b6fff4);
    box-shadow: 0 16px 30px rgba(120, 242, 242, 0.18);
}

.orbital-form {
    margin-top: 6px;
}

.device-picker-orbital {
    margin-top: 18px;
}

.orbital-tabs {
    margin-top: 6px;
}

.app-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.app-tab {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-tab.active {
    color: #04111a;
    background: linear-gradient(135deg, var(--accent), #c1fff2);
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(120, 242, 242, 0.18);
}

.orbital-stores,
.orbital-cta,
.store-links,
.cta-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.orbital-stores {
    margin-top: 16px;
}

.store-link {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.orbital-device-stack {
    display: grid;
    gap: 12px;
}

.orbital-device-card {
    padding: 18px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.device-card-head strong {
    font-size: 20px;
}

.device-uuid {
    margin: 14px 0 16px;
    font-size: 13px;
    color: var(--muted-strong);
}

.orbital-links {
    gap: 8px;
}

.action-panel {
    min-height: 286px;
    background:
        radial-gradient(circle at top right, rgba(120, 242, 242, 0.14), transparent 26%),
        radial-gradient(circle at bottom left, rgba(140, 124, 255, 0.12), transparent 24%),
        rgba(255, 255, 255, 0.03);
}

.mini-guide-list {
    display: grid;
    gap: 16px;
}

.mini-guide-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: start;
}

.mini-guide-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #b6fff4);
    color: #04111a;
    font-weight: 800;
}

.mini-guide-item strong {
    display: block;
    font-size: 1rem;
}

.mini-guide-item p {
    margin-top: 8px;
    color: var(--muted-strong);
    line-height: 1.55;
}

.compact-guide .mini-guide-item {
    grid-template-columns: 40px 1fr;
}

.compact-guide .mini-guide-dot {
    width: 40px;
    height: 40px;
    font-size: 14px;
}

.action-core {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.large-cta {
    min-height: 58px;
    font-size: 17px;
}

.issued-links-panel {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(120, 242, 242, 0.12);
}

.issued-link-item {
    display: grid;
    gap: 8px;
}

.issued-link-item > span {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.issued-link-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.issued-link-text {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow-wrap: anywhere;
    white-space: normal;
}

.small-ghost {
    min-width: 112px;
    padding: 12px 16px;
    font-size: 14px;
}

.guide-panel {
    position: relative;
    display: grid;
    gap: 22px;
}

.timeline-line {
    position: absolute;
    left: 51px;
    top: 42px;
    bottom: 42px;
    width: 2px;
    background: linear-gradient(180deg, rgba(120, 242, 242, 0.5), rgba(120, 242, 242, 0));
}

.guide-step {
    position: relative;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 18px;
    align-items: start;
}

.guide-dot {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #04111a;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #b6fff4);
}

.guide-step p {
    margin-top: 10px;
    color: var(--muted-strong);
    line-height: 1.6;
}

.locked-panel {
    display: grid;
    gap: 14px;
    justify-items: start;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

@media (max-width: 1080px) {
    .orbital-hero,
    .orbital-grid,
    .orbital-install-grid,
    .billing-page-grid,
    .billing-plan-grid {
        grid-template-columns: 1fr;
    }

    .panel-topline {
        align-items: start;
        flex-direction: column;
    }

    .summary-grid,
    .orbital-metrics {
        grid-template-columns: 1fr;
    }

    .status-orb-top {
        flex-direction: column;
    }

}

@media (max-width: 760px) {
    .orbital-shell {
        width: min(100%, calc(100% - 20px));
        padding: 16px 0 40px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.9rem;
    }

    .client-form {
        grid-template-columns: 1fr;
    }

    .combined-panel-head,
    .install-reference-layout {
        grid-template-columns: 1fr;
        display: grid;
    }

    .install-rail {
        display: none;
    }

    .mini-guide-item,
    .compact-guide .mini-guide-item {
        grid-template-columns: 1fr;
    }

    .orbital-panel,
    .metric-card,
    .status-orb,
    .orbital-install {
        padding: 20px;
        border-radius: 24px;
    }

    .step-head {
        grid-template-columns: 58px 1fr;
    }

    .step-badge {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }

    .guide-step {
        grid-template-columns: 60px 1fr;
    }

    .timeline-line {
        left: 44px;
    }

    .device-card-head,
    .billing-row,
    .traffic-panel-main,
    .traffic-device-row {
        flex-direction: column;
        align-items: stretch;
    }

    .billing-meta,
    .traffic-total,
    .traffic-device-meter {
        justify-items: start;
        text-align: left;
        min-width: 0;
    }

    .traffic-breakdown {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .orbital-stores,
    .orbital-cta {
        flex-direction: column;
        align-items: stretch;
    }

    button,
    .button-link,
    .ghost-link,
    .store-link {
        width: 100%;
    }
}

@media (min-width: 1440px) {
    .orbital-shell,
    .billing-shell,
    .dashboard-shell {
        width: min(1420px, calc(100% - 72px));
    }

    .orbital-hero {
        grid-template-columns: minmax(620px, 1.45fr) minmax(460px, 0.78fr);
    }

    .orbital-install-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.78fr);
    }
}

@media (max-width: 1280px) {
    .orbital-shell,
    .billing-shell,
    .dashboard-shell,
    .login-shell {
        width: min(1180px, calc(100% - 40px));
    }

    .orbital-hero {
        grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
        gap: 22px;
    }

    .orbital-hero-side {
        min-width: 0;
    }

    .status-orb strong {
        font-size: clamp(17px, 1.6vw, 21px);
    }

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

    .install-app-tabs .app-tab {
        min-width: 148px;
    }
}

@media (max-width: 1024px) {
    body {
        background:
            radial-gradient(circle at 20% 6%, rgba(120, 242, 242, 0.14), transparent 28%),
            radial-gradient(circle at 90% 0%, rgba(140, 124, 255, 0.18), transparent 32%),
            linear-gradient(180deg, #08111f 0%, #0b1323 48%, #0e1628 100%);
    }

    .orbital-shell,
    .billing-shell,
    .dashboard-shell {
        width: min(100% - 28px, 920px);
        padding-left: 0;
        padding-right: 0;
    }

    .orbital-hero,
    .orbital-grid,
    .orbital-install-grid,
    .billing-page-grid {
        grid-template-columns: 1fr;
    }

    .orbital-hero-copy {
        max-width: 760px;
    }

    .status-orb {
        min-height: 0;
    }

    .summary-panel h2,
    .install-intro h2 {
        max-width: 100%;
    }

    .orbital-metrics,
    .summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .combined-panel-head {
        display: grid;
        grid-template-columns: 1fr minmax(220px, 280px);
    }

    .top-platform-picker {
        min-width: 0;
    }

    .install-reference-layout {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .billing-hero {
        grid-template-columns: 1fr;
    }

    .billing-note-panel,
    .billing-current-panel,
    .billing-history-panel,
    .billing-plan-card,
    .orbital-panel,
    .metric-card,
    .status-orb {
        overflow: hidden;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 820px) {
    h1 {
        font-size: clamp(2.8rem, 12vw, 4.8rem);
        max-width: 10ch;
    }

    h2 {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .orbital-metrics,
    .summary-grid,
    .billing-plan-grid {
        grid-template-columns: 1fr;
    }

    .combined-panel-head {
        grid-template-columns: 1fr;
    }

    .install-app-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .install-app-tabs .app-tab {
        width: 100%;
        min-width: 0;
        min-height: 64px;
        padding-inline: 18px;
    }

    .issued-link-row {
        grid-template-columns: 1fr;
    }

    .small-ghost {
        width: 100%;
    }

    .billing-plan-head,
    .panel-topline {
        display: grid;
        justify-items: start;
    }

    .billing-history-row,
    .billing-row {
        display: grid;
        justify-items: start;
        text-align: left;
    }

    .billing-meta {
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 640px) {
    :root {
        --radius-xl: 26px;
        --radius-lg: 22px;
        --radius-md: 18px;
    }

    .login-shell,
    .dashboard-shell,
    .orbital-shell,
    .billing-shell {
        width: min(100% - 18px, 100%);
    }

    .login-shell {
        padding: 14px 0;
        place-items: stretch;
        align-content: center;
    }

    .login-card {
        width: 100%;
        padding: 24px;
        border-radius: 26px;
    }

    .login-card h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.04;
    }

    .orbital-shell {
        padding: 14px 0 34px;
    }

    .orbital-hero {
        gap: 14px;
    }

    .orbital-hero-copy {
        padding-top: 10px;
    }

    .hero-tagline {
        margin-top: 12px;
        font-size: 11px;
        line-height: 1.35;
    }

    .hero-actions {
        display: grid;
        gap: 10px;
    }

    .status-orb {
        padding: 20px;
        border-radius: 26px;
    }

    .status-orb strong {
        font-size: 18px;
        line-height: 1.18;
    }

    .signal-bars span {
        width: 14px;
    }

    .orbital-panel,
    .metric-card,
    .orbital-install {
        padding: 18px;
        border-radius: 24px;
    }

    .orbital-install {
        margin-left: -2px;
        margin-right: -2px;
    }

    .install-intro {
        margin-bottom: 16px;
    }

    .install-reference-layout {
        display: block;
    }

    .install-rail {
        display: none;
    }

    .install-reference-steps {
        gap: 22px;
    }

    .subsection-head {
        margin-bottom: 10px;
    }

    .install-app-tabs {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .install-app-tabs .app-tab {
        min-height: 56px;
    }

    .orbital-stores,
    .store-links,
    .cta-stack,
    .orbital-cta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .device-card-head {
        display: grid;
        gap: 12px;
    }

    .device-card-head form,
    .device-card-head button {
        width: 100%;
    }

    .device-uuid,
    .issued-link-text,
    .mono-cell {
        font-size: 11px;
        line-height: 1.5;
    }

    .step-head,
    .billing-feature-item,
    .mini-guide-item,
    .compact-guide .mini-guide-item {
        grid-template-columns: 1fr;
    }

    .step-badge,
    .mini-guide-dot,
    .guide-dot {
        width: 44px;
        height: 44px;
        border-radius: 16px;
    }

    .billing-price-line strong {
        font-size: 2rem;
    }

    .billing-history-row {
        gap: 12px;
    }

    input,
    select {
        min-height: 52px;
        font-size: 16px;
    }

    button,
    .button-link,
    .ghost-link,
    .store-link {
        min-height: 50px;
        padding: 13px 18px;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: clamp(2.35rem, 15vw, 3.25rem);
        line-height: 0.98;
    }

    .eyebrow,
    .panel-tag,
    .orbital-kicker,
    .metric-label {
        letter-spacing: 0.14em;
        font-size: 10px;
    }

    .login-card,
    .orbital-panel,
    .metric-card,
    .status-orb,
    .orbital-install {
        padding: 16px;
    }

    .login-card h1 {
        font-size: clamp(1.85rem, 8vw, 2.35rem);
    }

    .status-orb strong,
    .device-card-head strong {
        font-size: 17px;
    }

    .metric-card strong {
        font-size: 24px;
    }

    .large-cta {
        min-height: 54px;
        font-size: 15px;
    }
}

@media (max-width: 760px) {
    .login-shell {
        width: min(100% - 20px, 100%);
        padding: 12px 0;
        min-height: 100svh;
    }

    .register-card {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 22px;
        padding: clamp(20px, 5vw, 28px);
        border-radius: 28px;
    }

    .register-card h1 {
        font-size: clamp(2.45rem, 11vw, 3.55rem);
        line-height: 1;
        letter-spacing: -0.055em;
        max-width: 9.5ch;
        text-wrap: balance;
    }

    .register-lead {
        font-size: 1rem;
        line-height: 1.35;
    }

    .register-card .register-actions {
        margin-top: 18px;
        gap: 12px;
    }

    .register-card .divider-line {
        display: block;
        margin: 0;
    }

    .register-bootstrap {
        padding: 0;
        border: 0;
        background: transparent;
        gap: 12px;
    }

    .register-card .compact-title {
        font-size: clamp(1.25rem, 6vw, 1.65rem);
    }

    .register-card .auth-list {
        font-size: 1rem;
    }
}

@media (max-width: 520px) {
    .register-card {
        padding: 20px;
        gap: 20px;
    }

    .register-card h1 {
        font-size: clamp(2.1rem, 10vw, 2.8rem);
        line-height: 1.02;
        letter-spacing: -0.05em;
    }

    .register-lead,
    .register-bootstrap .muted,
    .register-card .auth-list {
        font-size: 0.95rem;
        line-height: 1.38;
    }

    .register-card .button-link,
    .register-card .ghost-link,
    .register-card .ghost-button {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 0.95rem;
        text-align: center;
    }
}

.admin-body {
    background:
        radial-gradient(circle at 8% 0%, rgba(120, 242, 242, 0.18), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(76, 184, 255, 0.22), transparent 28%),
        linear-gradient(135deg, #07111d 0%, #0a1424 48%, #111a34 100%);
}

.admin-shell {
    width: min(1480px, calc(100% - 36px));
    padding: 22px 0 54px;
}

.admin-topbar,
.admin-hero,
.admin-card,
.admin-body .card,
.server-metric-card {
    border: 1px solid rgba(126, 247, 239, 0.13);
    background:
        linear-gradient(145deg, rgba(16, 29, 47, 0.86), rgba(10, 17, 31, 0.92)),
        rgba(255, 255, 255, 0.03);
    box-shadow: 0 24px 80px rgba(0, 6, 17, 0.35);
    backdrop-filter: blur(20px);
}

.admin-topbar {
    position: sticky;
    top: 12px;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(210px, auto) 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border-radius: 28px;
}

.admin-brand {
    display: grid;
    gap: 3px;
    padding: 8px 12px;
    color: var(--text);
    text-decoration: none;
}

.admin-brand span {
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 0.22em;
}

.admin-brand strong {
    font-size: 15px;
    letter-spacing: -0.02em;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.admin-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted-strong);
    text-decoration: none;
    border: 1px solid transparent;
}

.admin-nav a.active,
.admin-nav a:hover {
    color: #06111a;
    background: linear-gradient(135deg, var(--accent), #a5ffd8);
}

.admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    margin-top: 18px;
    padding: clamp(26px, 4vw, 46px);
    border-radius: 38px;
    overflow: hidden;
}

.admin-hero.compact {
    align-items: center;
}

.admin-hero h1 {
    max-width: 14ch;
    margin-top: 8px;
}

.admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.client-count-card {
    min-width: 220px;
    padding: 20px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(126, 247, 239, 0.13);
}

.client-count-card span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.client-count-card strong {
    display: block;
    margin-top: 10px;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
}

.client-count-card p {
    margin-top: 8px;
    color: var(--muted);
}

.client-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: end;
}

.client-search-form label {
    display: grid;
    gap: 8px;
    color: var(--muted-strong);
}

.admin-body .grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.admin-body .card,
.admin-card {
    padding: clamp(20px, 2vw, 28px);
    border-radius: 28px;
    min-width: 0;
    overflow: hidden;
}

.admin-body .card {
    grid-column: span 4;
}

.admin-body .card.wide {
    grid-column: 1 / -1;
}

.admin-body .status-card {
    grid-column: span 6;
}

.admin-body .card-title {
    margin-bottom: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    font-weight: 800;
}

.admin-body .stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-body .stats li,
.metric-tile,
.usage-tile {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
}

.admin-body .stats strong {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.admin-body .stats span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.usage-tile {
    display: grid;
    gap: 8px;
}

.usage-tile span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.usage-tile strong {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
}

.usage-tile p {
    color: var(--muted);
    line-height: 1.35;
}

.usage-table {
    margin-top: 8px;
}

.admin-body .stack-list,
.admin-body .action-stack,
.admin-body .export-stack {
    display: grid;
    gap: 10px;
}

.admin-body table {
    border-collapse: separate;
    border-spacing: 0;
}

.admin-body th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.admin-body td,
.admin-body th {
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

.admin-body tr:hover td {
    background: rgba(120, 242, 242, 0.035);
}

.status-dot,
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ok);
    background: rgba(78, 226, 160, 0.12);
    border: 1px solid rgba(78, 226, 160, 0.18);
    font-weight: 700;
}

.status-error,
.status-failed,
.status-inactive {
    color: var(--danger);
    background: rgba(255, 110, 125, 0.12);
    border-color: rgba(255, 110, 125, 0.18);
}

.metrics-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.server-metric-card {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 2.5vw, 32px);
    border-radius: 34px;
}

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

.server-card-head h2 {
    margin-top: 8px;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.metric-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.metric-tile {
    display: grid;
    gap: 10px;
}

.metric-tile span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.metric-tile strong {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1;
}

.metric-tile small {
    color: var(--muted);
}

.meter {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.meter i {
    display: block;
    height: 100%;
    min-width: 3px;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #a5ffd8);
}

.metric-split {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.vpn-online-panel {
    display: grid;
    gap: 22px;
    margin-top: 16px;
}

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

.vpn-online-head h2 {
    margin-top: 8px;
    font-size: clamp(2rem, 4vw, 4.4rem);
    letter-spacing: -0.055em;
}

.vpn-online-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.vpn-online-summary .metric-tile,
.vpn-online-row {
    border: 1px solid rgba(126, 247, 239, 0.11);
    background: rgba(255, 255, 255, 0.035);
    border-radius: 22px;
}

.vpn-online-summary .metric-tile {
    padding: 18px;
}

.vpn-online-table {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.vpn-online-row {
    display: grid;
    grid-template-columns: minmax(190px, 1.25fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(70px, 0.45fr) minmax(130px, 0.8fr);
    gap: 14px;
    align-items: center;
    padding: 16px;
}

.vpn-online-row.head {
    min-height: 0;
    color: var(--muted);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.vpn-online-row span {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.vpn-online-row strong,
.vpn-online-row small,
.ip-chip {
    overflow-wrap: anywhere;
}

.vpn-online-row small {
    color: var(--muted);
}

.ip-chip {
    width: max-content;
    max-width: 100%;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--accent) !important;
    background: rgba(126, 247, 239, 0.08);
    border: 1px solid rgba(126, 247, 239, 0.12);
}

.vpn-online-empty {
    padding: 22px;
    border-radius: 22px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    border: 1px dashed rgba(126, 247, 239, 0.16);
}

.vpn-online-footnote {
    margin-top: 14px;
}

.config-box,
.details,
.share-link {
    max-height: 420px;
    overflow: auto;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.24);
}

@media (max-width: 1180px) {
    .admin-body .card,
    .admin-body .status-card {
        grid-column: span 6;
    }

    .metrics-board,
    .usage-grid,
    .vpn-online-summary,
    .metric-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vpn-online-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .admin-shell {
        width: min(100% - 18px, 100%);
        padding-top: 10px;
    }

    .admin-topbar,
    .admin-hero {
        grid-template-columns: 1fr;
    }

    .admin-nav {
        justify-content: flex-start;
    }

    .admin-hero-actions,
    .client-search-form,
    .server-card-head,
    .vpn-online-head {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .admin-body .card,
    .admin-body .status-card {
        grid-column: 1 / -1;
    }

    .metrics-board,
    .usage-grid,
    .vpn-online-summary,
    .vpn-online-row,
    .metric-tiles {
        grid-template-columns: 1fr;
    }

    .vpn-online-row.head {
        display: none;
    }
}

@media (max-width: 360px) {
    .login-shell {
        width: min(100% - 12px, 100%);
    }

    .register-card {
        padding: 16px;
        border-radius: 22px;
    }

    .register-card h1 {
        font-size: clamp(1.85rem, 9.5vw, 2.25rem);
    }

    .register-card .compact-title {
        font-size: 1.22rem;
    }
}

/* PLAN_B client theme */
.planb-client {
    --planb-bg: #020202;
    --planb-ink: #f5f2ec;
    --planb-ink-soft: rgba(245, 242, 236, 0.74);
    --planb-muted: rgba(245, 242, 236, 0.55);
    --planb-line: rgba(245, 242, 236, 0.17);
    --planb-line-strong: rgba(245, 242, 236, 0.38);
    --planb-panel: rgba(8, 8, 8, 0.72);
    --planb-panel-strong: rgba(16, 16, 16, 0.88);
    --planb-red: #ff2a1f;
    --bg: var(--planb-bg);
    --bg-soft: #080808;
    --panel: var(--planb-panel);
    --panel-strong: var(--planb-panel-strong);
    --panel-border: var(--planb-line);
    --text: var(--planb-ink);
    --muted: var(--planb-muted);
    --muted-strong: var(--planb-ink-soft);
    --accent: var(--planb-ink);
    --accent-strong: var(--planb-red);
    --accent-soft: rgba(255, 255, 255, 0.06);
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.68);
    background:
        radial-gradient(circle at 84% 40%, rgba(255, 255, 255, 0.08), transparent 26%),
        radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.045), transparent 28%),
        linear-gradient(180deg, #000 0%, #050505 48%, #020202 100%);
    color: var(--planb-ink);
    font-family: "Inter", "Segoe UI Variable Display", sans-serif;
    overflow-x: hidden;
}

.planb-client::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-size: 96px 96px;
    opacity: 0.35;
    mask-image: radial-gradient(circle at 50% 35%, #000, transparent 78%);
}

.planb-client::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.78) 100%);
}

.planb-shell {
    width: min(1520px, calc(100% - 72px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 54px 0 34px;
    display: grid;
    grid-template-rows: 112px 1fr auto;
}

.planb-mobile-cover,
.planb-mobile-reveal-bg,
.planb-mobile-menu-button,
.planb-mobile-start,
.planb-mobile-tabbar {
    display: none;
}

.planb-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 34px;
    min-height: 78px;
    position: relative;
    z-index: 4;
}

.planb-logo {
    display: inline-flex;
    align-items: center;
    color: #ff3a30;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4rem, 5.35vw, 6rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 0.045em;
    padding-left: 16px;
    border-left: 2px solid rgba(255, 58, 48, 0.78);
    text-decoration: none;
    text-shadow: 0 0 18px rgba(255, 42, 31, 0.46), 0 0 34px rgba(255, 42, 31, 0.22);
}

.planb-nav-links {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 5vw, 70px);
}

.planb-nav a,
.planb-nav-actions a {
    color: rgba(245, 242, 236, 0.72);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    font-weight: 600;
}

.planb-nav .planb-logo {
    font-size: clamp(4rem, 5.35vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: none;
}

.planb-nav a:hover,
.planb-nav-actions a:hover {
    color: var(--planb-ink);
}

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

.planb-login-link::before,
.planb-secondary-button::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 12px;
    border-radius: 50%;
    background: var(--planb-red);
    box-shadow: 0 0 16px rgba(255, 42, 31, 0.8);
    vertical-align: 1px;
}

.planb-outline-button,
.planb-primary-button,
.planb-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 32px;
    border-radius: 2px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    font-weight: 700;
}

.planb-outline-button,
.planb-secondary-button {
    color: var(--planb-ink);
    border: 1px solid var(--planb-line-strong);
    background: rgba(0, 0, 0, 0.24);
}

.planb-primary-button {
    color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: linear-gradient(180deg, #fff, #dfdfdf);
    box-shadow: 0 20px 46px rgba(255, 255, 255, 0.1);
}

.planb-primary-button::before {
    content: "+";
    margin-right: 16px;
    font-size: 18px;
}

.planb-hero {
    position: relative;
    min-height: max(760px, calc(100vh - 112px));
    min-height: max(760px, calc(100svh - 112px));
    display: grid;
    grid-template-columns: minmax(440px, 0.78fr) minmax(640px, 1.22fr);
    align-items: center;
    gap: clamp(42px, 5vw, 96px);
    isolation: isolate;
}

.planb-hero::before {
    content: "";
    position: absolute;
    inset: 0 -1% 0 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 28%, rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.44) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.02) 58%, #020202 100%),
        url("/static/media/planb-hero-angel.jpg") center right / contain no-repeat;
    filter: grayscale(1) contrast(1.08);
}

.planb-hero::after {
    content: "";
    position: absolute;
    inset: 13% 5% 5% 42%;
    z-index: -1;
    border: 1px solid rgba(245, 242, 236, 0.12);
    border-radius: 50%;
    opacity: 0.55;
}

.planb-hero-copy {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    padding: 0 0 42px;
    min-width: 0;
    max-width: 530px;
}

.planb-kicker {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 38px;
    color: rgba(245, 242, 236, 0.78);
    font-family: "Cormorant Garamond", Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 19px;
}

.planb-kicker span {
    color: var(--planb-ink);
    font-size: 34px;
}

.planb-bottom-slogan h1 {
    max-width: none;
    color: var(--planb-ink);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3.8rem, 3.7vw, 4.65rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
}

.planb-bottom-slogan h1 span {
    display: block;
    white-space: nowrap;
}

.planb-bottom-slogan h1 span:first-child {
    width: auto;
    transform: none;
    transform-origin: left center;
}

.planb-lead {
    max-width: 500px;
    margin: 30px 0 0;
    color: rgba(245, 242, 236, 0.78);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.7rem, 2.05vw, 2.25rem);
    line-height: 1.12;
    overflow-wrap: normal;
}

.planb-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.planb-note {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
    color: rgba(245, 242, 236, 0.6);
}

.planb-note span {
    color: var(--planb-red);
    font-size: 34px;
    text-shadow: 0 0 18px rgba(255, 42, 31, 0.9);
}

.planb-note strong {
    color: rgba(245, 242, 236, 0.76);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 15px;
}

.planb-hero-art {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    min-height: 640px;
}

.planb-hero-art::before {
    content: "";
    position: absolute;
    width: min(52vw, 640px);
    aspect-ratio: 1;
    top: 7%;
    left: 10%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.72;
}

.planb-hero-art::after {
    content: "";
    position: absolute;
    width: min(40vw, 500px);
    aspect-ratio: 1;
    top: 22%;
    left: 22%;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    transform: rotate(-22deg);
}

.planb-orbit-label {
    position: absolute;
    z-index: 2;
    color: rgba(245, 242, 236, 0.64);
    font-family: "Cormorant Garamond", Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 16px;
}

.planb-orbit-label.top {
    top: 7%;
    left: 33%;
    transform: rotate(-10deg);
}

.planb-orbit-label.left {
    top: 34%;
    left: 3%;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.planb-orbit-label.right {
    top: 33%;
    right: 4%;
    writing-mode: vertical-rl;
}

.planb-network-card {
    position: absolute;
    right: 3%;
    bottom: 13%;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 300px;
    padding: 20px 24px;
    border: 1px solid var(--planb-line);
    background: rgba(8, 8, 8, 0.7);
    backdrop-filter: blur(14px);
}

.planb-network-card p {
    color: rgba(245, 242, 236, 0.64);
    line-height: 1.35;
}

.planb-network-card strong {
    color: var(--planb-ink);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: "Cormorant Garamond", Georgia, serif;
}

.planb-globe {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 50%;
    color: var(--planb-ink);
    font-size: 26px;
}

.planb-feature-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--planb-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.004));
}

.planb-feature-strip article {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    min-height: 170px;
    padding: 34px 26px 30px;
    border-right: 1px solid var(--planb-line);
}

.planb-feature-strip article:last-child {
    border-right: 0;
}

.planb-feature-strip span {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 50%;
    color: var(--planb-ink);
    font-size: 31px;
}

.planb-feature-strip strong {
    color: var(--planb-ink);
    font-family: "Cormorant Garamond", Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 17px;
    line-height: 1.08;
}

.planb-feature-strip p {
    color: var(--planb-muted);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 17px;
    line-height: 1.2;
}

.planb-bottom-slogan {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    max-width: 620px;
    padding: 0;
    transform: translateY(56px);
}

.planb-client .login-shell {
    position: relative;
    isolation: isolate;
}

.planb-client .login-shell::before,
.planb-dashboard .orbital-shell::before {
    content: "";
    position: fixed;
    inset: 0 0 0 38%;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.84)),
        url("/static/media/planb-hero-angel.jpg") center right / contain no-repeat;
    filter: grayscale(1) contrast(1.08);
    opacity: 0.76;
}

.planb-client .login-card,
.planb-client .orbital-panel,
.planb-client .metric-card,
.planb-client .status-orb,
.planb-client .orbital-install {
    border-radius: 0;
    border-color: var(--planb-line);
    background: rgba(5, 5, 5, 0.76);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(18px);
}

.planb-client .login-card {
    border-left: 1px solid rgba(255, 255, 255, 0.42);
}

.planb-client .register-card {
    grid-template-columns: minmax(420px, 1fr) minmax(310px, 410px);
}

.planb-client .eyebrow,
.planb-client .panel-tag,
.planb-client .orbital-kicker,
.planb-client .metric-label {
    color: rgba(245, 242, 236, 0.68);
    font-family: "Cormorant Garamond", Georgia, serif;
    letter-spacing: 0.24em;
}

.planb-client h1,
.planb-client h2,
.planb-client h3,
.planb-client .login-card h1,
.planb-client .register-card h1 {
    color: var(--planb-ink);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.planb-client .orbital-hero {
    min-height: 540px;
    position: relative;
    border-bottom: 1px solid var(--planb-line);
}

.planb-client .orbital-hero-copy {
    max-width: 760px;
}

.planb-client .orbital-hero-copy h1 {
    max-width: 8ch;
    font-size: clamp(5rem, 12vw, 11rem);
    line-height: 0.82;
}

.planb-client .hero-tagline,
.planb-client .hero-lead {
    max-width: 620px;
    color: rgba(245, 242, 236, 0.76);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.45rem, 2vw, 2.1rem);
    line-height: 1.12;
}

.planb-client .button-link,
.planb-client .login-form button,
.planb-client .billing-plan-form button,
.planb-client .ghost-button {
    border-radius: 2px;
    border-color: rgba(255, 255, 255, 0.62);
    background: linear-gradient(180deg, #fff, #dedede);
    color: #050505;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    box-shadow: none;
}

.planb-client .ghost-link,
.planb-client .download-link.action-link {
    border-radius: 2px;
    border-color: var(--planb-line-strong);
    background: rgba(0, 0, 0, 0.28);
    color: rgba(245, 242, 236, 0.88);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    box-shadow: none;
}

.planb-client .ghost-link.bright::before,
.planb-client .download-link.action-link::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--planb-red);
    box-shadow: 0 0 14px rgba(255, 42, 31, 0.82);
}

.planb-client input,
.planb-client select,
.planb-client textarea {
    border-radius: 2px;
    border-color: var(--planb-line);
    background: rgba(0, 0, 0, 0.42);
    color: var(--planb-ink);
}

.planb-client .signal-bars span {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.26));
}

.planb-client .metric-card strong,
.planb-client .summary-item strong,
.planb-client .billing-price-line strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--planb-ink);
    letter-spacing: -0.02em;
}

.planb-client .billing-status,
.planb-client .step-badge,
.planb-client .mini-guide-dot {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.055);
    color: var(--planb-ink);
}

.planb-client .danger-button {
    border-radius: 2px;
    background: rgba(255, 42, 31, 0.12);
    color: #ff7a72;
}

@media (max-width: 1180px) {
    .planb-shell {
        width: min(100% - 38px, 980px);
    }

    .planb-nav {
        grid-template-columns: 1fr auto;
    }

    .planb-nav-links {
        display: none;
    }

    .planb-hero {
        grid-template-columns: 1fr;
        min-height: 720px;
        align-items: start;
        padding-top: 90px;
    }

    .planb-hero::before {
        inset: 0 -18% 0 -8%;
        opacity: 0.86;
        background-position: center right;
        background-size: cover;
    }

    .planb-hero::after {
        right: 4%;
        top: 9%;
    }

    .planb-hero-art {
        position: absolute;
        inset: 0;
        min-height: 0;
        pointer-events: none;
    }

    .planb-network-card {
        right: 0;
        bottom: 14%;
    }

    .planb-feature-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .planb-feature-strip article {
        border-bottom: 1px solid var(--planb-line);
    }
}

@media (max-width: 760px) {
    .planb-home {
        overflow-x: hidden;
        padding-bottom: 96px;
    }

    .planb-shell {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        padding: 0 10px 108px;
        display: block;
        overflow: hidden;
    }

    .planb-mobile-cover {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 60;
        isolation: isolate;
        background: #020202;
        opacity: 1;
        pointer-events: auto;
        transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
    }

    .planb-mobile-reveal-bg {
        position: fixed;
        inset: 0;
        z-index: 0;
        display: block;
        pointer-events: none;
        opacity: 0;
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.18) 46%, rgba(0, 0, 0, 0.42) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.02) 52%, #020202 100%),
            url("/static/media/planb-hero-mobile-reveal.jpg") center top / cover no-repeat;
        filter: grayscale(1) contrast(1.08);
        transform: scale(1.025);
        transition: opacity 0.86s ease, transform 1.1s ease;
    }

    .planb-revealed .planb-mobile-reveal-bg {
        opacity: 1;
        transform: scale(1);
    }

    .planb-revealed .planb-mobile-cover {
        opacity: 0;
        pointer-events: none;
        filter: blur(8px);
        transform: scale(1.035);
    }

    .planb-mobile-cover::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 26%;
        background: linear-gradient(180deg, transparent, #020202 82%);
        pointer-events: none;
    }

    .planb-mobile-cover-art {
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 38%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.1) 58%, #020202 100%),
            url("/static/media/planb-hero-angel.jpg") center top / cover no-repeat;
        filter: grayscale(1) contrast(1.08);
        transform-origin: 50% 42%;
        transition: filter 0.95s ease, opacity 0.95s ease, transform 0.95s ease;
    }

    .planb-nav {
        position: fixed;
        top: 10px;
        left: 10px;
        right: 10px;
        z-index: 20;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 40px 96px;
        gap: 8px;
        align-items: center;
        min-height: 78px;
        margin: 0;
        padding: 12px 10px 12px 16px;
        border: 1px solid rgba(255, 255, 255, 0.36);
        border-radius: 12px;
        background: rgba(2, 2, 2, 0.78);
        box-shadow: 0 16px 42px rgba(0, 0, 0, 0.58);
        backdrop-filter: blur(18px);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-110%);
        transition: opacity 0.72s ease 0.08s, transform 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
    }

    .planb-revealed .planb-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .planb-logo {
        display: inline-flex;
        align-items: center;
        color: #ff3a30;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(1.85rem, 8.8vw, 2.55rem);
        font-weight: 700;
        line-height: 0.9;
        letter-spacing: 0.035em;
        padding-left: 10px;
        border-left: 1px solid rgba(255, 58, 48, 0.72);
        text-decoration: none;
        text-shadow: 0 0 16px rgba(255, 42, 31, 0.42);
    }

    .planb-nav .planb-logo {
        font-size: clamp(1.85rem, 8.8vw, 2.55rem);
        font-weight: 700;
        letter-spacing: 0.035em;
        text-transform: none;
    }

    .planb-nav-actions {
        display: none;
    }

    .planb-mobile-menu-button,
    .planb-mobile-start {
        display: inline-flex;
    }

    .planb-mobile-menu-button {
        width: 40px;
        height: 48px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        border: 0;
        background: transparent;
    }

    .planb-mobile-menu-button span,
    .planb-mobile-tabbar a:last-child span::before,
    .planb-mobile-tabbar a:last-child span::after {
        display: block;
        width: 30px;
        height: 2px;
        background: rgba(245, 242, 236, 0.88);
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.22);
    }

    .planb-mobile-start {
        min-height: 48px;
        align-items: center;
        justify-content: center;
        padding: 0 8px;
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 4px;
        color: var(--planb-ink);
        background: rgba(0, 0, 0, 0.18);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-size: 10px;
        font-weight: 700;
    }

    .planb-hero {
        min-height: 100svh;
        min-height: 100vh;
        padding: 132px 0 26px;
        display: block;
        overflow: hidden;
        opacity: 1;
        transform: none;
        isolation: isolate;
        z-index: 1;
    }

    .planb-hero::before {
        display: none;
    }

    .planb-hero::after {
        display: block;
        inset: 6% -10% 36% 42%;
        border-color: rgba(255, 255, 255, 0.18);
    }

    .planb-orbit-label {
        display: none;
    }

    .planb-hero-copy {
        width: min(calc(100% - 32px), 340px);
        margin: 0;
        padding: 0;
        position: absolute;
        left: 50%;
        bottom: 164px;
        transform: translate(-50%, 28px);
        opacity: 0;
        transition: opacity 0.74s ease 0.22s, transform 0.74s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
    }

    .planb-revealed .planb-hero-copy {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    .planb-bottom-slogan {
        position: absolute;
        left: 50%;
        bottom: 266px;
        z-index: 3;
        width: min(calc(100% - 36px), 360px);
        padding: 16px 14px 14px;
        text-align: center;
        opacity: 0;
        transform: translate(-50%, 24px);
        transition: opacity 0.74s ease 0.18s, transform 0.74s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
    }

    .planb-bottom-slogan::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 10px;
        background:
            radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.1), transparent 58%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.46));
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.52), inset 0 0 28px rgba(255, 255, 255, 0.035);
        backdrop-filter: blur(3px);
    }

    .planb-revealed .planb-bottom-slogan {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    .planb-bottom-slogan h1 {
        max-width: none;
        font-size: clamp(1.82rem, 8vw, 2.35rem);
        line-height: 0.92;
        letter-spacing: 0;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 22px rgba(255, 255, 255, 0.24);
    }

    .planb-bottom-slogan h1 span {
        display: block;
        white-space: nowrap;
    }

    .planb-bottom-slogan h1 span:first-child {
        width: auto;
        transform: none;
        transform-origin: center;
    }

    .planb-kicker {
        display: none;
        margin: 0 0 24px;
        gap: 14px;
        font-size: 15px;
    }

    .planb-lead {
        max-width: 315px;
        margin: 12px auto 0;
        color: rgba(245, 242, 236, 0.9);
        font-size: 1.08rem;
        line-height: 1.12;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.92);
    }

    .planb-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 12px;
        margin: 0 auto;
    }

    .planb-primary-button {
        width: 100%;
        min-height: 58px;
        padding: 0 20px;
        font-size: 12px;
    }

    .planb-secondary-button {
        display: none;
    }

    .planb-note {
        display: none;
        margin-top: 48px;
        gap: 16px;
    }

    .planb-note p {
        max-width: 292px;
    }

    .planb-network-card {
        left: 18px;
        right: auto;
        bottom: 7%;
        min-width: 0;
        width: min(352px, calc(100% - 36px));
        padding: 16px 18px;
        display: none;
    }

    .planb-feature-strip {
        position: relative;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 58px 18px 0;
        border-top: 0;
        background: transparent;
    }

    .planb-feature-strip::before {
        content: "✦ Возможности PLAN_B ✦";
        display: block;
        margin-bottom: 10px;
        color: rgba(245, 242, 236, 0.82);
        font-family: "Cormorant Garamond", Georgia, serif;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 0.34em;
        font-size: 13px;
    }

    .planb-feature-strip article {
        position: relative;
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: center;
        gap: 16px;
        min-height: 112px;
        padding: 16px 16px 16px 12px;
        border: 1px solid rgba(255, 255, 255, 0.32);
        border-right: 0;
        border-radius: 10px;
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 72%),
            rgba(2, 2, 2, 0.54);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
        text-align: left;
    }

    .planb-feature-strip article::after {
        content: "";
        position: absolute;
        top: 24px;
        bottom: 24px;
        left: 86px;
        width: 1px;
        background: rgba(255, 255, 255, 0.34);
    }

    .planb-feature-strip span {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .planb-feature-strip strong,
    .planb-feature-strip p {
        grid-column: 2;
    }

    .planb-feature-strip strong {
        font-size: clamp(1.18rem, 5.4vw, 1.55rem);
        line-height: 1.05;
    }

    .planb-feature-strip p {
        margin-top: -10px;
        font-size: 1rem;
        line-height: 1.15;
    }

    .planb-mobile-tabbar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: max(10px, env(safe-area-inset-bottom));
        z-index: 30;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: end;
        min-height: 78px;
        padding: 9px 4px;
        border: 1px solid rgba(255, 255, 255, 0.32);
        border-radius: 12px;
        background: rgba(2, 2, 2, 0.78);
        box-shadow: 0 -16px 46px rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(18px);
        opacity: 0;
        pointer-events: none;
        transform: translateY(120%);
        transition: opacity 0.72s ease 0.18s, transform 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
    }

    .planb-revealed .planb-mobile-tabbar {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .planb-mobile-tabbar a {
        position: relative;
        display: grid;
        justify-items: center;
        gap: 6px;
        color: rgba(245, 242, 236, 0.74);
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        font-size: 8px;
        font-weight: 600;
    }

    .planb-mobile-tabbar a + a {
        border-left: 1px solid rgba(255, 255, 255, 0.16);
    }

    .planb-mobile-tabbar a span {
        display: grid;
        place-items: center;
        width: 24px;
        height: 24px;
        color: var(--planb-ink);
        font-size: 21px;
        line-height: 1;
    }

    .planb-mobile-tabbar a.active::after {
        content: "";
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--planb-red);
        box-shadow: 0 0 12px rgba(255, 42, 31, 0.95);
    }

    .planb-mobile-tabbar .primary {
        transform: translateY(-19px);
        gap: 8px;
        color: var(--planb-ink);
    }

    .planb-mobile-tabbar .primary span {
        width: 58px;
        height: 58px;
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 50%;
        background:
            radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 58%),
            #050505;
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.04), 0 -8px 30px rgba(255, 255, 255, 0.12);
    }

    .planb-mobile-tabbar a:last-child span {
        position: relative;
        gap: 0;
    }

    .planb-mobile-tabbar a:last-child span {
        width: 24px;
        height: 22px;
        border-top: 2px solid rgba(245, 242, 236, 0.88);
        border-bottom: 2px solid rgba(245, 242, 236, 0.88);
    }

    .planb-mobile-tabbar a:last-child span::before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
    }

    .planb-mobile-tabbar a:last-child span::after {
        content: none;
    }

    .planb-client .login-shell::before,
    .planb-dashboard .orbital-shell::before {
        inset: 22% -62% 0 -6%;
        opacity: 0.34;
    }

    .planb-client .register-card {
        grid-template-columns: 1fr;
    }

    .planb-client .orbital-hero-copy h1 {
        font-size: clamp(4.2rem, 24vw, 7rem);
    }

    .planb-client .orbital-hero {
        min-height: 480px;
    }
}

@media (max-width: 420px) {
    .planb-nav {
        grid-template-columns: minmax(0, 1fr) 38px 92px;
        padding: 10px 8px 10px 14px;
        gap: 8px;
    }

    .planb-nav .planb-logo {
        font-size: clamp(1.58rem, 8.4vw, 2.1rem);
        font-weight: 700;
        letter-spacing: 0.035em;
        text-transform: none;
    }

    .planb-mobile-start {
        min-height: 44px;
        padding: 0 8px;
        font-size: 10px;
    }

    .planb-mobile-menu-button {
        width: 38px;
    }

    .planb-mobile-menu-button span {
        width: 27px;
    }

    .planb-hero {
        min-height: 720px;
    }

    .planb-hero::before {
        inset: 2% -82% 14% 24%;
    }

    .planb-hero-copy {
        width: min(calc(100% - 36px), 318px);
        padding: 0;
        bottom: 158px;
    }

    .planb-actions {
        width: 100%;
    }

    .planb-bottom-slogan {
        bottom: 252px;
        width: min(calc(100% - 34px), 330px);
        padding-left: 12px;
        padding-right: 12px;
    }

    .planb-bottom-slogan h1 {
        max-width: none;
        font-size: clamp(1.62rem, 7.6vw, 2.05rem);
        line-height: 0.92;
        letter-spacing: 0;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 22px rgba(255, 255, 255, 0.24);
    }

    .planb-lead {
        font-size: 1rem;
    }

    .planb-feature-strip {
        padding-left: 18px;
        padding-right: 18px;
    }

    .planb-feature-strip article {
        grid-template-columns: 76px 1fr;
        gap: 16px;
        padding-right: 16px;
    }

    .planb-feature-strip article::after {
        left: 84px;
    }

    .planb-feature-strip span {
        width: 58px;
        height: 58px;
        font-size: 29px;
    }

    .planb-feature-strip strong {
        font-size: clamp(1.12rem, 5.5vw, 1.45rem);
    }

    .planb-feature-strip p {
        font-size: 0.96rem;
    }

    .planb-mobile-tabbar {
        left: 8px;
        right: 8px;
    }

    .planb-mobile-tabbar a {
        font-size: 8px;
        letter-spacing: 0.08em;
    }
}

@media (min-width: 761px) {
    .planb-home {
        min-height: 100vh;
        background:
            linear-gradient(rgba(255, 31, 26, 0.035) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 31, 26, 0.028) 1px, transparent 1px),
            radial-gradient(circle at 72% 78%, rgba(150, 0, 0, 0.28), transparent 32%),
            #020202;
        background-size: 96px 96px, 96px 96px, auto, auto;
    }

    .planb-shell {
        position: relative;
        width: calc(100% - 32px);
        min-height: calc(100vh - 32px);
        margin: 16px auto;
        padding: 30px 56px 0;
        display: grid;
        grid-template-rows: 104px minmax(650px, calc(100vh - 152px)) auto;
        border: 1px solid rgba(255, 31, 26, 0.54);
        box-shadow: inset 0 0 0 1px rgba(255, 31, 26, 0.08), 0 0 52px rgba(255, 0, 0, 0.08);
        overflow: hidden;
    }

    .planb-shell::before,
    .planb-shell::after {
        content: "";
        position: absolute;
        pointer-events: none;
        z-index: 5;
    }

    .planb-shell::before {
        inset: 0;
        border: 1px solid rgba(255, 31, 26, 0.18);
        background:
            linear-gradient(90deg, rgba(255, 31, 26, 0.44), transparent 18%) left bottom / 420px 1px no-repeat,
            linear-gradient(90deg, transparent, rgba(255, 31, 26, 0.42)) right bottom / 280px 1px no-repeat,
            linear-gradient(rgba(255, 31, 26, 0.32), transparent) left top / 1px 210px no-repeat,
            linear-gradient(transparent, rgba(255, 31, 26, 0.3)) right top / 1px 180px no-repeat;
        opacity: 0.8;
    }

    .planb-shell::after {
        left: 34px;
        bottom: 42px;
        width: 170px;
        height: 26px;
        border-left: 1px solid rgba(255, 255, 255, 0.25);
        border-bottom: 1px solid rgba(255, 31, 26, 0.42);
        opacity: 0.62;
    }

    .planb-nav {
        min-height: 86px;
        grid-template-columns: minmax(280px, 0.86fr) minmax(520px, 1fr) auto;
        gap: 36px;
        z-index: 8;
    }

    .planb-logo,
    .planb-nav .planb-logo {
        color: #ff1712;
        width: max-content;
        padding-left: 0;
        border-left: 0;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(4.2rem, 5vw, 5.8rem);
        font-weight: 700;
        letter-spacing: 0.02em;
        text-shadow: 0 0 18px rgba(255, 0, 0, 0.46), 0 0 34px rgba(255, 0, 0, 0.22);
        transform: scaleX(0.88);
        transform-origin: left center;
    }

    .planb-nav-links {
        justify-content: center;
        gap: clamp(42px, 4.3vw, 84px);
    }

    .planb-nav a,
    .planb-nav-actions a {
        color: rgba(245, 242, 236, 0.72);
        letter-spacing: 0.24em;
        font-size: 12px;
    }

    .planb-nav-actions {
        gap: 30px;
    }

    .planb-outline-button {
        min-width: 132px;
        min-height: 54px;
        border-color: rgba(255, 31, 26, 0.58);
        background: rgba(0, 0, 0, 0.18);
        box-shadow: inset 0 0 18px rgba(255, 0, 0, 0.08);
    }

    .planb-hero {
        position: relative;
        min-height: min(760px, calc(100vh - 152px));
        grid-template-columns: minmax(430px, 0.66fr) minmax(720px, 1.34fr);
        align-items: center;
        gap: 26px;
        padding: 0 0 18px;
    }

    .planb-hero::before {
        inset: -6% -3% -4% 28%;
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.4) 23%, rgba(0, 0, 0, 0.05) 54%, rgba(0, 0, 0, 0.34) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.16) 72%, #020202 100%),
            url("/static/media/planb-hero-angel.jpg") center center / contain no-repeat;
        opacity: 1;
        filter: grayscale(1) contrast(1.12) brightness(0.88);
    }

    .planb-hero::after {
        inset: 8% 10% -8% 39%;
        border-color: rgba(255, 31, 26, 0.24);
        box-shadow: 0 0 80px rgba(255, 0, 0, 0.08);
        opacity: 0.82;
    }

    .planb-bottom-slogan {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        max-width: 560px;
        transform: translateY(-8px);
        z-index: 4;
    }

    .planb-kicker {
        display: inline-flex;
        gap: 20px;
        margin: 0 0 58px;
        color: rgba(245, 242, 236, 0.82);
        letter-spacing: 0.28em;
        font-size: 21px;
    }

    .planb-kicker span {
        color: #fff;
        text-shadow: 0 0 18px rgba(255, 255, 255, 0.32);
    }

    .planb-bottom-slogan h1 {
        max-width: 12.5ch;
        color: rgba(245, 242, 236, 0.94);
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: clamp(3.2rem, 3.15vw, 4.3rem);
        line-height: 0.98;
        letter-spacing: 0.035em;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.12), 0 2px 18px rgba(0, 0, 0, 0.9);
    }

    .planb-bottom-slogan h1::before {
        content: "";
        display: inline-block;
        width: 4px;
        height: 58px;
        margin: 0 26px -8px 0;
        background: #ff1712;
        box-shadow: 0 0 22px rgba(255, 0, 0, 0.72);
    }

    .planb-lead {
        max-width: 440px;
        margin: 28px 0 0 36px;
        color: rgba(245, 242, 236, 0.74);
        font-size: clamp(1.45rem, 1.7vw, 2rem);
        line-height: 1.18;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.88);
    }

    .planb-status-chip {
        display: inline-flex;
        align-items: center;
        gap: 16px;
        min-width: 292px;
        min-height: 48px;
        margin: 40px 0 0 36px;
        padding: 0 28px;
        border: 1px solid rgba(255, 31, 26, 0.46);
        color: rgba(245, 242, 236, 0.62);
        background: rgba(0, 0, 0, 0.24);
        text-transform: uppercase;
        letter-spacing: 0.18em;
        font-size: 11px;
        font-weight: 700;
        box-shadow: inset 0 0 20px rgba(255, 0, 0, 0.045);
    }

    .planb-status-chip span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #ff1712;
        box-shadow: 0 0 16px rgba(255, 0, 0, 0.9);
    }

    .planb-hero-copy {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
        max-width: 420px;
        padding: 0 0 78px 34px;
        z-index: 4;
    }

    .planb-actions {
        display: none;
    }

    .planb-note {
        display: none;
    }

    .planb-hero-art {
        grid-column: 2;
        min-height: 100%;
        pointer-events: none;
    }

    .planb-hero-art::before {
        width: min(43vw, 680px);
        top: 8%;
        left: 5%;
        border-color: rgba(255, 31, 26, 0.26);
    }

    .planb-hero-art::after {
        width: min(48vw, 760px);
        top: 25%;
        left: -18%;
        border-top-color: rgba(255, 31, 26, 0.22);
    }

    .planb-orbit-label {
        color: rgba(245, 242, 236, 0.68);
        font-size: 14px;
        letter-spacing: 0.34em;
    }

    .planb-network-card {
        right: 3%;
        bottom: 8%;
        min-width: 360px;
        padding: 18px 28px;
        border-color: rgba(245, 242, 236, 0.22);
        background: rgba(7, 7, 7, 0.78);
        box-shadow: 0 0 34px rgba(0, 0, 0, 0.36);
    }

    .planb-feature-strip {
        margin-top: 0;
        transform: translateY(1px);
        opacity: 0.28;
    }
}

@media (max-width: 760px) {
    .planb-status-chip {
        display: none;
    }
}

@media (min-width: 761px) {
    .planb-shell::before {
        inset: 0;
        border: 0;
        background: url("/static/media/planb-desktop-frame-trim.png") center / 100% 100% no-repeat;
        opacity: 1;
    }

    .planb-logo,
    .planb-nav .planb-logo {
        width: clamp(220px, 18vw, 330px);
        height: clamp(62px, 5.2vw, 92px);
        padding: 0;
        border: 0;
        color: transparent;
        font-size: 0;
        line-height: 0;
        text-shadow: none;
        background: url("/static/media/planb-desktop-logo-red-trim.png") left center / contain no-repeat;
        transform: none;
    }

    .planb-outline-button {
        width: clamp(130px, 9.8vw, 168px);
        min-width: 0;
        height: clamp(50px, 3.7vw, 64px);
        min-height: 0;
        padding: 0;
        border: 0;
        color: transparent !important;
        font-size: 0 !important;
        background: url("/static/media/planb-desktop-start-trim.png") center / contain no-repeat;
        box-shadow: none;
    }

    .planb-hero::before {
        inset: -2% 0 -3% 24%;
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.62) 24%, rgba(0, 0, 0, 0.06) 52%, rgba(0, 0, 0, 0.28) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.16) 76%, #020202 100%),
            url("/static/media/planb-desktop-angel-trim.png") 68% 48% / auto 98% no-repeat;
        filter: none;
        opacity: 1;
    }

    .planb-hero::after {
        display: none;
    }

    .planb-hero-art::before,
    .planb-hero-art::after,
    .planb-orbit-label,
    .planb-network-card {
        display: none;
    }

    .planb-bottom-slogan {
        width: clamp(430px, 34vw, 620px);
        aspect-ratio: 1268 / 470;
        max-width: none;
        background: url("/static/media/planb-desktop-slogan-trim.png") left center / contain no-repeat;
        transform: translateY(-18px);
    }

    .planb-bottom-slogan .planb-kicker,
    .planb-bottom-slogan h1,
    .planb-bottom-slogan .planb-lead {
        visibility: hidden;
        margin: 0;
    }

    .planb-bottom-slogan h1 {
        height: 58%;
    }

    .planb-status-chip {
        width: clamp(300px, 22vw, 430px);
        height: clamp(48px, 3.7vw, 70px);
        min-width: 0;
        min-height: 0;
        margin: 28px 0 0 36px;
        padding: 0;
        border: 0;
        color: transparent;
        font-size: 0;
        background: url("/static/media/planb-desktop-status-trim.png") left center / contain no-repeat;
        box-shadow: none;
    }

    .planb-status-chip span {
        display: none;
    }
}


@media (min-width: 761px) {
    .planb-home {
        background: #020202;
    }

    .planb-shell {
        width: calc(100% - 32px);
        min-height: calc(100vh - 32px);
        margin: 16px auto;
        padding: clamp(20px, 2vw, 34px) clamp(36px, 3.4vw, 64px) 0;
        grid-template-rows: clamp(82px, 7vw, 112px) minmax(620px, calc(100vh - 144px)) auto;
        border: 0;
        background: #020202;
    }

    .planb-shell::before {
        inset: 0;
        border: 0;
        background: url("/static/media/planb-hud-background-overlay.jpg") center / 100% 100% no-repeat;
        opacity: 0.96;
    }

    .planb-shell::after {
        display: none;
    }

    .planb-nav {
        grid-template-columns: minmax(245px, 0.72fr) minmax(560px, 1fr) auto;
        min-height: clamp(70px, 6vw, 96px);
        gap: clamp(24px, 3.5vw, 60px);
    }

    .planb-logo,
    .planb-nav .planb-logo {
        width: auto;
        height: auto;
        color: #ff1712;
        font-family: "Ruslan Display", Georgia, serif;
        font-size: clamp(3.5rem, 4.5vw, 5.5rem);
        font-weight: 400;
        line-height: 0.82;
        letter-spacing: 0.03em;
        background: none;
        text-shadow: 0 0 14px rgba(255, 0, 0, 0.46), 0 0 34px rgba(255, 0, 0, 0.24);
        transform: none;
    }

    .planb-nav-links {
        gap: clamp(42px, 4.6vw, 86px);
    }

    .planb-nav a,
    .planb-nav-actions a {
        font-family: "Ruslan Display", "Unbounded", sans-serif;
        font-weight: 400;
        letter-spacing: 0.22em;
        color: rgba(245, 242, 236, 0.76);
    }

    .planb-outline-button {
        position: relative;
        width: clamp(128px, 9vw, 166px);
        height: clamp(46px, 3.5vw, 62px);
        min-width: 0;
        min-height: 0;
        padding: 0;
        border: 1px solid rgba(255, 23, 18, 0.54);
        color: rgba(245, 242, 236, 0.9) !important;
        font-size: clamp(0.9rem, 1vw, 1.2rem) !important;
        line-height: 1;
        background: rgba(0, 0, 0, 0.28);
        box-shadow: inset 0 0 18px rgba(255, 0, 0, 0.1), 0 0 20px rgba(255, 0, 0, 0.06);
    }

    .planb-hero {
        min-height: min(780px, calc(100vh - 144px));
        grid-template-columns: minmax(430px, 0.62fr) minmax(720px, 1.38fr);
        gap: clamp(16px, 2.6vw, 54px);
        padding-bottom: 12px;
    }

    .planb-hero::before {
        inset: -4% -2% -6% 24%;
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.52) 24%, rgba(0, 0, 0, 0.02) 52%, rgba(0, 0, 0, 0.3) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.14) 75%, #020202 100%),
            url("/static/media/planb-desktop-angel-v2.png") 66% 50% / auto 102% no-repeat;
        filter: none;
        opacity: 1;
    }

    .planb-hero::after,
    .planb-hero-art::before,
    .planb-hero-art::after,
    .planb-orbit-label,
    .planb-network-card {
        display: none;
    }

    .planb-bottom-slogan {
        grid-column: 1;
        align-self: center;
        width: min(41vw, 640px);
        min-width: 430px;
        max-width: 640px;
        aspect-ratio: auto;
        background: none;
        transform: translateY(-16px);
        z-index: 6;
    }

    .planb-bottom-slogan .planb-kicker,
    .planb-bottom-slogan h1,
    .planb-bottom-slogan .planb-lead {
        visibility: visible;
    }

    .planb-bottom-slogan .planb-kicker {
        display: none;
    }

    .planb-bottom-slogan h1 {
        height: auto;
        max-width: none;
        margin: 0;
        color: rgba(245, 242, 236, 0.94);
        font-family: "Ruslan Display", Georgia, serif;
        font-size: clamp(2.85rem, 3.35vw, 4.35rem);
        font-weight: 400;
        line-height: 0.92;
        letter-spacing: 0.02em;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.92), 0 0 18px rgba(255, 255, 255, 0.12);
    }

    .planb-bottom-slogan h1::before {
        content: "";
        display: inline-block;
        width: 4px;
        height: 56px;
        margin: 0 24px -8px 0;
        background: #ff1712;
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.76);
    }

    .planb-bottom-slogan h1 span {
        display: block;
        white-space: nowrap;
    }

    .planb-lead {
        max-width: none;
        margin: 28px 0 0 36px;
        color: rgba(245, 242, 236, 0.78);
        font-family: "Ruslan Display", Georgia, serif;
        font-size: clamp(1.35rem, 1.65vw, 2rem);
        font-weight: 400;
        line-height: 1.12;
        letter-spacing: 0.03em;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
    }

    .planb-status-chip {
        display: inline-flex;
        align-items: center;
        gap: 18px;
        width: auto;
        height: auto;
        min-width: clamp(268px, 19vw, 360px);
        min-height: clamp(44px, 3.2vw, 58px);
        margin: 38px 0 0 36px;
        padding: 0 30px 0 26px;
        border: 1px solid rgba(255, 23, 18, 0.46);
        color: rgba(245, 242, 236, 0.72);
        font-family: "Ruslan Display", "Unbounded", sans-serif;
        font-size: clamp(0.72rem, 0.78vw, 0.95rem);
        line-height: 1;
        letter-spacing: 0.24em;
        background: linear-gradient(90deg, rgba(8, 8, 8, 0.82), rgba(16, 16, 16, 0.7));
        box-shadow: inset 0 0 22px rgba(255, 0, 0, 0.055), 0 0 20px rgba(0, 0, 0, 0.28);
        clip-path: polygon(4% 0, 100% 0, 100% 62%, 92% 100%, 0 100%, 0 22%);
        text-transform: uppercase;
    }

    .planb-status-chip span {
        display: block;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #ff1712;
        box-shadow: 0 0 18px rgba(255, 0, 0, 0.9);
        flex: 0 0 auto;
    }
}

@media (min-width: 761px) {
    .planb-shell {
        isolation: isolate;
    }

    .planb-shell::before {
        z-index: 0;
        opacity: 0.82;
        mix-blend-mode: screen;
    }

    .planb-nav,
    .planb-hero,
    .planb-feature-strip {
        position: relative;
        z-index: 2;
    }

    .planb-hero::before {
        z-index: -1;
        inset: -2% -2% -5% 29%;
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.54) 24%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.2) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.08) 72%, #020202 100%),
            url("/static/media/planb-desktop-angel-v2.png") 64% 50% / auto 104% no-repeat;
        filter: brightness(1.16) contrast(1.12) grayscale(1);
    }

    .planb-bottom-slogan {
        z-index: 4;
        filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.85));
    }

    .planb-bottom-slogan h1 {
        color: rgba(245, 242, 236, 0.96);
        text-shadow: 0 3px 10px rgba(0, 0, 0, 1), 0 0 16px rgba(255, 255, 255, 0.18);
    }

    .planb-lead {
        color: rgba(245, 242, 236, 0.82);
        text-shadow: 0 3px 10px rgba(0, 0, 0, 1), 0 0 12px rgba(255, 255, 255, 0.12);
    }

    .planb-status-chip {
        color: rgba(245, 242, 236, 0.78);
        background: linear-gradient(90deg, rgba(10, 10, 10, 0.9), rgba(20, 20, 20, 0.78));
    }
}


@media (min-width: 761px) {
    .planb-logo,
    .planb-nav .planb-logo,
    .planb-nav a,
    .planb-nav-actions a,
    .planb-bottom-slogan h1,
    .planb-lead,
    .planb-status-chip {
        font-family: "Kramola", Georgia, serif;
        font-weight: 400;
    }

    .planb-logo,
    .planb-nav .planb-logo {
        color: #ff1712;
        font-size: clamp(3.85rem, 4.75vw, 5.45rem);
        letter-spacing: 0.015em;
        text-shadow: none;
        filter: none;
    }

    .planb-bottom-slogan {
        width: min(35vw, 560px);
        min-width: 390px;
        max-width: 560px;
        transform: translate(34px, -18px);
    }

    .planb-bottom-slogan h1 {
        font-size: clamp(2.55rem, 2.78vw, 3.72rem);
        line-height: 0.94;
        letter-spacing: 0.01em;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
    }

    .planb-bottom-slogan h1::before {
        height: 54px;
        margin-right: 24px;
    }

    .planb-lead {
        margin-left: 34px;
        font-size: clamp(1.18rem, 1.32vw, 1.68rem);
        line-height: 1.14;
        letter-spacing: 0.01em;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
    }

    .planb-status-chip {
        margin-left: 34px;
        min-width: clamp(260px, 18vw, 338px);
        min-height: clamp(42px, 3vw, 54px);
        font-size: clamp(0.7rem, 0.72vw, 0.88rem);
        letter-spacing: 0.18em;
    }
}

@media (min-width: 761px) {
    .planb-hero {
        overflow: visible;
    }

    .planb-hero::after {
        content: "";
        display: block;
        position: absolute;
        pointer-events: none;
        z-index: -1;
        left: 36%;
        right: -4%;
        bottom: -11%;
        height: 46%;
        border: 0;
        border-radius: 50% 50% 0 0;
        opacity: 0.95;
        background:
            radial-gradient(ellipse at 54% 84%, rgba(255, 18, 12, 0.34) 0%, rgba(255, 18, 12, 0.17) 22%, transparent 58%),
            radial-gradient(ellipse at 74% 74%, rgba(255, 18, 12, 0.22) 0%, rgba(255, 18, 12, 0.1) 24%, transparent 55%);
        box-shadow: inset 0 2px 0 rgba(255, 31, 26, 0.34), 0 -34px 120px rgba(255, 0, 0, 0.2);
        mix-blend-mode: screen;
    }

    .planb-bottom-slogan {
        position: relative;
        transform: translate(52px, -18px);
    }

    .planb-bottom-slogan h1 {
        position: relative;
        padding-left: 36px;
    }

    .planb-bottom-slogan h1::before {
        content: "";
        position: absolute;
        left: 0;
        top: -0.24em;
        width: 5px;
        height: 1.28em;
        margin: 0;
        background: #ff1712;
        box-shadow: 0 0 14px rgba(255, 23, 18, 0.95), 0 0 34px rgba(255, 23, 18, 0.52);
    }

    .planb-lead,
    .planb-status-chip {
        margin-left: 36px;
    }
}

@media (min-width: 761px) {
    .planb-hero::after {
        left: 34%;
        right: -4%;
        bottom: -24%;
        height: 42%;
        opacity: 0.88;
        background:
            radial-gradient(ellipse at 54% 100%, rgba(255, 18, 12, 0.42) 0%, rgba(255, 18, 12, 0.2) 20%, rgba(255, 18, 12, 0.07) 42%, transparent 68%),
            radial-gradient(ellipse at 76% 94%, rgba(255, 18, 12, 0.22) 0%, rgba(255, 18, 12, 0.1) 24%, transparent 60%);
        box-shadow: inset 0 2px 0 rgba(255, 31, 26, 0.42), 0 -18px 96px rgba(255, 0, 0, 0.18);
    }
}

@media (min-width: 761px) {
    .planb-hero::after {
        display: none !important;
    }

    .planb-hero::before {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.52) 24%, rgba(0, 0, 0, 0.04) 52%, rgba(0, 0, 0, 0.28) 100%),
            radial-gradient(ellipse at 60% 92%, rgba(255, 20, 14, 0.34) 0%, rgba(255, 20, 14, 0.16) 18%, rgba(255, 20, 14, 0.055) 38%, transparent 62%),
            radial-gradient(ellipse at 80% 88%, rgba(255, 20, 14, 0.22) 0%, rgba(255, 20, 14, 0.09) 26%, transparent 58%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.08) 72%, #020202 100%),
            url("/static/media/planb-desktop-angel-v2.png") 64% 50% / auto 104% no-repeat;
        filter: brightness(1.12) contrast(1.12) grayscale(1);
    }
}

@media (min-width: 761px) {
    .planb-hero::after {
        display: none !important;
    }

    .planb-hero::before {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.6) 24%, rgba(0, 0, 0, 0.08) 51%, rgba(0, 0, 0, 0.3) 100%),
            radial-gradient(ellipse at 64% 82%, rgba(255, 22, 15, 0.28) 0%, rgba(255, 22, 15, 0.18) 17%, rgba(255, 22, 15, 0.075) 39%, transparent 64%),
            radial-gradient(ellipse at 76% 86%, rgba(255, 22, 15, 0.24) 0%, rgba(255, 22, 15, 0.12) 24%, transparent 60%),
            radial-gradient(ellipse at 58% 100%, rgba(255, 0, 0, 0.2) 0%, rgba(255, 0, 0, 0.08) 28%, transparent 66%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.08) 72%, #020202 100%),
            url("/static/media/planb-desktop-angel-v2.png") 64% 50% / auto 104% no-repeat;
        filter: brightness(1.14) contrast(1.14) grayscale(1);
    }
}

@media (min-width: 761px) {
    .planb-hero::after {
        display: none !important;
    }

    .planb-hero::before {
        background:
            radial-gradient(ellipse at 62% 78%, rgba(255, 19, 13, 0.2) 0%, rgba(255, 19, 13, 0.12) 20%, rgba(255, 19, 13, 0.045) 43%, transparent 66%),
            radial-gradient(ellipse at 72% 86%, rgba(255, 0, 0, 0.26) 0%, rgba(255, 0, 0, 0.14) 24%, rgba(255, 0, 0, 0.055) 46%, transparent 69%),
            radial-gradient(ellipse at 55% 100%, rgba(255, 0, 0, 0.25) 0%, rgba(255, 0, 0, 0.12) 28%, transparent 68%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.58) 24%, rgba(0, 0, 0, 0.08) 51%, rgba(0, 0, 0, 0.28) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.06) 72%, #020202 100%),
            url("/static/media/planb-desktop-angel-v2.png") 64% 50% / auto 104% no-repeat;
        filter: brightness(1.14) contrast(1.14) grayscale(1);
    }
}

@media (min-width: 761px) {
    .planb-hero::after {
        display: none !important;
    }

    .planb-hero::before {
        background:
            radial-gradient(ellipse at 63% 76%, rgba(255, 18, 12, 0.22) 0%, rgba(255, 18, 12, 0.14) 22%, rgba(255, 18, 12, 0.055) 45%, transparent 68%),
            radial-gradient(ellipse at 73% 88%, rgba(255, 0, 0, 0.32) 0%, rgba(255, 0, 0, 0.16) 26%, rgba(255, 0, 0, 0.06) 48%, transparent 70%),
            radial-gradient(ellipse at 56% 100%, rgba(255, 0, 0, 0.28) 0%, rgba(255, 0, 0, 0.13) 30%, transparent 70%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.58) 24%, rgba(0, 0, 0, 0.08) 51%, rgba(0, 0, 0, 0.28) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.06) 72%, #020202 100%),
            url("/static/media/planb-desktop-angel-v2.png") 64% 50% / auto 104% no-repeat;
        filter: brightness(1.14) contrast(1.14);
    }
}

@media (min-width: 761px) {
    .planb-hero::after {
        display: none !important;
    }

    .planb-hero::before {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.62) 24%, rgba(0, 0, 0, 0.1) 51%, rgba(0, 0, 0, 0.34) 100%),
            radial-gradient(ellipse at 68% 86%, rgba(255, 18, 12, 0.1) 0%, rgba(255, 18, 12, 0.045) 24%, transparent 58%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.08) 72%, #020202 100%),
            url("/static/media/planb-desktop-angel-v2.png") 64% 50% / auto 104% no-repeat;
        filter: brightness(1.13) contrast(1.13) grayscale(1);
    }
}

@media (min-width: 761px) {
    .planb-nav-links a[href="#features"],
    .planb-nav-links a[href="#locations"] {
        display: none !important;
    }

    .planb-feature-strip {
        display: none !important;
    }

    .planb-shell {
        min-height: 100vh;
        padding-bottom: 0 !important;
    }

    .planb-bottom-slogan {
        width: min(34vw, 600px);
        min-width: 520px;
        transform: translate(46px, -18px);
    }

    .planb-bottom-slogan h1 {
        display: grid;
        gap: 0.02em;
        font-size: clamp(2.35rem, 2.55vw, 3.35rem);
        line-height: 0.86;
        letter-spacing: 0.025em;
        word-spacing: 0.12em;
        text-align: left;
        white-space: nowrap;
        text-transform: uppercase;
        font-kerning: none;
        font-variant-ligatures: none;
        text-rendering: geometricPrecision;
    }

    .planb-bottom-slogan h1 span {
        display: block;
        margin: 0;
        padding: 0;
    }

    .planb-bottom-slogan h1 span:first-child {
        margin: 0;
    }

    .planb-lead {
        margin-top: 0.5rem;
        font-size: clamp(1.02rem, 1.06vw, 1.36rem);
        line-height: 1.12;
        letter-spacing: 0.025em;
        word-spacing: 0.1em;
        text-transform: uppercase;
    }
}

@media (min-width: 761px) {
    .planb-nav-links {
        margin-left: auto;
        margin-right: clamp(2.1rem, 4.1vw, 5.2rem);
        gap: clamp(2.4rem, 4.7vw, 6.2rem);
        justify-content: flex-end;
        flex: 0 1 auto;
    }

    .planb-bottom-slogan {
        width: min(31vw, 560px);
        min-width: 470px;
        transform: translate(58px, -20px);
    }

    .planb-bottom-slogan h1 {
        display: block;
        max-width: 560px;
        padding-left: 36px;
        font-size: clamp(2rem, 2.18vw, 2.9rem);
        line-height: 1.02;
        letter-spacing: 0.018em;
        word-spacing: 0.08em;
        white-space: nowrap;
    }

    .planb-bottom-slogan h1 span {
        display: block;
    }

    .planb-bottom-slogan h1::before {
        top: -0.08em;
        height: 2.12em;
    }

    .planb-lead {
        margin-top: 0.72rem;
        margin-left: 36px;
        font-size: clamp(1rem, 1.04vw, 1.28rem);
        line-height: 1.36;
        letter-spacing: 0.012em;
        word-spacing: 0.08em;
        text-transform: none;
    }

    .planb-status-chip {
        margin-top: 2.2rem;
        margin-left: 36px;
    }
}

@media (min-width: 761px) {
    .planb-nav-links {
        margin-left: auto;
        margin-right: clamp(1.8rem, 3.4vw, 4.6rem);
        gap: clamp(2rem, 3.8vw, 5rem);
        justify-content: flex-end;
        flex: 0 1 auto;
    }

    .planb-bottom-slogan {
        width: min(33vw, 590px);
        min-width: 500px;
        transform: translate(58px, -20px);
    }

    .planb-bottom-slogan h1 {
        display: block;
        max-width: 590px;
        padding-left: 36px;
        font-size: clamp(2.18rem, 2.38vw, 3.12rem);
        line-height: 1.03;
        letter-spacing: 0.016em;
        word-spacing: 0.07em;
        white-space: nowrap;
    }

    .planb-bottom-slogan h1 span {
        display: block;
    }

    .planb-bottom-slogan h1::before {
        top: -0.08em;
        height: 2.12em;
    }

    .planb-lead {
        margin-top: 0.8rem;
        margin-left: 36px;
        font-size: clamp(1.08rem, 1.12vw, 1.38rem);
        line-height: 1.34;
        letter-spacing: 0.012em;
        word-spacing: 0.08em;
        text-transform: none;
    }

    .planb-status-chip {
        margin-top: 2.15rem;
        margin-left: 36px;
    }
}

@media (min-width: 761px) {
    .planb-bottom-slogan h1 {
        padding-left: 36px !important;
    }

    .planb-bottom-slogan h1::before {
        left: 0 !important;
    }

    .planb-lead {
        margin-left: 0 !important;
        padding-left: 36px !important;
    }

    .planb-status-chip {
        margin-left: 36px !important;
    }
}

@media (min-width: 761px) {
    .planb-tariffs-page .billing-shell {
        min-height: 100vh;
        padding-top: clamp(28px, 3vw, 54px);
    }

    .planb-tariffs-page .billing-hero {
        align-items: center;
        min-height: auto;
        padding-bottom: clamp(28px, 4vw, 64px);
    }

    .planb-tariffs-page .billing-hero .button-link,
    .planb-tariffs-page .billing-plan-form button {
        text-decoration: none;
    }

    .planb-tariffs-page .billing-plan-grid {
        margin-top: clamp(18px, 2vw, 34px);
    }
}
