:root {
    --bg: radial-gradient(circle at 20% 20%, #0f1318 0%, #0d1117 55%, #010409 100%);
    --fg: #e6edf3;
    --muted: #8b949e;
    --accent: #238636;
    --accent-soft: rgba(35, 134, 54, 0.15);
    --accent-strong: linear-gradient(135deg, #238636 0%, #3fb950 100%);
    --card: rgba(22, 27, 34, 0.85);
    --border: rgba(48, 54, 61, 0.8);
    --danger: #f85149;
    --accent-bright: #3fb950;
    --accent-blue: #58a6ff;
    --accent-yellow: #d29922;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Overpass', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg);
    color: var(--fg);
}

body.app-public {
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.neuro-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(13, 17, 23, 0.85);
    border-bottom: 1px solid var(--border);
}

.neuro-header__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.neuro-brand {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.04em;
}

.neuro-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    margin-right: 6px;
}

.lang-switch a {
    color: var(--fg);
    opacity: 0.7;
}

.lang-switch a:hover {
    opacity: 1;
}

.lang-active {
    font-weight: 600;
    color: #fff;
}

.neuro-user {
    font-size: 14px;
    color: var(--muted);
}

.neuro-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    background: var(--accent-strong);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.neuro-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(35, 134, 54, 0.28);
}

.flash {
    max-width: 960px;
    margin: 12px auto 0;
    padding: 12px 16px;
    border-radius: 14px;
    backdrop-filter: blur(14px);
    background: rgba(22, 27, 34, 0.65);
    border: 1px solid rgba(35, 134, 54, 0.25);
}

.neuro-main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

.app-shell {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px;
    padding: 16px 20px 0;
}

.app-shell .neuro-main {
    max-width: none;
    margin: 0;
    padding: 16px 0 80px;
}

.app-sidebar {
    position: sticky;
    top: 92px;
    align-self: start;
    padding: 14px;
    border-radius: 16px;
    background: rgba(14, 19, 36, 0.9);
    border: 1px solid rgba(35, 134, 54, 0.22);
    display: grid;
    gap: 10px;
}

.app-sidebar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--fg);
    background: rgba(18, 24, 46, 0.7);
    border: 1px solid rgba(35, 134, 54, 0.18);
    font-size: 14px;
}

.app-sidebar__item:hover {
    background: rgba(35, 134, 54, 0.15);
    border-color: rgba(35, 134, 54, 0.45);
}

.neuro-footer {
    position: relative;
    padding: 28px 18px 40px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

.neuro-footer__inner {
    max-width: 960px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 40px 0 30px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(35, 134, 54, 0.12);
    color: #7ee787;
}

.hero-title {
    margin: 18px auto 14px;
    max-width: 760px;
    font-size: clamp(32px, 6vw, 54px);
    line-height: 1.12;
    font-weight: 700;
}

.hero-subtitle {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.hero-stat {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(20, 26, 48, 0.85);
    border: 1px solid rgba(35, 134, 54, 0.16);
    box-shadow: 0 20px 40px rgba(12, 17, 36, 0.45);
}

.hero-stat strong {
    font-size: 22px;
}

.hero-stat span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
}

.feature-section {
    margin: 50px 0 40px;
}

.neuro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.neuro-card {
    padding: 20px 22px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid rgba(35, 134, 54, 0.18);
    box-shadow: 0 16px 36px rgba(6, 10, 24, 0.54);
}

.neuro-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.neuro-card p {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
}

.auth-section {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}

.login-card {
    background: rgba(22, 27, 34, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(48, 54, 61, 0.6);
    border-radius: 24px;
    padding: 28px 30px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.login-card:hover {
    border-color: rgba(63, 185, 80, 0.3);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(35, 134, 54, 0.08);
}

.login-card.register-card {
    background: rgba(22, 27, 34, 0.8);
}

.login-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 22px;
}

.login-card p {
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--muted);
    line-height: 1.6;
}

.login-card form {
    display: grid;
    gap: 16px;
}

.login-card label {
    font-size: 14px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-card input {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(35, 134, 54, 0.25);
    background: rgba(10, 14, 28, 0.9);
    color: var(--fg);
    font-size: 15px;
}

.login-card button {
    padding: 12px 18px;
    border-radius: 14px;
    background: var(--accent-strong);
    border: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-card button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 35px rgba(35, 134, 54, 0.35);
}

.register-hint {
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.registration-success {
    margin: 40px 0 10px;
}

.registration-success__card {
    background: rgba(16, 22, 40, 0.92);
    border: 1px solid rgba(35, 134, 54, 0.25);
    border-radius: 22px;
    padding: 24px 26px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(6, 10, 24, 0.5);
}

.registration-success__card h3 {
    margin: 0 0 12px;
    font-size: 24px;
}

.registration-success__card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.6;
}

.registration-success__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--accent-strong);
    color: #fff;
    font-weight: 600;
}

.hero-ru {
    margin-top: 60px;
}

.login-meta-section {
    margin-top: 40px;
}

.login-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.login-meta li {
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(16, 20, 36, 0.9);
    border: 1px solid rgba(35, 134, 54, 0.18);
    color: var(--muted);
    line-height: 1.6;
}

/* Forms and buttons (global) */

input,
select,
textarea,
button {
    font-family: inherit;
    color: inherit;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
select,
textarea {
    background: rgba(14, 20, 38, 0.9);
    border: 1px solid rgba(35, 134, 54, 0.28);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(35, 134, 54, 0.75);
    box-shadow: 0 0 0 3px rgba(35, 134, 54, 0.2);
    background: rgba(18, 24, 46, 0.95);
}

input[disabled],
select[disabled],
textarea[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    background: rgba(12, 16, 30, 0.6);
}

input::placeholder,
textarea::placeholder {
    color: rgba(154, 167, 193, 0.6);
}

/* Убираем белые спиннеры в Chrome для number */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

button {
    background: rgba(26, 34, 54, 0.9);
    color: var(--fg);
    border: 1px solid rgba(35, 134, 54, 0.3);
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button.primary {
    background: var(--accent-strong);
    border: none;
    color: #fff;
}

button.secondary {
    background: rgba(30, 40, 70, 0.85);
    border: 1px solid rgba(35, 134, 54, 0.35);
}

button.danger {
    background: var(--danger);
    border: none;
    color: #fff;
}

button[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

button:hover:not([disabled]) {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(35, 134, 54, 0.3);
}

button.secondary:hover:not([disabled]) {
    box-shadow: 0 10px 28px rgba(60, 90, 150, 0.25);
}

button.danger:hover:not([disabled]) {
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.35);
}

.payment-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.payment-link:hover {
    color: #fff;
    text-decoration: underline;
}

.topup-form input[type="number"] {
    background: rgba(18, 24, 42, 0.95);
    color: var(--fg);
    border: 1px solid rgba(35, 134, 54, 0.3);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 15px;
}

.topup-form input[type="number"]:focus {
    outline: none;
    border-color: rgba(35, 134, 54, 0.7);
    box-shadow: 0 0 0 3px rgba(35, 134, 54, 0.25);
}

/* Tables for admin pages */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(15, 20, 38, 0.85);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(35, 134, 54, 0.18);
    box-shadow: 0 18px 40px rgba(13, 17, 23, 0.6);
}

th,
td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(35, 134, 54, 0.12);
    text-align: left;
}

thead th {
    background: rgba(20, 26, 48, 0.95);
    font-weight: 600;
}

tbody tr:hover {
    background: rgba(31, 40, 78, 0.55);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(35, 134, 54, 0.3);
    background: rgba(36, 45, 86, 0.85);
    color: var(--fg);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.card {
    padding: 18px;
    border-radius: 18px;
    background: rgba(14, 19, 36, 0.9);
    border: 1px solid rgba(35, 134, 54, 0.2);
}

.card .muted {
    color: var(--muted);
    font-size: 13px;
}

.card .big {
    font-size: 26px;
    margin-top: 6px;
}

code {
    padding: 4px 6px;
    border-radius: 10px;
    background: rgba(22, 28, 52, 0.9);
    border: 1px solid rgba(35, 134, 54, 0.18);
}

.admin-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.pill.pill-active {
    background: var(--accent-strong);
    color: #fff;
    border-color: transparent;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-toolbar__actions form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-toolbar__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 14px;
    color: var(--muted);
}

.filters-grid {
    display: grid;
    gap: 14px 18px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(14, 18, 36, 0.85);
    border: 1px solid rgba(35, 134, 54, 0.16);
}

.filters-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: var(--muted);
}

.filters-grid input,
.filters-grid select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(35, 134, 54, 0.25);
    background: rgba(10, 14, 28, 0.9);
    color: var(--fg);
    font-size: 14px;
}

.filters-grid__buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-muted {
    color: var(--muted);
}

.link-muted:hover {
    color: #fff;
}

.table-scroll {
    border-radius: 18px;
    border: 1px solid rgba(35, 134, 54, 0.16);
    background: rgba(15, 20, 38, 0.75);
    overflow: auto;
}

.table-scroll table {
    margin: 0;
    border: none;
    box-shadow: none;
}

.table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(20, 26, 48, 0.95);
}

.data-table {
    min-width: 960px;
}

.data-table td,
.data-table th {
    vertical-align: top;
}

.cell-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.cell-sub {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;
}

.cell-sub:last-child {
    margin-bottom: 0;
}

.mono {
    font-family: 'Fira Code', 'Consolas', monospace;
    overflow-wrap: anywhere;
}

.stat-grid {
    display: grid;
    gap: 6px;
    font-size: 14px;
}

.inline-form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.inline-form label {
    font-size: 12px;
    color: var(--muted);
    align-self: center;
}

.inline-form input,
.inline-form select {
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(35, 134, 54, 0.25);
    background: rgba(12, 16, 32, 0.9);
    color: var(--fg);
    font-size: 13px;
}

.inline-form button {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
}

.inline-form--stretch {
    width: 100%;
}

.inline-form--stretch input,
.inline-form--stretch select {
    flex: 1 1 auto;
    min-width: 0;
}

.inline-form--stretch button {
    white-space: nowrap;
}

.form-grid {
    display: grid;
    gap: 14px 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
}

.form-actions {
    display: flex;
    align-items: flex-end;
}

.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(26, 34, 58, 0.8);
    border: 1px solid rgba(35, 134, 54, 0.25);
    font-size: 12px;
    color: var(--muted);
}

.badge--muted {
    background: rgba(18, 24, 42, 0.7);
}

.badge--accent {
    background: rgba(35, 134, 54, 0.15);
    color: #b8c5ff;
    border-color: rgba(35, 134, 54, 0.35);
}

.users-table {
    min-width: 960px;
}

.users-actions {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.users-actions .inline-form {
    margin-top: 0;
    justify-content: flex-end;
}

.uploads-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.empty-placeholder {
    padding: 36px;
    text-align: center;
    border-radius: 20px;
    background: rgba(14, 19, 36, 0.8);
    border: 1px solid rgba(35, 134, 54, 0.16);
    color: var(--muted);
}

.upload-card {
    padding: 20px 22px;
    border-radius: 22px;
    background: rgba(14, 19, 36, 0.88);
    border: 1px solid rgba(35, 134, 54, 0.16);
    box-shadow: 0 16px 40px rgba(6, 10, 24, 0.45);
    display: grid;
    gap: 18px;
}

.upload-card__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

.upload-card__title {
    font-size: 18px;
    font-weight: 600;
}

.upload-card__meta {
    font-size: 13px;
    color: var(--muted);
}

.upload-card__path {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.upload-card__tools {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.upload-card__checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px dashed rgba(35, 134, 54, 0.35);
    color: var(--muted);
    font-size: 13px;
}

.upload-card__checkbox input {
    width: 18px;
    height: 18px;
}

.upload-card__body {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.upload-card__block {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(18, 24, 44, 0.78);
    border: 1px solid rgba(35, 134, 54, 0.12);
}

.upload-card__blockTitle {
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-vertical {
    display: grid;
    gap: 10px;
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(50, 68, 132, 0.6);
    border: 1px solid rgba(35, 134, 54, 0.3);
    font-size: 13px;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(35, 134, 54, 0.28);
}

.align-right {
    text-align: right;
}

.admin-section {
    margin-bottom: 32px;
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(12, 17, 34, 0.8);
    border: 1px solid rgba(35, 134, 54, 0.16);
    box-shadow: 0 18px 38px rgba(4, 6, 16, 0.55);
}

.admin-section__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-section__header h2 {
    margin: 0;
}

.cards--tight {
    margin: 0;
    gap: 14px;
}

.cards--secondary {
    margin-top: 18px;
}

.cards--secondary .card {
    background: rgba(18, 24, 46, 0.85);
}

.action-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.action-card {
    padding: 18px;
    border-radius: 18px;
    background: rgba(16, 22, 40, 0.85);
    border: 1px solid rgba(35, 134, 54, 0.18);
    display: grid;
    gap: 12px;
}

.action-card h3 {
    margin: 0;
    font-size: 18px;
}

.action-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.action-card--wide {
    grid-column: span 2;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.settings-card {
    display: grid;
    gap: 12px;
}

.settings-card label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--muted);
}

.settings-card input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(35, 134, 54, 0.25);
    background: rgba(10, 14, 28, 0.92);
    color: var(--fg);
}

.taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.taxonomy-column h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.taxonomy-column .inline-form {
    margin-bottom: 14px;
}

.pagination-bar {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
}

.pagination-link {
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid rgba(35, 134, 54, 0.25);
    background: rgba(22, 28, 52, 0.85);
}

.pagination-link.disabled {
    opacity: 0.45;
    pointer-events: none;
}

@media (max-width: 640px) {

    .neuro-header__inner,
    .neuro-main {
        padding: 18px 16px;
    }

    .hero {
        padding: 32px 0 24px;
    }

    .auth-section {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .app-shell {
        grid-template-columns: 1fr;
        padding: 10px 16px 0;
    }

    .app-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .data-table {
        min-width: 720px;
    }

    .action-card--wide {
        grid-column: auto;
    }

    .upload-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .upload-card__tools {
        width: 100%;
        align-items: flex-start;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* LANDING PAGE — NEW DESIGN SYSTEM                                */
/* ═══════════════════════════════════════════════════════════════ */

/* ── Brand ── */
.neuro-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #238636 0%, #3fb950 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-icon {
    flex-shrink: 0;
}

.neuro-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
}

.neuro-nav-link:hover {
    color: var(--fg);
}

/* ── Footer ── */
.neuro-footer {
    padding: 40px 20px 48px;
    border-top: 1px solid rgba(35, 134, 54, 0.12);
}

.neuro-footer__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.footer-links a {
    font-size: 14px;
    color: var(--muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--fg);
}

.footer-copy {
    font-size: 13px;
    color: rgba(154, 167, 193, 0.5);
}

/* ── Gradient text ── */
.lp-gradient-text {
    background: linear-gradient(135deg, #238636 0%, #3fb950 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Brand name ── */
.lp-brand-name {
    font-size: clamp(42px, 8vw, 80px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #7ee787 50%, #3fb950 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 60px rgba(63, 185, 80, 0.4));
    animation: brand-glow 4s ease-in-out infinite alternate;
}

/* ── Badge ── */
.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(35, 134, 54, 0.1);
    border: 1px solid rgba(35, 134, 54, 0.25);
    color: #7ee787;
    margin-bottom: 24px;
}

.lp-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

@keyframes brand-glow {
    0% { filter: drop-shadow(0 0 60px rgba(63, 185, 80, 0.3)); }
    100% { filter: drop-shadow(0 0 80px rgba(63, 185, 80, 0.5)); }
}

/* ── Hero ── */
.lp-hero {
    text-align: center;
    padding: 80px 0 50px;
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(35, 134, 54, 0.12) 0%, rgba(63, 185, 80, 0.05) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: hero-pulse 6s ease-in-out infinite alternate;
}

@keyframes hero-pulse {
    0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.lp-hero > * {
    position: relative;
    z-index: 1;
}

.lp-hero .hero-title {
    font-size: clamp(36px, 6vw, 62px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 auto 20px;
    max-width: 820px;
}

.lp-hero .hero-subtitle {
    max-width: 640px;
    margin: 0 auto 36px;
    font-size: 19px;
    line-height: 1.75;
    color: #d0dbef;
    font-weight: 500;
}

/* ── CTA Buttons ── */
.lp-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 52px;
}

.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #238636 0%, #3fb950 100%);
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 32px rgba(35, 134, 54, 0.35), 0 0 0 0 rgba(63, 185, 80, 0);
    cursor: pointer;
    border: none;
    position: relative;
}

.lp-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 48px rgba(35, 134, 54, 0.5), 0 0 20px rgba(63, 185, 80, 0.2);
}

.lp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--fg);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.lp-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

/* ── Stats Bar ── */
.lp-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    align-items: center;
    padding: 24px 32px;
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(63, 185, 80, 0.2);
    border-radius: 20px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(63, 185, 80, 0.08);
}

.lp-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 28px;
    gap: 2px;
}

.lp-stat-item strong {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #7ee787 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.lp-stat-item span {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.lp-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(35, 134, 54, 0.2);
    flex-shrink: 0;
}

/* ── Sections ── */
.lp-section {
    margin: 80px 0;
}

.lp-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.lp-section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3fb950;
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(35, 134, 54, 0.08);
    border: 1px solid rgba(35, 134, 54, 0.2);
}

.lp-section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 auto 16px;
    max-width: 700px;
    line-height: 1.2;
    color: #fff;
}

.lp-section-sub {
    font-size: 17px;
    color: #c8d4ea;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* ── How It Works Steps ── */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
    position: relative;
}

.lp-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(35, 134, 54, 0.3) 20%, rgba(35, 134, 54, 0.3) 80%, transparent);
    pointer-events: none;
}

.lp-step {
    padding: 36px 28px 28px;
    text-align: center;
    position: relative;
}

.lp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(35, 134, 54, 0.2) 0%, rgba(63, 185, 80, 0.1) 100%);
    border: 1px solid rgba(63, 185, 80, 0.35);
    font-size: 16px;
    font-weight: 800;
    color: #3fb950;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(35, 134, 54, 0.15);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(8px);
}

.lp-step h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.lp-step p {
    margin: 0;
    font-size: 16px;
    color: #c8d4ea;
    line-height: 1.75;
    font-weight: 500;
}

.lp-step code {
    font-family: 'Overpass Mono', 'Fira Code', monospace;
    font-size: 13px;
    background: rgba(35, 134, 54, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
    color: #7ee787;
}

/* ── Features Grid ── */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.lp-feature-card {
    padding: 28px;
    border-radius: 20px;
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(48, 54, 61, 0.5);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.lp-feature-card:hover {
    border-color: rgba(63, 185, 80, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(35, 134, 54, 0.15);
}

.lp-feature-card h3 {
    margin: 14px 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.lp-feature-card p {
    margin: 0;
    font-size: 15px;
    color: #c4d0e8;
    line-height: 1.75;
    font-weight: 500;
}

/* ── Feature Icons ── */
.lp-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
}

.lp-icon-blue {
    background: rgba(35, 134, 54, 0.15);
    color: #3fb950;
    border: 1px solid rgba(35, 134, 54, 0.25);
}

.lp-icon-purple {
    background: rgba(88, 166, 255, 0.15);
    color: #3fb950;
    border: 1px solid rgba(88, 166, 255, 0.25);
}

.lp-icon-green {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.22);
}

.lp-icon-orange {
    background: rgba(251, 146, 60, 0.12);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.22);
}

.lp-icon-pink {
    background: rgba(244, 114, 182, 0.12);
    color: #f472b6;
    border: 1px solid rgba(244, 114, 182, 0.22);
}

.lp-icon-cyan {
    background: rgba(34, 211, 238, 0.12);
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.22);
}

/* ── Pricing Grid ── */
.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.lp-pricing-card {
    position: relative;
    padding: 28px 24px;
    border-radius: 22px;
    background: rgba(22, 27, 34, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(48, 54, 61, 0.6);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-pricing-card:hover {
    border-color: rgba(63, 185, 80, 0.45);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(35, 134, 54, 0.2);
}

.lp-pricing-featured {
    background: linear-gradient(145deg, rgba(35, 134, 54, 0.15) 0%, rgba(22, 27, 34, 0.9) 100%);
    border-color: rgba(63, 185, 80, 0.5);
    box-shadow: 0 8px 40px rgba(35, 134, 54, 0.25), inset 0 1px 0 rgba(63, 185, 80, 0.15);
}

.lp-pricing-featured:hover {
    box-shadow: 0 16px 50px rgba(35, 134, 54, 0.35), inset 0 1px 0 rgba(63, 185, 80, 0.2);
}

.lp-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #238636, #3fb950);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.lp-pricing-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.lp-pricing-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.lp-pricing-price {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fff, #7ee787);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 4px 0 2px;
}

.lp-pricing-price span {
    font-size: 15px;
    font-weight: 500;
    background: none;
    -webkit-text-fill-color: var(--muted);
    color: var(--muted);
}

.lp-pricing-desc {
    font-size: 14px;
    color: #c4d0e8;
    line-height: 1.7;
    font-weight: 500;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(35, 134, 54, 0.1);
    margin-bottom: 4px;
}

.lp-pricing-features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.lp-pricing-features li {
    font-size: 14px;
    font-weight: 500;
    color: #c4d0e8;
    padding-left: 18px;
    position: relative;
    line-height: 1.6;
}

.lp-pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: 700;
    font-size: 12px;
}

.lp-pricing-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(35, 134, 54, 0.06);
    border: 1px solid rgba(35, 134, 54, 0.16);
    font-size: 14px;
    color: var(--muted);
}

.lp-pricing-note svg {
    flex-shrink: 0;
    color: #3fb950;
}

.lp-pricing-note strong {
    color: var(--fg);
}

/* ── API Section ── */
.lp-api-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.lp-api-main {
    display: flex;
    flex-direction: column;
}

.lp-api-card {
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-api-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-api-card-header h3 {
    margin: 0;
    font-size: 20px;
}

.lp-api-card p {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
}

.lp-code-block {
    border-radius: 14px;
    background: rgba(13, 17, 23, 0.85);
    border: 1px solid rgba(35, 134, 54, 0.2);
    overflow: hidden;
}

.lp-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(35, 134, 54, 0.08);
    border-bottom: 1px solid rgba(35, 134, 54, 0.15);
    font-size: 12px;
    color: var(--muted);
    font-family: 'Overpass Mono', 'Fira Code', monospace;
}

.lp-code-lang {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3fb950;
}

.lp-code-block pre {
    margin: 0;
    padding: 16px;
    font-size: 13px;
    line-height: 1.65;
    color: #7ee787;
    font-family: 'Overpass Mono', 'Fira Code', monospace;
    overflow-x: auto;
    white-space: pre;
}

.lp-api-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    counter-reset: steps;
}

.lp-api-steps li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    counter-increment: steps;
    padding-left: 28px;
    position: relative;
}

.lp-api-steps li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(35, 134, 54, 0.15);
    border: 1px solid rgba(35, 134, 54, 0.3);
    font-size: 11px;
    font-weight: 700;
    color: #7ee787;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-api-steps code {
    font-family: 'Overpass Mono', 'Fira Code', monospace;
    font-size: 12px;
    background: rgba(35, 134, 54, 0.12);
    padding: 1px 6px;
    border-radius: 4px;
    color: #7ee787;
}

.lp-api-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-side-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-side-card h3 {
    margin: 0;
    font-size: 17px;
}

.lp-side-card p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

/* ── Register Steps ── */
.lp-register-steps {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.lp-reg-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
}

.lp-reg-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(35, 134, 54, 0.15);
    border: 1px solid rgba(35, 134, 54, 0.3);
    font-size: 12px;
    font-weight: 700;
    color: #7ee787;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Auth section within LP ── */
.auth-section {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}

/* ── Who We Work With ── */
.lp-clients-section {
    background: linear-gradient(180deg, transparent 0%, rgba(35, 134, 54, .04) 50%, transparent 100%);
}

.lp-clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.lp-client-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    transition: border-color .2s, transform .2s;
}

.lp-client-card:hover {
    border-color: rgba(35, 134, 54, .45);
    transform: translateY(-3px);
}

.lp-client-card--cta {
    border-style: dashed;
    border-color: rgba(35, 134, 54, .35);
}

.lp-client-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    will-change: transform, filter;
    transform-style: preserve-3d;
    transition: filter 0.2s;
}

/* ══════════════════════════════════════════════════════════════════
   CLIENT CARD — ICON HOVER ANIMATIONS
══════════════════════════════════════════════════════════════════ */

.lp-clients-grid {
    perspective: 800px;
}

/* ── 1. Adult — живое сердцебиение с пульсирующими кольцами ── */
@keyframes lp-heartbeat {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 114, 182, .9), 0 0 0 0 rgba(244, 114, 182, .5);
    }

    12% {
        transform: scale(1.45);
        box-shadow: 0 0 0 10px rgba(244, 114, 182, .3), 0 0 0 0 rgba(244, 114, 182, .4);
    }

    24% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(244, 114, 182, 0), 0 0 0 8px rgba(244, 114, 182, .15);
    }

    38% {
        transform: scale(1.28);
        box-shadow: 0 0 0 0 rgba(244, 114, 182, .7), 0 0 0 0 rgba(244, 114, 182, .4);
    }

    55% {
        transform: scale(1);
        box-shadow: 0 0 0 14px rgba(244, 114, 182, .1), 0 0 0 0 rgba(244, 114, 182, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 24px rgba(244, 114, 182, 0), 0 0 0 0 rgba(244, 114, 182, 0);
    }
}

.lp-clients-grid .lp-client-card:nth-child(1) {
    transition: box-shadow .3s, border-color .3s, transform .2s;
}

.lp-clients-grid .lp-client-card:nth-child(1):hover {
    border-color: rgba(244, 114, 182, .6);
    box-shadow: 0 12px 50px rgba(244, 114, 182, .3), 0 0 0 1px rgba(244, 114, 182, .4);
}

.lp-clients-grid .lp-client-card:nth-child(1):hover .lp-client-icon {
    animation: lp-heartbeat .85s cubic-bezier(.4, 0, .2, 1) forwards;
}

/* ── 2. Casino — джекпот: вспышки неонового света ── */
@keyframes lp-jackpot {
    0% {
        transform: scale(1);
        background: rgba(88, 166, 255, .15);
        color: #3fb950;
        box-shadow: none;
    }

    8% {
        transform: scale(1.2) rotate(10deg);
        background: rgba(255, 215, 0, .5);
        color: #ffd700;
        box-shadow: 0 0 28px #ffd700, 0 0 60px rgba(255, 215, 0, .4);
    }

    16% {
        transform: scale(.88) rotate(-8deg);
        background: rgba(255, 0, 80, .45);
        color: #ff0050;
        box-shadow: 0 0 28px #ff0050;
    }

    24% {
        transform: scale(1.18) rotate(7deg);
        background: rgba(0, 255, 100, .4);
        color: #00ff64;
        box-shadow: 0 0 28px #00ff64;
    }

    32% {
        transform: scale(.85) rotate(-7deg);
        background: rgba(0, 180, 255, .45);
        color: #00b4ff;
        box-shadow: 0 0 28px #00b4ff;
    }

    40% {
        transform: scale(1.15) rotate(5deg);
        background: rgba(255, 0, 220, .4);
        color: #ff00dc;
        box-shadow: 0 0 28px #ff00dc;
    }

    48% {
        transform: scale(.9) rotate(-5deg);
        background: rgba(255, 140, 0, .45);
        color: #ff8c00;
        box-shadow: 0 0 28px #ff8c00;
    }

    60% {
        transform: scale(1.35);
        background: rgba(255, 215, 0, .6);
        color: #ffd700;
        box-shadow: 0 0 50px #ffd700, 0 0 100px rgba(255, 215, 0, .5);
    }

    80% {
        transform: scale(1.1);
        background: rgba(255, 215, 0, .3);
        color: #ffd700;
        box-shadow: 0 0 20px rgba(255, 215, 0, .4);
    }

    100% {
        transform: scale(1);
        background: rgba(88, 166, 255, .15);
        color: #3fb950;
        box-shadow: none;
    }
}

.lp-clients-grid .lp-client-card:nth-child(2):hover {
    border-color: rgba(255, 215, 0, .5);
    box-shadow: 0 12px 50px rgba(255, 200, 0, .25), 0 0 0 1px rgba(255, 215, 0, .4);
}

.lp-clients-grid .lp-client-card:nth-child(2):hover .lp-client-icon {
    animation: lp-jackpot 1s steps(1) forwards;
}

/* ── 3. Crypto — ракета на луну: взлёт, исчезновение, возврат ── */
@keyframes lp-moon {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 1;
    }

    28% {
        transform: translateY(-55px) scale(.55) rotate(-35deg);
        opacity: 0;
    }

    29% {
        transform: translateY(55px) scale(.45) rotate(35deg);
        opacity: 0;
    }

    55% {
        transform: translateY(55px) scale(.45) rotate(35deg);
        opacity: 0;
    }

    72% {
        transform: translateY(0) scale(1.4) rotate(0deg);
        opacity: 1;
        filter: brightness(2);
    }

    82% {
        transform: translateY(-12px) scale(1.15);
        filter: brightness(1.5);
    }

    91% {
        transform: translateY(5px) scale(1.05);
        filter: brightness(1);
    }

    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

.lp-clients-grid .lp-client-card:nth-child(3):hover {
    border-color: rgba(74, 222, 128, .5);
    box-shadow: 0 12px 50px rgba(74, 222, 128, .25), 0 0 0 1px rgba(74, 222, 128, .4);
}

.lp-clients-grid .lp-client-card:nth-child(3):hover .lp-client-icon {
    animation: lp-moon 1.1s cubic-bezier(.4, 0, .2, 1) forwards;
    overflow: visible;
}

/* ── 4. Pharmacy — матричный зелёный поток ── */
@keyframes lp-matrix {
    0% {
        background: rgba(74, 222, 128, .12);
        color: #4ade80;
        box-shadow: none;
        filter: brightness(1) saturate(1);
    }

    15% {
        background: rgba(0, 255, 80, .55);
        color: #00ff50;
        box-shadow: 0 0 24px #00ff50;
        filter: brightness(2.5) saturate(3);
    }

    30% {
        background: rgba(0, 180, 50, .3);
        color: #00b432;
        box-shadow: 0 0 8px rgba(0, 255, 80, .6) inset;
        filter: brightness(1.6);
    }

    45% {
        background: rgba(0, 255, 80, .5);
        color: #00ff50;
        box-shadow: 0 0 35px #00ff50, 0 0 70px rgba(0, 255, 80, .3);
        filter: brightness(2.2) saturate(4);
    }

    65% {
        background: rgba(0, 200, 60, .25);
        color: #00c83c;
        box-shadow: 0 0 14px rgba(0, 255, 80, .4);
        filter: brightness(1.3);
    }

    85% {
        background: rgba(0, 255, 80, .35);
        color: #00ff50;
        box-shadow: 0 0 20px rgba(0, 255, 80, .5);
        filter: brightness(1.8);
    }

    100% {
        background: rgba(74, 222, 128, .12);
        color: #4ade80;
        box-shadow: none;
        filter: brightness(1) saturate(1);
    }
}

.lp-clients-grid .lp-client-card:nth-child(4):hover {
    border-color: rgba(0, 255, 80, .5);
    box-shadow: 0 12px 50px rgba(0, 255, 80, .2), 0 0 0 1px rgba(0, 255, 80, .4);
}

.lp-clients-grid .lp-client-card:nth-child(4):hover .lp-client-icon {
    animation: lp-matrix .9s steps(1) infinite;
}

/* ── 5. Black Hat — хакерский взлом с RGB-глитчем ── */
@keyframes lp-hackerman {
    0% {
        transform: translate(0, 0);
        filter: brightness(1) hue-rotate(0deg) saturate(1);
        background: rgba(251, 146, 60, .12);
        color: #fb923c;
    }

    5% {
        transform: translate(-7px, 0);
        filter: brightness(5) hue-rotate(0deg);
        background: rgba(255, 0, 0, .6);
        color: #fff;
    }

    10% {
        transform: translate(7px, 0);
        filter: brightness(.2) hue-rotate(180deg) saturate(8);
        background: rgba(0, 0, 0, .9);
        color: #ff0000;
    }

    15% {
        transform: translate(0, -6px);
        filter: brightness(6) hue-rotate(90deg) saturate(10);
        background: rgba(255, 0, 0, .7);
        color: #ffff00;
    }

    20% {
        transform: translate(0, 6px);
        filter: brightness(.15) invert(.8);
    }

    25% {
        transform: translate(-9px, 3px);
        filter: brightness(7) hue-rotate(45deg) saturate(12);
        background: rgba(255, 0, 0, .8);
        color: #fff;
    }

    30% {
        transform: translate(9px, -3px);
        filter: brightness(.1) invert(1);
    }

    35% {
        transform: translate(-5px, 0);
        filter: brightness(4) hue-rotate(120deg) saturate(6);
    }

    40% {
        transform: translate(5px, 0);
        filter: brightness(.3) hue-rotate(240deg) saturate(3);
    }

    45% {
        transform: translate(0, -9px);
        filter: brightness(9) saturate(15);
        background: rgba(255, 0, 0, .9);
        color: #fff;
    }

    50% {
        transform: translate(0, 9px);
        filter: brightness(.1) invert(.9);
    }

    55% {
        transform: translate(-4px, 2px);
        filter: brightness(5) hue-rotate(60deg) saturate(8);
    }

    60% {
        transform: translate(4px, -2px);
        filter: brightness(.4) hue-rotate(300deg);
    }

    65% {
        transform: translate(-6px, 0);
        filter: brightness(4) saturate(6);
    }

    70% {
        transform: translate(6px, 0);
        filter: brightness(.6) hue-rotate(180deg);
    }

    78% {
        transform: translate(-2px, 0);
        filter: brightness(3) hue-rotate(30deg);
    }

    86% {
        transform: translate(2px, 0);
        filter: brightness(.8);
    }

    93% {
        transform: translate(-1px, 0);
        filter: brightness(1.5);
    }

    100% {
        transform: translate(0, 0);
        filter: brightness(1) hue-rotate(0deg) saturate(1);
        background: rgba(251, 146, 60, .12);
        color: #fb923c;
    }
}

.lp-clients-grid .lp-client-card:nth-child(5):hover {
    border-color: rgba(255, 30, 0, .6);
    box-shadow: 0 12px 50px rgba(255, 0, 0, .3), 0 0 0 1px rgba(255, 40, 0, .5);
}

.lp-clients-grid .lp-client-card:nth-child(5):hover .lp-client-icon {
    animation: lp-hackerman .65s steps(1) infinite;
}

/* ── 6. Your Project — 3D бочка с упругим приземлением ── */
@keyframes lp-barrelroll {
    0% {
        transform: rotate3d(1, 1, 0, 0deg) scale(1);
    }

    35% {
        transform: rotate3d(1, 1, 0, 200deg) scale(1.3);
        filter: brightness(1.8);
    }

    65% {
        transform: rotate3d(1, 1, 0, 340deg) scale(1.12);
        filter: brightness(1.2);
    }

    80% {
        transform: rotate3d(1, 1, 0, 355deg) scale(1.06);
    }

    90% {
        transform: rotate3d(1, 1, 0, 362deg) scale(1.03);
    }

    100% {
        transform: rotate3d(1, 1, 0, 360deg) scale(1);
        filter: brightness(1);
    }
}

.lp-clients-grid .lp-client-card:nth-child(6):hover {
    border-color: rgba(34, 211, 238, .5);
    box-shadow: 0 12px 50px rgba(34, 211, 238, .25), 0 0 0 1px rgba(34, 211, 238, .4);
}

.lp-clients-grid .lp-client-card:nth-child(6):hover .lp-client-icon {
    animation: lp-barrelroll .7s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

.lp-client-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .45rem;
}

.lp-client-desc {
    font-size: .9rem;
    font-weight: 500;
    color: #c4d0e8;
    line-height: 1.7;
}

/* ── What Is Neural Indexer — SEO Block ── */
.lp-ni-about-section {
    background: linear-gradient(180deg, transparent 0%, rgba(35, 134, 54, .03) 40%, rgba(88, 166, 255, .03) 60%, transparent 100%);
}

.lp-ni-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.lp-ni-about-card {
    background: rgba(22, 27, 34, 0.7);
    border: 1px solid rgba(35, 134, 54, 0.14);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.lp-ni-about-card:hover {
    border-color: rgba(35, 134, 54, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.lp-ni-about-card--main {
    grid-column: 1 / -1;
    background: linear-gradient(145deg, rgba(35, 134, 54, 0.08) 0%, rgba(88, 166, 255, 0.05) 100%);
    border-color: rgba(35, 134, 54, 0.25);
}

.lp-ni-about-card--highlight {
    background: linear-gradient(145deg, rgba(251, 146, 60, 0.06) 0%, rgba(35, 134, 54, 0.06) 100%);
    border-color: rgba(251, 146, 60, 0.2);
}

.lp-ni-about-card--highlight:hover {
    border-color: rgba(251, 146, 60, 0.45);
    box-shadow: 0 12px 36px rgba(251, 146, 60, 0.1);
}

.lp-ni-about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
    background: rgba(35, 134, 54, 0.15);
    color: #3fb950;
    border: 1px solid rgba(35, 134, 54, 0.25);
    margin-bottom: 14px;
}

.lp-ni-icon-speed {
    background: rgba(88, 166, 255, 0.15);
    color: #3fb950;
    border-color: rgba(88, 166, 255, 0.25);
}

.lp-ni-icon-trust {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.22);
}

.lp-ni-icon-api {
    background: rgba(251, 146, 60, 0.12);
    color: #fb923c;
    border-color: rgba(251, 146, 60, 0.22);
}

.lp-ni-about-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.lp-ni-about-card p {
    margin: 0 0 12px;
    font-size: 15px;
    color: #c4d0e8;
    line-height: 1.8;
    font-weight: 500;
}

.lp-ni-about-card p:last-child {
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 900px
══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .neuro-main {
        padding: 24px 16px 60px;
    }

    .lp-api-grid {
        grid-template-columns: 1fr;
    }

    .lp-clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-ni-about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-ni-about-card--main {
        grid-column: 1 / -1;
    }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 600px
══════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {

    /* ── Header ── */
    .neuro-header__inner {
        padding: 14px 16px;
    }

    .neuro-nav .neuro-nav-link {
        display: none;
    }

    .neuro-button {
        padding: 9px 16px;
        font-size: 13px;
    }

    .neuro-brand {
        font-size: 17px;
    }

    /* ── Main padding ── */
    .neuro-main {
        padding: 20px 16px 48px;
    }

    /* ── Hero ── */
    .lp-hero {
        padding: 36px 0 24px;
    }

    .lp-hero .hero-title {
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.12;
        letter-spacing: -0.02em;
    }

    .lp-hero .hero-subtitle {
        font-size: 16px;
        line-height: 1.7;
        padding: 0 4px;
    }

    .lp-badge {
        font-size: 10px;
        padding: 5px 12px;
    }

    /* ── CTA buttons ── */
    .lp-cta-buttons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 36px;
        padding: 0 4px;
    }

    .lp-btn-primary,
    .lp-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        font-size: 15px;
    }

    /* ── Stats bar: 2×2 grid ── */
    .lp-stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 8px 0;
        border-radius: 16px;
    }

    .lp-stat-item {
        padding: 16px 12px;
        border-bottom: 1px solid rgba(35, 134, 54, 0.12);
    }

    .lp-stat-item:nth-child(1),
    .lp-stat-item:nth-child(3) {
        border-right: 1px solid rgba(35, 134, 54, 0.12);
    }

    .lp-stat-item:nth-child(3),
    .lp-stat-item:nth-child(5) {
        border-bottom: none;
    }

    .lp-stat-item strong {
        font-size: 22px;
    }

    .lp-stat-item span {
        font-size: 11px;
    }

    .lp-stat-divider {
        display: none;
    }

    /* ── Sections ── */
    .lp-section {
        margin: 48px 0;
    }

    .lp-section-header {
        margin-bottom: 32px;
    }

    .lp-section-title {
        font-size: clamp(22px, 6vw, 30px);
        letter-spacing: -0.02em;
    }

    .lp-section-sub {
        font-size: 15px;
    }

    /* ── Steps: vertical ── */
    .lp-steps {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .lp-steps::before {
        display: none;
    }

    .lp-step {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        text-align: left;
        padding: 20px 16px;
        background: rgba(255, 255, 255, 0.025);
        border-radius: 14px;
    }

    .lp-step-num {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        margin: 0;
        font-size: 14px;
    }

    .lp-step h3 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .lp-step p {
        font-size: 14px;
    }

    /* ── Pricing: 1 col ── */
    .lp-pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 20px;
    }

    .lp-pricing-card {
        padding: 24px 20px;
    }

    .lp-pricing-price {
        font-size: 26px;
    }

    /* ── Features: 1 col ── */
    .lp-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lp-feature-card {
        padding: 22px 18px;
    }

    .lp-feature-card h3 {
        font-size: 16px;
    }

    /* ── Clients: 1 col ── */
    .lp-clients-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .lp-client-card {
        padding: 18px 16px;
    }

    /* ── Neural Indexer about: 1 col ── */
    .lp-ni-about-grid {
        grid-template-columns: 1fr;
    }

    .lp-ni-about-card--main {
        grid-column: auto;
    }

    .lp-ni-about-card {
        padding: 22px 18px;
    }

    .lp-ni-about-card h3 {
        font-size: 17px;
    }

    /* ── API section ── */
    .lp-api-grid {
        gap: 12px;
    }

    .lp-code-block {
        font-size: 12px;
        overflow-x: auto;
    }

    /* ── Pricing note ── */
    .lp-pricing-note {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 13px;
        text-align: left;
    }

    /* ── Auth section ── */
    .auth-section {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }

    .login-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .login-card h2 {
        font-size: 19px;
    }

    /* ── API cards ── */
    .lp-api-card {
        padding: 20px 16px;
    }

    .lp-api-card-header h3 {
        font-size: 16px;
    }

    /* ── Section label ── */
    .lp-section-label {
        font-size: 10px;
    }

    /* ── Footer ── */
    .neuro-footer {
        padding: 28px 16px 36px;
    }

    .footer-links {
        gap: 14px 20px;
        justify-content: center;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-copy {
        font-size: 12px;
        text-align: center;
    }
}