:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #ff5252;
    --dark-bg: #0a0c1e;
    --light-bg: #292a42;
    --light-text: #ffffff;
    --dark-text: #8b8ba8;
    --border-color: rgba(255, 255, 255, 0.1);
}

.landing-body {
    background-color: var(--dark-bg);
    background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3h1v1H1V3zm2-2h1v1H3V1z' fill='%23FFFFFF' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    color: var(--light-text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
}

.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    filter: blur(100px);
    opacity: 0.5;
}

.blob {
    position: absolute;
    border-radius: 50%;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(106, 17, 203, 0.4);
    top: -150px;
    left: -200px;
    animation: blob-anim-1 20s infinite alternate;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: rgba(37, 117, 252, 0.3);
    bottom: -250px;
    right: -300px;
    animation: blob-anim-2 25s infinite alternate;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: rgba(255, 82, 82, 0.2);
    bottom: 50px;
    left: 200px;
    animation: blob-anim-3 18s infinite alternate;
}

@keyframes blob-anim-1 {
    from {
        transform: translate(-20%, -10%) scale(1);
    }
    to {
        transform: translate(10%, 20%) scale(1.2);
    }
}

@keyframes blob-anim-2 {
    from {
        transform: translate(10%, 20%) scale(1);
    }
    to {
        transform: translate(-20%, -10%) scale(0.8);
    }
}

@keyframes blob-anim-3 {
    from {
        transform: rotate(0deg) scale(1);
    }
    to {
        transform: rotate(180deg) scale(1.1);
    }
}

.navbar-landing {
    background: rgba(10, 12, 30, 0.7);
    backdrop-filter: blur(12px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--light-text);
}

.hero {
    position: relative;
    padding: 12rem 0 8rem 0;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--light-text) 0%, var(--dark-text) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.hero .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--dark-text);
    max-width: 650px;
    margin: 1.5rem auto 2.5rem auto;
}

.btn-gradient {
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.2);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 117, 252, 0.3);
    color: white;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
}

.section-title p {
    color: var(--dark-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0.5rem auto 0 auto;
}


/* Clients Section */

#clients {
    margin-top: 4rem;
    padding: 2rem 0;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.clients-marquee {
    display: flex;
    width: fit-content;
}

.clients-container {
    display: flex;
    align-items: center;
    animation: scroll-left 40s linear infinite;
}

.client-logo {
    height: 40px;
    margin: 0 40px;
}

@keyframes scroll-left {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}


/* How it works - Horizontal Stepper */

#how-it-works {
    position: relative;
    view-timeline-name: --how-it-works-timeline;
}

.horizontal-steps-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
}

.horizontal-steps-container::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
    z-index: 0;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    animation: draw-line linear both;
    animation-timeline: --how-it-works-timeline;
    animation-range: entry 15% cover 56%;
}

.step-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 30%;
    animation: fade-in-up linear both;
    animation-timeline: --how-it-works-timeline;
}

.step-item:nth-of-type(1) {
    animation-range: entry 20% cover 40%;
}

.step-item:nth-of-type(2) {
    animation-range: entry 35% cover 55%;
}

.step-item:nth-of-type(3) {
    animation-range: entry 50% cover 70%;
}

.step-number {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background-color: var(--light-bg);
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--light-text);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 4px var(--dark-bg);
}

.step-item:hover .step-number {
    transform: scale(1.1) translateY(-3px);
    background-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
}

.step-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.step-content p {
    color: var(--dark-text);
    font-size: 1rem;
    line-height: 1.6;
}


/* Features Section */

.feature-row {
    align-items: center;
    margin-bottom: 6rem;
    view-timeline-name: --feature-timeline;
    view-timeline-axis: block;
}

.feature-row>.slide-from-left {
    animation: slide-in-left linear both;
    animation-timeline: --feature-timeline;
    animation-range: entry 25% cover 50%;
}

.feature-row>.slide-from-right {
    animation: slide-in-right linear both;
    animation-timeline: --feature-timeline;
    animation-range: entry 25% cover 50%;
}

.feature-row .img-fluid {
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-row h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-row p {
    color: var(--dark-text);
    font-size: 1.1rem;
    line-height: 1.7;
}


/* Testimonials Section */

#testimonials {
    background-color: var(--light-bg);
}

.testimonial-card {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    height: 100%;
}

.testimonial-card p {
    font-style: italic;
    color: var(--dark-text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonial-author h5 {
    margin: 0;
    color: var(--light-text);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--dark-text);
}


/* FAQ Section */

#faq .container-fluid {
    max-width: 1200px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: var(--light-text);
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h4 {
    color: var(--primary-color);
}

.faq-icon {
    transition: transform 0.4s ease;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding-top 0.5s ease-out;
    color: var(--dark-text);
    padding-top: 0;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding-top: 1.5rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


/* CTA Section */

#cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 6rem 0;
    text-align: center;
}

#cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--light-text);
}

#cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 1rem auto 2rem auto;
}

.btn-cta {
    background-color: white;
    color: var(--primary-color);
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: scale(1.05);
    background-color: var(--light-text);
    color: var(--primary-color);
}

footer {
    background: #101118;
    padding: 4rem 0 2rem 0;
    color: var(--dark-text);
    text-align: center;
}

.footer-links a {
    color: var(--dark-text);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-text);
}

.social-icons a {
    color: var(--dark-text);
    font-size: 1.5rem;
    margin: 0 0.75rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}


/* Scroll Animation */

.hidden-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show-anim {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slide-in-left {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes draw-line {
    to {
        transform: scaleX(1);
    }
}

@keyframes draw-line-vertical {
    to {
        transform: scaleY(1);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* === Адаптация под мобильные устройства === */

@media (max-width: 767.98px) {
    body {
        overflow-x: hidden;
    }
    .hero {
        padding: 9rem 0 5rem 0;
    }
    .hero h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }
    .hero p {
        font-size: 1.1rem;
    }
    .section {
        padding: 4rem 1rem;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
    .feature-row {
        margin-bottom: 4rem;
    }
    .feature-row h3 {
        font-size: 1.8rem;
    }
    .feature-row p,
    .step-content p {
        font-size: 1rem;
    }
    #cta h2 {
        font-size: 2.2rem;
    }
    @keyframes slide-in-left {
        from {
            transform: translateX(-30px);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    @keyframes slide-in-right {
        from {
            transform: translateX(30px);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    .horizontal-steps-container {
        flex-direction: column;
        align-items: center;
    }
    .feature-row {
        overflow-x: hidden;
    }
    .step-item {
        width: 100%;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-landing {
        padding: 0.8rem 1rem;
    }
    .navbar-landing .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    #clients {
        padding: 1.5rem 0;
    }
    .client-logo {
        height: 30px;
        margin: 0 25px;
    }
    .horizontal-steps-container {
        margin-top: 3rem;
    }
    .step-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .step-item:not(:last-child) {
        margin-bottom: 3rem;
    }
    .step-item .step-content {
        margin-left: 0;
    }
    .step-number {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    .horizontal-steps-container::before {
        display: none;
    }
    .feature-row .text-center {
        margin-bottom: 2rem;
    }
    .feature-row.row {
        --bs-gutter-x: 0;
    }
    .faq-question h4 {
        font-size: 1.1rem;
    }
    .faq-question {
        align-items: flex-start;
    }
    footer {
        padding: 3rem 1rem 1.5rem 1rem;
    }
    .footer-links a {
        margin: 0 0.5rem 0.5rem 0.5rem;
        display: inline-block;
    }
}

@media (max-width: 430px) {
    .hero {
        padding: 8rem 0 4rem 0;
    }
    .hero h1 {
        font-size: 2rem;
        letter-spacing: -1px;
    }
    .section {
        padding: 3rem 0.5rem;
    }
    .section-title h2,
    #cta h2 {
        font-size: 2rem;
    }
    .feature-row h3 {
        font-size: 1.7rem;
    }
    .client-logo {
        height: 25px;
        margin: 0 20px;
    }
    #clients p {
        font-size: 1.1rem;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .section-title h2,
    #cta h2 {
        font-size: 1.8rem;
    }
    .feature-row h3 {
        font-size: 1.5rem;
    }
    .btn-gradient,
    .btn-cta {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}


/* === PRELOADER === */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1b3a 50%, var(--dark-bg) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.preloader-content {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* Основная анимация видеозвонка */

.video-call-animation {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Главный экран */

.main-screen {
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(106, 17, 203, 0.3);
    animation: screen-pulse 2s ease-in-out infinite;
}

.main-screen::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    animation: camera-blink 1.5s ease-in-out infinite;
}


/* Маленькие экраны участников */

.participant-screen {
    width: 40px;
    height: 30px;
    background: var(--light-bg);
    border-radius: 6px;
    position: absolute;
    border: 2px solid var(--primary-color);
    animation: participant-fade 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.participant-screen.p1 {
    top: 15px;
    left: 15px;
    animation-delay: 0s;
}

.participant-screen.p2 {
    top: 15px;
    right: 15px;
    animation-delay: 0.5s;
}

.participant-screen.p3 {
    bottom: 15px;
    left: 15px;
    animation-delay: 1s;
}

.participant-screen.p4 {
    bottom: 15px;
    right: 15px;
    animation-delay: 1.5s;
}


/* Иконки в экранах участников */

.participant-screen::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: participant-icon 2s ease-in-out infinite;
}


/* Кольца соединения */

.connection-ring {
    position: absolute;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.connection-ring.ring1 {
    width: 160px;
    height: 160px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.connection-ring.ring2 {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-top-color: var(--secondary-color);
    animation-delay: 0.5s;
    animation-duration: 1.5s;
}

.connection-ring.ring3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-top-color: var(--accent-color);
    animation-delay: 1s;
    animation-duration: 3s;
}


/* Волны звука */

.sound-waves {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    align-items: end;
    justify-content: center;
}

.sound-wave {
    width: 4px;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}

.sound-wave:nth-child(1) {
    height: 15px;
    animation-delay: 0s;
}

.sound-wave:nth-child(2) {
    height: 25px;
    animation-delay: 0.1s;
}

.sound-wave:nth-child(3) {
    height: 20px;
    animation-delay: 0.2s;
}

.sound-wave:nth-child(4) {
    height: 30px;
    animation-delay: 0.3s;
}

.sound-wave:nth-child(5) {
    height: 18px;
    animation-delay: 0.4s;
}

.sound-wave:nth-child(6) {
    height: 22px;
    animation-delay: 0.5s;
}

.sound-wave:nth-child(7) {
    height: 16px;
    animation-delay: 0.6s;
}


/* Текст загрузки */

.loading-text {
    font-family: 'Montserrat', sans-serif;
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem auto;
    animation: text-glow 2s ease-in-out infinite alternate;
    text-align: center;
    width: 100%;
}

.loading-subtext {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    font-size: 1rem;
    margin: 0 auto 2rem auto;
    text-align: center;
    width: 100%;
}


/* Прогресс-бар */

.progress-container {
    width: 250px;
    height: 4px;
    background: var(--light-bg);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: progress 3s ease-out forwards;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s ease-in-out infinite;
}


/* Плавающие частицы */

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.7;
    animation: float 4s ease-in-out infinite;
    bottom: 0;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1.5s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 2s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 2.5s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 3s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 3.5s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 4s;
}


/* === АНИМАЦИИ === */

@keyframes screen-pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 8px 25px rgba(106, 17, 203, 0.3);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 12px 35px rgba(106, 17, 203, 0.5);
    }
}

@keyframes camera-blink {
    0%,
    90%,
    100% {
        opacity: 1;
    }
    95% {
        opacity: 0.3;
    }
}

@keyframes participant-fade {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes participant-icon {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes wave {
    0%,
    100% {
        transform: scaleY(0.5);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(1.2);
        opacity: 1;
    }
}

@keyframes text-glow {
    0% {
        text-shadow: 0 0 10px rgba(106, 17, 203, 0.5);
        color: var(--light-text);
    }
    100% {
        text-shadow: 0 0 20px rgba(37, 117, 252, 0.8);
        color: #e0e0ff;
    }
}

@keyframes progress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}


/* Адаптация прелоадера для мобильных */

@media (max-width: 768px) {
    .video-call-animation {
        width: 150px;
        height: 150px;
        margin: 0 auto 1.5rem auto;
    }
    .main-screen {
        width: 90px;
        height: 60px;
    }
    .connection-ring.ring1 {
        width: 120px;
        height: 120px;
    }
    .connection-ring.ring2 {
        width: 135px;
        height: 135px;
    }
    .connection-ring.ring3 {
        width: 150px;
        height: 150px;
    }
    .loading-text {
        font-size: 1.2rem;
        margin: 0 auto 0.8rem auto;
    }
    .loading-subtext {
        margin: 0 auto 1.5rem auto;
        font-size: 0.9rem;
    }
    .progress-container {
        width: 200px;
        margin: 0 auto;
    }
    .sound-waves {
        bottom: -30px;
    }
    .participant-screen.p1,
    .participant-screen.p2 {
        top: 12px;
    }
    .participant-screen.p3,
    .participant-screen.p4 {
        bottom: 12px;
    }
    .participant-screen.p1,
    .participant-screen.p3 {
        left: 12px;
    }
    .participant-screen.p2,
    .participant-screen.p4 {
        right: 12px;
    }
}