/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

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

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-heading);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

h4 {
    font-size: var(--font-size-h4);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    text-align: center;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: var(--font-size-large);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-header);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: var(--spacing-md);
}

.header__logo .logo-link {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.nav__list {
    display: none;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav__link {
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-1);
    transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__item--auth-mobile {
    display: none;
}

.nav__link--auth {
    font-weight: var(--font-weight-medium);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    display: inline-block;
    border: 1px solid var(--color-border);
    background: white;
    transition: all var(--transition-base);
}

.nav__link--auth::after {
    display: none;
}

.nav__link--auth:hover {
    color: var(--color-accent-1);
    border-color: var(--color-accent-1);
}

.nav__link--register {
    background: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
    color: white;
    border: 1px solid transparent;
}

.nav__link--register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: transparent;
}

.header__auth {
    display: none;
    align-items: center;
    gap: var(--spacing-sm);
    padding-left: var(--spacing-md);
    margin-left: var(--spacing-md);
    position: relative;
}

.header__auth::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: var(--color-border);
}

.header__auth-link {
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
    background: white;
}

.header__auth-link:hover {
    color: var(--color-accent-1);
    border-color: var(--color-accent-1);
}

.header__auth-link--register {
    background: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
    color: white;
    border: 1px solid transparent;
}

.header__auth-link--register:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: transparent;
}

.header__burger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
}

.header__burger span {
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-base);
}

.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.nav__list.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    gap: var(--spacing-sm);
    z-index: 10;
}

.nav__list.mobile-open .nav__item--auth-mobile {
    display: block;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
    margin-top: var(--spacing-xs);
}

@media (min-width: 768px) {
    .nav__list {
        display: flex;
    }

    .nav__item--auth-mobile {
        display: none !important;
    }

    .header__burger {
        display: none;
    }

    .header__auth {
        display: flex;
    }
}

/* Main Content */
main {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    padding: 8rem 0 calc(4rem + 120px);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    margin-top: 70px;
    background-image: url(/images/landing/bg.png);
    background-size: cover;
    position: relative;
    z-index: 1;
    margin-bottom: -120px;
    mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__content {
    text-align: center;
}

.hero__title {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-h1);
}

.hero__subtitle {
    font-size: var(--font-size-large);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    margin-bottom: var(--spacing-xxl);
}

.hero__form {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.hero__form-title {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-h3);
}

.quick-form__row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.quick-form__field {
    flex: 1;
}

.quick-form__label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
}

.quick-form__input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-base);
}

.quick-form__input:focus {
    outline: none;
    border-color: var(--color-accent-1);
}

@media (min-width: 768px) {
    .quick-form__row {
        flex-direction: row;
        align-items: flex-end;
    }

    .quick-form__field:last-child {
        flex: 0 0 auto;
    }
}

/* Problem/Solution Section */
.problem-solution {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
    position: relative;
    z-index: 1;
}

.problem-solution__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.problem-solution__item {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.problem-solution__problem {
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-error);
}

.problem-solution__solution {
    padding-top: var(--spacing-md);
}

.problem-solution__title {
    font-size: var(--font-size-h4);
    margin-bottom: var(--spacing-sm);
}

.problem-solution__text {
    color: var(--color-text-light);
}

@media (min-width: 768px) {
    .problem-solution__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .problem-solution__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* How It Works Section */
.how-it-works {
    padding: calc(var(--spacing-xxl) * 1.5) 0;
    background: var(--color-bg-light);
    position: relative;
    z-index: 1;
}

.how-it-works .section-title {
    margin-bottom: calc(var(--spacing-xl) * 1.5);
}

.how-it-works__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    position: relative;
}

.step {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius-lg);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-1);
}

.step__number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin: 0 auto var(--spacing-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    transition: all var(--transition-base);
}

.step:hover .step__number {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 127, 31, 0.4);
}

.step__title {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semibold);
}

.step__description {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: var(--font-size-base);
}

/* Мобильная версия */
@media (max-width: 767px) {
    .how-it-works {
        padding: var(--spacing-xxl) 0;
    }

    .how-it-works__steps {
        gap: var(--spacing-lg);
    }

    .step {
        padding: var(--spacing-lg);
    }

    .step__number {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

/* Планшетная версия */
@media (min-width: 768px) and (max-width: 1199px) {
    .how-it-works__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
        max-width: 900px;
        margin: 0 auto;
    }

    .step {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .step__number {
        width: 75px;
        height: 75px;
        font-size: 1.875rem;
    }
}

/* Десктопная версия */
@media (min-width: 1200px) {
    .how-it-works__steps {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xl);
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 var(--spacing-xl);
    }

    .step {
        padding: var(--spacing-xxl) var(--spacing-xl);
    }

    .step__number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    /* Стрелки между шагами в первом ряду */
    .step:nth-child(1)::after,
    .step:nth-child(2)::after {
        content: '→';
        position: absolute;
        right: -2rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2.5rem;
        color: var(--color-accent-1);
        font-weight: var(--font-weight-bold);
        z-index: 1;
        opacity: 0.6;
    }

    /* Стрелки между шагами во втором ряду */
    .step:nth-child(4)::after,
    .step:nth-child(5)::after {
        content: '→';
        position: absolute;
        right: -2rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2.5rem;
        color: var(--color-accent-1);
        font-weight: var(--font-weight-bold);
        z-index: 1;
        opacity: 0.6;
    }
}

/* Why Us Section */
.why-us {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
    position: relative;
    z-index: 1;
}

.why-us__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.benefit {
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.benefit__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    color: var(--color-accent-1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit__title {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.benefit__description {
    color: var(--color-text-light);
}

@media (min-width: 768px) {
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .why-us__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Target Audience Section */
.target-audience {
    padding: var(--spacing-xxl) 0;
    position: relative;
    z-index: 1;
}

.target-audience__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.audience-card {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.audience-card__title {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.audience-card__description {
    opacity: 0.9;
}

.audience-card--ecom {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    background-image: url('/images/landing/ecom.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.audience-card--ecom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 127, 31, 0.85) 0%, rgba(243, 21, 63, 0.85) 100%);
    z-index: 1;
}

.audience-card--ecom .audience-card__title,
.audience-card--ecom .audience-card__description {
    position: relative;
    z-index: 2;
}

.audience-card--factory {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    background-image: url('/images/landing/factory.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.audience-card--factory::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 127, 31, 0.85) 0%, rgba(243, 21, 63, 0.85) 100%);
    z-index: 1;
}

.audience-card--factory .audience-card__title,
.audience-card--factory .audience-card__description {
    position: relative;
    z-index: 2;
}

.audience-card--novice {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    background-image: url('/images/landing/novice.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.audience-card--novice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 127, 31, 0.85) 0%, rgba(243, 21, 63, 0.85) 100%);
    z-index: 1;
}

.audience-card--novice .audience-card__title,
.audience-card--novice .audience-card__description {
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .target-audience__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
    position: relative;
    z-index: 1;
}

.testimonials-swiper {
    padding: var(--spacing-lg) 0;
}

.testimonial {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    height: auto;
}

.testimonial__content {
    margin-bottom: var(--spacing-md);
}

.testimonial__text {
    font-style: italic;
    color: var(--color-text);
    font-size: var(--font-size-large);
    line-height: 1.6;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.testimonial__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.testimonial__name {
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.testimonial__position {
    color: var(--color-text-light);
    font-size: var(--font-size-small);
}

.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
    color: var(--color-accent-1);
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: var(--color-accent-1);
}

/* CTA Final Section */
.cta-final {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    background-image: url('/images/landing/form_bg.png');
    position: relative;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: visible;
    margin-top: -120px;
    padding-top: calc(var(--spacing-xxl) + 120px);
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 127, 31, 0.85) 0%, rgba(243, 21, 63, 0.85) 100%);
    z-index: 1;
}

.cta-final__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-final__title {
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta-final__subtitle {
    font-size: var(--font-size-large);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-form {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: left;
}

.cta-form__row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.cta-form__field {
    flex: 1;
}

.cta-form__field--full {
    flex: 1 1 100%;
}

.cta-form__input,
.cta-form__textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-base);
    font-family: inherit;
}

.cta-form__input:focus,
.cta-form__textarea:focus {
    outline: none;
    border-color: var(--color-accent-1);
}

.cta-form__textarea {
    resize: vertical;
}

.cta-form button {
    width: 100%;
    margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
    .cta-form__row {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .cta-final {
        margin-top: -79px;
        padding-top: calc(var(--spacing-xxl) + 80px);
    }
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer__column {
    text-align: center;
}

.footer__logo .logo-link {
    color: white;
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
}

.footer__description {
    margin-top: var(--spacing-sm);
    opacity: 0.8;
}

.footer__title {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-h4);
}

.footer__list {
    list-style: none;
}

.footer__item {
    margin-bottom: var(--spacing-xs);
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-base);
}

.footer__link:hover {
    color: white;
}

.footer__address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.8);
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    list-style: none;
}

.footer__social-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__social-link:hover {
    color: white;
}

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-small);
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer__column {
        text-align: left;
    }

    .footer__social {
        justify-content: flex-start;
    }
}

@media (min-width: 1200px) {
    .footer__content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: var(--z-modal-overlay);
}

.modal__content {
    position: relative;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: var(--z-modal);
    box-shadow: var(--shadow-lg);
}

.modal__close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: 2rem;
    line-height: 1;
    color: var(--color-text-light);
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-base);
}

.modal__close:hover {
    color: var(--color-text);
}

.modal__title {
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.modal-form__field {
    margin-bottom: var(--spacing-md);
}

.modal-form__input,
.modal-form__textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-base);
    font-family: inherit;
}

.modal-form__input:focus,
.modal-form__textarea:focus {
    outline: none;
    border-color: var(--color-accent-1);
}

.modal-form__textarea {
    resize: vertical;
}

.modal-form__input.error,
.modal-form__textarea.error {
    border-color: var(--color-error);
}

.modal-form__error {
    color: var(--color-error);
    font-size: var(--font-size-small);
    margin-top: var(--spacing-xs);
    display: none;
}

.modal-form__error.show {
    display: block;
}

.modal-form button {
    width: 100%;
    margin-top: var(--spacing-md);
}

/* Success Message */
.success-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.success-message.active {
    display: flex;
}

.success-message__content {
    position: relative;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-modal);
}

.success-message__text {
    font-size: var(--font-size-large);
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
}

.success-message__close {
    width: 100%;
}

/* Section Dividers - Декоративные элементы между секциями */
.section-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Wave Divider */
.section-divider--wave {
    height: 120px;
    color: var(--color-bg-light);
    margin-top: -1px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.section-divider--wave .divider-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.section-divider--wave-reverse {
    height: 120px;
    color: var(--color-bg-light);
    margin-top: -1px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.section-divider--wave-reverse .divider-svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes waveMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-50px);
    }
}

@keyframes waveMoveReverse {
    0%, 100% {
        transform: scaleX(-1);
    }
    50% {
        transform: scaleX(-1);
    }
}

/* Geometric Shapes Divider */
.section-divider--geometric {
    height: 100px;
    background: linear-gradient(135deg, #ff7f1f 0%, #f3153f 50%, #ff5a23 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.divider-shapes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.divider-shape {
    animation: float 6s ease-in-out infinite;
}

.divider-shape--circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.divider-shape--square {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    animation-delay: 1s;
}

.divider-shape:nth-child(1) {
    animation-delay: 0s;
}

.divider-shape:nth-child(2) {
    animation-delay: 2s;
}

.divider-shape:nth-child(3) {
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
}

/* Gradient Divider */
.section-divider--gradient {
    height: 80px;
    position: relative;
    overflow: hidden;
}

.divider-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #ff7f1f 20%,
        #f3153f 40%,
        #ff5a23 60%,
        #ffb21e 80%,
        transparent 100%
    );
    animation: gradientShift 8s ease-in-out infinite;
    position: relative;
}

.divider-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 127, 31, 0.3) 25%,
        rgba(243, 21, 63, 0.3) 50%,
        rgba(255, 90, 35, 0.3) 75%,
        transparent 100%
    );
    animation: gradientShift 8s ease-in-out infinite reverse;
}

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

/* Dots Divider */
.section-divider--dots {
    height: 100px;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.divider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.divider-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7f1f, #f3153f);
    display: block;
    animation: dotPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 127, 31, 0.5);
}

.divider-dots span:nth-child(1) {
    animation-delay: 0s;
    background: linear-gradient(135deg, #ff7f1f, #ffb21e);
}

.divider-dots span:nth-child(2) {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, #f3153f, #ff7f1f);
}

.divider-dots span:nth-child(3) {
    animation-delay: 0.8s;
    background: linear-gradient(135deg, #ff5a23, #f3153f);
}

.divider-dots span:nth-child(4) {
    animation-delay: 1.2s;
    background: linear-gradient(135deg, #ffb21e, #ff5a23);
}

.divider-dots span:nth-child(5) {
    animation-delay: 1.6s;
    background: linear-gradient(135deg, #ff7f1f, #ffb21e);
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Line Divider */
.section-divider--line {
    height: 60px;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section-divider--line.section-divider--gradient {
    background-image: linear-gradient(#f9f9f9, #ffffff);
}

.section-divider--line.section-divider--gradient_revert {
    background-image: linear-gradient(#ffffff, #f9f9f9);
}
.divider-line {
    width: 100%;
    max-width: 800px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #ff7f1f 20%,
        #f3153f 50%,
        #ff5a23 80%,
        transparent 100%
    );
    position: relative;
    overflow: hidden;
}

.divider-line__accent {
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: lineShine 3s ease-in-out infinite;
}

@keyframes lineShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Wave scale animation */
/* @keyframes waveScaleAnimation {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.05); 
    }
}

.divider-svg {
    transform-origin: bottom; 
    animation: waveScaleAnimation 3s ease-in-out infinite alternate; 
} */

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-divider--wave,
    .section-divider--wave-reverse {
        height: 80px;
    }

    .section-divider--geometric {
        height: 70px;
    }

    .divider-shape--circle {
        width: 40px;
        height: 40px;
    }

    .divider-shape--square {
        width: 35px;
        height: 35px;
    }

    .divider-shapes {
        gap: 1rem;
    }

    .section-divider--gradient {
        height: 60px;
    }

    .section-divider--dots {
        height: 80px;
    }

    .divider-dots {
        gap: 1rem;
    }

    .divider-dots span {
        width: 10px;
        height: 10px;
    }

    .section-divider--line {
        height: 50px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

