@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&display=swap");

* {
    box-sizing: border-box;
}

:root {
    --bg: #050814;
    --panel: rgba(255, 255, 255, 0.065);
    --panel-strong: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.14);
    --text: #f7fbff;
    --muted: #aeb9d4;
    --accent: #6df7ff;
    --accent-2: #15e29a;
    --violet: #8a6dff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    --heading-font: Manrope, Inter, Arial, sans-serif;
}

:root[data-theme="light"] {
    --bg: #f5f8ff;
    --panel: rgba(10, 22, 42, 0.055);
    --panel-strong: rgba(10, 22, 42, 0.09);
    --line: rgba(10, 22, 42, 0.14);
    --text: #06111f;
    --muted: #5d6b83;
    --accent: #087dff;
    --accent-2: #00b881;
    --violet: #6b55ee;
    --shadow: 0 24px 70px rgba(31, 58, 94, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    background:
        radial-gradient(circle at 18% 0%, rgba(109, 247, 255, 0.15), transparent 30rem),
        radial-gradient(circle at 86% 6%, rgba(138, 109, 255, 0.2), transparent 32rem),
        #050814;
}

:root[data-theme="light"] body {
    background:
        radial-gradient(circle at 18% 0%, rgba(8, 125, 255, 0.16), transparent 30rem),
        radial-gradient(circle at 86% 6%, rgba(107, 85, 238, 0.14), transparent 32rem),
        #f5f8ff;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.033) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.033) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

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

.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 8, 20, 0.76);
    backdrop-filter: blur(20px);
}

:root[data-theme="light"] .nav {
    background: rgba(245, 248, 255, 0.82);
}

.nav-inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--heading-font);
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    color: #07111c;
    background: linear-gradient(135deg, var(--accent), var(--violet));
    box-shadow: 0 0 32px rgba(109, 247, 255, 0.28);
}

.brand-mark img {
    display: block;
    width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    max-height: 42px !important;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

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

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
        rgba(5, 8, 20, 0.38);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px) saturate(150%);
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: var(--text);
    font-weight: 900;
    background: rgba(255, 255, 255, 0.08);
}

.button-primary {
    border: 0;
    color: #031019;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

:root[data-theme="light"] .nav-actions {
    border-color: rgba(10, 22, 42, 0.16);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.78)),
        rgba(255, 255, 255, 0.84);
    box-shadow:
        0 18px 42px rgba(31, 58, 94, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.language-switch a {
    display: inline-flex;
    min-width: 42px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.language-switch a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.09);
}

.language-switch a.active {
    color: #031019;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 10px 22px rgba(109, 247, 255, 0.22);
    transform: translateY(-1px);
}

.theme-toggle {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: var(--text);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
        rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-icon-button {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: var(--text);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.055)),
        rgba(255, 255, 255, 0.07);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-icon-button svg,
.nav-icon-button img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.nav-icon-button svg {
    fill: currentColor;
}

.theme-img-dark,
:root[data-theme="light"] .theme-img-dark,
:root[data-theme="dark"] .theme-img-light {
    display: none;
}

:root[data-theme="light"] .theme-img-light,
:root[data-theme="dark"] .theme-img-dark {
    display: block;
}

.login-icon-button img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 6px 12px rgba(109, 247, 255, 0.18));
}

.theme-toggle img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 6px 12px rgba(21, 226, 154, 0.18));
}

.login-icon-button {
    color: var(--accent);
}

.login-icon-button.active {
    border-color: rgba(109, 247, 255, 0.34);
    background:
        linear-gradient(145deg, rgba(109, 247, 255, 0.2), rgba(138, 109, 255, 0.12)),
        rgba(109, 247, 255, 0.1);
    box-shadow:
        0 14px 30px rgba(109, 247, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.theme-toggle {
    color: var(--accent-2);
}

.nav-icon-button:hover {
    color: var(--accent);
    border-color: rgba(109, 247, 255, 0.42);
    background:
        linear-gradient(145deg, rgba(109, 247, 255, 0.18), rgba(138, 109, 255, 0.12)),
        rgba(109, 247, 255, 0.08);
    box-shadow: 0 12px 26px rgba(109, 247, 255, 0.14);
    transform: translateY(-1px);
}

.theme-toggle:hover {
    color: var(--accent-2);
    border-color: rgba(21, 226, 154, 0.42);
    background:
        linear-gradient(145deg, rgba(21, 226, 154, 0.18), rgba(109, 247, 255, 0.1)),
        rgba(21, 226, 154, 0.08);
}

:root[data-theme="light"] .language-switch,
:root[data-theme="light"] .theme-toggle {
    border-color: rgba(10, 22, 42, 0.12);
    background: rgba(255, 255, 255, 0.72);
}

:root[data-theme="light"] .nav-icon-button {
    border-color: rgba(10, 22, 42, 0.18);
    background:
        linear-gradient(145deg, #ffffff, #edf4ff),
        rgba(255, 255, 255, 0.9);
    box-shadow:
        0 14px 34px rgba(31, 58, 94, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .login-icon-button {
    color: #087dff;
}

:root[data-theme="light"] .theme-toggle {
    color: #00a977;
}

:root[data-theme="light"] .login-icon-button.active {
    border-color: rgba(8, 125, 255, 0.34);
    background:
        linear-gradient(145deg, rgba(8, 125, 255, 0.16), rgba(107, 85, 238, 0.1)),
        #ffffff;
    box-shadow:
        0 16px 34px rgba(8, 125, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .nav-icon-button:hover {
    border-color: rgba(8, 125, 255, 0.35);
    color: #087dff;
    background: #ffffff;
}

.page-hero {
    padding: 76px 0 44px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-family: var(--heading-font);
    max-width: 880px;
    margin-bottom: 22px;
    font-size: clamp(2.55rem, 5.4vw, 4.95rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.018em;
}

h2 {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.014em;
}

.lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.75;
}

.section {
    padding: 48px 0;
}

.grid {
    display: grid;
    gap: 18px;
}

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

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

.card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        linear-gradient(145deg, var(--panel-strong), rgba(255, 255, 255, 0.035)),
        radial-gradient(circle at 90% 15%, rgba(109, 247, 255, 0.12), transparent 14rem);
    box-shadow: var(--shadow);
    overflow: hidden;
}

:root[data-theme="light"] .card,
:root[data-theme="light"] .pricing-group,
:root[data-theme="light"] .faq-category,
:root[data-theme="light"] .auth-form,
:root[data-theme="light"] .contact-form,
:root[data-theme="light"] .admin-table-wrap {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66)),
        radial-gradient(circle at 90% 15%, rgba(8, 125, 255, 0.08), transparent 14rem);
}

.card h3 {
    font-family: var(--heading-font);
    margin-bottom: 12px;
    font-size: 1.35rem;
    letter-spacing: -0.006em;
}

.card p,
.card li {
    color: var(--muted);
    line-height: 1.65;
}

.icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    place-items: center;
    border: 1px solid rgba(109, 247, 255, 0.25);
    border-radius: 20px;
    color: var(--accent);
    background: rgba(109, 247, 255, 0.08);
    transition: transform 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

:root[data-theme="light"] .icon {
    border-color: rgba(8, 125, 255, 0.18);
    color: #087dff;
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.48) 46%, transparent 70%),
        linear-gradient(145deg, rgba(8, 125, 255, 0.13), rgba(0, 184, 129, 0.09)),
        rgba(255, 255, 255, 0.86);
    box-shadow:
        0 16px 30px rgba(8, 125, 255, 0.13),
        0 8px 18px rgba(31, 58, 94, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

:root[data-theme="light"] .card:hover .icon {
    border-color: rgba(0, 184, 129, 0.28);
    color: #00a977;
    transform: translateY(-2px);
    box-shadow:
        0 20px 38px rgba(0, 184, 129, 0.15),
        0 10px 22px rgba(31, 58, 94, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.icon svg {
    width: 29px;
    height: 29px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.list {
    display: grid;
    gap: 10px;
    padding-left: 18px;
    margin-bottom: 0;
}

.price {
    font-family: var(--heading-font);
    margin: 18px 0 18px;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.price span {
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0;
}

.pricing-stack {
    display: grid;
    gap: 0;
}

.pricing-group {
    position: relative;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.032)),
        radial-gradient(circle at 96% 0%, rgba(109, 247, 255, 0.12), transparent 18rem);
    box-shadow: var(--shadow);
}

.pricing-group + .pricing-group {
    margin-top: 74px;
}

.pricing-group + .pricing-group::before {
    position: absolute;
    top: -39px;
    left: 0;
    right: 0;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(109, 247, 255, 0.82), rgba(138, 109, 255, 0.72), transparent);
    box-shadow: 0 0 22px rgba(109, 247, 255, 0.34);
}

.pricing-group-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.pricing-group-head h2 {
    margin-bottom: 0;
}

.pricing-group-head p {
    max-width: 430px;
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.pricing-group .card {
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.pricing-group .list {
    margin-bottom: 28px;
}

.pricing-group .button {
    width: 100%;
    min-height: 52px;
    margin-top: auto;
    border-radius: 18px;
    font-size: 0.95rem;
    box-shadow: 0 16px 34px rgba(21, 226, 154, 0.2);
}

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

.faq-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
        rgba(5, 8, 20, 0.58);
    box-shadow: var(--shadow);
}

.faq-sidebar a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.045);
}

.faq-sidebar a:hover {
    color: #06111f;
    border-color: rgba(109, 247, 255, 0.7);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.faq-content {
    display: grid;
    gap: 0;
}

.faq-category {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        linear-gradient(145deg, var(--panel-strong), rgba(255, 255, 255, 0.035)),
        radial-gradient(circle at 96% 0%, rgba(109, 247, 255, 0.14), transparent 16rem);
    box-shadow: var(--shadow);
}

.faq-category + .faq-category {
    margin-top: 76px;
}

.faq-category + .faq-category::before {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(109, 247, 255, 0.82), rgba(138, 109, 255, 0.72), transparent);
    box-shadow: 0 0 22px rgba(109, 247, 255, 0.34);
}

.faq-category + .faq-category::after {
    position: absolute;
    top: -47px;
    left: 50%;
    width: 16px;
    height: 16px;
    border: 3px solid #050814;
    border-radius: 999px;
    content: "";
    background: var(--accent);
    box-shadow: 0 0 26px rgba(109, 247, 255, 0.62);
    transform: translateX(-50%);
}

.faq-category-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.faq-category-head .icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    border-radius: 16px;
}

.faq-category-head .icon svg {
    width: 23px;
    height: 23px;
}

.faq-category h2 {
    margin-bottom: 8px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.faq-category p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

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

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    color: var(--text);
    cursor: pointer;
    font-weight: 900;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    display: inline-flex;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #06111f;
    content: "+";
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    background: var(--accent);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 8px 20px 22px;
    color: var(--muted);
    line-height: 1.7;
}

.faq-answer ul {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    margin: 12px 0 0;
}

.contact-box {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 22px;
    align-items: start;
}

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

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
    gap: 28px;
    align-items: stretch;
}

.auth-card {
    padding: 34px;
}

.auth-card h1 {
    margin-bottom: 14px;
    font-size: clamp(2.4rem, 4vw, 4rem);
}

.auth-card .lead {
    margin-bottom: 0;
}

.auth-form {
    display: grid;
    gap: 16px;
    padding: 30px;
    border: 1px solid rgba(109, 247, 255, 0.18);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(109, 247, 255, 0.14), transparent 15rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
        rgba(5, 8, 20, 0.7);
    box-shadow: var(--shadow);
}

.auth-form h2 {
    margin-bottom: 4px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

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

.auth-meta {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: center;
}

.auth-meta a {
    color: var(--accent);
    font-weight: 900;
}

.password-rules {
    display: grid;
    gap: 7px;
    padding: 14px 16px;
    border: 1px solid rgba(109, 247, 255, 0.16);
    border-radius: 18px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
    background: rgba(109, 247, 255, 0.055);
}

.password-rules strong {
    color: #dffbff;
}

.password-rules ul {
    display: grid;
    gap: 5px;
    padding-left: 18px;
    margin: 0;
}

.admin-table-wrap {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

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

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

.admin-table th {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-table td {
    color: var(--muted);
}

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

.form {
    display: grid;
    gap: 14px;
}

.contact-form {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(109, 247, 255, 0.18);
    border-radius: 32px;
    background:
        radial-gradient(circle at 100% 0%, rgba(109, 247, 255, 0.14), transparent 16rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
        rgba(5, 8, 20, 0.7);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.contact-form::before {
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(109, 247, 255, 0.65), transparent);
}

:root[data-theme="light"] .contact-form {
    border-color: rgba(10, 22, 42, 0.13);
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 184, 129, 0.12), transparent 16rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.9));
    box-shadow:
        0 26px 62px rgba(31, 58, 94, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .contact-form::before {
    background: linear-gradient(90deg, transparent, rgba(8, 125, 255, 0.44), rgba(0, 184, 129, 0.38), transparent);
}

.form-heading,
.form-grid,
.form-footer {
    position: relative;
    z-index: 1;
}

.form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.form-heading strong {
    display: block;
    font-family: var(--heading-font);
    font-size: 1.18rem;
}

.form-heading span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.88rem;
}

.form-heading .form-badge {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #02111a;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #f3feff, #63f6ff 48%, #25eaa7);
    box-shadow: 0 12px 30px rgba(109, 247, 255, 0.22);
}

:root[data-theme="light"] .form-heading .form-badge {
    border-color: rgba(0, 184, 129, 0.22);
    color: #ffffff;
    background: linear-gradient(135deg, #087dff 0%, #00b881 100%);
    box-shadow: 0 14px 28px rgba(0, 184, 129, 0.2);
}

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

.field {
    display: grid;
    gap: 8px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    color: #dce8ff;
    font-size: 0.86rem;
    font-weight: 800;
}

:root[data-theme="light"] .field label,
:root[data-theme="light"] .service-option span {
    color: var(--text);
}

.field-hint {
    margin-top: -2px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    outline: none;
    color: var(--text);
    font: inherit;
    background: rgba(255, 255, 255, 0.075);
}

:root[data-theme="light"] .field input,
:root[data-theme="light"] .field textarea,
:root[data-theme="light"] .service-option span,
:root[data-theme="light"] .faq-item {
    border-color: rgba(10, 22, 42, 0.12);
    background: rgba(10, 22, 42, 0.055);
}

:root[data-theme="light"] .field input,
:root[data-theme="light"] .field textarea {
    border-color: rgba(10, 22, 42, 0.16);
    color: #06111f;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 10px 24px rgba(31, 58, 94, 0.07);
}

:root[data-theme="light"] .field input:focus,
:root[data-theme="light"] .field textarea:focus {
    border-color: rgba(8, 125, 255, 0.5);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(8, 125, 255, 0.12),
        0 14px 30px rgba(31, 58, 94, 0.1);
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(109, 247, 255, 0.62);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(109, 247, 255, 0.1);
}

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

.service-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-option span {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    color: #dce8ff;
    font-size: 0.92rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.055);
    cursor: pointer;
}

.service-option span::before {
    display: grid;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    place-items: center;
    border: 1px solid rgba(109, 247, 255, 0.28);
    border-radius: 999px;
    color: #06111f;
    font-size: 0.72rem;
    content: "";
    background: rgba(109, 247, 255, 0.06);
}

.service-option input:checked + span {
    border-color: rgba(109, 247, 255, 0.68);
    color: #06111f;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 14px 32px rgba(21, 226, 154, 0.18);
}

.service-option input:checked + span::before {
    border-color: rgba(6, 17, 31, 0.22);
    content: "✓";
    background: rgba(6, 17, 31, 0.12);
}

:root[data-theme="light"] .service-option span {
    border-color: rgba(10, 22, 42, 0.14);
    color: #24344c;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.9));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 10px 22px rgba(31, 58, 94, 0.06);
}

:root[data-theme="light"] .service-option span::before {
    border-color: rgba(8, 125, 255, 0.26);
    background: rgba(8, 125, 255, 0.08);
}

:root[data-theme="light"] .service-option span:hover {
    border-color: rgba(8, 125, 255, 0.32);
    color: #06111f;
    background: #ffffff;
    box-shadow:
        0 0 0 3px rgba(8, 125, 255, 0.08),
        0 14px 30px rgba(31, 58, 94, 0.1);
}

:root[data-theme="light"] .service-option input:checked + span {
    border-color: rgba(8, 125, 255, 0.46);
    color: #ffffff;
    background: linear-gradient(135deg, #087dff 0%, #00b881 100%);
    box-shadow:
        0 16px 34px rgba(8, 125, 255, 0.2),
        0 8px 20px rgba(0, 184, 129, 0.14);
}

:root[data-theme="light"] .service-option input:checked + span::before {
    border-color: rgba(255, 255, 255, 0.54);
    color: #06111f;
    background: rgba(255, 255, 255, 0.82);
}

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

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.form-alert {
    padding: 14px 16px;
    border-radius: 18px;
    font-weight: 800;
    line-height: 1.45;
}

.form-alert.success {
    border: 1px solid rgba(21, 226, 154, 0.35);
    color: #d9fff1;
    background: rgba(21, 226, 154, 0.12);
}

.form-alert.error {
    border: 1px solid rgba(255, 121, 121, 0.35);
    color: #ffe0e0;
    background: rgba(255, 121, 121, 0.1);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.field textarea {
    min-height: 150px;
    padding: 16px;
    resize: vertical;
}

.site-footer {
    padding: 30px 0 48px;
    color: var(--muted);
}

.site-footer-shell {
    position: relative;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(109, 247, 255, 0.12), transparent 22rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026));
    box-shadow: var(--shadow);
    overflow: hidden;
}

:root[data-theme="light"] .site-footer-shell {
    border-color: rgba(10, 22, 42, 0.13);
    background:
        radial-gradient(circle at 0% 0%, rgba(8, 125, 255, 0.12), transparent 22rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.82));
    box-shadow: 0 22px 58px rgba(31, 58, 94, 0.14);
}

.site-footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.45fr) repeat(2, minmax(170px, 0.8fr));
    gap: 30px;
}

.site-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.site-footer-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 28px rgba(109, 247, 255, 0.22);
}

.site-footer-mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.site-footer-brand p {
    max-width: 380px;
    margin: 18px 0;
    line-height: 1.7;
}

.site-footer-telegram {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #2aa8ea 0%, #0077c8 100%);
    box-shadow: 0 16px 34px rgba(0, 136, 204, 0.24);
}

.site-footer-telegram svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.site-footer-column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.site-footer-column h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-family: var(--heading-font);
    font-size: 1rem;
}

.site-footer-column a,
.site-footer-column span {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.45;
}

.site-footer-logo,
.site-footer-telegram,
.site-footer-column a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer-telegram:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(0, 136, 204, 0.32);
}

.site-footer-column a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.site-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-size: 0.9rem;
}

:root[data-theme="light"] .site-footer-bottom {
    border-top-color: rgba(10, 22, 42, 0.1);
}

@media (max-width: 980px) {
    .nav-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
    }

    .form-grid,
    .service-options {
        grid-template-columns: 1fr;
    }

    .form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .grid-2,
    .grid-3,
    .contact-box,
    .auth-shell,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .pricing-group-head {
        display: block;
    }

    .pricing-group-head p {
        margin-top: 14px;
    }

    .faq-sidebar {
        position: static;
    }

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

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }

    .page-hero {
        padding-top: 52px;
    }

    .site-footer-shell {
        padding: 24px;
        border-radius: 28px;
    }

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

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
