@font-face {
    font-family: "Jura";
    src: url("fonts/Jura-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #141822;
    --ink-soft: #3a4252;
    --muted: #6f7888;
    --line: #dce2ea;
    --paper: #ffffff;
    --paper-soft: #f7f9fb;
    --site-bg: #101623;
    --admin-bg: #eef3f7;
    --panel-bg: #edf5f7;
    --sidebar: rgba(16, 22, 34, 0.88);
    --sidebar-soft: rgba(255, 255, 255, 0.09);
    --primary: #14b8a6;
    --primary-dark: #0f766e;
    --gold: #f2b84b;
    --danger: #b42318;
    --ok: #027a48;
    --radius: 18px;
    --shadow: 0 26px 70px rgba(5, 12, 24, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: "Jura", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    letter-spacing: 0;
    overflow-x: hidden;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

body.site-body {
    background:
        radial-gradient(circle at 17% 12%, rgba(20, 184, 166, 0.33), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(242, 184, 75, 0.24), transparent 28%),
        radial-gradient(circle at 52% 70%, rgba(59, 130, 246, 0.14), transparent 32%),
        linear-gradient(180deg, #121827, var(--site-bg));
}

body.admin-body {
    background: var(--admin-bg);
}

body.panel-body {
    background:
        radial-gradient(circle at 8% 8%, rgba(20, 184, 166, 0.18), transparent 25%),
        radial-gradient(circle at 90% 18%, rgba(242, 184, 75, 0.16), transparent 28%),
        linear-gradient(180deg, #edf5f7, #f7f9fb);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

code,
pre {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

pre {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: #111827;
    color: #eef2ff;
    padding: 16px;
    line-height: 1.6;
}

.scene-3d {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    opacity: 0.72;
}

.particle-layer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 74;
    opacity: 0.86;
    mix-blend-mode: screen;
}

.site-body::before,
.site-body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: max(32px, calc((100vw - 1240px) / 2));
    pointer-events: none;
    z-index: -1;
    opacity: 0.45;
}

.site-body::before {
    left: 0;
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.22), transparent);
}

.site-body::after {
    right: 0;
    background: linear-gradient(270deg, rgba(242, 184, 75, 0.18), transparent);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    margin: 0 auto;
    background: rgba(14, 21, 33, 0.72);
    border: 1px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    backdrop-filter: blur(22px);
    transform: translate3d(0, 0, 0);
    transform-origin: top center;
    transition:
        width 520ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
        border-radius 520ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 520ms ease,
        box-shadow 520ms ease,
        background 520ms ease,
        backdrop-filter 520ms ease;
    will-change: width, transform, border-radius, background, box-shadow;
}

.topbar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.08) 42%, transparent 68%);
    opacity: 0;
    transform: translateX(-18%);
    transition: opacity 520ms ease, transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.nav-scrolled .topbar {
    top: 0;
    width: min(1180px, calc(100% - 72px));
    transform: translate3d(0, 14px, 0);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(14, 21, 33, 0.58);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28), 0 0 44px rgba(20, 184, 166, 0.12);
}

body.nav-scrolled .topbar::before {
    opacity: 1;
    transform: translateX(0);
}

.topbar-inner,
.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

body.nav-scrolled .topbar-inner {
    width: 100%;
    min-height: 82px;
    padding: 0 26px;
}

.topbar-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 18px;
    transition:
        min-height 520ms cubic-bezier(0.16, 1, 0.3, 1),
        padding 520ms cubic-bezier(0.16, 1, 0.3, 1),
        gap 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.brand,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #f8fafc;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms ease;
}

.topbar .brand:hover {
    filter: drop-shadow(0 0 18px rgba(20, 184, 166, 0.28));
    transform: translateY(-1px);
}

.brand-copy {
    display: grid;
    gap: 1px;
    line-height: 1.02;
    padding-right: 8px;
}

.brand-copy strong,
.admin-brand strong,
.footer-brand strong {
    font-size: 19px;
    line-height: 1;
}

.brand-copy small,
.admin-brand small,
.footer-brand small {
    color: rgba(226, 232, 240, 0.66);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.admin-brand em {
    display: block;
    margin-top: 5px;
    color: #8d99aa;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.brand-mark,
.brand::before {
    content: "";
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.22);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding-left: 18px;
    transition: gap 420ms ease, padding 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.nav-scrolled .nav {
    padding-right: 14px;
}

.topbar .user-menu {
    margin-right: 4px;
}

.language-menu {
    z-index: 90;
}

.language-menu-button {
    min-width: 74px;
    border-radius: 18px;
}

.language-globe {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    opacity: 0.95;
}

.language-globe::before,
.language-globe::after {
    content: "";
    position: absolute;
    inset: 4px 2px;
    border-left: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    border-radius: 50%;
}

.language-globe::after {
    inset: 8px 2px auto;
    height: 1px;
    border: 0;
    border-top: 1.5px solid currentColor;
    border-radius: 0;
}

.language-dropdown {
    width: 220px;
}

.language-dropdown button {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.language-dropdown button.active {
    color: #ffffff;
    background: rgba(20, 184, 166, 0.16);
}

.language-dropdown strong,
.language-dropdown span {
    display: block;
}

.language-dropdown span {
    color: rgba(226, 232, 240, 0.58);
    font-size: 12px;
}

.nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius);
    padding: 9px 13px;
    color: rgba(248, 250, 252, 0.78);
    font-size: 14px;
    font-weight: 700;
    transition:
        color 180ms ease,
        background 180ms ease,
        transform 180ms ease,
        text-shadow 180ms ease;
}

.nav a:hover,
.nav a.nav-cta {
    background: rgba(20, 184, 166, 0.13);
    color: #ffffff;
    transform: translateY(-1px);
    text-shadow: 0 0 16px rgba(20, 184, 166, 0.34);
}

.container {
    padding: 46px 0 76px;
}

.banner {
    position: relative;
    z-index: 35;
    width: min(1200px, calc(100% - 48px));
    margin: 14px auto 0;
    border: 1px solid rgba(194, 135, 43, 0.28);
    border-radius: var(--radius);
    background: rgba(255, 247, 237, 0.9);
    color: #8a4b00;
    padding: 12px 16px;
}

.site-hero {
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.76fr);
    align-items: center;
    gap: 48px;
    padding: 70px 0 86px;
}

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

.eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    color: #8ef5e7;
    font-size: 13px;
    font-weight: 800;
}

h1,
h2,
h3 {
    margin: 0 0 12px;
    color: #f8fafc;
    letter-spacing: 0;
    transition: text-shadow 220ms ease, filter 220ms ease;
}

h1:hover,
h2:hover,
h3:hover,
.eyebrow:hover {
    text-shadow: 0 0 24px rgba(20, 184, 166, 0.2);
}

h1 {
    font-size: 52px;
    line-height: 1.05;
}

h2 {
    font-size: 34px;
    line-height: 1.16;
}

h3 {
    font-size: 18px;
    line-height: 1.3;
}

p {
    line-height: 1.65;
}

.hero-copy p {
    max-width: 650px;
    color: rgba(226, 232, 240, 0.78);
    font-size: 18px;
}

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

.hero-visual {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
}

.code-window {
    width: min(100%, 470px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.72);
    color: #e2e8f0;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34), 0 0 70px rgba(20, 184, 166, 0.18);
    transform: rotateX(8deg) rotateY(-10deg);
}

.window-dots {
    display: flex;
    gap: 6px;
    padding: 14px 16px 0;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f59e0b;
}

.window-dots span:nth-child(2) {
    background: #22c55e;
}

.window-dots span:nth-child(3) {
    background: #38bdf8;
}

.code-window pre {
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.signal-card {
    position: absolute;
    right: 0;
    bottom: 48px;
    width: 170px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.58);
    padding: 18px;
    color: #f8fafc;
    box-shadow: var(--shadow), 0 0 44px rgba(242, 184, 75, 0.16);
    backdrop-filter: blur(14px);
}

.signal-card strong {
    display: block;
    font-size: 30px;
}

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

.site-section {
    padding: 62px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.feature-grid,
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.feature-card,
.panel,
.item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    padding: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        background 220ms ease;
}

.feature-card:hover,
.item:hover {
    transform: translateY(-2px);
    border-color: rgba(20, 184, 166, 0.28);
    box-shadow: var(--shadow), 0 0 42px rgba(20, 184, 166, 0.1);
}

.site-body .feature-card,
.site-body .panel,
.site-body .item,
.site-body .metric-list div,
.site-body .process-row div {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(15, 23, 42, 0.55);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26), 0 0 52px rgba(20, 184, 166, 0.08);
    color: #f8fafc;
}

.feature-card p,
.item p,
.panel p {
    color: var(--muted);
}

.site-body .feature-card p,
.site-body .item p,
.site-body .panel p,
.site-body .metric-list span,
.site-body .process-row p,
.site-body .muted {
    color: rgba(226, 232, 240, 0.72);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
    gap: 28px;
    align-items: center;
}

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

.metric-list div,
.process-row div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    padding: 18px;
    box-shadow: 0 12px 28px rgba(20, 24, 34, 0.06);
}

.metric-list strong {
    display: block;
    font-size: 28px;
}

.metric-list span,
.process-row p {
    color: var(--muted);
}

.process-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.process-row span {
    display: inline-flex;
    color: var(--gold);
    font-weight: 900;
    margin-bottom: 12px;
}

.compact-item {
    box-shadow: none;
    margin-top: 12px;
}

.site-footer {
    position: relative;
    width: min(1200px, calc(100% - 48px));
    margin: 12px auto 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background:
        radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.18), transparent 28%),
        radial-gradient(circle at 84% 18%, rgba(242, 184, 75, 0.16), transparent 26%),
        rgba(12, 18, 31, 0.72);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32), 0 0 70px rgba(20, 184, 166, 0.12);
    backdrop-filter: blur(24px);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 35%, rgba(255, 255, 255, 0.04)),
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, 0.035) 39px 40px);
    pointer-events: none;
}

.footer-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 1.15fr) minmax(210px, 0.7fr) minmax(320px, 1.05fr) minmax(260px, 0.85fr);
    gap: 28px;
    align-items: center;
    padding: 34px;
}

.footer-brand,
.footer-brand-block,
.footer-links h3,
.footer-user-card strong {
    color: #f8fafc;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 19px;
    font-weight: 900;
}

.footer-brand-block p {
    max-width: 390px;
    color: rgba(226, 232, 240, 0.72);
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    border: 1px solid rgba(20, 184, 166, 0.24);
    border-radius: 999px;
    padding: 7px 12px;
    color: #9ff4e9;
    background: rgba(20, 184, 166, 0.1);
    font-size: 13px;
    font-weight: 800;
}

.footer-status span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #14b8a6;
    box-shadow: 0 0 18px rgba(20, 184, 166, 0.95);
}

.footer-visual {
    position: relative;
    width: 210px;
    height: 210px;
    margin: 0 auto;
    perspective: 900px;
    transform-style: preserve-3d;
}

.footer-core,
.footer-ring,
.footer-node {
    position: absolute;
    inset: 0;
    margin: auto;
    transform-style: preserve-3d;
}

.footer-core {
    width: 66px;
    height: 66px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.96), rgba(242, 184, 75, 0.9));
    box-shadow: 0 0 38px rgba(20, 184, 166, 0.58), 0 0 72px rgba(242, 184, 75, 0.22);
    animation: footer-float 5s ease-in-out infinite;
}

.footer-ring {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    box-shadow: inset 0 0 22px rgba(20, 184, 166, 0.12), 0 0 30px rgba(20, 184, 166, 0.12);
}

.ring-one {
    width: 156px;
    height: 156px;
    animation: footer-spin-one 9s linear infinite;
}

.ring-two {
    width: 188px;
    height: 188px;
    border-color: rgba(242, 184, 75, 0.26);
    animation: footer-spin-two 13s linear infinite;
}

.ring-three {
    width: 118px;
    height: 118px;
    animation: footer-spin-three 7s linear infinite;
}

.footer-node {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #f8fafc;
    box-shadow: 0 0 24px rgba(248, 250, 252, 0.8);
}

.node-one {
    transform: translate3d(76px, 28px, 0);
    animation: footer-node-one 8s ease-in-out infinite;
}

.node-two {
    background: #14b8a6;
    transform: translate3d(-68px, 124px, 0);
    animation: footer-node-two 10s ease-in-out infinite;
}

.node-three {
    background: #f2b84b;
    transform: translate3d(116px, 128px, 0);
    animation: footer-node-three 12s ease-in-out infinite;
}

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

.footer-links div {
    display: grid;
    gap: 8px;
}

.footer-links h3 {
    margin-bottom: 4px;
    font-size: 14px;
}

.footer-links a,
.footer-user-actions a,
.footer-user-actions button {
    color: rgba(226, 232, 240, 0.72);
    font-size: 14px;
    font-weight: 700;
}

.footer-links a:hover,
.footer-user-actions a:hover,
.footer-user-actions button:hover {
    color: #ffffff;
}

.footer-user-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    padding: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 44px rgba(0, 0, 0, 0.18);
}

.footer-user-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
}

.footer-user-head span:not(.user-avatar) {
    display: block;
    margin-top: 2px;
    color: rgba(226, 232, 240, 0.6);
    font-size: 13px;
}

.footer-user-actions {
    display: grid;
    gap: 6px;
}

.footer-user-actions a,
.footer-user-actions button {
    width: 100%;
    min-height: 38px;
    justify-content: flex-start;
    border-radius: 14px;
    padding: 8px 10px;
    background: transparent;
    box-shadow: none;
}

.footer-user-actions a:hover,
.footer-user-actions button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-user-actions form {
    margin: 0;
}

.flash {
    padding: 13px 15px;
    border-radius: var(--radius);
    margin-bottom: 18px;
    background: #ecfdf3;
    color: var(--ok);
    border: 1px solid rgba(2, 122, 72, 0.18);
}

.flash.error {
    background: #fef3f2;
    border-color: rgba(180, 35, 24, 0.2);
    color: var(--danger);
}

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

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 42px rgba(20, 24, 34, 0.08);
    backdrop-filter: blur(18px);
}

th,
td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    background: #f1f4f7;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 800;
}

tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover {
    background: #f8fafc;
}

form.stack {
    display: grid;
    gap: 15px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 11px 12px;
    color: var(--ink);
    font: inherit;
    background: rgba(255, 255, 255, 0.78);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(15, 118, 110, 0.58);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

textarea {
    min-height: 132px;
    resize: vertical;
}

button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 42px;
    border: 0;
    border-radius: var(--radius);
    padding: 10px 15px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
    transition:
        transform 180ms ease,
        background 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease,
        text-shadow 180ms ease;
}

button:hover,
.button:hover {
    color: #fff;
    background: var(--primary-dark);
    transform: translateY(-1px);
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.22);
}

.button.secondary {
    background: var(--ink);
    box-shadow: 0 12px 24px rgba(20, 24, 34, 0.16);
}

.button.danger,
button.danger {
    background: var(--danger);
    box-shadow: 0 12px 24px rgba(180, 35, 24, 0.14);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
}

.avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #e5e7eb;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18), 0 0 32px rgba(20, 184, 166, 0.16);
}

.profile-avatar-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.profile-avatar-card strong,
.profile-avatar-card span {
    display: block;
}

.profile-avatar-card strong {
    color: #f8fafc;
    font-size: 18px;
}

.profile-avatar-card span {
    margin-top: 4px;
    color: rgba(226, 232, 240, 0.62);
    word-break: break-word;
}

.file-drop {
    position: relative;
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px dashed rgba(20, 184, 166, 0.48);
    border-radius: 24px;
    padding: 18px;
    cursor: pointer;
    background:
        linear-gradient(135deg, rgba(20, 184, 166, 0.13), rgba(242, 184, 75, 0.07)),
        rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.14);
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.file-drop:hover,
.file-drop.has-file,
.file-drop:focus-within {
    border-color: rgba(242, 184, 75, 0.68);
    background:
        linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(242, 184, 75, 0.12)),
        rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-drop-icon {
    position: relative;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(20, 184, 166, 0.95), rgba(242, 184, 75, 0.9));
    box-shadow: 0 0 32px rgba(20, 184, 166, 0.34);
}

.file-drop-icon::before,
.file-drop-icon::after {
    content: "";
    position: absolute;
}

.file-drop-icon::before {
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    margin: 14px;
    border: 2px solid rgba(6, 16, 25, 0.78);
    border-radius: 7px;
}

.file-drop-icon::after {
    top: 0;
    left: 0;
    width: 9px;
    height: 9px;
    margin: 24px 0 0 25px;
    border-radius: 50%;
    background: rgba(6, 16, 25, 0.78);
}

.file-drop-copy {
    display: grid;
    gap: 5px;
}

.file-drop-copy strong {
    color: #f8fafc;
    font-size: 17px;
}

.file-drop-copy small {
    max-width: 100%;
    color: rgba(226, 232, 240, 0.62);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.switch-row {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(226, 232, 240, 0.86);
}

.switch-row input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--primary);
}

.seo-grid {
    align-items: start;
}

.seo-preview {
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.seo-preview span,
.seo-preview strong,
.seo-preview p {
    display: block;
}

.seo-preview span {
    color: #8ef5e7;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.seo-preview strong {
    margin-top: 8px;
    color: #f8fafc;
    font-size: 20px;
}

.seo-preview p {
    margin-bottom: 0;
    color: rgba(226, 232, 240, 0.68);
}

.code-field {
    min-height: 250px;
    font-family: inherit;
    line-height: 1.55;
}

.message {
    border-left: 4px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.86);
    margin-bottom: 12px;
    box-shadow: 0 10px 24px rgba(20, 24, 34, 0.06);
}

.message.staff {
    border-left-color: var(--primary);
}

.user-menu {
    position: relative;
}

.user-menu-button {
    min-height: 36px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
    gap: 8px;
    padding: 6px 11px;
    font-family: inherit;
    font-size: 13px;
}

.topbar .user-menu-button {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 34px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(18px);
}

.topbar .user-menu-button:hover {
    color: #ffffff;
    background: rgba(20, 184, 166, 0.16);
}

.topbar .user-avatar {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    color: #061019;
    box-shadow: 0 0 22px rgba(20, 184, 166, 0.32);
}

.topbar .user-dropdown {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 34px rgba(20, 184, 166, 0.12);
    backdrop-filter: blur(22px);
}

.topbar .user-dropdown a,
.topbar .user-dropdown button {
    color: rgba(226, 232, 240, 0.78);
}

.topbar .user-dropdown a:hover,
.topbar .user-dropdown button:hover {
    color: #ffffff;
    background: rgba(20, 184, 166, 0.14);
}

.user-menu-button:hover {
    color: var(--ink);
    background: #f8fafc;
}

.user-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    font-size: 13px;
    overflow: hidden;
    flex: 0 0 26px;
}

.user-avatar.has-image {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.18);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 230px;
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    padding: 8px;
    box-shadow: 0 20px 50px rgba(20, 24, 34, 0.16);
    z-index: 80;
}

.user-menu.open .user-dropdown {
    display: grid;
}

.user-dropdown a,
.user-dropdown button {
    width: 100%;
    justify-content: flex-start;
    min-height: 40px;
    border-radius: var(--radius);
    padding: 9px 10px;
    color: var(--ink-soft);
    background: transparent;
    box-shadow: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    color: var(--primary-dark);
    background: #eef8f6;
}

.user-dropdown form {
    margin: 0;
}

.admin-shell,
.panel-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
}

.admin-sidebar,
.panel-sidebar {
    position: sticky;
    top: 18px;
    height: calc(100vh - 36px);
    overflow-y: auto;
    background: var(--sidebar);
    color: #e5e7eb;
    padding: 22px 16px;
    margin: 18px 0 18px 18px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(22px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.admin-sidebar::-webkit-scrollbar,
.panel-sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.panel-sidebar {
    background: rgba(12, 22, 32, 0.76);
    box-shadow: 0 28px 80px rgba(9, 18, 28, 0.18), 0 0 44px rgba(20, 184, 166, 0.12);
}

.admin-brand {
    color: #fff;
    margin-bottom: 28px;
}

.admin-brand:hover {
    color: #fff;
}

.admin-nav {
    display: grid;
    gap: 5px;
}

.nav-title {
    margin: 20px 10px 7px;
    color: #8d99aa;
    font-size: 12px;
    font-weight: 900;
}

.admin-nav-item {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: var(--radius);
    padding: 10px 12px;
    color: #d9dee7;
    font-size: 14px;
    font-weight: 750;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    color: #fff;
    background: var(--sidebar-soft);
}

.admin-main,
.panel-main {
    min-width: 0;
    display: grid;
    grid-template-rows: 74px 1fr;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.68);
    padding: 0 28px;
    backdrop-filter: blur(22px);
    margin: 18px 28px 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(20, 24, 34, 0.08);
}

.topbar-subtitle {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 2px;
}

.admin-content,
.panel-content {
    width: min(1280px, calc(100% - 56px));
    margin: 0 auto;
    padding: 30px 0 58px;
}

.panel-content {
    width: min(1120px, calc(100% - 56px));
}

.admin-content .toolbar,
.panel-content .toolbar {
    margin-bottom: 20px;
}

.admin-content h1,
.panel-content h1 {
    font-size: 34px;
    color: var(--ink);
}

.admin-content h2,
.panel-content h2 {
    font-size: 22px;
    color: var(--ink);
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.icon-button {
    display: none;
    min-height: 38px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
}

body.admin-body,
body.panel-body {
    color: #f8fafc;
    background:
        radial-gradient(circle at 12% 10%, rgba(20, 184, 166, 0.24), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(242, 184, 75, 0.17), transparent 27%),
        radial-gradient(circle at 62% 92%, rgba(59, 130, 246, 0.12), transparent 34%),
        linear-gradient(180deg, #111827, #0b101b);
}

body.admin-body::before,
body.panel-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

.admin-sidebar,
.panel-sidebar {
    background:
        radial-gradient(circle at 20% 4%, rgba(20, 184, 166, 0.22), transparent 30%),
        rgba(10, 17, 28, 0.72);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), 0 0 54px rgba(20, 184, 166, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-topbar {
    color: #f8fafc;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.48)),
        rgba(15, 23, 42, 0.58);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), 0 0 44px rgba(20, 184, 166, 0.11);
}

.admin-topbar .topbar-subtitle {
    color: rgba(226, 232, 240, 0.68);
}

.admin-content,
.panel-content {
    color: #f8fafc;
}

.admin-content h1,
.panel-content h1,
.admin-content h2,
.panel-content h2,
.admin-content h3,
.panel-content h3 {
    color: #f8fafc;
}

.admin-content .muted,
.panel-content .muted {
    color: rgba(226, 232, 240, 0.66);
}

.admin-body .panel,
.admin-body .item,
.panel-body .panel,
.panel-body .item {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(15, 23, 42, 0.58);
    color: #f8fafc;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), 0 0 44px rgba(20, 184, 166, 0.08);
}

.admin-body .panel p,
.admin-body .item p,
.panel-body .panel p,
.panel-body .item p {
    color: rgba(226, 232, 240, 0.68);
}

.admin-body table,
.panel-body table {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.62);
    color: #f8fafc;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), 0 0 44px rgba(20, 184, 166, 0.08);
}

.admin-body th,
.panel-body th {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(226, 232, 240, 0.8);
}

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

.admin-body tbody tr:hover,
.panel-body tbody tr:hover {
    background: rgba(20, 184, 166, 0.09);
}

.admin-body input,
.admin-body select,
.admin-body textarea,
.panel-body input,
.panel-body select,
.panel-body textarea {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.admin-body input::placeholder,
.panel-body input::placeholder {
    color: rgba(226, 232, 240, 0.45);
}

.admin-body label,
.panel-body label {
    color: rgba(226, 232, 240, 0.82);
}

.admin-body select option,
.panel-body select option {
    background: #111827;
    color: #f8fafc;
}

.admin-topbar .user-menu-button,
.panel-topbar .user-menu-button,
.admin-body .user-menu-button,
.panel-body .user-menu-button {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-topbar .user-menu-button:hover,
.panel-topbar .user-menu-button:hover,
.admin-body .user-menu-button:hover,
.panel-body .user-menu-button:hover {
    background: rgba(20, 184, 166, 0.14);
    color: #ffffff;
}

.admin-body .user-dropdown,
.panel-body .user-dropdown {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(15, 23, 42, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 34px rgba(20, 184, 166, 0.12);
}

.admin-body .user-dropdown a,
.admin-body .user-dropdown button,
.panel-body .user-dropdown a,
.panel-body .user-dropdown button {
    color: rgba(226, 232, 240, 0.78);
}

.admin-body .user-dropdown a:hover,
.admin-body .user-dropdown button:hover,
.panel-body .user-dropdown a:hover,
.panel-body .user-dropdown button:hover {
    color: #ffffff;
    background: rgba(20, 184, 166, 0.14);
}

.admin-body .message,
.panel-body .message {
    background: rgba(15, 23, 42, 0.58);
    border-left-color: rgba(255, 255, 255, 0.18);
    color: #f8fafc;
}

.admin-body .badge,
.panel-body .badge {
    background: rgba(20, 184, 166, 0.14);
    color: #8ef5e7;
}

@media (max-width: 1180px) {
    .topbar-inner,
    .container {
        width: min(100% - 36px, 1080px);
    }

    body.nav-scrolled .topbar {
        width: min(100% - 36px, 1080px);
    }

    .site-hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        gap: 30px;
        padding: 58px 0 70px;
    }

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

    .hero-visual {
        min-height: 360px;
    }

    .code-window {
        transform: none;
    }

    .signal-card {
        right: 18px;
        bottom: 20px;
    }

    .footer-inner {
        grid-template-columns: minmax(260px, 1fr) minmax(230px, 0.8fr);
    }

    .footer-links,
    .footer-user-card {
        grid-column: 1 / -1;
    }

    .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    .site-hero,
    .split-section,
    .process-row {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 320px;
    }

    .signal-card {
        position: relative;
        right: auto;
        bottom: auto;
        justify-self: end;
        margin-top: -54px;
    }

    .admin-shell,
    .panel-shell {
        grid-template-columns: 1fr;
    }

    .admin-main,
    .panel-main {
        grid-template-rows: auto 1fr;
    }

    .admin-sidebar,
    .panel-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: 280px;
        z-index: 60;
        height: 100vh;
        margin: 0;
        border-radius: 0 24px 24px 0;
        transform: translateX(-100%);
        transition: transform 180ms ease;
    }

    body.admin-sidebar-open .admin-sidebar,
    body.app-sidebar-open .panel-sidebar {
        transform: translateX(0);
    }

    .icon-button {
        display: inline-flex;
    }

    .admin-topbar {
        min-height: auto;
        padding: 16px;
        margin: 14px 14px 0;
    }

    .admin-content,
    .panel-content {
        width: min(100% - 32px, 920px);
        padding: 24px 0 48px;
    }

    table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

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

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .site-body::before,
    .site-body::after {
        display: none;
    }

    body.nav-scrolled .topbar {
        top: 0;
        width: 100%;
        border-radius: 0;
        transform: translate3d(0, 0, 0);
    }

    .topbar-inner,
    .toolbar,
    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .container,
    .topbar-inner,
    .admin-content,
    .panel-content {
        width: min(100% - 28px, 1200px);
    }

    .nav {
        justify-content: flex-start;
        width: 100%;
        padding-left: 0;
    }

    h1 {
        font-size: 34px;
    }

    table {
        display: block;
        overflow-x: auto;
    }

    button,
    .button {
        width: 100%;
    }

    .user-menu,
    .user-menu-button {
        width: 100%;
    }

    .user-dropdown {
        left: 0;
        right: auto;
        width: 100%;
    }

    .profile-avatar-card,
    .file-drop {
        align-items: flex-start;
    }

    .file-drop {
        min-height: 88px;
        padding: 15px;
    }

    .site-footer {
        width: min(100% - 28px, 1200px);
        border-radius: 24px;
    }

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

    .footer-inner {
        padding: 24px;
    }

    .footer-visual {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 520px) {
    :root {
        --radius: 16px;
    }

    .topbar-inner,
    .container,
    .admin-content,
    .panel-content {
        width: min(100% - 22px, 1200px);
    }

    body.nav-scrolled .topbar {
        width: 100%;
        top: 0;
        border-radius: 0;
        transform: translate3d(0, 0, 0);
    }

    body.nav-scrolled .topbar-inner {
        min-height: auto;
        padding: 12px 11px;
    }

    .topbar-inner {
        min-height: auto;
        padding: 12px 0;
        gap: 12px;
    }

    .brand-copy strong,
    .admin-brand strong,
    .footer-brand strong {
        font-size: 17px;
    }

    .brand-copy small,
    .admin-brand small,
    .footer-brand small {
        font-size: 11px;
    }

    .nav {
        gap: 7px;
    }

    .nav a {
        min-height: 34px;
        padding: 7px 9px;
        font-size: 13px;
    }

    .site-hero {
        padding: 36px 0 48px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-actions {
        gap: 9px;
    }

    .feature-card,
    .panel,
    .item {
        padding: 18px;
    }

    .grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .admin-topbar {
        margin: 11px 11px 0;
        border-radius: 20px;
    }

    .admin-sidebar,
    .panel-sidebar {
        width: min(86vw, 292px);
    }

    .profile-avatar-card {
        flex-direction: column;
    }

    .file-drop {
        flex-direction: column;
    }

    .site-footer {
        margin-bottom: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .particle-layer {
        display: none;
    }
}

@keyframes footer-float {
    0%, 100% {
        transform: translate3d(0, 0, 30px) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: translate3d(0, -12px, 54px) rotateX(12deg) rotateY(18deg);
    }
}

@keyframes footer-spin-one {
    from {
        transform: rotateX(66deg) rotateZ(0deg);
    }

    to {
        transform: rotateX(66deg) rotateZ(360deg);
    }
}

@keyframes footer-spin-two {
    from {
        transform: rotateY(68deg) rotateZ(0deg);
    }

    to {
        transform: rotateY(68deg) rotateZ(-360deg);
    }
}

@keyframes footer-spin-three {
    from {
        transform: rotateX(28deg) rotateY(72deg) rotateZ(0deg);
    }

    to {
        transform: rotateX(28deg) rotateY(72deg) rotateZ(360deg);
    }
}

@keyframes footer-node-one {
    50% {
        transform: translate3d(92px, 44px, 42px);
    }
}

@keyframes footer-node-two {
    50% {
        transform: translate3d(-48px, 104px, 36px);
    }
}

@keyframes footer-node-three {
    50% {
        transform: translate3d(98px, 142px, 48px);
    }
}
