/* ========================================
   CSS Variables & Design Tokens
   ======================================== */
:root {
    --color-primary: #2787F5;
    --color-primary-hover: #1a6fd4;
    --color-primary-light: #e8f4ff;
    --color-telegram: #2AABED;
    --color-max: #FF5722;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray: #808080;
    --color-gray-light: #f5f5f5;
    --color-gray-dark: #333333;
    --color-bg: #E9F6FF;

    --gradient-hero: linear-gradient(180deg, #e8f4ff 0%, #d6ecff 50%, #e8f4ff 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --container-max-width: 1000px;
    --container-padding: 24px;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-button: 0 4px 16px rgba(39, 135, 245, 0.35);
    --shadow-button-hover: 0 8px 28px rgba(39, 135, 245, 0.45);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--color-black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

/* ========================================
   Layout
   ======================================== */
.landing {
    min-height: 100vh;
    background: var(--color-white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo__image {
    height: 32px;
    width: auto;
}

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

.header__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray);
    transition: color var(--transition-fast);
}

.header__link:hover {
    color: var(--color-primary);
}

.header__cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-primary);
    transition: all var(--transition-fast);
}

.header__cta:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 100px 0 0;
    background: linear-gradient(180deg, #F2FCFF, #9BCAFF);
    position: relative;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 580px 1fr;
    gap: 60px;
    align-items: flex-end;
    position: relative;
}

.hero__content {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    max-width: 580px;
    align-self: center;
}

.hero__title {
    margin-bottom: 35px;
    color: var(--color-black);

    font-family: "Dela Gothic One";
    font-weight: 400;
    font-style: Regular;
    font-size: 45px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
}

.badge {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 115%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.badge--vk {
    background: #0077FF;
}

.badge--telegram {
    background: var(--color-telegram);
}

.badge--max {
    background: linear-gradient(270deg, #2093FB 0%, #4041F4 48.56%, #A668DB 100%);
}

.badge--site {
    background: #122B48;
}

.hero__subtitle {
    color: var(--color-black);
    margin-bottom: 20px;
    font-family: "Onest", sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 130%;
    letter-spacing: 0%;

}

.hero__visual {
    position: relative;
    display: block;
    min-height: 410px;
    opacity: 0;
    animation: slideInRight 0.8s ease 0.4s forwards;
}

.hero__phone {
    max-width: 100%;
    height: auto;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__phone.active {
    opacity: 1;
}

.hero__blurred {
    position: absolute;
    right: 0;
    bottom: 0;
    height: auto;
    width: auto;
    max-width: none;
    transform: translateX(70%);
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__blurred.active {
    opacity: 1;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 360px;
    height: 70px;
    opacity: 1;
    border-radius: 12px;
    font-family: Onest;
    font-weight: 800;
    font-style: ExtraBold;
    font-size: 22px;
    leading-trim: NONE;
    line-height: 115%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-button);
}

.btn--primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-button-hover);
}

.btn--primary:active {
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 80px 0 60px;
    background: var(--color-bg);
}

.section-title {
    margin-bottom: 40px;
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 36px;
    leading-trim: NONE;
    line-height: 110%;
    letter-spacing: 0%;
    text-align: center;
}

.categories {
    display: grid;
    grid-template-columns: repeat(6, 150px);
    justify-content: center;
    gap: 20px;
}

.category {
    width: 150px;
    height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 15px;
    background: var(--color-white);
    border-radius: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category__image {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.category__label {
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--color-black);
}

/* ========================================
   Stats Section
   ======================================== */
.stats {
    padding: 60px 0;
    background: var(--color-bg);
}

.stats__inner {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat__value {
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 95px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--color-primary);
}

.stat__label {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--color-black);
}

/* ========================================
   Clients Section
   ======================================== */
.clients {
    padding: 80px 0;
    background: var(--color-bg);
    overflow: hidden;
}

.clients__title-wrapper {
    max-width: var(--container-max-width);
    margin: 0 auto 0 auto;
    padding: 0 var(--container-padding);
}

.clients__carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 20px 0;
}

.clients__carousel {
    display: flex;
    gap: 24px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.clients__carousel:hover {
    animation-play-state: paused;
}

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

.client-card {
    flex-shrink: 0;
    width: 325px;
    height: 330px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform var(--transition-normal);
    text-align: center;
}

.client-card:hover {
    transform: scale(1.03);
}

.client-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 45px 16px 25px 16px;
    background: linear-gradient(180deg, rgba(25, 19, 11, 0) 0%, #19130B 100%);
}

.client-card__name {
    color: var(--color-white);
    font-family: "Onest", sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 26px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: bottom;
}

.clients__cta {
    text-align: center;
    margin-top: 48px;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--container-padding);
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 80px 0;
    background: var(--color-primary-light);
}

.features__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 260px;
    position: relative;
    overflow: hidden;
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card__content {
    flex: 1;
    position: relative;
    z-index: 1;
    max-width: 580px;
}

.feature-card__title {
    margin-bottom: 8px;
    color: var(--color-black);
    font-family: "Onest", sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 28px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
}

.feature-card__description {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.5;
}

.feature-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
}

.feature-card__link {
    color: var(--color-primary);
    transition: opacity var(--transition-fast);
    font-family: "Onest", sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;
}

.feature-card__link:hover {
    opacity: 0.7;
}

.feature-card__visual {
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

.feature-card__visual img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.feature-card__icons {
    display: flex;
    gap: 12px;
}

.feature-card__icons svg {
    width: 48px;
    height: 48px;
}

.features__cta {
    text-align: center;
}

/* ========================================
   Steps Section
   ======================================== */
.steps {
    padding: 80px 0;
    background: var(--color-primary-light);
}

.steps__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.step-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 44px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.step-card > * {
    max-width: 250px;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.step-card__number {
    width: 110px;
    height: 110px;
    background: url("/img/2026/zap.svg");
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 40px;
    leading-trim: NONE;
    line-height: 110%;
    letter-spacing: 0%;
    text-align: center;
}

.step-card__title {
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 110%;
    letter-spacing: 0%;
    text-align: center;
}

.step-card__description {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 110%;
    letter-spacing: 0%;
    text-align: center;
}

.steps__cta {
    text-align: center;
}

/* ========================================
   Legal Footer
   ======================================== */
.legal {
    padding: 40px 0 24px;
    background: var(--color-gray-light);
    text-align: center;
}

.legal__text {
    font-size: 13px;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal__pay-logo {
    margin: 0 auto 16px;
    display: flex;
    justify-content: center;
}

.legal__links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.legal__link {
    font-size: 13px;
    color: var(--color-gray);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.legal__link:hover {
    color: var(--color-primary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 32px 0;
    background: var(--color-white);
    color: var(--color-black);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copyright {
    font-size: 14px;
    color: var(--color-gray);
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__link {
    font-size: 14px;
    color: var(--color-gray);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-primary);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1100px) {
    .categories {
        grid-template-columns: repeat(3, 150px);
    }
}

@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 60% 40%;
        gap: 40px;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__title {
        font-size: 40px;
    }

    .badge {
        padding: 6px 12px;
        font-size: 18px;
    }

    .stats__inner {
        gap: 60px;
    }

    .stat__value {
        font-size: 60px;
    }

    .feature-card {
        padding: 28px 32px;
        height: 220px;
    }

    .feature-card__content {
        max-width: 400px;
    }

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

    .feature-card__description {
        font-size: 13px;
    }

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

    .feature-card__visual img {
        height: 100%;
    }

    .hero__visual {
        min-height: 350px;
    }

    .hero__phone {
        max-width: 240px;
    }

    .hero__blurred {
        max-width: 160px;
        transform: translateX(30%);
    }

    .hero__badges {
        margin-bottom: 12px;
    }

    .hero__title {
        margin-bottom: 20px;
    }

    .hero__subtitle {
        margin-bottom: 15px;
    }

    .hero .btn--primary {
        margin-bottom: 20px;
    }

    .about {
        padding: 50px 0 40px;
    }

    .stats {
        padding: 40px 0;
    }

    .clients {
        padding: 50px 0;
    }

    .features {
        padding: 50px 0;
    }

    .steps {
        padding: 50px 0;
    }

    .steps__list {
        gap: 20px;
    }

    .step-card {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .header__nav {
        display: none;
    }

    .header__inner {
        justify-content: center;
    }

    .hero {
        padding: 80px 0 0;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__badges {
        justify-content: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
        font-family: "Onest", sans-serif;
        font-weight: 400;
        font-style: Regular;
        font-size: 18px;
        leading-trim: NONE;
        line-height: 130%;
        letter-spacing: 0%;
    }

    .hero__visual {
        order: 1;
        margin-top: 20px;
        min-height: 370px;
        position: relative;
    }

    .hero__phone {
        position: absolute;
        width: 100%;
        max-width: 270px;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        z-index: 2;
    }

    .hero__blurred {
        position: absolute;
        width: auto;
        height: auto;
        max-width: 180px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) translateX(-135px);
        z-index: 1;
    }

    .about {
        padding: 40px 0 30px;
    }

    .stats {
        padding: 30px 0;
    }

    .clients {
        padding: 40px 0;
    }

    .client-card__name {
        font-size: 23px;
    }

    .features {
        padding: 40px 0;
    }

    .steps {
        padding: 40px 0;
    }

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

    .categories {
        grid-template-columns: repeat(3, minmax(130px, 130px));
        gap: 16px;
    }

    .category {
        width: 130px;
        height: 170px;
        padding: 16px 12px;
    }

    .category__image {
        width: 90px;
        height: 90px;
    }

    .category__label {
        font-size: 16px;
    }

    .stats__inner {
        flex-direction: column;
        gap: 30px;
    }

    .stat {
        gap: 0px;
    }

    .stat__value {
        font-size: 95px;
    }

    .stat__label {
        font-size: 20px;
    }

    .client-card {
        width: 325px;
        height: 330px;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px 0;
        height: auto;
        gap: 10px;
    }

    .feature-card__visual {
        position: static;
        order: 1;
        width: calc(100% + 48px);
        height: auto;
        margin: 0 -24px 0;
        justify-content: center;
    }

    .feature-card__visual img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .feature-card__content {
        max-width: 100%;
    }

    .feature-card__links {
        justify-content: center;
    }

    .steps__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-card {
        padding: 32px 24px;
    }

    .footer__inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer__links {
        order: -1;
    }

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

    .step-card__description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 35px;
    }

    .badge {
        padding: 6px 12px;
        font-size: 18px;
    }

    .btn {
        width: 100%;
        max-width: 360px;
        padding: 14px 28px;
        font-size: 22px;
    }

    .categories {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
        gap: 12px;
    }

    .category {
        width: 100%;
        height: 150px;
        padding: 14px 10px;
    }

    .category__image {
        width: 80px;
        height: 80px;
    }

    .category__label {
        font-size: 14px;
    }
}
