:root {
    --bg: #060806;
    --bg-soft: #0a0d0a;
    --panel: rgba(13, 18, 14, 0.88);
    --panel-strong: #0d120f;
    --panel-soft: #111713;
    --line: rgba(255, 255, 255, 0.07);
    --line-strong: rgba(121, 255, 143, 0.18);
    --text: #f4f7f4;
    --muted: #8b978e;
    --muted-2: #667068;
    --accent: #79ff8f;
    --accent-2: #45d96d;
    --accent-dark: #17341d;
    --danger: #ff6f78;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

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

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.site-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -2;
}

.site-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 72%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.17;
}

.orb-a {
    width: 420px;
    height: 420px;
    background: #58ff78;
    top: -180px;
    left: 5%;
}

.orb-b {
    width: 520px;
    height: 520px;
    background: #1dbb56;
    top: 28%;
    right: -280px;
    opacity: 0.1;
}

.grid-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(102,255,129,0.06), transparent 65%);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(6, 8, 6, 0.74);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-shell {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(121,255,143,0.35);
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(121,255,143,0.13), rgba(121,255,143,0.025));
    box-shadow: inset 0 0 24px rgba(121,255,143,0.05), 0 0 30px rgba(121,255,143,0.05);
}

.brand-mark span {
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -1px;
}

.brand-mark.large {
    width: 50px;
    height: 50px;
    border-radius: 14px;
}

.brand-mark.large span {
    font-size: 20px;
}

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

.brand-copy strong {
    font-size: 14px;
    letter-spacing: 0.16em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted-2);
    font-size: 9px;
    letter-spacing: 0.19em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #a0aaa2;
    font-size: 14px;
}

.nav-links > a:not(.button) {
    position: relative;
    transition: color 0.2s ease;
}

.nav-links > a:not(.button)::after {
    content: "";
    position: absolute;
    height: 2px;
    left: 0;
    right: 100%;
    bottom: -9px;
    background: var(--accent);
    transition: right 0.2s ease;
}

.nav-links > a:hover,
.nav-links > a.active {
    color: var(--text);
}

.nav-links > a:hover::after,
.nav-links > a.active::after {
    right: 0;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel-soft);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    width: 16px;
    height: 1px;
    background: var(--text);
}

.button {
    min-height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 11px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
    color: #041006;
    background: linear-gradient(135deg, #8cff9d, #59e975);
    box-shadow: 0 12px 34px rgba(89,233,117,0.15);
}

.button-primary:hover {
    box-shadow: 0 16px 38px rgba(89,233,117,0.25);
}

.button-ghost {
    background: rgba(255,255,255,0.025);
    border-color: var(--line);
    color: #d6ddd7;
}

.button-ghost:hover {
    border-color: rgba(121,255,143,0.25);
    background: rgba(121,255,143,0.045);
}

.button-small {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
}

.button-full {
    width: 100%;
}

.hero {
    padding: 92px 0 80px;
    min-height: 720px;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    align-items: center;
    gap: 62px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.17em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(121,255,143,0.08), 0 0 18px rgba(121,255,143,0.7);
    flex: 0 0 auto;
}

.status-dot.muted {
    background: #667068;
    box-shadow: none;
}

.hero h1,
.auth-copy h1 {
    margin: 18px 0 20px;
    font-size: clamp(52px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 850;
}

.hero h1 span,
.auth-copy h1 span,
.section-heading h2 span,
.dashboard-head h1 span {
    color: var(--accent);
}

.hero-lead {
    max-width: 620px;
    margin: 0;
    color: #98a39b;
    font-size: 17px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-meta {
    display: flex;
    gap: 36px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.hero-meta div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-meta strong {
    font-size: 17px;
}

.hero-meta span {
    color: var(--muted-2);
    font-size: 12px;
}

.hero-visual {
    position: relative;
}

.client-window {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(8, 11, 9, 0.92);
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(121,255,143,0.015);
    transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.client-window::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 90px rgba(73,225,100,0.06);
}

.client-window-top {
    height: 48px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    font-size: 10px;
    letter-spacing: 0.13em;
    color: var(--muted-2);
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #39413b;
}

.online-pill {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
}

.online-pill i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.client-window-body {
    min-height: 420px;
    display: grid;
    grid-template-columns: 62px 1fr;
}

.mini-sidebar {
    border-right: 1px solid var(--line);
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 18px;
    gap: 18px;
    background: rgba(255,255,255,0.012);
}

.mini-logo {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--accent);
    color: #061008;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
}

.mini-nav {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid #303832;
}

.mini-nav.active {
    border-color: rgba(121,255,143,0.55);
    background: rgba(121,255,143,0.12);
}

.module-area {
    padding: 24px;
}

.module-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.module-head div {
    display: flex;
    flex-direction: column;
}

.module-head small {
    color: var(--accent);
    font-size: 8px;
    letter-spacing: 0.18em;
    font-weight: 800;
}

.module-head strong {
    margin-top: 3px;
    font-size: 14px;
}

.module-head > span {
    color: var(--muted-2);
    font-size: 10px;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.module-card {
    min-height: 82px;
    padding: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.018);
    border-radius: 11px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.module-card span {
    font-size: 9px;
    color: var(--muted-2);
}

.module-card strong {
    font-size: 12px;
    margin-top: 4px;
}

.module-card i {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #454e47;
}

.module-card.enabled {
    border-color: rgba(121,255,143,0.16);
    background: linear-gradient(145deg, rgba(121,255,143,0.075), rgba(121,255,143,0.018));
}

.module-card.enabled i {
    background: var(--accent);
    box-shadow: 0 0 12px rgba(121,255,143,0.5);
}

.secure-strip {
    margin-top: 12px;
    padding: 13px 14px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 11px;
    align-items: center;
    background: rgba(121,255,143,0.045);
    border: 1px solid rgba(121,255,143,0.12);
}

.secure-strip div,
.floating-card div,
.identity-line div,
.flow-step div,
.service-pill div,
.table-user div,
.activity-list div div {
    display: flex;
    flex-direction: column;
}

.secure-strip strong,
.floating-card strong {
    font-size: 10px;
}

.secure-strip small,
.floating-card small {
    color: var(--muted-2);
    font-size: 8px;
    margin-top: 2px;
}

.shield,
.mini-shield {
    color: var(--accent);
}

.check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(121,255,143,0.1);
    color: var(--accent);
    font-size: 11px;
}

.floating-card {
    position: absolute;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 11px;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(11,15,12,0.94);
    box-shadow: 0 15px 40px rgba(0,0,0,0.28);
    backdrop-filter: blur(12px);
}

.floating-card-a {
    left: -34px;
    bottom: 55px;
}

.floating-card-b {
    right: -22px;
    top: 70px;
}

.section {
    padding: 92px 0;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 36px;
}

.section-heading h2,
.cta-card h2 {
    margin: 12px 0 14px;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.section-heading p,
.cta-card p {
    color: var(--muted);
    max-width: 580px;
    margin: 0;
    line-height: 1.75;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.bento {
    grid-column: span 4;
    min-height: 310px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(160deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008)),
        rgba(9, 12, 10, 0.75);
    position: relative;
    overflow: hidden;
}

.bento::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -110px;
    bottom: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(121,255,143,0.08), transparent 70%);
}

.bento-large {
    grid-column: span 8;
}

.bento-wide {
    grid-column: span 12;
    min-height: 260px;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
}

.card-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--accent);
    background: rgba(121,255,143,0.07);
    border: 1px solid rgba(121,255,143,0.13);
    margin-bottom: 24px;
}

.card-kicker {
    display: block;
    color: var(--accent);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.17em;
}

.bento h3 {
    margin: 8px 0 10px;
    font-size: 24px;
    letter-spacing: -0.025em;
}

.bento p {
    color: var(--muted);
    max-width: 500px;
    margin: 0;
}

.license-demo {
    margin-top: 30px;
    border: 1px solid rgba(121,255,143,0.14);
    background: rgba(121,255,143,0.04);
    border-radius: 12px;
    min-height: 76px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.license-demo div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.license-demo strong {
    color: var(--accent);
    font-size: 13px;
}

.license-demo > span {
    color: var(--muted-2);
    font-size: 12px;
}

.identity-line {
    margin-top: 30px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,0.015);
}

.identity-line strong {
    font-size: 12px;
}

.identity-line small {
    font-size: 10px;
    color: var(--muted-2);
}

.avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #18201a;
    border: 1px solid var(--line);
    color: var(--accent);
    font-weight: 800;
}

.avatar-large {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.admin-avatar {
    color: #061008;
    background: var(--accent);
}

.device-line {
    margin-top: 36px;
    min-height: 58px;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.015);
}

.device-line span {
    color: var(--muted);
    font-size: 12px;
}

.device-line strong {
    color: var(--accent);
    font-size: 13px;
}

.pulse-map {
    min-height: 190px;
    position: relative;
    border: 1px solid var(--line);
    border-radius: 14px;
    background:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 28px 28px;
    overflow: hidden;
}

.pulse-node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(121,255,143,0.05), 0 0 24px rgba(121,255,143,0.35);
}

.node-a { left: 18%; top: 42%; }
.node-b { left: 48%; top: 26%; }
.node-c { right: 18%; bottom: 28%; }

.pulse-line {
    position: absolute;
    height: 1px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(121,255,143,0.1), rgba(121,255,143,0.55), rgba(121,255,143,0.1));
}

.line-a { width: 34%; left: 20%; top: 45%; transform: rotate(-12deg); }
.line-b { width: 36%; left: 50%; top: 30%; transform: rotate(26deg); }

.access-section {
    border-top: 1px solid rgba(255,255,255,0.035);
    border-bottom: 1px solid rgba(255,255,255,0.035);
    background: rgba(255,255,255,0.008);
}

.access-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.text-link {
    margin-top: 24px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
}

.flow-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    background: rgba(10,14,11,0.8);
}

.flow-step {
    min-height: 72px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.016);
}

.flow-step > span {
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 800;
}

.flow-step strong {
    font-size: 13px;
}

.flow-step small {
    color: var(--muted-2);
    font-size: 11px;
    margin-top: 2px;
}

.flow-step i {
    font-style: normal;
    color: #5a665d;
}

.flow-step .accent-check {
    color: var(--accent);
}

.flow-line {
    width: 1px;
    height: 18px;
    margin-left: 35px;
    background: linear-gradient(var(--line-strong), rgba(255,255,255,0.04));
}

.cta-section {
    padding-top: 70px;
}

.cta-card {
    padding: 46px;
    border-radius: 22px;
    border: 1px solid rgba(121,255,143,0.15);
    background:
        radial-gradient(circle at 82% 25%, rgba(121,255,143,0.09), transparent 30%),
        linear-gradient(145deg, rgba(121,255,143,0.045), rgba(255,255,255,0.008));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-card h2 {
    font-size: 38px;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 44px 0 22px;
    background: rgba(5,7,5,0.55);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: 40px;
    align-items: start;
}

.brand-footer {
    margin-bottom: 14px;
}

.footer p {
    max-width: 390px;
    color: var(--muted-2);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted-2);
    font-size: 11px;
}

.auth-section {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 70px 0 90px;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    align-items: center;
    gap: 80px;
}

.auth-copy p {
    color: var(--muted);
    max-width: 590px;
    font-size: 16px;
    line-height: 1.75;
}

.auth-points {
    margin-top: 36px;
    display: grid;
    gap: 12px;
    max-width: 540px;
}

.auth-points > div {
    min-height: 72px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.012);
    border-radius: 12px;
}

.auth-points > div > span {
    color: var(--accent);
}

.auth-points div div {
    display: flex;
    flex-direction: column;
}

.auth-points strong {
    font-size: 13px;
}

.auth-points small {
    color: var(--muted-2);
    font-size: 11px;
    margin-top: 3px;
}

.auth-card {
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(10, 14, 11, 0.9);
    box-shadow: var(--shadow);
}

.auth-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.auth-card-head div {
    display: flex;
    flex-direction: column;
}

.auth-card-head div span {
    color: var(--accent);
    letter-spacing: 0.16em;
    font-size: 9px;
    font-weight: 800;
}

.auth-card-head strong {
    font-size: 22px;
    letter-spacing: -0.02em;
}

.auth-form {
    display: grid;
    gap: 10px;
}

.auth-form label {
    color: #c9d0ca;
    font-size: 12px;
    font-weight: 700;
}

.label-row {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label-row a {
    color: var(--muted-2);
    font-size: 11px;
}

.input-wrap {
    height: 50px;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255,255,255,0.018);
    padding: 0 13px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.input-wrap:focus-within {
    border-color: rgba(121,255,143,0.35);
    background: rgba(121,255,143,0.025);
}

.input-wrap > span {
    color: var(--muted-2);
    font-size: 12px;
}

.input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-size: 13px;
}

.input-wrap input::placeholder {
    color: #4c554e;
}

.password-toggle {
    border: 0;
    background: transparent;
    color: var(--muted-2);
    cursor: pointer;
}

.auth-form .button {
    margin-top: 10px;
}

.auth-separator {
    margin: 24px 0 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.auth-separator span {
    height: 1px;
    background: var(--line);
}

.auth-separator small {
    font-size: 8px;
    color: var(--muted-2);
    letter-spacing: 0.16em;
}

.auth-note {
    margin: 18px 0 0;
    text-align: center;
    color: var(--muted-2);
    font-size: 10px;
    line-height: 1.6;
}

.notice {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 11px;
}

.notice-info {
    color: #bfeac6;
    border: 1px solid rgba(121,255,143,0.15);
    background: rgba(121,255,143,0.05);
}

.dashboard-section {
    padding: 42px 0 90px;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 20px;
    align-items: start;
}

.dashboard-sidebar {
    position: sticky;
    top: 94px;
    min-height: 620px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(10,14,11,0.82);
    display: flex;
    flex-direction: column;
}

.sidebar-profile {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 11px;
    padding: 5px 4px 18px;
    border-bottom: 1px solid var(--line);
}

.sidebar-profile div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-profile strong {
    font-size: 12px;
}

.sidebar-profile small {
    color: var(--muted-2);
    font-size: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-sidebar nav {
    display: grid;
    gap: 6px;
    margin-top: 18px;
}

.dashboard-sidebar nav a {
    min-height: 42px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--muted);
    border-radius: 9px;
    font-size: 12px;
}

.dashboard-sidebar nav a span {
    width: 18px;
    color: var(--muted-2);
}

.dashboard-sidebar nav a:hover,
.dashboard-sidebar nav a.active {
    color: var(--text);
    background: rgba(121,255,143,0.055);
}

.dashboard-sidebar nav a.active span {
    color: var(--accent);
}

.sidebar-bottom {
    margin-top: auto;
    display: grid;
    gap: 12px;
}

.preview-badge {
    padding: 8px 10px;
    border: 1px solid rgba(121,255,143,0.12);
    border-radius: 8px;
    color: var(--accent);
    background: rgba(121,255,143,0.04);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-align: center;
}

.sidebar-bottom a {
    color: var(--muted-2);
    font-size: 11px;
    text-align: center;
}

.dashboard-content {
    min-width: 0;
}

.dashboard-head {
    min-height: 116px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dashboard-head h1 {
    margin: 5px 0 4px;
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -0.04em;
}

.dashboard-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.service-pill {
    min-width: 150px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,0.016);
}

.service-pill small {
    color: var(--muted-2);
    font-size: 9px;
}

.service-pill strong {
    font-size: 11px;
}

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

.client-stats-grid {
    grid-template-columns: repeat(3, 1fr);
}

.stat-card {
    min-height: 128px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(10,14,11,0.72);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card > span {
    color: var(--muted-2);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-card strong {
    margin-top: 8px;
    font-size: 21px;
}

.stat-card small {
    margin-top: 3px;
    color: var(--muted-2);
    font-size: 9px;
}

.accent-text {
    color: var(--accent);
}

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

.panel-card {
    min-height: 310px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(10,14,11,0.76);
}

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

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

.panel-card-head h2 {
    margin: 6px 0 0;
    font-size: 19px;
    letter-spacing: -0.02em;
}

.license-chip,
.neutral-chip {
    min-height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 750;
    white-space: nowrap;
}

.license-chip {
    color: var(--accent);
    background: rgba(121,255,143,0.055);
    border: 1px solid rgba(121,255,143,0.14);
}

.license-chip i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.neutral-chip {
    color: #9aa49c;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--line);
}

.neutral-chip.danger {
    color: #ff9aa0;
    border-color: rgba(255,111,120,0.14);
    background: rgba(255,111,120,0.05);
}

.license-key {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px dashed rgba(121,255,143,0.14);
    border-radius: 11px;
    background: rgba(121,255,143,0.025);
}

.license-key span {
    color: var(--muted-2);
    font-size: 10px;
}

.license-key strong {
    font-size: 12px;
    letter-spacing: 0.09em;
}

.progress-row {
    margin-top: 22px;
}

.progress-row > div:first-child {
    display: flex;
    justify-content: space-between;
    color: var(--muted-2);
    font-size: 10px;
}

.progress-row > div:first-child strong {
    color: #b6c0b8;
}

.progress {
    height: 5px;
    margin-top: 9px;
    background: #18201a;
    border-radius: 99px;
    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    border-radius: inherit;
}

.panel-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.empty-state {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 16px;
}

.empty-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--muted-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
}

.empty-state strong {
    font-size: 12px;
}

.empty-state p {
    color: var(--muted-2);
    font-size: 10px;
    max-width: 280px;
    margin: 5px 0 0;
}

.device-table {
    border: 1px solid var(--line);
    border-radius: 11px;
    overflow: hidden;
}

.device-table-head {
    min-height: 42px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.7fr;
    align-items: center;
    color: var(--muted-2);
    background: rgba(255,255,255,0.015);
    border-bottom: 1px solid var(--line);
    font-size: 9px;
}

.device-empty {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--muted-2);
}

.device-empty p {
    margin: 0;
    font-size: 10px;
}

.admin-table-head {
    align-items: center;
}

.table-tools {
    display: flex;
    gap: 8px;
}

.table-tools input {
    width: 190px;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 9px;
    outline: 0;
    background: rgba(255,255,255,0.02);
    color: var(--text);
    padding: 0 11px;
    font-size: 11px;
}

.table-tools input:focus {
    border-color: rgba(121,255,143,0.25);
}

.responsive-table {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th {
    color: var(--muted-2);
    font-size: 9px;
    font-weight: 600;
    text-align: left;
    padding: 10px 8px;
    border-bottom: 1px solid var(--line);
}

.admin-table td {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: #cbd2cc;
    font-size: 10px;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table tbody tr:hover {
    background: rgba(121,255,143,0.018);
}

.table-user {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 9px;
    align-items: center;
}

.table-user .avatar {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 10px;
}

.table-user strong {
    font-size: 10px;
    font-weight: 700;
}

.table-user small {
    color: var(--muted-2);
    font-size: 8px;
}

.icon-button {
    width: 32px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.018);
    color: var(--muted);
    cursor: pointer;
}

.admin-two-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.donut-wrap {
    display: grid;
    grid-template-columns: 145px 1fr;
    align-items: center;
    gap: 26px;
}

.donut {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--accent) 0 79%, #202721 79% 100%);
    position: relative;
}

.donut::after {
    content: "";
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #0b0f0c;
}

.donut > span {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donut strong {
    font-size: 19px;
}

.donut small {
    color: var(--muted-2);
    font-size: 8px;
}

.legend {
    display: grid;
    gap: 12px;
}

.legend > div {
    display: grid;
    grid-template-columns: 8px 1fr auto;
    align-items: center;
    gap: 9px;
    font-size: 10px;
}

.legend i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #323a34;
}

.legend .legend-green {
    background: var(--accent);
}

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

.activity-list {
    display: grid;
}

.activity-list > div {
    min-height: 58px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid var(--line);
}

.activity-list > div:last-child {
    border-bottom: 0;
}

.activity-list strong {
    font-size: 10px;
}

.activity-list small,
.activity-list time {
    color: var(--muted-2);
    font-size: 8px;
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 300;
    width: min(360px, calc(100% - 48px));
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(121,255,143,0.16);
    border-radius: 12px;
    background: rgba(10,14,11,0.96);
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
    transform: translateY(25px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(121,255,143,0.08);
    color: var(--accent);
}

.toast div {
    display: flex;
    flex-direction: column;
}

.toast strong {
    font-size: 11px;
}

.toast small {
    color: var(--muted-2);
    font-size: 9px;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }

@media (max-width: 1040px) {
    .hero-grid,
    .auth-grid,
    .access-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 70px;
    }

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

    .hero-visual {
        width: min(100%, 720px);
        margin: 0 auto;
    }

    .bento,
    .bento-large {
        grid-column: span 6;
    }

    .bento-wide {
        grid-column: span 12;
    }

    .auth-grid {
        gap: 50px;
    }

    .auth-card {
        width: min(100%, 560px);
    }

    .dashboard-shell {
        grid-template-columns: 190px 1fr;
    }

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

@media (max-width: 820px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 78px;
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: rgba(8,11,9,0.98);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > a:not(.button) {
        padding: 10px 4px;
    }

    .nav-links > a:not(.button)::after {
        display: none;
    }

    .hero {
        padding-top: 70px;
    }

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

    .hero h1,
    .auth-copy h1 {
        font-size: clamp(44px, 12vw, 66px);
    }

    .client-window {
        transform: none;
    }

    .floating-card {
        display: none;
    }

    .bento,
    .bento-large,
    .bento-wide {
        grid-column: span 12;
    }

    .bento-wide {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

    .footer-status {
        grid-column: 1 / -1;
    }

    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
        min-height: auto;
    }

    .dashboard-sidebar nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidebar-bottom {
        margin-top: 18px;
    }

    .dashboard-grid,
    .admin-two-grid {
        grid-template-columns: 1fr;
    }

    .panel-card-wide {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .hero {
        min-height: auto;
        padding: 58px 0 62px;
    }

    .hero-meta {
        gap: 22px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero-meta div {
        min-width: 100px;
    }

    .client-window-body {
        grid-template-columns: 46px 1fr;
        min-height: 360px;
    }

    .module-area {
        padding: 16px;
    }

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

    .module-card {
        min-height: 58px;
    }

    .secure-strip {
        display: none;
    }

    .section {
        padding: 68px 0;
    }

    .section-heading h2,
    .cta-card h2 {
        font-size: 36px;
    }

    .bento {
        min-height: 280px;
        padding: 22px;
    }

    .license-demo {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 16px;
    }

    .cta-card {
        padding: 28px;
    }

    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .footer-grid {
        display: grid;
    }

    .auth-section {
        padding-top: 48px;
    }

    .auth-card {
        padding: 22px;
    }

    .dashboard-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0 22px;
    }

    .service-pill {
        width: 100%;
    }

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

    .stat-card {
        min-height: 110px;
        padding: 15px;
    }

    .panel-card {
        padding: 18px;
    }

    .panel-actions,
    .table-tools {
        flex-direction: column;
    }

    .table-tools input {
        width: 100%;
    }

    .donut-wrap {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .legend {
        width: 100%;
    }
}
