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

/* Design Tokens from Figma */
:root {
    /* Colors */
    --color-blue-500: #30327B;
    --color-blue-400: #7D7FE1;
    --color-blue-300: #DEE3FF;
    --color-pink-500: #EE92C1;
    --color-yellow-400: #FFFAEB;
    --color-yellow-500: #F9EECB;
    --color-yellow-600: #E9DDB5;
    --color-black: #161616;
    --color-white: #FFFFFF;

    /* Typography */
    --font-primary: 'Comfortaa', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Font Sizes */
    --font-size-h1: 96px;
    --font-size-h2: 40px;
    --font-size-h3: 24px;
    --font-size-h4: 18px;
    --font-size-body: 17px;
    --font-size-small: 14px;
    --font-size-button: 14px;

    --font-size-body-text: px;
    --font-weight-body-text: 400;
    --line-height-body-text: 1.4em;

    --font-size-small-text: 14px;
    --font-weight-small-text: 400;
    --line-height-small-text: 1.3em;

    /* Line Heights */
    --line-height-h1: 1em;
    --line-height-h2: 1em;
    --line-height-h4: 1.3em;
    --line-height-body: 1.4em;
    --line-height-small: 1.3em;
    --line-height-button: 1.1em;

    /* Letter Spacing */
    --letter-spacing-h1: calc(var(--font-size-h1) * -0.02);
    --letter-spacing-h2: -1.2px;
    --letter-spacing-h4: -0.73px;
    --letter-spacing-button: -0.14px;

    /* Spacing (8-point grid) */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 40px;
    --spacing-3xl: 48px;
    --spacing-4xl: 64px;
    --spacing-5xl: 80px;
    --spacing-6xl: 96px;

    --titles-margin-bottom-sm: 20px;
    --titles-margin-bottom: 30px;
    --text-container-margin-bottom: 30px;

    /* Border Radius */
    --radius-sm: 10px;
    --radius-md: 30px;
    --radius-lg: 50px;
    --radius-xl: 51px;

    /* Container */
    --container-max-width: 1280px;
    --container-padding: 20px;

    /* Breakpoints */
    --breakpoint-tablet: 768px;
    --breakpoint-mobile: 375px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--color-black);
    background-color: var(--color-white);
    /* overflow-x: hidden; */
    /*min-width: 1280px;*/
    /*width: 100vw;*/
    /*overflow: hidden;*/
}

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

h2, .h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
    letter-spacing: var(--letter-spacing-h2);
}

/* Typography */
h1, .h1 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--font-size-h1);
    line-height: var(--line-height-h1);
    letter-spacing: var(--letter-spacing-h1);
    text-transform: uppercase;
}

h3, .h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--font-size-h3);
    line-height: var(--line-height-h4);
    letter-spacing: var(--letter-spacing-h4);
}

h4, p.h4, span.h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--font-size-h4);
    line-height: var(--line-height-h4);
    letter-spacing: var(--letter-spacing-h4);
}

p {
    font-family: var(--font-secondary);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
}

p.body-text, .body-text p, .body-text span {
    font-family: var(--font-secondary);
    font-size: var(--font-size-body-text);
    line-height: var(--line-height-body-text);
    font-weight: var(--font-weight-body-text);
}

.small-text {
    font-family: var(--font-secondary);
    font-size: var(--font-size-small-text);
    line-height: var(--line-height-small-text);
    font-weight: var(--font-weight-small-text);
}

/* Buttons */
button, .btn {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: var(--font-size-button);
    line-height: var(--line-height-button);
    letter-spacing: var(--letter-spacing-button);
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-lg);
    padding: 17.5px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-pink-500);
    color: var(--color-white);
}

button:hover, .btn:hover {
    transform: translateY(-2px);
    background: #d67ba8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 100px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 63px;
    gap: 80px;
}

.header__logo svg {
    width: 48px;
    height: 48px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: space-between;
}

.header__cta {
    padding: 12px 15px;
}

.nav__link {
    font-weight: 600;
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
}

.cookie-popup-container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    width: 100%;
    max-width: 1100px;
    padding-bottom: 12px !important;
    display: none;
    z-index: 10;
    justify-content: center;
    align-items: center;
}

.cookie-popup {
    width: 100%;
    bottom: 12px;
    margin: 0 auto;
    z-index: 1000;
    background: var(--color-yellow-400);
    border: 1px solid var(--color-yellow-600);
    border-radius: 10px;
    animation: slideInUp 0.3s ease-out;
}

.cookie-popup-container.hidden {
    display: none;
}

.cookie-popup__content {
    padding: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.cookie-popup__title {
    margin-bottom: 10px;
}

.cookie-popup__description {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.cookie-popup__description p {
    font-size: 10px;
    line-height: 1.3em;
    font-weight: 400;
    font-family: var(--font-secondary);
}

.cookie-popup__link {
    all: unset;
    cursor: pointer;
    color: var(--color-blue-500);
    text-decoration: underline;
    transition: color 0.2s ease;
    font-size: 10px;
    line-height: 1.3em;
    font-weight: 400;
    font-family: var(--font-secondary);
}

.cookie-popup__link:hover {
    background: initial;
    color: var(--color-pink-500);
}

.cookie-popup__actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-popup__btn {
    padding: 10px 20px;
    font-size: 10px;
}

.cookie-popup__btn:active {
    transform: translateY(0);
}

.cookie-popup__link--reject {
    margin-left: auto;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav__link:hover {
    color: var(--color-blue-500);
}

.header__left {
    display: flex;
    gap: 10px;
}

/* Mobile Menu */
.mobile-menu-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none;
    background: var(--color-yellow-400);
    border: 1px solid var(--color-yellow-600);
    font-size: 24px;
    color: var(--color-black);
    cursor: pointer;
    padding: var(--spacing-sm);
    transition: background-color 0.3s ease;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn__icon {
    display: block;
    transition: transform 0.3s ease;
    position: relative;
    font-size: 18px;
    line-height: 1;
}

.mobile-menu-btn.active .mobile-menu-btn__icon {
    font-size: 0;
}

.mobile-menu-btn.active .mobile-menu-btn__icon::before {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    line-height: 1;
}


.mobile-menu-btn:hover .mobile-menu-btn__icon {
    transform: scale(1.1);
}

.mobile-menu-btn.active:hover .mobile-menu-btn__icon {
    transform: scale(1.1);
}

.mobile-menu-btn:hover {
    background: var(--color-yellow-500);
}

/* Hero Section */
.hero {
    margin-top: 63px;
}

.hero__container {
    height: 100%;
    width: 100%;
    position: relative;
}

.hero__content {
    border-radius: 30px;
    background: var(--color-blue-500);
    min-height: 600px;
    height: 100%;
    width: 100%;
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.hero__title {
    margin-bottom: 25px;
    color: var(--color-white);
}

.hero__title span {
    white-space: nowrap;
}

.hero__description {
    margin: 0 0 25px 9px;
    max-width: 466px;
    color: var(--color-white);
}

.hero__decoration {
    position: absolute;
    right: 30px;
    bottom: 0;
    z-index: 1;
}

.hero__decoration img {
    width: calc(49vw * 1.2);
    max-width: 625px;
}

/* Intro Section */

.intro__title {
    margin-bottom: var(--titles-margin-bottom-sm);
    max-width: 1043px;
}

.intro__header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: var(--text-container-margin-bottom);
    gap: var(--spacing-2xl);
}

.intro__description {
    max-width: 548px;
    margin: 0;
}

.intro__cards {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    justify-content: center;
}

.intro__cta_mob {
    display: none;
    margin-top: 20px;
}

.intro-card {
    background: var(--color-yellow-400);
    border: 1px solid var(--color-yellow-600);
    border-radius: var(--radius-md);
    padding: 25px;
    flex: 1;
    max-width: 400px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-card__icon {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.intro-card__icon img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.intro-card__title {
    color: var(--color-black);
    margin-bottom: 15px;
}

/* AI Lawyer Section */

.ai-lawyer__content {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-blue-500);
    border-radius: 30px;
    padding: 50px;
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin: 0 auto;
    mask-image: radial-gradient(circle, white, black);
}

.ai-lawyer__text {
    width: 100%;
    padding-right: 56%;
}

.ai-lawyer__title {
    margin-bottom: var(--titles-margin-bottom-sm);
}

.ai-lawyer__description {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-lawyer__media {
    width: 60%;
    position: absolute;
    right: -7px;
    bottom: -3px;
    top: 50px;
}

.ai-lawyer__screen {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
}

.ai-lawyer__laptop {
    width: 100%;
    height: 100%;
    object-position: left;
    object-fit: cover;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.ai-lawyer__interface {
    position: absolute;
    top: 7.1%;
    left: 11.3%;
    width: 77.4%;
    height: 92.8%;
    object-fit: cover;
    border-radius: 0;
    z-index: 2;
}

/* Contracts Section */
.contracts {
    position: relative;
    margin-bottom: 50px;
}

.contracts__content {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 2;
    background: var(--color-yellow-400);
    border: 1px solid var(--color-yellow-600);
    border-radius: 30px;
    padding: 40px 280px 40px 40px;
}

.contracts__text {
    display: flex;
    flex-direction: column;
}

.contracts__title {
    margin-bottom: var(--titles-margin-bottom-sm);
}

.contracts__description {
    width: 569px;
    max-width: 100%;
}

.contracts__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 881px;
}

.contracts__feature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 10px 20px 64px;
    background: var(--color-white);
    border: 1px solid var(--color-yellow-600);
    border-radius: 30px;
    position: relative;
}

.contracts__feature-number {
    position: absolute;
    left: 10px;
    width: 35px;
    height: 35px;
    background: var(--color-yellow-400);
    border: 1px solid var(--color-yellow-600);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contracts__cta {
    width: fit-content;
}

.contracts__media {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 277px;
    height: 447px;
    z-index: 2;
    overflow: hidden;
}

.contracts__background-circle {
    position: absolute;
    left: 40px;
    top: 0;
    width: 447px;
    height: 447px;
    background: var(--color-yellow-500);
    border-radius: 50%;
    z-index: 1;
}

.contracts__illustration {
    position: absolute;
    left: 0;
    z-index: 3;
}

/* Ad Labeling Section */
.ad-labeling {
    position: relative;
    margin-bottom: 50px;
    overflow: hidden;
    mask-image: radial-gradient(circle, white, black);
}

.ad-labeling_wrapper-container {
    margin: 0;
}

.ad-labeling__background {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: absolute;
    left: -102px;
    right: -80px;
    height: 100%;
}

.ad-labeling__background_mob {
    display: none;
}

.ad-labeling__content {
    display: flex;
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 70px 86px 106px 0;
    align-items: center;
    justify-content: space-between;
}

.ad-labeling__text {
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.ad-labeling__title {
    color: var(--color-white);
    margin-bottom: var(--titles-margin-bottom-sm);
}

.ad-labeling__description {
    color: var(--color-white);
    max-width: 372px;
    margin-bottom: 20px;
}


.ad-labeling__note {
    color: var(--color-white);
}

.ad-labeling__circles {
    position: relative;
    width: 647px;
    height: 698px;
    top: 50%;
}

.ad-labeling__circle {
    position: absolute;
    background: var(--color-white);
    border: 1px solid var(--color-blue-500);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.ad-labeling__circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


.ad-labeling__circle--statistics {
    right: 45px;
    top: 0;
    width: 240px;
    height: 240px;
    max-height: 240px;
    max-width: 240px;
}

.ad-labeling__circle--acts {
    left: 52px;
    bottom: 0;
    width: 240px;
    height: 240px;
    max-height: 240px;
    max-width: 240px;
}

.ad-labeling__circle--erid {
    left: 0;
    top: 85px;
    width: 312px;
    height: 312px;
    border-radius: 190px;
    max-height: 312px;
    max-width: 312px;
}

.ad-labeling__circle--report {
    right: 0;
    bottom: 80px;
    width: 312px;
    height: 312px;
    max-height: 312px;
    max-width: 312px;
}

.ad-labeling__circle-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ad-labeling__circle-icon img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.ad-labeling__circle-title {
    text-align: center;
    color: var(--color-blue-500);
}

.ad-labeling__circle--erid .ad-labeling__circle-title {
    width: 220px;
}

/* Benefits Section */

.benefits__content {
    text-align: left;
}

.benefits__title {
    margin-bottom: var(--titles-margin-bottom-sm);
}

.benefits__description {
    margin-bottom: var(--text-container-margin-bottom);
    max-width: 712px;
}

.benefits__description span {
    white-space: nowrap;
}

.benefits__toggles {
    flex-wrap: wrap;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.benefits__toggle {
    background: var(--color-yellow-400);
    border: 1px solid var(--color-yellow-600);
    border-radius: var(--radius-md);
    padding: 25px;
    flex: 1;
    display: flex;
    align-items: start;
    gap: 11px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefits__toggle:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.toggle__switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    flex-shrink: 0;
}

.toggle__switch_small {
    width: 42px;
    height: 24px;
}

.toggle__switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle__label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    border-radius: 34px;
    transition: .4s;
    border: 1px solid var(--color-blue-500);
}

.toggle__label:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--color-blue-500);
    border-radius: 50%;
    transition: .4s;
}

.toggle__switch_small .toggle__label::before {
    height: 16px;
    width: 16px;
    left: 4px;
    top: 3px;
}

input:checked + .toggle__label {
    background-color: var(--color-blue-500);
}

input:checked + .toggle__label:before {
    transform: translateX(26px);
    background-color: white;
}

input:checked + .toggle__label_small:before {
    transform: translateX(18px);
}

/* Toggle text switching */
.toggle__text-container {
    position: relative;
    min-height: 60px;
    width: 100%;
}

.toggle__text {
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.toggle__text:not(.toggle__text--reverse) {
    opacity: 0;
}

.toggle__text--reverse {
    opacity: 1;
    position: relative;
}

.toggle__text.show {
    opacity: 1;
}

.toggle__text.hide {
    opacity: 0;
}

/* Testimonials Section */
.testimonials {
    position: relative;
}

.testimonials__title {
    margin-bottom: var(--titles-margin-bottom-sm);
}

.testimonials__description-container {
    margin-bottom: calc(var(--text-container-margin-bottom) - 5px);
    display: flex;
    justify-content: space-between;
}

.testimonials__description {
    max-width: 505px;
}

.testimonials__slider {
    display: flex;
    gap: 20px;
    margin-bottom: 26px;
    overflow-x: auto;
    scroll-behavior: smooth;
    height: 455px;
}

.testimonials__cta_mob {
    display: none;
}


.testimonials__card {
    background: var(--color-white);
    border: 1px solid var(--color-blue-500);
    border-radius: 30px;
    padding: 30px;
    min-height: 455px;
    display: flex;
    width: 505px;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonials__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(48, 50, 123, 0.1);
}

.testimonials__card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonials__card-content p {
    font-weight: 400;
    margin-bottom: 40px;
}

.testimonials__author {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    position: relative;
    padding-right: 180px;
}

.testimonials__author h4 {
    margin-bottom: 10px;
}

.testimonials__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 273px;
}

.testimonials__avatar {
    width: 211px;
    height: 226px;
    position: absolute;
    right: 0;
    bottom: 0;
}

/* CTA Trial Section */
.cta-trial {
    color: var(--color-white);
}

.cta-trial__content {
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    background: var(--color-blue-500);
    border-radius: 30px;
}

.cta-trial__title {
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0 0 20px 0;
    width: 1094px;
    max-width: 100%;
}

.cta-trial__description {
    color: var(--color-white);
    margin: 0 0 50px 10px;
    width: 674px;
    max-width: 100%;
}

.cta-trial__button-wrapper {
    background: var(--color-white);
    border-radius: 51px;
    max-width: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
    gap: 10px;
    overflow: visible;
    user-select: none;
}

.cta-trial__button-wrapper.active {
    background: var(--color-blue-500);
    border: 1px solid white;
}

.cta-trial__toggle-ghost {
    width: 86px;
    height: 86px;
    display: block;
}

.cta-trial__toggle-ghost_active {
    width: 86px;
    height: 86px;
    display: none;
}

.cta-trial__button-wrapper.active .cta-trial__toggle-ghost {
    display: none;
}

.cta-trial__button-wrapper.active .cta-trial__toggle-ghost_active {
    display: block;
}

.cta-trial__toggle {
    width: 86px;
    height: 86px;
    background: var(--color-blue-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: grab;
    transition: all 0.3s ease;
    z-index: 10;
}

.cta-trial__toggle:active {
    cursor: grabbing;
}

.cta-trial__button-wrapper.active .cta-trial__toggle {
    transform: translateX(calc(100% - 86px));
    background: var(--color-white);
}

.cta-trial__toggle-circle-track {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 60px;
    height: 25px;
    position: absolute;
    left: 49px;
    top: 50%;
    transform: translateY(-50%);
    overflow: visible;
    border-radius: 12px;
}

.cta-trial__toggle-circle-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 12px;
}

.cta-trial__toggle-circle-track::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgb(133, 133, 221);
    border-radius: 12px;
    z-index: 2;
    animation: trackFill 2s linear infinite;
}

@keyframes trackFill {
    0% {
        width: 25px;
        opacity: 1;
    }
    45% {
        width: 100%;
        opacity: 0.6;
    }
    50% {
        width: 25px;
        opacity: 1;
    }
    100% {
        width: 25px;
        opacity: 1;
    }
}

.cta-trial__toggle-circle {
    width: 25px;
    height: 25px;
    background: linear-gradient(270deg, rgba(178, 180, 255, 1) 0%, rgba(178, 180, 255, 1) 100%);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.5));
    animation: circleRun 2s linear infinite;
}

@keyframes circleRun {
    0% {
        left: 0;
        transform: translateX(0);
    }
    45% {
        left: 100%;
        transform: translateX(-100%);
    }
    50% {
        left: 0;
        transform: translateX(0);
    }
    100% {
        left: 0;
        transform: translateX(0);
    }
}

.cta-trial__animation-icon {
    position: absolute;
    left: 59px;
    top: 42px;
    width: 59px;
    height: 25px;
}

.cta-trial__cursor {
    position: absolute;
    left: 8px;
    top: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
    animation: cursorMove 2s linear infinite;
}

.cta-trial__cursor svg {
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.5));
}

@keyframes cursorMove {
    0% {
        left: 8px;
        transform: translateX(0);
    }
    45% {
        left: calc(100% - 16px);
        transform: translateX(0);
    }
    50% {
        left: 8px;
        transform: translateX(0);
    }
    100% {
        left: 8px;
        transform: translateX(0);
    }
}

.cta-trial__button-text-container {
    flex: 1;
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
}

.cta-trial__button-text_animation {
    color: transparent;
    background-image: linear-gradient(90deg, rgba(48, 50, 123, 1) 87%, rgba(212, 161, 212, 1) 92%,
    rgba(212, 161, 212, 1) 96%, rgba(48, 50, 123, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 200%;
    background-position: 0 0;
    animation: wave 2s infinite linear;
    z-index: 3;
}

.cta-trial__button-text_bgc {
    position: absolute;
    color: var(--color-blue-500);
    transition: color 0.3s ease;
}

.cta-trial__button-wrapper.active .cta-trial__button-text_bgc {
    color: white;
}

.cta-trial__button-wrapper.active .cta-trial__button-text_animation {
    background-image: linear-gradient(90deg, white 87%, rgba(212, 161, 212, 1) 92%,
    rgba(212, 161, 212, 1) 96%, white);
}

@keyframes wave {
    from {
        -webkit-mask-position: 150%;
        background-position: 150%;
    }
    to {
        -webkit-mask-position: -50%;
        background-position: -50%;
    }
}

.toggle__container {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    max-width: 1100px;
    width: 100%;
    height: 106px;
}

.toggle__circle {
    width: 86px;
    height: 86px;
    background: var(--color-blue-500);
    border-radius: 50%;
    flex-shrink: 0;
}

.toggle__animation {
    width: 59px;
    height: 25px;
    background: linear-gradient(90deg, var(--color-pink-500) 0%, var(--color-blue-500) 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

/* Pricing Section */

.pricing__title {
    color: var(--color-black);
    margin-bottom: var(--titles-margin-bottom);
}

.pricing__cards {
    display: flex;
    gap: 20px;
}

.pricing__card {
    background: var(--color-white);
    border: 1px solid var(--color-blue-500);
    border-radius: 30px;
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing__card--featured {
    background: var(--color-blue-300);
    border-color: var(--color-blue-400);
}

.pricing__card--premium {
    background: var(--color-yellow-400);
    border-color: var(--color-yellow-600);
}

.pricing__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(48, 50, 123, 0.1);
}

.pricing__card-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    margin-bottom: 40px;
}

.pricing__card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing__feature-icon {
    width: 15px;
    height: 11px;
    flex-shrink: 0;
    margin-top: 5px;
}

.pricing__card-footer {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pricing__card-price {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pricing__price-annual {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* FAQ Section */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion__item {
    height: 76px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    transition: height 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

.accordion__trigger {
    all: unset;
    border: 1px solid var(--color-yellow-600);
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: start;
    padding: 25px;
    background-color: white;
    border-radius: 28px;
    transition: color 0.5s ease-in-out, background-color 0.3s ease-in-out;
}

.accordion__content-body {
    padding: 0 25px 25px 25px;
}

.accordion__trigger:hover {
    transform: translateY(0);
    box-shadow: none;
    background-color: var(--color-yellow-400);
    cursor: pointer;
}

.accordion__trigger._active:hover {
    pointer-events: none;
    background-color: initial;
    cursor: default;
}

.accordion__trigger._active {
    border: none;
}

.accordion__trigger._active .toggle__switch, .accordion__trigger._active label, .accordion__trigger._active input {
    pointer-events: none !important;
    cursor: default;
}

.accordion__item._active {
    border: 1px solid var(--color-yellow-600);
}

.accordion__content {
    background-color: white;
    border-radius: 0 0 28px 28px;
    overflow: hidden;
    transition: background-color 0.3s ease-in-out;
}

.accordion___content-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq__title {
    margin-bottom: var(--titles-margin-bottom);
}

/* Footer */
.footer {
    border-top: 1px solid var(--color-yellow-600);
    padding: 33px 0 8px 0;
    margin-bottom: 40px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
    position: relative;
    flex-wrap: wrap;
}

.footer__logo {
    grid-column: 1;
}

.footer__logo img {
    width: 65px;
    height: 65px;
}

.footer__section--contacts {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__section--social {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__section--legal {
    grid-column: 4;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__contacts {
    align-items: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--color-pink-500);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 80px;
    padding: 20px;
    transition: background-color 0.3s ease;
    position: relative;
}

.footer__social-link:hover {
    background: #d67ba8;
}

.footer__social-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.footer__asterisk {
    position: absolute;
    right: 13px;
    top: 13px;
    color: var(--color-white);
}

.footer__note {
    font-size: 12px;
    max-width: 301px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

.footer__link {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .ad-labeling__circles {
        width: 50vw;
        height: 60vw;
    }

    .ad-labeling__circle--statistics {
        width: 19vw;
        height: 19vw;
    }

    .ad-labeling__circle--acts {
        width: 19vw;
        height: 19vw;
    }

    .ad-labeling__circle--erid {
        width: 24vw;
        height: 24vw;
    }

    .ad-labeling__circle--report {
        width: 24vw;
        height: 24vw;
    }

    .cta-trial__button-text {
        font-size: 30px;
    }
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }

    .header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        gap: var(--spacing-lg);
    }

    .header__nav.mobile-menu-open {
        display: flex;
    }

    .nav__link {
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--color-yellow-600);
        width: 100%;
        text-align: center;
    }

    .nav__link:last-child {
        border-bottom: none;
    }

    .hero__title, .cta-trial__title {
        font-size: 70px;
    }

    .cta-trial__toggle, .cta-trial__toggle-ghost, .cta-trial__toggle-ghost_active {
        width: 46px;
        height: 46px;
    }

    .cta-trial__toggle-circle-track {
        left: 22px;
        height: 18px;
        width: 40px;
    }

    .cta-trial__toggle-circle {
        width: 18px;
        height: 18px;
    }

    .hero__content {
        min-height: 500px;
    }

    .hero__description {
        width: 100%;
        height: auto;
        margin: 0 0 30px 0;
        max-width: 400px;
    }

    .intro__cards {
        flex-wrap: wrap;
    }

    .intro-card {
        pointer-events: none;
    }

    .ai-lawyer__content {
        flex-direction: column-reverse;
        align-items: center;
        gap: 25px;
        padding-bottom: 0;
    }

    .ai-lawyer__media {
        top: 0;
        position: relative;
        width: 500px;
        right: 0;
    }

    .ai-lawyer__text {
        padding: 0;
    }

    .contracts__media {
        bottom: 0;
        top: auto;
        transform: translateY(0);
        opacity: 0.8;
    }

    .contracts__content {
        padding-right: 40px;
    }

    .contracts__features {
        max-width: 100%;
        z-index: 3;
    }

    .contracts__cta {
        z-index: 3;
    }

    .ad-labeling__circles {
        position: static;
        top: auto;
        transform: translateY(0);
        align-self: center;
        height: 580px;
        width: 500px
    }

    .ad-labeling__circle--statistics {
        width: 190px;
        height: 190px;
        top: 0;
        right: 20px;
    }

    .ad-labeling__circle--acts {
        width: 190px;
        height: 190px;
        bottom: 0;
        left: 20px;
    }

    .ad-labeling__circle--erid {
        width: 240px;
        left: 0;
        top: 50px;
        height: 240px;
    }

    .ad-labeling__circle--report {
        width: 240px;
        height: 240px;
        bottom: 50px;
        right: 0;
    }

    .ad-labeling__container {
        width: 100%;
        position: relative;
        max-width: 100%;
        transform: translateY(0);
        left: 0;
        top: 0;
    }

    .ad-labeling__content {
        display: flex;
        flex-direction: column;
        padding: 189px 0 161px 0;
    }

    .ad-labeling__text {
        width: auto
    }

    .ad-labeling__description {
        width: auto
    }

    img.ad-labeling__background {
        scale: 1;
        position: absolute;
        object-fit: contain;
        height: 100%;
        left: -110px;
    }

    .testimonials__description-container {
        display: flex;
        gap: 20px;
    }

    .testimonials__cta {
        align-self: start;
        flex-shrink: 0;
    }

    .pricing__cards {
        flex-direction: column;
    }

    .pricing__card-cta {
        align-self: start;
    }

    .footer__content {
        justify-content: start;
    }

    .footer__section, .footer__logo {
        flex: 0 0 48%;
    }

    .benefits__toggle {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    section {
        margin-bottom: 80px;
    }

    :root {
        --font-size-h2: 30px;
    }

    .footer__section, .footer__logo {
        align-items: start;
        flex: 0 0 100%;
    }

    .footer__contacts {
        align-items: start;
    }



    .footer__contact {
        min-width: 50%;
    }

    .hero__description {
        margin-bottom: 40px;
    }

    .hero__decoration img {
        width: 60vw;
    }

    .hero__content {
        height: auto;
        padding: 79px 50px;
    }

    .hero__title, .cta-trial__title {
        font-size: 54px;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .intro__cta_desc {
        display: none;
    }

    .intro__cta_mob {
        display: block;
    }

    .cta-trial__content {
        padding: 50px 40px;
    }

    .cta-trial__button-text {
        font-size: 22px;
    }

    .ad-labeling__background::before {
        display: none;
    }

    .ad-labeling__content {
        gap: 30px;
    }

    .ad-labeling__description {
        font-size: 15px;
    }

    .ad-labeling__note {
        font-size: 13px;
    }

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

    .ad-labeling__circle-title {
        font-size: 16px;
    }

    .ad-labeling__features {
        grid-template-columns: 1fr;
    }

    .testimonials__cta_desc {
        display: none;
    }

    .testimonials__cta_mob {
        display: block;
    }

    .testimonials-swiper .swiper-slide {
        max-width: 100% !important;
    }

    .testimonials__navigation {
        display: none !important;
    }

    .swiper-wrapper {
        margin-bottom: 0 !important;
    }

    .testimonials__card {
        max-width: 100% !important;
    }

    .ad-labeling__feature {
        width: 280px !important;
        height: 280px !important;
        margin: 0 auto;
    }

    .benefits__card {
        width: 100%;
        text-align: center;
    }

    .toggle__container {
        flex-direction: column;
        height: auto;
        padding: var(--spacing-lg);
        text-align: center;
    }
}

@media (max-width: 577px) {
    :root {
        --font-size-h1: 39px;
        --font-size-h2: 26px;
        --font-size-h3: 20px;
        --font-size-h4: 15px;
        --font-size-body-text: 14px;
        --font-size-small-text: 12px;
        --font-size-button: 13px;
        --titles-margin-bottom-sm: 15px;
        --titles-margin-bottom: 20px;
        --text-container-margin-bottom: 20px;
    }

    .toggle__switch .toggle__label::before {
        height: 16px;
        width: 16px;
        left: 4px;
        top: 3px;
    }

    .toggle__switch {
        width: 42px;
        height: 24px;
    }

    input:checked + .toggle__label:before {
        transform: translateX(18px);
    }

    .toggle__switch_small .toggle__label::before {
        height: 14px;
        width: 14px;
        left: 3px;
        top: 2px;
    }

    .toggle__switch_small {
        width: 35px;
        height: 20px;
    }

    input:checked + .toggle__label_small:before {
        transform: translateX(14px);
    }

    .hero__title {
        font-size: var(--font-size-h1);
        margin-bottom: 10px;
        max-width: 290px;
    }

    .hero__description {
        margin-bottom: 20px;
    }

    .hero__cta {
        align-self: stretch;
    }
    
    .hero__decoration {
        position: relative;
        right: 0;
        bottom: 0;
        margin: 20px -20px 0 -10px;
        background-size: contain;

    }

    .hero__decoration img {
        width: 100%;
    }

    .hero__content {
        padding: 25px;
        min-height: 0;
        padding-bottom: 0;
    }

    .container {
        padding: 0 10px;
    }

    .intro__cards {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .intro__cta {
        width: 100%;
    }

    .intro-card {
        max-width: 100%;
    }

    .intro-card__icon {
        height: 100px;
        margin-bottom: 20px;
    }

    .intro-card__title {
        margin-bottom: 5px;
    }

    .ai-lawyer__description {
        margin-bottom: 15px;
    }

    .ai-lawyer__content {
        padding: 25px 25px 0 25px;
    }

    .ai-lawyer__cta {
        width: 100%;
    }

    .ai-lawyer__media {
        width: 123%;
    }

    .ad-labeling__background_desc {
        display: none;
    }

    .ad-labeling__description {
        margin-bottom: 15px;
    }

    .ad-labeling__background_mob {
        display: inline;
    }

    .contracts {
        margin-bottom: 40px;
    }

    .contracts__content {
        padding: 40px 20px 0 20px;
        gap: 0;
    }

    .contracts__text, .contracts__features {
        margin-bottom: 20px;
    }

    .contracts__feature-number {
        width: 30px;
        height: 30px;
        left: 15px;
    }

    .contracts__media {
        height: 395px;
        position: relative;
        opacity: 1;
        align-self: end;
        transform: translateX(20px);
    }

    .contracts__illustration {
        top: 17px;
    }

    .contracts__cta {
        margin-bottom: 3px;
        width: 100%;
    }

    .contracts__feature {
        padding: 15px 15px 15px 55px;
    }

    .contracts__feature-title {
        font-size: 16px;
    }

    .ad-labeling__container {
        padding: 0;
    }

    .ad-labeling__content {
        padding: 120px 0 48px 0;
    }

    .ad-labeling__circles {
        gap: 20px;
        height: 900px;
        justify-content: center;
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100vw;
    }

    img.ad-labeling__background {
        scale: 1;
        left: -136px;
    }

    .ad-labeling__circle {
        pointer-events: none;
        padding: 20px !important;
    }

    .ad-labeling__circle--statistics {
        width: 215px;
        height: 215px;
        right: -11px;
    }

    .ad-labeling__circle--acts {
        width: 215px;
        height: 215px;
        bottom: 0;
        left: -11px;
    }

    .ad-labeling__circle--erid {
        width: 275px;
        height: 275px;
        top: 182px;
        left: -27px;
    }

    .ad-labeling__circle--report {
        width: 275px;
        height: 275px;
        bottom: 183px;
        right: -27px;
    }

    .benefits__toggles {
        gap: 10px;
    }

    .benefits__toggle {
        padding: 20px;
        gap: 25px;
    }

    .testimonials__card {
        padding: 20px;
    }


    .testimonials__avatar {
        width: 136px;
        height: auto;
    }

    .testimonials__author {
        padding-right: 130px;
    }

    .testimonials-swiper {
        padding: 0 10px !important;
        margin-bottom: 10px !important;
    }

    .cta-trial__content {
        padding: 25px;
    }

    .cta-trial__title {
        font-size: var(--font-size-h1);
        width: 100%;
    }

    .cta-trial__description {
        width: 100%;
        margin: 0 0 20px 0;
    }

    .cta-trial__toggle-ghost, .cta-trial__toggle, .cta-trial__toggle-ghost_active {
        width: 35px;
        height: 35px;
    }

    .cta-trial__toggle {
        left: 5px;
    }

    .cta-trial__button-wrapper {
        padding: 5px;
    }

    .cta-trial__toggle-circle-track {
        display: none !important;
    }

    .cta-trial__button-text {
        font-size: 13px;
        text-align: center;
    }

    .cta-trial__button-wrapper {
        padding-right: 20px;
        margin-left: 0;
    }

    .pricing__cards {
        gap: 10px;
    }

    .pricing__card {
        padding: 25px;
    }

    .pricing__card-content {
        gap: 10px;
        margin-bottom: 20px;
    }

    .pricing__feature-icon {
        width: 13px;
        height: 9px;
    }

    .pricing__card-features {
        gap: 5px;
    }

    .pricing__card-price {
        gap: 10px;
    }

    .pricing__card-footer {
        gap: 20px;
    }

    .pricing__card-cta {
        width: 100%;
    }

    .accordion {
        gap: 10px;
    }

    .accordion__trigger {
        padding: 20px;
        gap: 15px;
    }

    .accordion__content-body {
        padding: 0 20px 20px 20px;
    }

    .footer__content {
        gap: 30px;
    }

    .footer__section {
        gap: 15px;
    }

    .footer__logo img {
        width: 44px;
        height: 44px;
    }

    .footer__contact-icon {
        width: 20px;
        height: 20px;
    }

    .footer__contact {
        padding: 12px 15px;
    }
}

.testimonials-swiper {
    width: 100%;
    padding: 0 var(--container-padding);
    margin-bottom: 26px;
    max-width: 1280px;
}

.testimonials-swiper .swiper-slide {
    max-width: 505px;
    height: auto;
    display: flex;
    align-items: stretch;
}

.swiper-wrapper {
    padding-top: 5px;
    margin-bottom: 26px;
}

.testimonials-swiper .swiper-slide .testimonials__card {
    width: 100%;
    overflow: hidden;
    margin: 0;
    max-width: 505px;
}

.testimonials__navigation {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 0;
    width: 110px;
    height: 35px;
    background: var(--color-blue-500);
    border-radius: 30px;
}


.testimonials__nav-btn {
    background: none !important;
    border: none;
    color: var(--color-white) !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    padding: 0;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
}

.testimonials__nav-btn:hover {
    opacity: 0.7;
}

.testimonials__nav-btn svg {
    width: 14px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.testimonials__divider {
    width: 1px;
    height: 15px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== PRELOADER STYLES ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader__logo {
    display: flex;
    width: 88px;
    height: 77px;
    align-items: center;
    margin-bottom: 20px;
}

.preloader__logo svg {
    width: 100%;
    height: 100%;
}

.preloader__text {
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3em;
    color: var(--color-blue-500);
}

body.loaded .preloader {
    display: none;
}

/* Анимация исчезновения лоадера */
body.loaded_hiding .preloader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}