:root {
    --violet: #5A63C4;
    --violet-2: #6B74D0;
    --violet-dark: #4B54AA;
    --violet-deep: #353C80;
    --violet-soft: #EDEFFA;
    --violet-glow: rgba(90, 99, 196, 0.14);
    --accent-light: #B8BEE5;

    --grad: linear-gradient(135deg, #4B54AA, #5A63C4);
    --grad-hover: linear-gradient(135deg, #3F4799, #4E57B5);

    --bg: #FFFFFF;
    --bg-tint: #F5F6FC;
    --bg-grad: linear-gradient(180deg, #EEF0FA 0%, #FFFFFF 50%, #F5F6FC 100%);

    --ink: #1C2144;
    --ink-2: #2E3461;
    --ink-soft: #6A6F8F;
    --line: rgba(75, 84, 170, 0.15);

    --shadow-soft: 0 10px 30px -12px rgba(75, 84, 170, 0.22);
    --shadow-hover: 0 22px 50px -16px rgba(75, 84, 170, 0.38);
    --shadow-card: 0 4px 20px -8px rgba(75, 84, 170, 0.15);
    --radius: 18px;
    --radius-lg: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}

.ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: var(--bg-grad);
}

.ambient::before,
.ambient::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.28;
}

.ambient::before {
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, var(--violet), transparent 70%);
    top: -150px;
    right: -120px;
    animation: floatA 20s ease-in-out infinite;
}

.ambient::after {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-light), transparent 70%);
    bottom: -250px;
    left: -150px;
    animation: floatB 24s ease-in-out infinite;
}

@keyframes floatA {
    50% {
        transform: translate(-30px, 40px) scale(1.1);
    }
}

@keyframes floatB {
    50% {
        transform: translate(40px, -30px) scale(1.05);
    }
}

main,
header,
footer {
    position: relative;
    z-index: 2;
}

.top-wrap {
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1500px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    z-index: 101;
}

.logo-mark {
    width: 48px;
    height: 48px;
}

.logo-mark svg {
    width: 100%;
    height: 100%;
}

.logo-mark .petal {
    transform-origin: 26px 26px;
    animation: bloom 6s ease-in-out infinite;
}

.logo-mark .petal:nth-child(1) {
    animation-delay: 0s;
}

.logo-mark .petal:nth-child(2) {
    animation-delay: 0.5s;
}

.logo-mark .petal:nth-child(3) {
    animation-delay: 1s;
}

.logo-mark .petal:nth-child(4) {
    animation-delay: 1.5s;
}

.logo-mark .petal:nth-child(5) {
    animation-delay: 2s;
}

@keyframes bloom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .brand {
    font-weight: 700;
    font-size: 20px;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.logo-text .tag {
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: 0.03em;
    font-weight: 500;
}

.nav-pill {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-pill nav {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 7px;
    padding-left: 12px;
    padding-right: 12px;
}

.nav-pill a {
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-pill a:hover {
    color: var(--violet);
    background: var(--violet-soft);
}

.cta-btn {
    background: var(--grad);
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, filter 0.3s;
    box-shadow: 0 8px 22px -8px rgba(75, 84, 170, 0.55);
    flex-shrink: 0;
}

.cta-btn:hover {
    background: var(--grad-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(75, 84, 170, 0.7);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    flex-shrink: 0;
}

.lang-switch button {
    background: transparent;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.2s;
}

.lang-switch button:hover {
    color: var(--violet);
    background: var(--violet-soft);
}

.lang-switch button.active {
    background: var(--grad);
    color: white;
    box-shadow: 0 4px 10px -3px rgba(75, 84, 170, 0.4);
}

.lang-switch button[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.25);
    box-shadow: none;
    transform: none;
}

.lang-switch button[disabled]:hover,
.lang-switch button[disabled]:active {
    background: inherit;
    color: inherit;
    transform: none;
    box-shadow: none;
}

.lang-switch button[disabled]::after,
.lang-switch button[disabled]::before {
    display: none;
}

.burger {
    display: none;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 101;
    flex-shrink: 0;
}

.burger:hover {
    background: var(--violet-soft);
    border-color: var(--violet);
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--violet);
    margin: 4px 0;
    border-radius: 2px;
}

.hero {
    max-width: 1400px;
    margin: 30px auto 0;
    padding: 40px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 600px;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--violet-soft);
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--violet-dark);
    margin-bottom: 28px;
    font-weight: 500;
    animation: fadeUp 0.8s ease;
}

.chip .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--violet);
    box-shadow: 0 0 0 0 rgba(90, 99, 196, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(90, 99, 196, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(90, 99, 196, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(90, 99, 196, 0);
    }
}

.hero h1 {
    font-size: clamp(38px, 5.2vw, 64px);
    line-height: 1.08;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    animation: fadeUp 0.9s ease 0.1s backwards;
}

.hero h1 .accent {
    color: var(--violet);
}

.hero p.lead {
    font-size: 17px;
    color: var(--ink-soft);
    margin-bottom: 36px;
    max-width: 500px;
    line-height: 1.6;
    animation: fadeUp 0.9s ease 0.2s backwards;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp 0.9s ease 0.3s backwards;
}

.btn-ghost {
    padding: 12px 24px;
    background: white;
    border: 1.5px solid var(--violet);
    border-radius: 12px;
    color: var(--violet);
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-ghost:hover {
    background: var(--violet-soft);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    margin-top: 48px;
    display: flex;
    gap: 40px;
    animation: fadeUp 0.9s ease 0.4s backwards;
}

.stat .num {
    font-size: 34px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat .num .accent {
    color: var(--violet);
}

.stat .label {
    font-size: 12px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 8px;
    font-weight: 500;
}

.phone-scene {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeUp 1.1s ease 0.3s backwards;
}

.phone-scene::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--violet-glow), transparent 65%);
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.phone {
    width: 290px;
    height: 580px;
    background: linear-gradient(145deg, #3F4799, #1E2248);
    border-radius: 44px;
    padding: 10px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    box-shadow:
        0 30px 60px -20px rgba(75, 84, 170, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.12),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -12px;
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #FAFBFE, #EEF0FA);
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    transform: translateZ(20px);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: #0a0618;
    border-radius: 14px;
    z-index: 3;
}

.phone-content {
    padding: 60px 18px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
}

.phone-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.phone-header-text .n {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.phone-header-text .s {
    font-size: 10px;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.phone-header-text .s::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
    animation: pulse 2s infinite;
}

.bubble {
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 14px;
    max-width: 80%;
    line-height: 1.4;
}

.bubble.therapist {
    background: white;
    color: var(--ink);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(75, 84, 170, 0.1);
    animation: bubbleIn 0.6s ease 0.5s backwards;
}

.bubble.user {
    background: var(--grad);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    animation: bubbleIn 0.6s ease 1.2s backwards;
}

.bubble.therapist.second {
    animation: bubbleIn 0.6s ease 1.8s backwards;
}

@keyframes bubbleIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mood-card {
    margin-top: auto;
    background: white;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(75, 84, 170, 0.1);
    animation: bubbleIn 0.6s ease 2.3s backwards;
}

.mood-card .title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    margin-bottom: 8px;
    font-weight: 600;
}

.mood-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
}

.mood-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--violet), var(--accent-light));
    border-radius: 3px;
    animation: barGrow 1.5s ease 2.5s backwards;
    transform-origin: bottom;
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

section {
    padding: 90px 40px;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--violet);
    margin-bottom: 16px;
    font-weight: 700;
}

.section-title {
    font-size: clamp(30px, 3.8vw, 48px);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 700px;
    letter-spacing: -0.03em;
}

.section-title .accent {
    color: var(--violet);
}

.section-lead {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 600px;
    margin-bottom: 56px;
    line-height: 1.6;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform 0.5s cubic-bezier(.2, .9, .3, 1), box-shadow 0.5s, border-color 0.3s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    box-shadow: var(--shadow-card);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--violet);
}

.card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--violet-soft), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    border-radius: 50%;
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--violet-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: background 0.3s;
}

.card:hover .card-icon {
    background: var(--violet);
}

.card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--violet);
    fill: none;
    stroke-width: 1.8;
    transition: stroke 0.3s;
}

.card:hover .card-icon svg {
    stroke: white;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.6;
}

.journey {
    background: linear-gradient(180deg, transparent, var(--bg-tint));
}

.journey-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.chart-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line);
    position: relative;
}

.chart-card .chart-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.chart-card .chart-head h4 {
    font-size: 20px;
    color: var(--ink);
    margin-bottom: 6px;
    font-weight: 700;
}

.chart-card .chart-head p {
    font-size: 13px;
    color: var(--ink-soft);
}

.chart-badge {
    background: #E8F7EE;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chart-svg {
    width: 100%;
    height: 220px;
}

.chart-path {
    fill: none;
    stroke: var(--violet);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2.5s cubic-bezier(.2, .9, .3, 1);
}

.chart-area {
    fill: url(#chartGrad);
    opacity: 0;
    transition: opacity 1.5s 0.8s;
}

.chart-dot {
    opacity: 0;
    transition: opacity 0.4s;
}

.chart-card.animate .chart-path {
    stroke-dashoffset: 0;
}

.chart-card.animate .chart-area {
    opacity: 1;
}

.chart-card.animate .chart-dot {
    opacity: 1;
}

.chart-dot:nth-of-type(3) {
    transition-delay: 1.2s;
}

.chart-dot:nth-of-type(4) {
    transition-delay: 1.5s;
}

.chart-dot:nth-of-type(5) {
    transition-delay: 1.8s;
}

.chart-dot:nth-of-type(6) {
    transition-delay: 2.1s;
}

.chart-dot:nth-of-type(7) {
    transition-delay: 2.4s;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 11px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.chart-legend {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.legend-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legend-item .v {
    font-size: 24px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.legend-item .l {
    font-size: 11px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.milestone {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.milestone:last-child {
    border-bottom: none;
}

.milestone-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--violet);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.milestone-text strong {
    display: block;
    color: var(--ink);
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 700;
}

.milestone-text span {
    font-size: 14px;
    color: var(--ink-soft);
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.test-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    cursor: pointer;
    transition: all 0.4s;
    position: relative;
    box-shadow: var(--shadow-card);
}

.test-card:hover {
    background: var(--violet);
    color: white;
    border-color: var(--violet);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.test-card:hover h4,
.test-card:hover .test-meta {
    color: inherit;
}

.test-card:hover .test-dur {
    color: white;
    opacity: 0.7;
}

.test-card .test-dur {
    font-size: 11px;
    color: var(--violet);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    font-weight: 700;
    transition: color 0.3s;
}

.test-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
    transition: color 0.3s;
}

.test-card .test-meta {
    font-size: 13px;
    color: var(--ink-soft);
    transition: color 0.3s;
}

.test-card .arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--violet-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.32s;
}

.test-card:hover .arrow {
    background: white;
    transform: rotate(-45deg);
}

.test-card .arrow svg {
    width: 12px;
    height: 12px;
    stroke: var(--violet);
}

.free-banner {
    background: var(--bg-tint);
}

.free-card {
    background: var(--grad);
    border-radius: 32px;
    padding: 60px 50px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(75, 84, 170, 0.55);
}

.free-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8C93DA, transparent 65%);
    opacity: 0.35;
    border-radius: 50%;
    animation: orbA 12s ease-in-out infinite;
}

.free-card::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6B74D0, transparent 65%);
    opacity: 0.3;
    border-radius: 50%;
    animation: orbB 14s ease-in-out infinite;
}

@keyframes orbA {
    50% {
        transform: translate(40px, 30px);
    }
}

@keyframes orbB {
    50% {
        transform: translate(-30px, -20px);
    }
}

.free-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.free-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.free-content p.free-lead {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.6;
}

.free-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.free-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
}

.free-list li .check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.free-btn-row {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--violet-deep);
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: white;
    padding: 14px 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.free-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.id-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 28px;
    width: 100%;
    max-width: 340px;
    transform: rotate(-3deg);
    animation: cardFloat 6s ease-in-out infinite;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.3);
}

@keyframes cardFloat {

    0%,
    100% {
        transform: rotate(-3deg) translateY(0);
    }

    50% {
        transform: rotate(-3deg) translateY(-10px);
    }
}

.id-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.id-card-logo {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.id-card-chip {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    background: linear-gradient(135deg, #FFD54A, #E0A72E);
}

.id-card-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.id-card-role {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.id-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.id-card-price {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.id-card-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: right;
}

.faq {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow-card);
}

.faq-item:hover {
    border-color: var(--violet);
}

.faq-q {
    padding: 22px 28px;
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-q .plus {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--violet-soft);
    color: var(--violet);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.faq-item.open .faq-q .plus {
    transform: rotate(45deg);
    background: var(--violet);
    color: white;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.2, .9, .3, 1);
    padding: 0 28px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.6;
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 28px 22px;
}

.final-cta {
    padding: 100px 40px;
    text-align: center;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(75, 84, 170, 0.25);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--violet-soft), transparent 70%);
    opacity: 0.8;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-light), transparent 70%);
    opacity: 0.3;
}

.cta-box>* {
    position: relative;
    z-index: 2;
}

.cta-box p {
    color: var(--ink-soft);
    max-width: 540px;
    margin: 20px auto 36px;
    font-size: 17px;
}

footer {
    background: #1E2248;
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 40px 30px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo-text .brand {
    color: white;
}

.footer-brand .logo-text .tag {
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
    margin-top: 18px;
    max-width: 320px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-col h5 {
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a,
.footer-col li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 12px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1315px) {
    #startSvg {
        width: 17px;
        height: 17px;
    }

    #startMark {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 40px;
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .phone-scene {
        order: -1;
        display: none;
    }

    .phone {
        width: 240px;
        height: 490px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .tests-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .free-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .free-card {
        padding: 50px 36px;
    }
}

@media (max-width: 1225px) {
    .top-wrap {
        padding: 14px 18px;
        gap: 12px;
        justify-content: space-between;
    }

    .nav-pill {
        display: none;
    }

    .cta-btn.header-cta {
        display: none;
    }

    .lang-switch.header-lang {
        display: none;
    }

    .burger {
        display: block;
    }

    section {
        padding: 70px 20px;
    }

    .hero {
        padding: 30px 20px 50px;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat .num {
        font-size: 28px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .tests-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 60px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .phone {
        width: 220px;
        height: 450px;
    }

    .logo-text .brand {
        font-size: 18px;
    }

    .logo-text .tag {
        font-size: 11px;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
    }

    .free-btn-row {
        flex-direction: column;
    }

    .free-btn-row button {
        width: 100%;
        justify-content: center;
    }

    .id-card {
        transform: rotate(0);
        max-width: 300px;
        animation: none;
    }
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: white;
    padding: 80px 32px 40px;
    z-index: 100;
    transition: right 0.4s cubic-bezier(.2, .9, .3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav a {
    font-size: 17px;
    color: var(--ink);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 500;
    transition: color 0.2s;
}

.mobile-nav a:hover {
    color: var(--violet);
}

.mobile-nav .cta-btn {
    margin-top: 28px;
    width: 100%;
    justify-content: center;
    padding: 14px;
}

.mobile-nav .lang-switch {
    margin-top: 20px;
    width: 100%;
    justify-content: space-between;
    padding: 6px;
}

.mobile-nav .lang-switch button {
    flex: 1;
    padding: 10px;
    font-size: 13px;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--violet-soft);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    color: var(--violet);
    font-weight: 300;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 21, 48, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 99;
    backdrop-filter: blur(4px);
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.emergency-section {
    padding: 30px 40px 60px;
}

.emergency-card {
    position: relative;
    background: white;
    border: 1px solid var(--line);
    border-left: 4px solid var(--violet);
    border-radius: var(--radius-lg);
    padding: 44px 48px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.emergency-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(90, 99, 196, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.emergency-pulse {
    position: absolute;
    top: 28px;
    left: -8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--violet);
    box-shadow: 0 0 0 0 rgba(90, 99, 196, 0.6);
    animation: emPulse 2s infinite;
}

@keyframes emPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(90, 99, 196, 0.5);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(90, 99, 196, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(90, 99, 196, 0);
    }
}

.emergency-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
}

.emergency-left {
    min-width: 0;
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--violet-soft);
    color: var(--violet-dark);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.emergency-title {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.emergency-title .accent {
    color: var(--violet);
}

.emergency-lead {
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 480px;
}

.emergency-card-inner {
    background: linear-gradient(135deg, #EDEFFA, #DCE0F5);
    border: 1px solid rgba(90, 99, 196, 0.2);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
}

.psy-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(90, 99, 196, 0.25);
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
}

.psy-photo svg {
    width: 32px;
    height: 32px;
}

.psy-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--violet);
    margin-bottom: 6px;
}

.psy-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.psy-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--grad);
    color: white;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 22px -8px rgba(75, 84, 170, 0.55);
}

.psy-phone:hover {
    background: var(--grad-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(75, 84, 170, 0.7);
}

.psy-note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .emergency-card {
        padding: 36px 28px;
    }
}

@media (max-width: 1225px) {
    .emergency-section {
        padding: 20px 20px 40px;
    }
}

.support-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: min(560px, calc(100vw - 32px));
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

.support-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.support-toast__content {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px 22px;
    box-shadow: 0 20px 50px -18px rgba(75, 84, 170, 0.32);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.support-toast__text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ink);
    margin-bottom: 16px;
    padding-right: 6px;
}

.support-toast__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.support-toast__btn {
    appearance: none;
    border: none;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.support-toast__btn--primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 8px 22px -8px rgba(75, 84, 170, 0.45);
}

.support-toast__btn--primary:hover {
    background: var(--grad-hover);
    transform: translateY(-1px);
}

.support-toast__btn--ghost {
    background: var(--violet-soft);
    color: var(--violet-dark);
    border: 1px solid rgba(90, 99, 196, 0.16);
}

.support-toast__btn--ghost:hover {
    background: #e4e8fb;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .support-toast {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
    }

    .support-toast__content {
        padding: 18px;
        border-radius: 18px;
    }

    .support-toast__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .support-toast__btn {
        width: 100%;
    }
}

.support-toast__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: var(--ink-soft);
    font-size: 24px;
    line-height: 1;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.support-toast__close:hover {
    background: var(--violet-soft);
    color: var(--violet);
}

#screenshots {
    padding: 90px 0;
}

#screenshots .container {
    padding: 0 40px;
}

#screenshots .section-lead {
    margin-bottom: 40px;
}

.screenshots-track-wrap {
    position: relative;
    overflow: hidden;
}

.screenshots-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 16px 40px 20px;
    cursor: grab;
}

.screenshots-track:active {
    cursor: grabbing;
}

.screenshots-track::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex-shrink: 0;
    width: 420px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line);
    transition: transform 0.3s, box-shadow 0.3s;
    background: var(--bg-tint);
}

.screenshot-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-hover);
}

.screenshot-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.screenshot-item:hover img {
    transform: scale(1.03);
}

.screenshot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(75, 84, 170, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.screenshot-item:hover .screenshot-overlay {
    background: rgba(75, 84, 170, 0.35);
}

.screenshot-zoom {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.25s, transform 0.25s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.screenshot-zoom svg {
    width: 22px;
    height: 22px;
    stroke: var(--violet);
}

.screenshot-item:hover .screenshot-zoom {
    opacity: 1;
    transform: scale(1);
}

.screenshot-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 18px 16px;
    background: linear-gradient(transparent, rgba(28, 33, 68, 0.85));
    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.track-fade-left,
.track-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    pointer-events: none;
    z-index: 2;
}

.track-fade-left {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.track-fade-right {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.screenshots-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
}

.ss-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: all 0.25s;
}

.ss-dot.active {
    width: 22px;
    border-radius: 999px;
    background: var(--violet);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 26, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lb-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 90vw;
    max-height: 90vh;
    animation: lbIn 0.3s ease;
}

@keyframes lbIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lb-img {
    max-width: 90vw;
    max-height: 78vh;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    display: block;
    user-select: none;
}

.lb-caption {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.lb-counter {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 600;
}

.lb-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.lb-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lb-close svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

.lb-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.lb-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lb-arrow svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.lb-prev {
    left: 20px;
}

.lb-next {
    right: 20px;
}

.lb-arrow:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .screenshot-item {
        width: 300px;
    }

    .screenshot-item img {
        height: 190px;
    }

    #screenshots .container {
        padding: 0 20px;
    }

    .screenshots-track {
        padding: 16px 20px 20px;
    }

    .lb-arrow {
        display: none;
    }

    .lb-img {
        max-height: 70vh;
    }
}

.scroll-top-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 16px;
    background: var(--grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 130;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.92);
    box-shadow: 0 14px 34px -12px rgba(75, 84, 170, 0.55);
    transition:
        opacity .28s ease,
        transform .28s ease,
        visibility .28s ease,
        box-shadow .28s ease,
        filter .28s ease;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    background: var(--grad-hover);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 42px -14px rgba(75, 84, 170, 0.68);
}

.scroll-top-btn:active {
    transform: translateY(0) scale(0.97);
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-top-btn {
        right: 12px;
        bottom: 12px;
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }
}

::selection {
    color: white;
    background: rgb(62, 64, 149);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgb(57, 65, 136, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgb(57, 65, 136, 0.7);
}