:root {
    --bg-page: #f5f5f7;
    --bg-surface: #ffffff;
    --bg-subtle: #f3f4f6;

    --border-subtle: rgba(148, 163, 184, 0.35);
    --border-light: rgba(148, 163, 184, 0.18);

    --text-main: #111827;
    --text-soft: #4b5563;
    --text-muted: #9ca3af;

    --accent: #ec4899;
    --accent-soft: #fee2f3;

    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;

    --shadow-soft: 0 24px 80px rgba(15, 23, 42, 0.15);
    --shadow-card: 0 18px 48px rgba(15, 23, 42, 0.1);
}

/* GLOBAL */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
}

.Page--home {
    min-height: 100vh;
}

.Container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.Main {
    padding-top: 72px;
}

/* HEADER */

.ShellHeader {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 40;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(12px);
}

.ShellHeader-inner {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* BRAND */

.Brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.Brand-mark {
    width: 34px;
    height: 34px;
    /*border-radius: 12px;*/
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.Brand-mark img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.Brand-text {
    display: flex;
    flex-direction: column;
}

.Brand-name {
    font-size: 0.9rem;
    font-weight: 600;
    /*letter-spacing: 0.14em;*/
    text-transform: uppercase;
}

.Brand-tag {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* NAV */

.ShellNav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.ShellNav-link {
    position: relative;
    font-size: 0.86rem;
    text-decoration: none;
    color: var(--text-soft);
    padding: 0.2rem 0;
}

.ShellNav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    border-radius: var(--radius-pill);
    background-color: var(--accent);
    transition: width 0.16s ease;
}

.ShellNav-link:hover {
    color: var(--text-main);
}

.ShellNav-link:hover::after {
    width: 16px;
}

/* LANGUAGE DROPDOWN */

.LangDropdown {
    position: relative;
}

.LangDropdown-toggle {
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.7);
    background-color: #ffffff;
    padding: 0.25rem 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    color: var(--text-soft);
    font-size: 0.78rem;
}

.LangDropdown-code {
    font-weight: 600;
    letter-spacing: 0.12em;
}

.LangDropdown-caret {
    font-size: 0.7rem;
}

.LangDropdown-menu {
    position: absolute;
    right: 0;
    top: 120%;
    min-width: 170px;
    padding: 6px;
    border-radius: 12px;
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition:
            opacity 0.16s ease,
            transform 0.16s ease;
    z-index: 60;
}

.LangDropdown-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.LangDropdown-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.8rem;
}

.LangDropdown-item-code {
    font-weight: 600;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.LangDropdown-item:hover {
    background-color: var(--bg-subtle);
}

.LangDropdown-item.is-active {
    background-color: var(--accent-soft);
}

/* BUTTONS */

.Button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    color: var(--text-main);
    transition:
            background-color 0.16s ease,
            border-color 0.16s ease,
            color 0.16s ease,
            box-shadow 0.12s ease,
            transform 0.12s ease;
}

.Button--primary {
    background-color: #111827;
    color: #f9fafb;
    border-color: #111827;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.4);
}

.Button--primary:hover {
    background-color: #020617;
}

.Button--ghost {
    background-color: #ffffff;
    border-color: var(--border-subtle);
}

.Button--ghost:hover {
    background-color: var(--bg-subtle);
}

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

/* HERO */

.Hero {
    padding: 60px 0 32px;
}

.Hero-inner {
    display: grid;
    gap: 32px;
    align-items: center;
}

@media (min-width: 900px) {
    .Hero-inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }
}

.Hero-copy {
    max-width: 520px;
}

.Hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    background-color: #ffffff;
    margin-bottom: 14px;
}

.Hero-title {
    margin: 0 0 10px;
    font-size: 2.2rem;
    font-weight: 600;
}

.Hero-title-sub {
    display: block;
    margin-top: 4px;
}

.Hero-text {
    margin: 0 0 18px;
    font-size: 0.96rem;
    color: var(--text-soft);
}

.Hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.Hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* HERO MEDIA */

.Hero-media {
    display: flex;
    justify-content: center;
}

.Hero-phoneCard {
    position: relative;
    padding: 18px 16px 24px;
    border-radius: 28px;
    background-color: var(--bg-surface);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.Hero-phoneImage {
    display: block;
    width: min(280px, 80vw);
    border-radius: 20px;
}

.Hero-tag {
    position: absolute;
    padding: 6px 10px;
    border-radius: 999px;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.Hero-tag--top {
    top: 10px;
    left: -6px;
}

.Hero-tag--bottom {
    right: -12px;
    bottom: 10px;
}

.Hero-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background-color: #22c55e;
}

.Hero-tag-label {
    font-weight: 500;
}

.Hero-tag-text {
    color: var(--text-soft);
}

/* SECTIONS */

.Section {
    padding: 40px 0;
}

.Section--stats {
    background-color: #ffffff;
}

.Section--download {
    background-color: var(--bg-subtle);
}

.Section--faq {
    background-color: #ffffff;
}

.Section-head {
    margin-bottom: 20px;
}

.Section-head--center {
    text-align: center;
}

.Section-title {
    margin: 0 0 4px;
    font-size: 1.4rem;
    font-weight: 600;
}

.Section-subtitle {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-soft);
    max-width: 520px;
}

.Section-head--center .Section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* STATS */

.StatsGrid {
    display: grid;
    gap: 16px;
}

@media (min-width: 720px) {
    .StatsGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.StatCard {
    padding: 16px 18px;
    border-radius: 20px;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-light);
}

.Stat-value {
    font-size: 1.2rem;
    font-weight: 600;
}

.Stat-label {
    margin-top: 4px;
    font-size: 0.86rem;
    color: var(--text-soft);
}

/* FEATURE LAYOUTS – более воздушные скрины */

.FeatureLayout {
    display: grid;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.FeatureLayout:last-of-type {
    border-bottom: none;
}

@media (min-width: 900px) {
    .FeatureLayout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }

    .FeatureLayout--reverse {
        grid-auto-flow: dense;
    }

    .FeatureLayout--reverse .Feature-media {
        order: -1;
    }
}

/* Текстовый блок рядом со скрином */

.Feature-copy {
    max-width: 480px;
}

.Feature-copy .Section-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 6px;
}

.Feature-copy .Section-subtitle {
    margin: 0;
    font-size: 0.94rem;
    color: var(--text-soft);
}

/* Список преимуществ */

.Feature-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.Feature-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-soft);
}

.Feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background-color: var(--accent);
}


.Feature-media {
    display: flex;
    justify-content: center;
}

.Feature-shot {
    position: relative;
    padding: 18px;
    border-radius: 28px;
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    max-width: 380px;
    width: 100%;
}

.Feature-shotImage {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    object-fit: cover;
    transform: translateY(0);
    transition: transform 0.22s ease;
}

.Feature-shotTag {
    position: absolute;
    left: 22px;
    bottom: 20px;
    padding: 6px 11px;
    border-radius: var(--radius-pill);
    background-color: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
    backdrop-filter: blur(8px);
}

.Feature-shot:hover .Feature-shotImage {
    transform: translateY(-3px);
}

/* DOWNLOAD + QR */

.DownloadGrid {
    display: grid;
    gap: 24px;
    align-items: flex-start;
}

@media (min-width: 900px) {
    .DownloadGrid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
    }
}

.Download-copy .Section-title {
    font-size: 1.5rem;
}

.Download-platforms {
    display: grid;
    gap: 18px;
}

@media (min-width: 600px) {
    .Download-platforms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.PlatformCard {
    border-radius: 24px;
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    padding: 16px 16px 18px;
    box-shadow: var(--shadow-card);
}

.Platform-header {
    margin-bottom: 12px;
}

.Platform-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.Platform-name {
    display: block;
    margin-top: 2px;
    font-weight: 600;
}

.Platform-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.Platform-qr {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    background-color: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.Platform-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Platform-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.Platform-hint {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* FAQ – анимированный аккордеон */

.FAQ {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.FAQ-item {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background-color: #ffffff;
    padding: 10px 14px;
    overflow: hidden;
    transition:
            border-color 0.18s ease,
            box-shadow 0.18s ease,
            background-color 0.18s ease;
}

.FAQ-item.is-open {
    border-color: #111827;
    background-color: #f9fafb;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

.FAQ-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.FAQ-question {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-main);
}

.FAQ-chevron {
    font-size: 1rem;
    color: var(--text-muted);
    transform: rotate(0deg);
    transition:
            transform 0.18s ease,
            color 0.18s ease;
}

.FAQ-item.is-open .FAQ-chevron {
    transform: rotate(90deg);
    color: var(--text-main);
}

.FAQ-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.24s ease;
}

.FAQ-body p {
    margin: 6px 0 2px;
    font-size: 0.88rem;
    color: var(--text-soft);
}

/* FOOTER */

.ShellFooter {
    border-top: 1px solid var(--border-light);
    background-color: #ffffff;
    padding: 18px 0 24px;
    font-size: 0.82rem;
}

.ShellFooter-inner {
    display: grid;
    gap: 16px;
}

@media (min-width: 840px) {
    .ShellFooter-inner {
        grid-template-columns: 1.4fr auto auto;
        align-items: flex-start;
    }
}

.ShellFooter-name {
    font-size: 0.96rem;
    font-weight: 600;
}

.ShellFooter-desc {
    margin: 6px 0 0;
    max-width: 320px;
    color: var(--text-soft);
}

.ShellFooter-links {
    display: flex;
    gap: 24px;
}

.ShellFooter-colTitle {
    font-weight: 600;
    margin-bottom: 4px;
}

.ShellFooter-link {
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.ShellFooter-link:hover {
    color: var(--text-main);
}

.ShellFooter-meta {
    display: flex;
    align-items: flex-end;
}

.ShellFooter-copy {
    color: var(--text-muted);
}

/* STATUS PAGE (test) */

.Page--status {
    background-color: var(--bg-page);
}

.StatusMain {
    padding: 80px 0 32px;
}

.StatusIntro-title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 600;
}

.StatusIntro-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.StatusGridSection {
    margin-top: 16px;
}

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

@media (min-width: 860px) {
    .StatusGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.StatusCard {
    border-radius: var(--radius-lg);
    padding: 12px 14px;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

.StatusCard-titleRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.StatusCard-title {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 600;
}

.StatusCard-sub {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.StatusMeta {
    margin: 8px 0;
    font-size: 0.8rem;
}

.StatusMeta-item {
    display: flex;
    justify-content: space-between;
    gap: 6px;
}

.StatusPill {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    border: 1px solid transparent;
}

.StatusPill--ok {
    background-color: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.StatusPill--error {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.StatusPill--muted {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.StatusError {
    margin: 0;
    border-radius: 10px;
    padding: 6px 7px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.75rem;
    white-space: pre-line;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .ShellHeader-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 8px 0;
    }

    .ShellNav {
        order: 2;
        width: 100%;
        justify-content: flex-start;
        gap: 1rem;
    }

    .Hero {
        padding-top: 72px;
    }

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

    .Hero-media {
        order: -1;
    }

    .FeatureLayout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

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

/* LEGAL */

.LegalPage {
    background-color: #ffffff;
    padding: 80px 0 60px;
}

.Legal h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.Legal h2 {
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 6px;
}

.Legal p {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0 0 12px;
}
