:root {
    --bg: #f4efe7;
    --bg-strong: #ebe1d3;
    --surface: rgba(255, 252, 247, 0.88);
    --surface-strong: #fffaf2;
    --surface-dark: #17313b;
    --surface-dark-soft: #25424d;
    --text: #1d2a30;
    --text-soft: #50616b;
    --text-faint: #788992;
    --line: rgba(33, 55, 65, 0.12);
    --line-strong: rgba(33, 55, 65, 0.22);
    --primary: #c86d4a;
    --primary-strong: #a95535;
    --accent: #2f6c67;
    --accent-soft: #e0ece7;
    --success-bg: #e4f0e7;
    --success-text: #27513f;
    --danger-bg: #fae7e2;
    --danger-text: #8f4b3e;
    --shadow-lg: 0 32px 80px rgba(67, 46, 32, 0.12);
    --shadow-md: 0 20px 45px rgba(68, 47, 32, 0.08);
    --shadow-sm: 0 10px 25px rgba(68, 47, 32, 0.06);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

body[data-theme="dark"] {
    --bg: #101820;
    --bg-strong: #0b1218;
    --surface: rgba(26, 37, 47, 0.92);
    --surface-strong: #202c38;
    --surface-dark: #09212a;
    --surface-dark-soft: #263645;
    --text: #f5eadc;
    --text-soft: #c3d0d8;
    --text-faint: #8ea2ad;
    --line: rgba(219, 232, 239, 0.13);
    --line-strong: rgba(219, 232, 239, 0.22);
    --primary: #d1724c;
    --primary-strong: #b85f3d;
    --accent: #69b8a8;
    --accent-soft: rgba(105, 184, 168, 0.16);
    --success-bg: rgba(79, 147, 109, 0.18);
    --success-text: #a8e0be;
    --danger-bg: rgba(190, 91, 75, 0.18);
    --danger-text: #ffb8aa;
    --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.38);
    --shadow-md: 0 20px 45px rgba(0, 0, 0, 0.28);
    --shadow-sm: 0 10px 25px rgba(0, 0, 0, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(200, 109, 74, 0.16), transparent 26%),
        radial-gradient(circle at top right, rgba(47, 108, 103, 0.18), transparent 24%),
        linear-gradient(180deg, #f7f1e8 0%, #f4efe7 34%, #efe4d5 100%);
}

body[data-theme="dark"] {
    color-scheme: dark;
    background:
        radial-gradient(circle at top left, rgba(209, 114, 76, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(105, 184, 168, 0.18), transparent 26%),
        linear-gradient(180deg, #0e171f 0%, #101820 42%, #0b1218 100%);
}

input,
textarea,
select,
button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

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

.site-brand,
.page-brand,
.site-footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.site-brand {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(15, 23, 27, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    color: #fffdf8;
}

.page-brand {
    width: fit-content;
    margin: 28px auto 0;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 252, 247, 0.86);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.site-brand img,
.page-brand img,
.site-footer__brand-link img {
    width: 34px;
    height: 34px;
    border-radius: 12px;
}

.site-brand strong,
.page-brand strong,
.site-footer__brand-link strong {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

button {
    border: none;
    cursor: pointer;
}

select {
    color-scheme: light;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    border-radius: 999px;
    filter: blur(110px);
    z-index: -1;
    pointer-events: none;
}

body::before {
    top: -70px;
    left: -30px;
    width: 260px;
    height: 260px;
    background: rgba(206, 126, 87, 0.18);
}

body::after {
    right: -40px;
    bottom: 8%;
    width: 320px;
    height: 320px;
    background: rgba(47, 108, 103, 0.12);
}

.flag-icon {
    width: 22px;
    height: 16px;
    min-width: 22px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.flag-icon--emoji {
    width: auto;
    min-width: 22px;
    height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-variant-emoji: emoji;
}

.flag-icon--image {
    object-fit: cover;
    background: none;
}

.flag-icon--de { background: linear-gradient(180deg, #000000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%); }
.flag-icon--cy { background: linear-gradient(180deg, #ffffff 0 100%); box-shadow: inset 0 0 0 1px rgba(22, 30, 44, 0.08); }
.flag-icon--cz { background: linear-gradient(180deg, #ffffff 0 50%, #d7141a 50% 100%); position: relative; }
.flag-icon--se { background: linear-gradient(90deg, transparent 0 28%, #fecc02 28% 40%, transparent 40% 100%), linear-gradient(180deg, transparent 0 42%, #fecc02 42% 58%, transparent 58% 100%), #006aa7; }
.flag-icon--nl { background: linear-gradient(180deg, #ae1c28 0 33.33%, #ffffff 33.33% 66.66%, #21468b 66.66% 100%); }
.flag-icon--fi { background: linear-gradient(90deg, transparent 0 27%, #003580 27% 39%, transparent 39% 100%), linear-gradient(180deg, transparent 0 37%, #003580 37% 57%, transparent 57% 100%), #ffffff; }
.flag-icon--pl { background: linear-gradient(180deg, #ffffff 0 50%, #dc143c 50% 100%); }
.flag-icon--fr { background: linear-gradient(90deg, #0055a4 0 33.33%, #ffffff 33.33% 66.66%, #ef4135 66.66% 100%); }
.flag-icon--tr { background: #e30a17; }
.flag-icon--us { background: linear-gradient(180deg, #b22234 0 10%, #ffffff 10% 20%, #b22234 20% 30%, #ffffff 30% 40%, #b22234 40% 50%, #ffffff 50% 60%, #b22234 60% 70%, #ffffff 70% 80%, #b22234 80% 90%, #ffffff 90% 100%); }
.flag-icon--gb { background: linear-gradient(180deg, #012169 0 100%); }
.flag-icon--ca { background: linear-gradient(90deg, #d80621 0 25%, #ffffff 25% 75%, #d80621 75% 100%); }
.flag-icon--jp { background: radial-gradient(circle at center, #bc002d 0 31%, transparent 32%), #ffffff; }
.flag-icon--sg { background: linear-gradient(180deg, #ef3340 0 50%, #ffffff 50% 100%); }
.flag-icon--ru { background: linear-gradient(180deg, #ffffff 0 33.33%, #0039a6 33.33% 66.66%, #d52b1e 66.66% 100%); }
.flag-icon--cz::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 52%;
    background: linear-gradient(135deg, #11457e 0 50%, transparent 50% 100%);
}
.flag-icon--cy::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    width: 44%;
    height: 28%;
    transform: translate(-50%, -50%);
    background: #d57800;
    clip-path: polygon(8% 36%, 24% 20%, 52% 18%, 76% 26%, 92% 40%, 82% 60%, 56% 68%, 26% 64%, 10% 52%);
}
.flag-icon--cy::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 18%;
    width: 34%;
    height: 18%;
    transform: translateX(-50%);
    border-bottom: 2px solid #3f7f42;
    border-radius: 0 0 999px 999px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.button--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    color: #fffaf7;
}

.button--secondary {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    color: var(--text);
}

body[data-theme="dark"] .button--secondary {
    background: rgba(38, 54, 69, 0.72);
}

.theme-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    font-weight: 800;
}

.theme-toggle__track {
    position: relative;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: var(--surface-dark-soft);
}

.theme-toggle__thumb {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #fffaf2;
    transition: transform 0.2s ease;
}

body[data-theme="dark"] .theme-toggle__thumb {
    transform: translateX(20px);
}

.button--knowledge {
    min-height: 44px;
    padding: 0 18px;
    background: rgba(24, 30, 35, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(18px);
    color: #fffdf8;
    flex: 0 0 auto;
    max-width: 100%;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.button--full {
    width: 100%;
}

.hero {
    width: min(100%, 1780px);
    margin: 0 auto;
    padding: 6px 10px 0;
}

.hero__media {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    border-radius: 44px;
    box-shadow: var(--shadow-lg);
    background: #0f232c;
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 22, 26, 0.18) 0%, rgba(14, 33, 40, 0.3) 32%, rgba(19, 40, 48, 0.92) 100%),
        linear-gradient(100deg, rgba(16, 35, 43, 0.94) 0%, rgba(16, 35, 43, 0.5) 48%, rgba(16, 35, 43, 0.82) 100%);
}

.hero__topbar {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    max-width: calc(100% - 36px);
}

.hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 116px 32px 56px;
    pointer-events: none;
}

.hero__intro {
    display: none;
    max-width: 720px;
    padding: 30px 34px 34px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 249, 239, 0.18) 0%, rgba(255, 249, 239, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
    color: #fff8f1;
}

.hero__eyebrow,
.section-heading span,
.plan-card__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 249, 239, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__intro h1,
.section-heading h1,
.section-heading h2 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
}

.hero__intro h1 {
    margin-top: 18px;
    font-size: clamp(48px, 7vw, 82px);
}

.hero__intro p,
.section-heading p,
.feature-card p,
.plan-card__meta,
.plan-card__features li,
.knowledge-card p,
.cabinet-list__card p,
.service-country p,
.service-status,
.cabinet-key span,
.cabinet-meta span,
.cabinet-empty,
.support-message span,
.support-message p,
.admin-table td,
.plans__note p {
    color: var(--text-soft);
    line-height: 1.7;
}

.hero__intro p {
    margin: 18px 0 0;
    max-width: 620px;
    color: rgba(255, 245, 236, 0.82);
    font-size: 18px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    pointer-events: auto;
}

.hero__actions--panel,
.hero__stats--panel {
    width: fit-content;
    max-width: 100%;
    padding: 12px;
    border-radius: 28px;
    background: rgba(255, 249, 239, 0.9);
    border: 1px solid rgba(41, 62, 70, 0.1);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
    pointer-events: auto;
}

.hero__actions--panel {
    order: 2;
    margin-top: 0;
}

.hero__trust {
    order: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 251, 245, 0.92) 0%, rgba(244, 232, 219, 0.88) 100%);
    border: 1px solid rgba(88, 63, 43, 0.12);
    box-shadow: 0 18px 36px rgba(44, 33, 25, 0.14);
    backdrop-filter: blur(12px);
    color: var(--surface-dark);
    pointer-events: auto;
}

.hero__trust-text {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #5d5247;
}

.hero__trust-text strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    margin: 0 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(201, 108, 68, 0.12);
    color: #a5522f;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
}

.hero__stats {
    order: 1;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 176px));
    gap: 10px;
}

.hero__stats li {
    padding: 18px 20px 16px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid rgba(30, 48, 57, 0.1);
}

.hero__stats strong {
    display: block;
    margin-bottom: 6px;
    color: var(--surface-dark);
    font-size: 30px;
    line-height: 1;
}

.hero__stats span {
    color: var(--text-soft);
    font-size: 14px;
}

.home-band {
    width: min(100%, 1240px);
    margin: 26px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-band__card {
    padding: 22px 24px;
    border-radius: 24px;
    background: rgba(255, 252, 247, 0.76);
    border: 1px solid rgba(36, 57, 65, 0.1);
    box-shadow: var(--shadow-sm);
}

.home-band__card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--surface-dark);
    font-family: "Fraunces", Georgia, serif;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.home-band__card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.65;
}

main {
    position: relative;
}

.features,
.plans,
.regions,
.knowledge {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 82px 24px;
}

.features {
    padding-top: 54px;
}

.regions {
    padding-top: 10px;
    padding-bottom: 96px;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
}

.section-heading--center {
    align-items: center;
    text-align: center;
}

.section-heading span,
.plan-card__label {
    width: fit-content;
    color: var(--accent);
    background: rgba(224, 236, 231, 0.78);
    border: 1px solid rgba(47, 108, 103, 0.16);
}

.section-heading h1,
.section-heading h2 {
    font-size: clamp(34px, 5vw, 60px);
    max-width: 920px;
}

.section-heading p {
    max-width: 760px;
    margin: 0;
    font-size: 18px;
}

.features__grid,
.plans__grid,
.knowledge__grid {
    display: grid;
    gap: 22px;
}

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

.feature-card,
.plan-card,
.region-card,
.knowledge-card,
.auth-card,
.cabinet-card,
.admin-card,
.cabinet-sidebar,
.cabinet-panel,
.cabinet-list__card,
.support-form,
.support-chat__header,
.support-messages,
.support-reply-form,
.duration-switcher,
.admin-compact-item {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(36, 57, 65, 0.1);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
}

.feature-card::before,
.plan-card::before,
.region-card::before,
.knowledge-card::before,
.cabinet-panel::before,
.auth-card::before,
.cabinet-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, transparent 42%);
    pointer-events: none;
}

.feature-card,
.plan-card,
.region-card,
.knowledge-card {
    border-radius: 30px;
    padding: 30px;
}

.feature-card h3,
.plan-card h3,
.region-card h3,
.knowledge-card h3 {
    margin: 0 0 12px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.feature-card {
    min-height: 240px;
    background:
        radial-gradient(circle at top right, rgba(224, 236, 231, 0.8), transparent 38%),
        var(--surface);
}

.feature-card:nth-child(2) {
    background:
        radial-gradient(circle at top right, rgba(249, 225, 214, 0.9), transparent 40%),
        var(--surface);
}

.feature-card:nth-child(3) {
    background:
        radial-gradient(circle at top right, rgba(234, 229, 211, 0.9), transparent 40%),
        var(--surface);
}

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

.region-card {
    background:
        radial-gradient(circle at top right, rgba(244, 225, 205, 0.92), transparent 36%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(252, 246, 239, 0.96) 100%);
}

.region-card .flag-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 16px;
}

.region-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.legal-page {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 34px 24px 72px;
}

.legal-shell {
    display: grid;
    gap: 28px;
}

.legal-grid,
.legal-stack {
    display: grid;
    gap: 22px;
}

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

.legal-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 252, 247, 0.88);
    border: 1px solid rgba(36, 57, 65, 0.1);
    box-shadow: var(--shadow-md);
}

.legal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, transparent 42%);
    pointer-events: none;
}

.legal-card h2 {
    margin: 0 0 14px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.legal-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.75;
}

.legal-list {
    margin: 0;
    padding-left: 20px;
    color: var(--text-soft);
    line-height: 1.75;
}

.legal-list li + li {
    margin-top: 8px;
}

.legal-note {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 248, 238, 0.86);
    border: 1px solid rgba(200, 109, 74, 0.16);
    color: var(--text-soft);
    line-height: 1.7;
}

.site-footer {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 0 24px 30px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: start;
    padding: 24px 28px;
    border-radius: 28px;
    background: rgba(255, 252, 247, 0.76);
    border: 1px solid rgba(36, 57, 65, 0.1);
    box-shadow: var(--shadow-sm);
}

.site-footer__brand strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 28px;
    letter-spacing: -0.02em;
}

.site-footer__brand p {
    margin: 0;
    max-width: 520px;
    color: var(--text-soft);
    line-height: 1.6;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 16px;
}

.site-footer__nav a {
    color: var(--surface-dark);
    font-weight: 700;
}

.plans {
    padding-top: 34px;
}

.duration-switcher {
    display: inline-grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    margin: 0 auto 28px;
    border-radius: 999px;
}

.duration-switcher__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    color: var(--text-faint);
    font-size: 14px;
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.duration-switcher__button.is-active {
    background: var(--surface-dark);
    color: #fff7ef;
}

.plan-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(223, 237, 229, 0.85), transparent 30%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(252, 246, 239, 0.96) 100%);
}

.plan-card--free {
    background:
        radial-gradient(circle at top right, rgba(237, 235, 214, 0.9), transparent 32%),
        linear-gradient(180deg, #fffaf2 0%, #f7efdf 100%);
}

.plan-card--featured {
    transform: translateY(-10px);
    background:
        radial-gradient(circle at top right, rgba(244, 213, 191, 0.95), transparent 35%),
        linear-gradient(180deg, #fff6ef 0%, #f6e4d7 100%);
    border-color: rgba(200, 109, 74, 0.22);
}

.plan-card__price {
    margin: 0;
    color: var(--surface-dark);
    font-family: "Fraunces", Georgia, serif;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.plan-card__price small {
    display: block;
    margin-top: 10px;
    color: var(--text-faint);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: normal;
}

.plan-card__meta {
    margin: 0;
}

.plan-card__features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.plan-card__features li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.plan-card__features li::before {
    content: "";
    width: 9px;
    height: 9px;
    margin-top: 8px;
    border-radius: 999px;
    flex: 0 0 auto;
    background: var(--primary);
}

.plans__note {
    margin-top: 24px;
    text-align: center;
}

.plans__note p {
    margin: 0;
}

.wiki-page {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 34px 24px 90px;
}

.wiki-hero {
    padding-bottom: 10px;
}

.wiki-hero__actions {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.knowledge--page {
    width: 100%;
    padding: 34px 0 0;
}

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

.knowledge-card strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    margin-bottom: 18px;
    padding: 0 16px;
    border-radius: 16px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 18px;
}

.knowledge-card--note {
    background:
        radial-gradient(circle at top right, rgba(248, 221, 205, 0.92), transparent 38%),
        var(--surface);
}

.knowledge-card ul {
    margin: 16px 0 0;
    padding-left: 22px;
    display: grid;
    gap: 10px;
}

.knowledge-card li {
    color: var(--muted);
}

.knowledge-card p code,
.knowledge-card li code {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(36, 57, 65, 0.08);
    color: var(--accent);
    font-size: 0.95em;
}

.knowledge-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.knowledge-docs {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.knowledge-docs__sidebar {
    position: sticky;
    top: 18px;
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(36, 57, 65, 0.08);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(14px);
}

.knowledge-docs__sidebar-title {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.knowledge-docs__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.knowledge-docs__nav a {
    display: block;
    padding: 11px 14px;
    border-radius: 14px;
    color: var(--text-soft);
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    font-size: 16px;
    line-height: 1.35;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.knowledge-docs__nav a:hover {
    background: rgba(82, 122, 197, 0.10);
    border-color: rgba(82, 122, 197, 0.12);
    color: #527ac5;
    transform: translateX(2px);
}

.knowledge-docs__nav a.is-active {
    background: rgba(82, 122, 197, 0.16);
    border-color: rgba(82, 122, 197, 0.2);
    color: var(--text);
}

.knowledge-docs__content {
    display: grid;
    gap: 28px;
}

.knowledge-docs__section {
    display: none;
    gap: 18px;
    padding: 34px 36px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(36, 57, 65, 0.08);
    box-shadow: var(--shadow-md);
}

.knowledge-docs__section.is-active {
    display: grid;
}

.knowledge-docs__empty {
    min-height: 240px;
}

.knowledge-docs__empty.is-hidden {
    display: none;
}

.knowledge-docs__section h2 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.knowledge-docs__badge {
    width: fit-content;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(224, 236, 231, 0.82);
    border: 1px solid rgba(47, 108, 103, 0.16);
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.knowledge-docs__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.knowledge-docs__cards--dense {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.knowledge-docs__ordered {
    margin: 16px 0 0;
    padding-left: 22px;
    display: grid;
    gap: 10px;
}

.knowledge-docs__sidebar::-webkit-scrollbar {
    width: 8px;
}

.knowledge-docs__sidebar::-webkit-scrollbar-thumb {
    background: rgba(36, 57, 65, 0.18);
    border-radius: 999px;
}

.auth-page,
.cabinet-page,
.admin-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 34px 20px;
}

.auth-card,
.cabinet-card,
.admin-card,
.cabinet-sidebar,
.cabinet-panel {
    padding: 34px;
    border-radius: var(--radius-xl);
}

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

.admin-card {
    width: min(100%, 1180px);
}

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

.auth-form__field {
    display: grid;
    gap: 9px;
}

.auth-form__field span {
    color: var(--surface-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-form__field--checkbox span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
    text-transform: none;
}

.purchase-consent {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(29, 42, 48, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--text);
    cursor: pointer;
}

.purchase-consent__control {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
}

.purchase-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--brand);
    cursor: pointer;
}

.purchase-consent__text {
    display: block;
    color: var(--surface-dark);
    font-size: 15px;
    line-height: 1.55;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.purchase-consent__text a {
    color: var(--brand);
    text-decoration: none;
    border-bottom: 1px solid rgba(203, 95, 71, 0.28);
}

.purchase-consent__text a:hover {
    border-bottom-color: currentColor;
}

.auth-form__field input,
.auth-form__field textarea,
.auth-form__field select {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(29, 42, 48, 0.12);
    border-radius: 18px;
    outline: none;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-form__field textarea {
    min-height: 120px;
    resize: vertical;
}

.auth-form__field input:focus,
.auth-form__field textarea:focus,
.auth-form__field select:focus {
    border-color: rgba(47, 108, 103, 0.44);
    box-shadow: 0 0 0 4px rgba(47, 108, 103, 0.08);
    background: #ffffff;
}

.auth-message {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
}

.auth-message--error {
    background: var(--danger-bg);
    color: var(--danger-text);
    border: 1px solid rgba(143, 75, 62, 0.18);
}

.auth-message--success {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid rgba(39, 81, 63, 0.14);
}

.auth-card__footer {
    margin-top: 20px;
    text-align: center;
    display: grid;
    gap: 10px;
    justify-items: center;
}

.auth-card__footer a {
    color: var(--accent);
    font-weight: 800;
}

.auth-card__footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(18, 59, 72, 0.06);
    line-height: 1.35;
    text-decoration: none;
}

.auth-card__footer-link:hover {
    background: rgba(18, 59, 72, 0.1);
}

.cabinet-layout {
    width: min(100%, 1440px);
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 22px;
    padding: 22px;
}

.cabinet-sidebar {
    position: sticky;
    top: 22px;
    align-self: start;
    background:
        linear-gradient(180deg, rgba(20, 44, 54, 0.96) 0%, rgba(24, 52, 63, 0.94) 100%);
    color: #eef4ef;
}

.cabinet-sidebar__brand {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cabinet-sidebar__brand span {
    color: rgba(236, 245, 241, 0.62);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cabinet-sidebar__brand strong {
    font-family: "Fraunces", Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.cabinet-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-height: calc(100vh - 176px);
}

.cabinet-nav__group,
.cabinet-nav__footer {
    display: grid;
    gap: 10px;
}

.cabinet-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(245, 249, 245, 0.82);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cabinet-nav__link:hover,
.cabinet-nav__link.is-active {
    transform: translateX(2px);
    background: rgba(255, 250, 242, 0.16);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fffaf4;
}

.cabinet-nav__link--danger {
    color: #ffe7e1;
    background: rgba(200, 109, 74, 0.14);
    border-color: rgba(200, 109, 74, 0.22);
}

.cabinet-panel {
    min-width: 0;
    min-height: calc(100vh - 44px);
    background:
        radial-gradient(circle at top right, rgba(224, 236, 231, 0.82), transparent 22%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.92) 0%, rgba(251, 245, 238, 0.92) 100%);
}

.cabinet-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0 6px;
}

.cabinet-info__item {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(33, 55, 65, 0.09);
}

.cabinet-info__item--link {
    text-decoration: none;
    color: inherit;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cabinet-info__item--link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(194, 112, 72, 0.3);
}

.cabinet-info__item span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-faint);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cabinet-info__item strong {
    font-size: 24px;
}

.cabinet-toast {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 50;
    max-width: min(360px, calc(100vw - 32px));
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(34, 71, 49, 0.94);
    color: #f7f3ea;
    box-shadow: 0 18px 40px rgba(27, 45, 36, 0.24);
}

.cabinet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cabinet-list {
    display: grid;
    gap: 18px;
}

.cabinet-list__card {
    padding: 24px;
    border-radius: 26px;
}

.cabinet-list__card--link:hover {
    border-color: rgba(47, 108, 103, 0.26);
}

.cabinet-list__card h3 {
    margin: 0 0 10px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 26px;
    letter-spacing: -0.02em;
}

.cabinet-list__card p {
    margin: 0 0 14px;
}

.cabinet-key {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.cabinet-key__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.cabinet-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.cabinet-action-row form {
    margin: 0;
}

.cabinet-action-row--downloads {
    align-items: flex-start;
}

.cabinet-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1 1 420px;
    align-items: flex-start;
}

.cabinet-downloads__button {
    width: min(260px, 100%);
    justify-content: center;
}

.cabinet-key code {
    display: block;
    padding: 14px 16px;
    border-radius: 18px;
    background: #19313b;
    color: #e8f3ee;
    overflow-wrap: anywhere;
}

.cabinet-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

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

.service-country {
    display: flex;
    align-items: center;
    gap: 14px;
}

.service-country .flag-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
}

.service-country h3 {
    margin: 0 0 6px;
}

.service-status {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.cabinet-empty {
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px dashed rgba(33, 55, 65, 0.16);
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.support-list,
.support-chat {
    display: grid;
    gap: 16px;
    min-height: 0;
}

.support-list {
    max-height: calc(100vh - 220px);
    grid-template-rows: auto auto minmax(0, 1fr);
}

.support-chat {
    max-height: calc(100vh - 220px);
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.support-ticket-list,
.support-messages {
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.support-ticket-list {
    max-height: calc(100vh - 390px);
}

.support-ticket-list .cabinet-list__card,
.support-ticket-list .support-ticket-item {
    overflow: visible;
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: none;
}

.support-panel-title {
    padding: 0 4px;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-ticket-row {
    position: relative;
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(33, 55, 65, 0.1);
    background: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    color: var(--text);
}

.support-ticket-row + .support-ticket-row {
    margin-top: 10px;
}

.support-ticket-row__title {
    display: block;
    margin: 0 0 6px;
    padding-right: 120px;
    font-size: 14px;
    line-height: 1.35;
    font-family: inherit;
    letter-spacing: 0;
}

.support-ticket-row__meta {
    display: block;
    margin: 0;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.4;
}

.support-ticket-row__answer {
    position: absolute;
    top: 12px;
    right: 14px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 700;
}

.support-ticket-row__answer.is-answered {
    color: var(--accent);
}

.support-ticket-list .cabinet-list__card h3,
.support-ticket-list .cabinet-list__card p,
.support-ticket-list .cabinet-list__card .cabinet-meta,
.support-ticket-list .cabinet-list__card .support-ticket-row__title,
.support-ticket-list .cabinet-list__card .support-ticket-row__meta {
    position: relative;
    z-index: 1;
}

.support-form,
.support-chat__header,
.support-messages,
.support-reply-form {
    border-radius: 24px;
    padding: 22px;
}

.support-chat__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.support-chat__title {
    display: grid;
    gap: 8px;
}

.support-chat__header h3 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: 30px;
}

.support-chat__header span {
    color: var(--accent);
    font-weight: 800;
}

.support-chat__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.support-messages {
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 470px);
}

.support-close-button,
.support-delete-button {
    min-height: 46px;
    white-space: nowrap;
}

.support-delete-button {
    background: var(--danger-bg);
    border: 1px solid rgba(143, 75, 62, 0.16);
    color: var(--danger-text);
}

.cabinet-toast[hidden] {
    display: none;
}

.cabinet-toast.is-visible {
    display: block;
}

.support-message {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(33, 55, 65, 0.08);
}

.support-message--admin {
    background: rgba(224, 236, 231, 0.82);
}

.support-message strong,
.support-message p {
    display: block;
    margin: 0 0 8px;
}

.support-message strong {
    color: var(--surface-dark);
}

.admin-table-wrap {
    margin: 22px 0 34px;
    overflow-x: auto;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(33, 55, 65, 0.08);
}

.admin-settings-card {
    margin: 18px 0 26px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(33, 55, 65, 0.08);
    box-shadow: var(--shadow-sm);
}

.admin-settings-card h2 {
    margin: 0 0 18px;
    color: var(--surface-dark);
    font-family: "Fraunces", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
}

.admin-settings-card__hint {
    margin: 0 0 16px;
    color: var(--text-soft);
    line-height: 1.65;
}

.admin-rotation-log {
    margin: 8px 0 0;
    padding: 0 0 0 16px;
    display: grid;
    gap: 6px;
    color: rgba(33, 39, 46, 0.8);
    font-size: 13px;
}

body[data-theme='dark'] .admin-rotation-log {
    color: rgba(229, 235, 242, 0.78);
}

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

.admin-table th,
.admin-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(33, 55, 65, 0.08);
}

.admin-inline-form {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(110px, auto) auto;
    gap: 10px;
    align-items: center;
}

.admin-inline-form select {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(29, 42, 48, 0.12);
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
}

.admin-inline-form .button {
    min-height: 42px;
    padding: 0 18px;
}

.admin-user-subscriptions {
    min-width: 280px;
}

.admin-user-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.admin-user-card {
    display: grid;
    gap: 18px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(33, 55, 65, 0.1);
    box-shadow: 0 24px 60px rgba(20, 38, 47, 0.08);
}

.admin-user-card__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 18px;
    align-items: start;
}

.admin-user-card__identity {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.admin-user-card__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: var(--surface-dark);
}

.admin-user-card__title strong {
    font-size: 26px;
    line-height: 1.05;
}

.admin-user-card__id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(215, 117, 74, 0.14);
    color: var(--accent);
    font-weight: 800;
}

.admin-user-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.admin-user-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(52, 73, 82, 0.08);
    color: var(--text-faint);
    font-size: 14px;
    font-weight: 700;
}

.admin-user-card__actions {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.25fr) minmax(240px, 1fr);
    gap: 16px;
}

.admin-user-card__section {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(246, 242, 233, 0.78);
    border: 1px solid rgba(33, 55, 65, 0.08);
}

.admin-user-card__label {
    color: var(--text-faint);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-inline-form--stacked {
    grid-template-columns: minmax(0, 1fr) auto;
}

.admin-inline-form--issue {
    grid-template-columns: minmax(120px, 1fr) minmax(110px, auto) auto;
}

.admin-inline-form--issue .button {
    min-width: 0;
    width: 100%;
    padding: 0 14px;
}

.admin-user-card__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.admin-user-card__buttons form,
.admin-user-card__buttons .button {
    width: 100%;
}

.admin-user-subscriptions--card {
    min-width: 0;
}

.admin-user-subscriptions summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--surface-dark);
}

.admin-user-subscriptions summary::-webkit-details-marker {
    display: none;
}

.admin-user-subscriptions__body {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(33, 55, 65, 0.08);
}

.admin-user-subscriptions__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(246, 242, 233, 0.92);
}

.admin-user-subscriptions__item strong,
.admin-user-subscriptions__item span {
    display: block;
}

.admin-user-subscriptions__item span,
.admin-user-subscriptions__empty {
    color: var(--text-faint);
    font-size: 14px;
}

.admin-user-subscriptions__empty {
    margin: 0;
}

.admin-table th {
    color: var(--surface-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-compact-list {
    display: grid;
    gap: 14px;
}

.admin-compact-item {
    border-radius: 24px;
}

.admin-compact-item__summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

.admin-compact-item__summary::-webkit-details-marker {
    display: none;
}

.admin-compact-item__summary small {
    color: var(--text-faint);
}

.admin-compact-item__body {
    padding: 0 20px 20px;
    border-top: 1px solid rgba(33, 55, 65, 0.08);
}

.section-heading--compact {
    margin-bottom: 18px;
}

.section-heading--inline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.section-heading--compact h2 {
    margin: 6px 0 4px;
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.05;
    color: var(--surface-dark);
}

.cabinet-home-news {
    margin-top: 28px;
}

.cabinet-home-news__link {
    width: auto;
    min-width: 170px;
    justify-content: center;
}

.news-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.news-feed--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-card {
    padding: 22px 24px;
    border-radius: 26px;
    border: 1px solid rgba(33, 55, 65, 0.1);
    background: rgba(255, 252, 247, 0.92);
    box-shadow: 0 20px 45px rgba(39, 27, 14, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.news-card.is-unread {
    border-color: rgba(201, 108, 66, 0.34);
    box-shadow: 0 24px 50px rgba(201, 108, 66, 0.12);
}

.news-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(200, 109, 74, 0.95), rgba(47, 108, 103, 0.72));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.news-card.is-unread::before,
.news-card:hover::before,
.news-card:focus-visible::before {
    opacity: 1;
}

.news-card:hover,
.news-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(201, 108, 66, 0.3);
    box-shadow: 0 26px 54px rgba(39, 27, 14, 0.12);
    outline: none;
}

.news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-faint);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-card__meta strong {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(201, 108, 66, 0.14);
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.news-card h3 {
    margin: 0 0 10px;
    color: var(--surface-dark);
    font-size: 24px;
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card p {
    margin: 0;
    color: var(--text-main);
    line-height: 1.7;
    white-space: pre-line;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
}

.news-modal[hidden] {
    display: none;
}

.news-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 24, 27, 0.58);
    backdrop-filter: blur(8px);
}

.news-modal__dialog {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    margin: 24px auto;
    padding: 28px 28px 30px;
    overflow: auto;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 252, 247, 0.98);
    box-shadow: 0 28px 90px rgba(17, 22, 24, 0.28);
    overflow-x: hidden;
}

.news-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(33, 55, 65, 0.08);
    color: var(--surface-dark);
    font-size: 22px;
    cursor: pointer;
}

.news-modal__meta {
    margin-bottom: 12px;
    color: var(--text-faint);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-modal__dialog h2 {
    margin: 0 40px 16px 0;
    color: var(--surface-dark);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.05;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.news-modal__body {
    color: var(--text-main);
    font-size: 17px;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.is-modal-open {
    overflow: hidden;
}

@media (max-width: 1120px) {
    .features__grid,
    .plans__grid,
    .regions__grid,
    .legal-grid,
    .knowledge__grid,
    .knowledge-docs,
    .knowledge-docs__cards,
    .home-band {
        grid-template-columns: 1fr;
    }

    .knowledge-docs__cards--dense {
        grid-template-columns: 1fr;
    }

    .hero__media,
    .hero__content {
        min-height: auto;
    }

    .cabinet-info {
        grid-template-columns: 1fr;
    }

    .news-feed--compact {
        grid-template-columns: 1fr;
    }

    .section-heading--inline {
        align-items: stretch;
    }

    .cabinet-home-news__link {
        width: 100%;
        min-width: 0;
    }

    .news-modal__dialog {
        width: min(100vw - 20px, 760px);
        max-height: calc(100vh - 20px);
        margin: 10px auto;
        padding: 22px 20px 24px;
        border-radius: 24px;
    }

    .knowledge-docs__sidebar {
        position: static;
    }
}

@media (max-width: 960px) {
    .admin-user-subscriptions__item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 960px) {
    .hero {
        padding: 10px 10px 0;
    }

    .hero__media {
        min-height: 520px;
        border-radius: 30px;
    }

    .hero__topbar {
        justify-content: flex-start;
        max-width: calc(100% - 36px);
    }

    .hero__content {
        padding: 108px 22px 30px;
    }

    .hero__intro {
        padding: 24px;
    }

    .hero__intro h1 {
        font-size: clamp(38px, 10vw, 58px);
    }

    .hero__stats {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero__actions--panel {
        margin-top: 0;
    }

    .cabinet-layout,
    .support-layout {
        grid-template-columns: 1fr;
    }

    .cabinet-sidebar {
        position: static;
    }

    .cabinet-nav {
        min-height: auto;
    }

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

@media (max-width: 640px) {
    .hero__media {
        min-height: 420px;
        border-radius: 24px;
    }

    .hero__content {
        padding: 84px 14px 18px;
        gap: 16px;
    }

    .hero__topbar {
        top: 12px;
        left: 12px;
        right: 12px;
        gap: 8px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    .button,
    .button--knowledge {
        width: 100%;
    }

    .button--knowledge:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .hero__actions--panel,
    .hero__stats--panel {
        width: 100%;
    }

    .hero__actions--panel {
        margin-top: 0;
    }

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

    .features,
    .plans,
    .regions,
    .knowledge,
    .wiki-page,
    .legal-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .site-footer__nav {
        justify-content: flex-start;
    }

    .home-band {
        padding: 0 18px;
    }

    .duration-switcher {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 24px;
    }

    .auth-card,
    .cabinet-card,
    .admin-card,
    .cabinet-sidebar,
    .cabinet-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .cabinet-layout {
        padding: 14px;
        gap: 14px;
    }

    .cabinet-key__row {
        grid-template-columns: 1fr;
    }

    .cabinet-action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .service-head,
    .support-chat__header,
    .support-chat__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .support-list,
    .support-chat,
    .support-messages {
        max-height: none;
    }

    .support-ticket-list {
        overflow: visible;
        padding-right: 0;
    }
}

@media (max-width: 860px) {
    .section-heading h1,
    .section-heading h2 {
        line-height: 1.06;
    }

    .section-heading h1 {
        font-size: clamp(38px, 8vw, 58px);
    }

    .section-heading h2 {
        font-size: clamp(30px, 6vw, 42px);
    }

    .cabinet-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cabinet-actions .button {
        width: 100%;
    }

    .admin-table {
        min-width: 760px;
    }

    .admin-table th,
    .admin-table td {
        padding: 14px 14px;
        white-space: nowrap;
    }

    .admin-settings-card {
        padding: 20px;
    }

    .admin-compact-item__summary {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px 12px;
    }

    .admin-compact-item__summary small {
        grid-column: 1 / -1;
        padding-left: 34px;
        overflow-wrap: anywhere;
    }

    .admin-user-subscriptions {
        min-width: 0;
    }

    .admin-user-card {
        padding: 18px;
    }

    .admin-user-card__top,
    .admin-user-card__actions {
        grid-template-columns: 1fr;
    }

    .admin-user-card__buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    body::before {
        width: 180px;
        height: 180px;
    }

    body::after {
        width: 220px;
        height: 220px;
    }

    .page-brand {
        margin-top: 18px;
        padding: 8px 12px;
    }

    .site-brand,
    .page-brand {
        gap: 10px;
    }

    .site-brand img,
    .page-brand img,
    .site-footer__brand-link img {
        width: 30px;
        height: 30px;
        border-radius: 10px;
    }

    .site-brand strong,
    .page-brand strong,
    .site-footer__brand-link strong {
        font-size: 14px;
    }

    .hero {
        padding: 8px 8px 0;
    }

    .hero__media {
        min-height: 360px;
        border-radius: 22px;
    }

    .hero__content {
        padding: 76px 12px 14px;
    }

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

    .hero__actions {
        width: 100%;
    }

    .hero__actions .button,
    .hero__actions .button--knowledge {
        min-height: 48px;
    }

    .hero__stats li {
        padding: 14px 16px;
    }

    .features,
    .plans,
    .regions,
    .knowledge,
    .wiki-page,
    .legal-page,
    .home-band,
    .site-footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .section-heading {
        margin-bottom: 22px;
    }

    .section-heading span {
        padding: 8px 12px;
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .section-heading h1 {
        font-size: clamp(32px, 10vw, 44px);
    }

    .section-heading h2 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .section-heading p {
        font-size: 14px;
        line-height: 1.55;
    }

    .button {
        min-height: 48px;
        padding: 0 18px;
        font-size: 13px;
    }

    .auth-card,
    .cabinet-card,
    .admin-card,
    .cabinet-sidebar,
    .cabinet-panel,
    .cabinet-list__card,
    .support-form,
    .support-chat__header,
    .admin-compact-item,
    .admin-settings-card {
        border-radius: 20px;
    }

    .auth-card,
    .cabinet-card,
    .admin-card,
    .cabinet-sidebar,
    .cabinet-panel {
        padding: 18px;
    }

    .cabinet-layout {
        padding: 10px;
        gap: 10px;
    }

    .cabinet-sidebar__brand {
        gap: 10px;
    }

    .cabinet-nav__link {
        min-height: 48px;
        padding: 12px 14px;
    }

    .cabinet-info__item {
        padding: 14px 16px;
    }

    .cabinet-list {
        gap: 10px;
    }

    .cabinet-list__card {
        padding: 16px;
    }

    .cabinet-list__card h3 {
        font-size: 18px;
    }

    .cabinet-list__card p,
    .cabinet-meta span,
    .cabinet-key span,
    .cabinet-empty {
        font-size: 14px;
        line-height: 1.5;
    }

.cabinet-key code {
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

body[data-show-access-keys="0"] .cabinet-list [data-service-code="auto"] .cabinet-key__row .cabinet-copy-button {
    display: none;
}

body[data-show-access-keys="0"] .cabinet-list [data-service-code="auto"] .cabinet-key__row code {
    display: none;
}

body[data-show-access-keys="0"] .cabinet-list [data-service-code="auto"] .cabinet-key__row::before {
    content: "Скрыт на сайте. Это тестовые локации.";
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(29, 42, 48, 0.12);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
}

body[data-show-access-keys="0"] .cabinet-list [data-service-code="auto"] .cabinet-key::after {
    content: "Подключение доступно через наше приложение.";
    display: block;
    margin-top: 10px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.5;
}

body[data-show-access-keys="0"] [data-auto-vpn-list] .auth-form__field {
    display: none;
}

body[data-show-access-keys="0"] [data-auto-vpn-list] .admin-compact-item__body::after {
    content: "Ключ доступа скрыт на сайте. Для этих VPN используй наше приложение.";
    display: block;
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.55;
}

    .support-layout {
        gap: 10px;
    }

    .support-chat__header,
    .support-chat__actions,
    .support-ticket-row {
        gap: 10px;
    }

    .support-messages {
        gap: 10px;
    }

    .support-message {
        padding: 12px 14px;
    }

    .auth-form {
        gap: 14px;
    }

    .auth-form__field {
        gap: 7px;
    }

    .auth-form__field span {
        font-size: 11px;
        letter-spacing: 0.05em;
    }

    .purchase-consent {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 15px;
    }

    .purchase-consent input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .purchase-consent__text {
        font-size: 14px;
        line-height: 1.45;
    }

    .auth-form__field input,
    .auth-form__field textarea,
    .auth-form__field select {
        min-height: 50px;
        padding: 13px 14px;
        border-radius: 16px;
    }

    .admin-settings-card h2 {
        font-size: 24px;
    }

    .admin-settings-card__hint {
        font-size: 14px;
        line-height: 1.55;
    }

    .admin-compact-list {
        gap: 10px;
    }

    .admin-compact-item__summary {
        padding: 14px 16px;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .admin-compact-item__summary .flag-icon {
        margin-bottom: 2px;
    }

    .admin-compact-item__summary small {
        padding-left: 0;
        font-size: 12px;
        line-height: 1.45;
    }

    .admin-compact-item__body {
        padding: 0 16px 16px;
    }

    .admin-inline-form {
        gap: 8px;
    }

    .admin-inline-form--stacked,
    .admin-inline-form--issue {
        grid-template-columns: 1fr;
    }

    .admin-inline-form .button,
    .admin-inline-form select {
        width: 100%;
    }

    .admin-user-subscriptions__body {
        padding: 12px;
    }

    .admin-user-subscriptions__item {
        padding: 12px;
    }

    .admin-table-wrap,
    .admin-table-wrap--compact {
        margin: 16px 0 24px;
        border-radius: 18px;
    }

    .admin-table {
        min-width: 680px;
    }

    .admin-user-card__title strong {
        font-size: 22px;
    }

    .admin-table-caption {
        margin: -10px 0 20px;
        font-size: 14px;
    }
}



.admin-table-wrap--compact {
    max-height: 520px;
    overflow: auto;
}

.admin-table-caption {
    margin: -18px 0 28px;
    color: var(--text-soft);
}

body[data-theme="dark"] .hero__actions--panel,
body[data-theme="dark"] .hero__stats--panel,
body[data-theme="dark"] .hero__trust,
body[data-theme="dark"] .home-band__card,
body[data-theme="dark"] .feature-card,
body[data-theme="dark"] .plan-card,
body[data-theme="dark"] .plan-card--free,
body[data-theme="dark"] .plan-card--featured,
body[data-theme="dark"] .region-card,
body[data-theme="dark"] .site-footer__inner,
body[data-theme="dark"] .legal-card,
body[data-theme="dark"] .legal-note,
body[data-theme="dark"] .news-card,
body[data-theme="dark"] .news-modal__dialog,
body[data-theme="dark"] .page-brand,
body[data-theme="dark"] .cabinet-panel,
body[data-theme="dark"] .cabinet-sidebar,
body[data-theme="dark"] .cabinet-card,
body[data-theme="dark"] .cabinet-info__item,
body[data-theme="dark"] .cabinet-list__card,
body[data-theme="dark"] .cabinet-empty,
body[data-theme="dark"] .auth-card,
body[data-theme="dark"] .duration-switcher,
body[data-theme="dark"] .support-form,
body[data-theme="dark"] .support-chat__header,
body[data-theme="dark"] .support-messages,
body[data-theme="dark"] .support-reply-form,
body[data-theme="dark"] .support-chat,
body[data-theme="dark"] .support-list,
body[data-theme="dark"] .admin-settings-card,
body[data-theme="dark"] .admin-compact-item,
body[data-theme="dark"] .admin-card,
body[data-theme="dark"] .admin-table-wrap,
body[data-theme="dark"] .admin-user-card,
body[data-theme="dark"] .knowledge-docs__section,
body[data-theme="dark"] .knowledge-docs__sidebar {
    background: linear-gradient(180deg, rgba(29, 42, 53, 0.96) 0%, rgba(22, 33, 43, 0.96) 100%);
    border-color: rgba(219, 232, 239, 0.14);
    color: var(--text);
}

body[data-theme="dark"] .admin-user-card {
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

body[data-theme="dark"] .knowledge-docs__sidebar-title,
body[data-theme="dark"] .knowledge-docs__nav a {
    color: var(--text-soft);
}

body[data-theme="dark"] .knowledge-docs__nav a:hover {
    background: rgba(123, 162, 255, 0.14);
    border-color: rgba(123, 162, 255, 0.16);
    color: #9eb7ff;
}

body[data-theme="dark"] .knowledge-docs__nav a.is-active {
    background: rgba(123, 162, 255, 0.22);
    border-color: rgba(123, 162, 255, 0.28);
    color: var(--text);
}

body[data-theme="dark"] .admin-user-card__section {
    background: rgba(36, 52, 66, 0.84);
    border-color: rgba(158, 187, 204, 0.1);
}

body[data-theme="dark"] .admin-user-card__meta span {
    background: rgba(158, 187, 204, 0.1);
}

body[data-theme="dark"] .plan-card--featured {
    background:
        radial-gradient(circle at top right, rgba(209, 114, 76, 0.18), transparent 36%),
        linear-gradient(180deg, rgba(38, 45, 55, 0.98) 0%, rgba(27, 37, 48, 0.98) 100%);
}

body[data-theme="dark"] .hero__stats strong,
body[data-theme="dark"] .home-band__card strong,
body[data-theme="dark"] .feature-card h3,
body[data-theme="dark"] .plan-card h3,
body[data-theme="dark"] .region-card h3,
body[data-theme="dark"] .knowledge-card h3,
body[data-theme="dark"] .plan-card__price,
body[data-theme="dark"] .legal-card h2,
body[data-theme="dark"] .site-footer__brand strong,
body[data-theme="dark"] .news-card h3,
body[data-theme="dark"] .news-modal__dialog h2,
body[data-theme="dark"] .cabinet-list__card h3,
body[data-theme="dark"] .auth-form__field span {
    color: var(--text);
}

body[data-theme="dark"] .hero__trust-text,
body[data-theme="dark"] .plan-card__meta,
body[data-theme="dark"] .plan-card__features li,
body[data-theme="dark"] .feature-card p,
body[data-theme="dark"] .region-card p,
body[data-theme="dark"] .knowledge-card p,
body[data-theme="dark"] .legal-card p,
body[data-theme="dark"] .legal-note,
body[data-theme="dark"] .legal-list,
body[data-theme="dark"] .site-footer__brand p,
body[data-theme="dark"] .news-card p,
body[data-theme="dark"] .news-modal__body,
body[data-theme="dark"] .cabinet-list__card p,
body[data-theme="dark"] .cabinet-info__item span {
    color: var(--text-soft);
}

body[data-theme="dark"] .auth-form__field input,
body[data-theme="dark"] .auth-form__field textarea,
body[data-theme="dark"] .auth-form__field select,
body[data-theme="dark"] .cabinet-key code {
    background: rgba(12, 22, 30, 0.78);
    border-color: rgba(219, 232, 239, 0.14);
    color: var(--text);
}

body[data-theme="dark"] .auth-form__field input:focus,
body[data-theme="dark"] .auth-form__field textarea:focus,
body[data-theme="dark"] .auth-form__field select:focus {
    background: rgba(18, 30, 40, 0.94);
}

body[data-theme="dark"] .site-footer__nav a,
body[data-theme="dark"] .page-brand strong,
body[data-theme="dark"] .site-footer__brand-link strong {
    color: var(--text);
}

body[data-theme="dark"] .site-footer {
    background: transparent;
}

body[data-theme="dark"] .news-card:hover,
body[data-theme="dark"] .news-card:focus-visible {
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.24);
}

body[data-theme="dark"] .news-modal__close {
    background: rgba(219, 232, 239, 0.1);
    color: var(--text);
}

body[data-theme="dark"] .feature-card::before,
body[data-theme="dark"] .plan-card::before,
body[data-theme="dark"] .region-card::before,
body[data-theme="dark"] .knowledge-card::before,
body[data-theme="dark"] .cabinet-panel::before,
body[data-theme="dark"] .auth-card::before,
body[data-theme="dark"] .cabinet-sidebar::before,
body[data-theme="dark"] .legal-card::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 44%);
}
