/* ========== PT Root UI font-face ========== */
@font-face {
    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('PT Root UI'), url('https://fonts.cdnfonts.com/s/17770/PT%20Root%20UI_Light.woff') format('woff');
}

@font-face {
    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('PT Root UI'), url('https://fonts.cdnfonts.com/s/17770/PT%20Root%20UI_Regular.woff') format('woff');
}

@font-face {
    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('PT Root UI'), url('https://fonts.cdnfonts.com/s/17770/PT%20Root%20UI_Medium.woff') format('woff');
}

@font-face {
    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('PT Root UI'), url('https://fonts.cdnfonts.com/s/17770/PT%20Root%20UI_Bold.woff') format('woff');
}

:root {
    --grey-1: #f5f5fa;
    --grey-2: #ebebf5;
    --grey-3: #b4b4cc;
    --grey-7: #6f6f85;
    --grey-8: #15151a;
    --grey-9: #09090a;
    --grey-10: #000000;
    --white: #ffffff;
    --dark: #1c1c1f;
    --bg-dark: #131316;
    --accent-blue: #33f;
    --accent-orange: #ff5c33;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PT Root UI', Arial, sans-serif;
    color: var(--grey-9);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 8px 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: transparent;
    transition: background 0.3s;
    /*background: radial-gradient(98.8% 98.8% at 50% 1.2%, #09090A 0%, #15151A 100%);*/
}

.header--scrolled {
    background: radial-gradient(98.8% 98.8% at 50% 1.2%, #09090A 0%, #15151A 100%);
}

.header__logo img {
    width: 147px;
    height: 32px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header__nav a,
.header__nav-item {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--grey-1);
    cursor: pointer;
    transition: opacity 0.2s;
}

.header__nav a:hover,
.header__nav-item:hover {
    opacity: 0.7;
}

.header__nav-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header__nav-dropdown img {
    width: 20px;
    height: 20px;
}

/* Nav Dropdown Menu */
.nav-dropdown {
    position: relative;
    list-style: none;
}

.nav-dropdown__toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown__arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.25s;
}

.nav-dropdown:hover .nav-dropdown__arrow {
    transform: rotate(180deg);
}

.nav-dropdown__content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 380px;
    padding: 12px;
    padding-top: 24px;
    background: rgba(30, 30, 38, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
    transform: translateX(-50%) translateY(8px);
    z-index: 200;
}

/* Invisible bridge between toggle and dropdown to prevent gap-closing */
.nav-dropdown__content::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-dropdown:hover .nav-dropdown__content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 12px;
    transition: background 0.2s;
    text-decoration: none;
}

.nav-dropdown__item:hover {
    background: rgba(255, 255, 255, 0.06);
    opacity: 1;
}

.nav-dropdown__item strong {
    font-size: 16px;
    font-weight: 500;
    color: var(--grey-1);
    line-height: 1.3;
}

.nav-dropdown__item span {
    font-size: 14px;
    font-weight: 400;
    color: var(--grey-7);
    line-height: 1.4;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header__lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    cursor: pointer;
}

.header__lang img {
    width: 20px;
    height: 20px;
}

.header__lang span {
    font-size: 18px;
    font-weight: 500;
    color: var(--grey-1);
    line-height: 1.2;
}

.header__socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__socials img {
    width: 24px;
    height: 24px;
}

.header__buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 500;
    color: var(--grey-1);
    line-height: 1.32;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    background: rgba(216, 216, 235, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.32;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-register:hover {
    opacity: 0.85;
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    padding: 162px 0 80px;
    overflow: hidden;
    background: radial-gradient(98.8% 98.8% at 50% 1.2%, #09090A 0%, #15151A 100%);
}

.hero-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-section__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(98.8% 98.8% at 50% 1.2%, #09090A 0%, #15151A 100%);
}

.bg-hero {
    position: absolute;
}

/* mask: pixels */
.pixel-mask-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.header.pixel-mask-container {
    position: fixed;
    height: auto;
}

.pixel-mask-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 10%, transparent 10%);
    background-size: 6px 6px; /* Размер пикселей */
    background-repeat: repeat;
    opacity: 0.3; /* Прозрачность узора */
    z-index: 0; /* Под содержимым блока */
    pointer-events: none;
}

.container {
    max-width: 1136px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.container--wide {
    max-width: 1440px;
}

/* Hero Head */
.hero__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero__title {
    font-size: 60px;
    font-weight: 700;
    line-height: 105%;
    color: var(--grey-1);
}

.hero__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    max-width: 368px;
}

.hero-cta-wrapper {
    position: relative;
    z-index: 1;
    min-width: 213px;
    width: 100%;
    margin: 0 auto;
}

.hero-cta-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-direction: column;
    height: auto;
    background: radial-gradient(100% 404.49% at 0% 50%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 238, 224, 0.8) 70%, rgba(255, 255, 255, 0.8) 92.4%);
    padding: 18px 40px;
    border-radius: 20px;
    border: 2px solid #FFFFFF1A;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
        font-weight: 500;
        font-size: 20px;
        line-height: 120%;
        color: #1C1C1F;
    width: 100%;
    text-align: center;
}

.hero-cta-button::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(90deg, #0000ff3d 0%, #FF2200 60%);
    border-radius: 28px;
    filter: blur(22px);
    opacity: 0.6;
    z-index: -1;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta-button:hover {
    opacity: 1;
}

.hero-cta-button:hover::before {
    opacity: 1;
    filter: blur(26px);
    transform: translateY(2px);
}

.hero__description {
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: var(--grey-2);
    text-align: right;
}

/* Hero Cards */
.hero__cards {
    display: flex;
    gap: 16px;
    margin-bottom: 100px;
}

.hero-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(to bottom, rgba(45, 45, 51, 0.8), rgba(29, 29, 36, 0.64));
    backdrop-filter: blur(4px);
    overflow: hidden;
    max-height: 460px;
}

.hero-card__title {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--grey-1);
}

.hero-card__subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--grey-1);
}

.hero-card__image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.hero-card__image img {
    width: 100%;
    /*max-width: 256px;*/
}

/* PARTNERS LOGOS */
.partners-logos {
    overflow: hidden;
    position: relative;
    mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 64px;
    animation: scroll-partners 40s linear infinite;
    white-space: nowrap;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-height: 32px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-120%);
    }
}

/* ========== FEATURES ========== */
.features-section {
    background: var(--white);
    padding: 80px 0 120px;
}

.features-container {
    gap: 16px;
}

.feature-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-title {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--grey-9);
    text-align: center;
}

.section-title--left {
    text-align: left;
}

.section-title--dark {
    color: var(--grey-1);
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: linear-gradient(to bottom, var(--grey-1), var(--white));
    border: 1px solid var(--grey-2);
    max-width: 560px;
    width: 100%;
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    background: var(--grey-2);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.feature-card__icon img {
    width: 48px;
    height: 48px;
}

.feature-card__title {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--grey-9);
}

.feature-card__text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--grey-8);
}

/* ========== HOW TO USE ========== */
.howto-section {
    background: var(--white);
    padding: 0 0 120px;
    position: relative;
    overflow: hidden;
}

.howto-section::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 420px;
    background: linear-gradient(to right, rgb(51 51 255 / 10%), rgb(255 92 51 / 10%));
    filter: blur(80px);
    border-radius: 30%;
    pointer-events: none;
    z-index: 0;
}

.howto-container {
    gap: 32px;
}

.segmented-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Segmented Control */
.segmented-control {
    display: inline-flex;
    padding: 4px;
    background: var(--grey-2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    max-width: max-content;
}

.segmented-control::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 239px;
    height: 32px;
    filter: blur(30px);
    border-radius: 12px;
}

.segment {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.32;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    z-index: 1;
}

.segment--active {
    background: var(--white);
    color: var(--grey-9);
}

.segment--inactive {
    color: var(--grey-7);
}

/* Step Cards */
.howto__cards {
    display: flex;
    gap: 16px;
    position: relative;
}

.howto__badge {
    position: absolute;
    top: -34px;
    right: 12px;
    width: 331px;
    padding: 8px 0 28px;
    background: linear-gradient(to right, var(--accent-blue) 27%, var(--accent-orange) 99%);
    border-radius: 24px 24px 0 0;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    line-height: 1.32;
    z-index: 0;
}

.step-card {
    width: 368px;
    height: 353px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--white);
    border-radius: var(--radius-xl);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.step-card__number {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--grey-3);
}

.step-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-card__label {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.32;
    color: var(--grey-8);
    text-align: center;
}

/* Step 1 Logos */
.step-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.step-card__platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 104px;
}

.step-card__platforms img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

/* Search Input */
.search-input {
    position: relative;
}

.search-input__glow {
    position: absolute;
    top: 8px;
    left: 2%;
    width: 96%;
    height: 32px;
    background: linear-gradient(to right, rgba(51, 51, 255, 0.3), rgba(255, 92, 51, 0.3));
    border-radius: var(--radius-md);
    filter: blur(30px);
    z-index: 0;
}

.search-input__field {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 16px;
    border: 1px solid var(--grey-3);
    border-radius: var(--radius-md);
    background: var(--white);
    width: 100%;
    height: 60px;
}

.search-input__field svg {
    flex-shrink: 0;
}

.search-input__field input {
    flex: 1;
    font-family: inherit;
    font-size: 18px;
    color: var(--grey-9);
    border: none;
    outline: none;
    background: transparent;
}

.search-input__field input::placeholder {
    color: var(--grey-3);
}

/* Upload Area (device tab) */
.upload-area {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 60px;
    border: none;
    border-radius: var(--radius-md);
    padding: 10px;
    cursor: pointer;
    background: #F5F5FA;
    transition: background 0.2s;
}

.upload-area::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='100%25' y2='0'%3E%3Cstop offset='26.88%25' stop-color='%233333FF'/%3E%3Cstop offset='74.41%25' stop-color='%23FF5C33'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect rx='20' ry='20' fill='none' stroke='url(%23g)' stroke-width='2' stroke-dasharray='8 6' x='1' y='1' style='width:calc(100%25 - 2px);height:calc(100%25 - 2px)'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.upload-area:hover::before {
    opacity: 1;
}

.upload-area__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    background: linear-gradient(90deg, #3333FF 26.88%, #FF5C33 74.41%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Step 3 Buttons */
.step-card__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-step {
    height: 60px;
    background: linear-gradient(90deg, rgba(51, 51, 255, 0.12) 0%, rgba(255, 92, 51, 0.12) 100%);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(51, 51, 255, 0.2);
    cursor: pointer;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-radius: 20px;
    justify-content: center;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    color: #15151A;
}

.btn-step--white {
    background: transparent;
}

.btn-step:hover {
    background: rgba(51, 51, 255, 0.08);
}

/* ========== FOR WHOM ========== */
.audience-section {
    background: var(--white);
    padding: 0 0 148px;
}

.audience-container {
    gap: 32px;
}

.audience__cards {
    display: flex;
    gap: 16px;
}

.audience-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--grey-2);
    gap: 16px;
}

.audience-card__title {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--grey-8);
}

.audience-card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.audience-card__item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.audience-card__item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.audience-card__item-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--grey-10);
}

/* ========== GRID SECTION (dark bg with lines) ========== */
.grid-section {
    position: relative;
    background: var(--white);
    padding: 0 0 80px;
}

/* ========== USECASES ========== */
.usecases-section {
    padding: 120px 0 16px;
}

.usecases-container {
    gap: 30px;
    align-items: center;
}

.usecases__row {
    display: flex;
    gap: 16px;
}

.usecase-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #1A1A1F 0%, rgba(25, 25, 31, 0.8) 100%);
    padding: 32px;
    gap: 24px;
    overflow: hidden;
}

.usecase-card__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.usecase-card__title {
    font-size: 36px;
    font-weight: 500;
    line-height: 105%;
    color: var(--white);
}

.usecase-card__desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 132%;
    color: var(--white);

    a {
        color: #4785ff;

        &:hover {
            opacity: 0.7;
        }
    }
}

.usecase-card__desc-right {
    font-size: 36px;
    font-weight: 500;
    /*font-weight: 700;*/
    line-height: 105%;
}

.usecase-link {
    background: linear-gradient(90deg, #3333FF 26.88%, #FF5C33 98.69%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: opacity 0.2s;
}

.usecase-link:hover {
    opacity: 0.7;
}

.usecase-card__image {
}

.usecase-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.usecase-card--right {
    justify-content: flex-end;
}

.usecase-card__image-right {
    max-width: 407px;
    align-self: flex-end;
    padding: 10px;
    background: rgb(45 45 51 / 50%);
    border-radius: 20px;
    margin-top: -42px;
    margin-right: -42px;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 0 0 80px;
}

.contact-block {
    position: relative;
    background: #15151A;
    border-radius: var(--radius-xl);
    padding: 64px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 480px;
    justify-content: space-between;
}

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

.contact-block__title {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--grey-1);
}

.contact-block__subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.32;
    color: var(--grey-2);
}

.contact-block__label {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--grey-1);
}

.contact-block__links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-block__links a {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--grey-2);
    transition: color 0.2s;
}

.contact-block__links a:hover {
    opacity: 0.7;
}

.contact-block__icon {
    position: absolute;
    right: 40px;
    bottom: 20px;
    width: 414px;
    height: 414px;
    opacity: 0.06;
    pointer-events: none;
}

/* ========== FOOTER ========== */
.site-footer {
    padding: 0 152px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-widget {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    background: #09090A;
    border-radius: var(--radius-xl);
    position: relative;
    z-index: 1;
    align-items: center;
}

.footer-widget-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 600px;
}

.site-branding .site-logo {
    width: 129px;
    height: 28px;
}

.footer-widget-info-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 105%;
    color: var(--grey-1);
}

.hero-cta-wrapper_footer .btn-promo {
    min-width: auto;
}

.footer-widget-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
}

.hr-bottom {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0;
}

.footer-widget-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-widget-links a {
    font-size: 16px;
    font-weight: 500;
    line-height: 125%;
    color: var(--white);
    transition: color 0.2s;
}

.footer-widget-links a:hover {
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.footer-bottom-text {
    font-size: 14px;
    color: var(--white);
}

.footer-bottom-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-bottom-links li {
    font-size: 14px;
    color: var(--white);
}

.footer-bottom-links a {
    font-size: 14px;
    color: var(--white);
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--grey-3);
}

.footer-bottom-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-icons img {
    width: 24px;
    height: 24px;
    opacity: 1;
    transition: opacity 0.2s;
}

.footer-bottom-icons a:hover img {
    opacity: 0.6;
}

/* ========== UTILITIES ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}


/* Мобильное бургер меню */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.burger-icon {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

/* Отдельное мобильное меню */
.mobile-menu {
    position: fixed;
    top: 60px;
    right: -250px;
    width: 250px;
    background: linear-gradient(180deg, #222229, rgba(29, 29, 36));
    backdrop-filter: blur(10px);
    border-radius: 20px 0 0 20px;
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 20px 0;
}

.mobile-menu.mobile-menu-open {
    right: 0;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item {
    margin: 0;
}

.mobile-menu-item a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.mobile-menu-item a:hover,
.mobile-menu-item.current-menu-item a {
    background-color: rgba(216, 180, 254, 0.2);
}

/* Overlay для закрытия меню */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.related-features {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    padding-bottom: 80px;
    padding-left: 16px;
    padding-right: 16px;
}

.related-features-h1 {
    font-weight: 700;
    font-size: 54px;
    line-height: 105%;
    color: #F5F5FA;
    text-align: center;
}

.related-features-wrapper {
    display: flex;
    gap: 16px;
    max-width: 1200px;
    margin: auto;
}

.related-features-item {
    position: relative;
    padding: 24px;
    border-radius: 20px;
    flex: 1;
    background: transparent;

    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
    cursor: pointer;
    transition: box-shadow 0.25s ease;
}

.related-features-item:hover {
    box-shadow: 1px 3px 9px rgba(71, 133, 255, 0.25);
}

.related-features-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, #0000ff6e 0%, #ff220047 60%);
    -webkit-mask: linear-gradient(#fff, #fff) content-box, linear-gradient(#fff, #fff);
    mask: linear-gradient(#fff, #fff) content-box, linear-gradient(#fff, #fff);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.related-features-item-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-features-item-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    color: #F5F5FA;
}

.related-features-item-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #8989A3;
}

.related-features-item_link {
    background: linear-gradient(270deg, #4785FF 67.54%, #B8A1E6 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
}

.related-features-item_link::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1330px) {
    .footer-bottom-links {
        display: none;
    }
}

@media (max-width: 1200px) {
    .hero-card {
        max-height: 414px;
        min-height: auto;
    }

    .hero__title {
        font-size: 48px;
        width: 440px;
    }

    .section-title {
        font-size: 42px;
    }

    .contact-block__title {
        font-size: 42px;
    }
}

@media (max-width: 1100px) {
    .howto__badge {
        display: none;
    }
}

@media (max-width: 992px) {
    .related-features-wrapper {
        flex-direction: column;
    }

    .related-features-h1 {
        font-size: 32px;
    }

    .header__nav,
    .header__lang,
    .header__socials {
        display: none;
    }

    .hero__head {
        flex-direction: column;
        gap: 32px;
    }

    .hero__title {
        width: 100%;
        font-size: 40px;
        text-align: center;
    }

    .hero__right {
        align-items: flex-start;
    }

    .hero__description {
        text-align: left;
    }

    .features-section {
        padding: 60px 0 80px;
    }

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

    .feature-card__text {
        font-size: 15px;
    }

    .feature-card {
        margin: auto;
    }

    .howto__cards {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        width: 100%;
        max-width: 500px;
        height: auto;
        padding: 24px;
        gap: 24px;
    }

    .step-card__number {
        font-size: 56px;
    }

    .audience__cards {
        flex-direction: column;
    }

    .usecases__row {
        flex-direction: column;
    }

    .site-footer {
        padding: 0 20px 40px;
    }

    .footer-widget {
        flex-direction: column;
        gap: 32px;
        padding: 32px 24px;
        align-items: flex-start;
    }

    .footer-widget-info {
        gap: 24px;
    }

    .footer-widget-info-title {
        font-size: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 0 16px;
    }

    .footer-bottom-icons {
        justify-content: center;
    }

    .logos__track {
        gap: 32px;
    }

    .contact-block {
        padding: 32px;
    }

    .contact-block__icon {
        display: none;
    }

    .hero-card__title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-card {
        max-width: 300px;
        margin: auto;
    }

    .section-title {
        font-size: 32px;
        text-align: center;
    }

    .hero__cards {
        flex-direction: column;
    }

    .hero__title {
        font-size: 34px;
    }

    .contact-block__title {
        font-size: 32px;
    }

    .container {
        padding: 0 16px;
    }

    .features-section {
        padding: 40px 0 60px;
    }

    .feature-card {
        padding: 16px;
        gap: 12px;
    }

    .feature-card__icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
        padding: 12px;
    }

    .feature-card__icon img {
        width: 32px;
        height: 32px;
    }

    .feature-card__title {
        font-size: 18px;
    }

    .feature-card__text {
        font-size: 14px;
    }

    .feature-card__content {
        gap: 4px;
    }

    .footer-widget-links-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .audience-section {
        background: var(--white);
        padding: 0 0 60px;
    }

    .usecases-section {
        padding: 60px 0 16px;
    }

    .segment {
        font-size: 16px;
    }

    .partners-track {
        animation: scroll-partners 20s linear infinite;
    }

    .contact-block {
        height: 400px;
    }

    .audience-card__title {
        font-size: 24px;
    }
}

@media screen and (max-width: 648px) {
    .header__buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer-widget-info {
        max-width: 100%;
    }

    .hero-cta-wrapper {
        max-width: 100%;
    }

    .hero-cta-button {
        padding: 18px;
    }

    .howto-section {
        padding: 0 0 60px;
    }
}

@media screen and (max-width: 526px) {
    .hero-card {
        max-width: 90%;
        align-items: center;
    }

    .usecase-card__desc-right,
    .usecase-card__title {
        font-size: 32px;
    }

    .footer-widget-info-title {
        font-size: 28px;
    }
}

/**
 * Стили секции FAQ.
 * Используется шаблоном template-parts/faq-section.php.
 */

.faq {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 751px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 80px;

    h2 {
        font-weight: 700;
        font-size: 54px;
        line-height: 105%;
        color: var(--grey-1);
        text-align: center;
    }
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    padding-left: 0;
}

.faq-item {
    position: relative;
    z-index: 1;
    margin-top: 0;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid transparent;
    background:
        linear-gradient(#15151A, #15151A) padding-box,
        transparent border-box;
}

.faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-question::marker {
    display: none;
}

.faq-question-icon {
    display: flex;
    align-items: center;
    align-content: center;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 8px;
    background: linear-gradient(180deg, #27272E 0%, rgba(31, 31, 36, 0.8) 100%);
}

.faq-question-text {
    margin: 0;
    flex: 1;
    color: #F5F5FA;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    vertical-align: middle;
}

.faq-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    transform: rotate(-90deg);
}

.faq-details[open] .faq-chevron {
    transform: rotate(0deg);
}

.faq-item:has(.faq-details[open]) {
    background:
        linear-gradient(#15151A, #15151A) padding-box,
        linear-gradient(90deg, #0000ff6e 0%, #ff220047 60%) border-box;
}

.faq-answer {
    padding-top: 12px;
    padding-left: 52px;
        color: #EBEBF5;
        font-weight: 400;
        font-size: 18px;
        line-height: 132%;
        vertical-align: middle;

    a {
        color: #4785ff;

        &:hover {
            opacity: 0.7;
        }
    }
}

@media (max-width: 768px) {
    .faq {
        padding-left: 16px;
        padding-right: 16px;

        h2 {
            font-size: 32px;
        }
    }
}