/* ============================================================
   HERO — главный экран
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 6rem 3rem 3rem;
    background: transparent;
    isolation: isolate;
    z-index: 1;
}

.hero__inner {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    max-width: 720px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.hero__content::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(106, 61, 232, 0.07), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: glow-float-1 8s ease-in-out infinite;
}

.hero__content::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.05), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: glow-float-2 10s ease-in-out infinite;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(106, 61, 232, 0.08);
    border: 1px solid rgba(106, 61, 232, 0.2);
    border-radius: 60px;
    padding: 0.4rem 1.2rem 0.4rem 0.9rem;
    width: fit-content;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9b59b6;
}

.hero__badge .pulse {
    width: 7px;
    height: 7px;
    background: #6a3de8;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    overflow: visible;
}

.hero__title-line1 {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    white-space: nowrap;
}

.hero__title-line2 {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: visible;
    padding: 0 30px 0 0;
}

.hero__title-line2-inner {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #6a3de8, #9b59b6, #6a3de8, #9b59b6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: word-glow 4s ease-in-out infinite;
    white-space: nowrap;
    padding: 4px 0;
    margin: -4px 0;
}

.hero__desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    max-width: 50ch;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.hero__desc-line {
    display: block;
}

.hero__desc-line + .hero__desc-line {
    margin-top: 0.15rem;
}

.hero__usp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 0.5rem;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    padding: 0.1rem 0;
    border-radius: 4px;
    transition: transform 0.3s ease;
    cursor: default;
}

.usp-item strong {
    color: #ffffff;
    font-weight: 500;
    margin-right: 0.15rem;
}

.usp-icon {
    color: #9b59b6;
    font-size: 1.1rem;
    line-height: 1;
    display: inline-block;
    transition: transform 0.3s ease;
}

.usp-item:hover {
    transform: translateX(4px);
}

.usp-item:hover .usp-icon {
    transform: scale(1.2);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #6a3de8, #9b59b6, #6a3de8);
    background-size: 300% 300%;
    border: none;
    padding: 0.85rem 2.8rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 0.02em;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    animation: btn-gradient-shift 3s ease-in-out infinite, btn-pulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #7a4df8, #ab69c6, #7a4df8);
    background-size: 300% 300%;
    animation: btn-gradient-shift 3s ease-in-out infinite, btn-pulse-hover 2s ease-in-out infinite;
}

.btn-secondary {
    background: linear-gradient(135deg, #6a3de8, #ec4899);
    border: none;
    padding: 0.85rem 2.2rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(106, 61, 232, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #7a4df8, #f472b6);
    box-shadow: 0 0 40px rgba(106, 61, 232, 0.4), 0 0 80px rgba(106, 61, 232, 0.2);
    color: #ffffff;
}

.hero__logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 75vh;
    min-height: 450px;
    overflow: visible;
    background: transparent;
}

#logo-container {
    width: 100%;
    height: 100%;
    min-height: 450px;
    max-height: 75vh;
    position: relative;
    background: transparent;
    overflow: visible;
}

#logo-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    object-fit: contain;
}

/* ===== ПРОМО-ТЕКСТ (без таймера и капсулы) ===== */
.hero__promo {
    margin-top: 1.2rem;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    background: transparent;
    border: none;
}

.promo-icon {
    font-size: 1.5rem;
    line-height: 1;
    animation: promoBounce 2.5s ease-in-out infinite;
}

@keyframes promoBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50%      { transform: scale(1.1) rotate(-6deg); }
}

.promo-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.promo-text strong {
    background: linear-gradient(135deg, #6a3de8, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.15rem;
}

/* ============================================================
   АДАПТИВ ДЛЯ HERO
   ============================================================ */

@media (max-width: 1200px) {
    .hero__title-line1,
    .hero__title-line2,
    .hero__title-line2-inner {
        font-size: clamp(2rem, 4.5vw, 3.5rem);
    }
    .hero__title-line1,
    .hero__title-line2 {
        white-space: normal;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 5rem 1.5rem 2rem;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__logo {
        height: 50vh;
        min-height: 350px;
    }

    #logo-container {
        min-height: 350px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 5rem 1rem 2rem;
        min-height: auto;
    }

    .hero__title-line1,
    .hero__title-line2,
    .hero__title-line2-inner {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        white-space: normal;
    }

    .hero__title-line2 {
        padding: 0;
    }

    .hero__desc {
        font-size: 0.95rem;
    }

    .hero__usp {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.85rem 1.5rem;
    }

    .hero__logo {
        height: 40vh;
        min-height: 280px;
    }

    #logo-container {
        min-height: 280px;
    }

    .promo-icon {
        font-size: 1.3rem;
    }

    .promo-text {
        font-size: 0.9rem;
    }

    .promo-text strong {
        font-size: 1rem;
    }
}