/* Jelly button animation */
.circle-button {
    position: relative;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: jellyFloat 3s ease-in-out infinite;
    overflow: hidden;
}

.circle-button:hover {
    transform: scale(1.05);
}

@keyframes jellyFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.circle-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.8s ease;
}

.circle-button:hover::before {
    left: 100%;
}

/* Title animation */
.title {
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Span animations */
.span-intelegence {
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both;
}

.span-intelegence:nth-child(2) {
    animation-delay: 0.3s;
}

.span-intelegence:nth-child(4) {
    animation-delay: 0.6s;
}

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

/* Block animations */
.block-taste, .block-why-open-maker, .block-price, .block-questions {
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.block-taste {
    animation-delay: 0.2s;
}

.block-why-open-maker {
    animation-delay: 0.4s;
}

.block-price {
    animation-delay: 0.6s;
}

.block-questions {
    animation-delay: 0.8s;
}

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

/* Hover effects for items */
.item-why-open-maker {
    transition: all 0.4s ease;
}

.item-why-open-maker:hover {
    transform: translateY(-3px);
}

.item-block-price {
    transition: all 0.4s ease;
}

.item-block-price:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Star icon animation */
.star-icon {
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Button hover effects */
.button-make-work {
    transition: all 0.4s ease;
}

.button-make-work:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Form input animation */
input[type="text"] {
    transition: all 0.4s ease;
}

input[type="text"]:focus {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Questions block animations */
.block-questions {
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.item-block-questions-form {
    transition: all 0.4s ease;
}

.item-block-questions-form input[type="text"] {
    transition: all 0.4s ease;
}

.item-block-questions-form input[type="text"]:focus {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.item-block-questions-form button {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.item-block-questions-form button:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.item-block-questions-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s ease;
}

.item-block-questions-form button:hover::before {
    left: 100%;
}

.item-block-questions-tg {
    transition: all 0.4s ease;
}

.open-maker {
    transition: all 0.4s ease;
}

.open-maker-tg button {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.open-maker-tg button:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.open-maker-tg button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s ease;
}

.open-maker-tg button:hover::before {
    left: 100%;
}

/* Логотип контейнер */
.logo-container {
    position: relative;
    z-index: 5;
}

.work-selection-block-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 1200px;
    border: none;
    outline: none;
    overflow: visible;
}