/* Hero Section - стиль как на lpt.bz */

.hero-section {
    position: relative;
    min-height: auto;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f1f3f5 100%);
    overflow: hidden;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a2e;
    padding: 0 20px 40px;
}

/* Декоративные фигуры на фоне (как на lpt.bz) */
.shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    animation: floatShape 8s infinite ease-in-out alternate;
}

.shape-1 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #e0dffd 20%, #8782f5 60%, #463bcc);
    box-shadow: 5px 8px 15px rgba(70, 59, 204, 0.25), inset -3px -3px 8px rgba(0, 0, 0, 0.1);
    top: 15%;
    left: 10%;
    animation-duration: 9s;
    animation-delay: -2s;
}

.shape-2 {
    width: 45px;
    height: 45px;
    border-radius: 40% 60% 70% 30% / 40% 50% 50% 50%;
    background: radial-gradient(circle at 40% 30%, #ffffff, #fedbf4 20%, #f988d4 60%, #d543a6);
    box-shadow: 8px 10px 15px rgba(213, 67, 166, 0.2), inset -5px -5px 10px rgba(0, 0, 0, 0.1);
    bottom: calc(25% - 50px);
    right: 15%;
    animation-duration: 12s;
    animation-delay: -5s;
    transform: rotate(20deg);
}

.shape-3 {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background: linear-gradient(135deg, #aeeaeb, #41e1d7);
    box-shadow: 4px 8px 15px rgba(65, 225, 215, 0.25), inset 1px 1px 5px rgba(255, 255, 255, 0.8);
    top: 25%;
    right: 25%;
    transform: rotate(45deg);
    animation: floatSpin 12s infinite linear;
}

.shape-4 {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #fff3c4 30%, #ffc800 80%, #e6a000);
    box-shadow: 3px 5px 10px rgba(255, 200, 0, 0.25), inset -3px -3px 8px rgba(0, 0, 0, 0.1);
    bottom: 35%;
    left: 20%;
    animation-duration: 10s;
    animation-delay: -7s;
}

.shape-5 {
    width: 40px;
    height: 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, #ffc800, #ff8c00);
    box-shadow: 4px 6px 12px rgba(255, 140, 0, 0.2), inset 1px 1px 5px rgba(255, 255, 255, 0.5);
    top: 50%;
    left: 5%;
    transform: rotate(-15deg);
    animation-duration: 11s;
    animation-delay: -1s;
}

@keyframes floatShape {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes floatSpin {
    0% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-40px) rotate(135deg);
    }
    100% {
        transform: translateY(0) rotate(405deg);
    }
}

/* Фоновые свечения (обновленные) */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.8;
    animation: flow 15s infinite alternate ease-in-out;
    pointer-events: none;
}

.glow-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(135, 206, 250, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    top: -10%;
    left: -20%;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 218, 221, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    right: -10%;
    animation-delay: -5s;
    transform-origin: center center;
}

@keyframes flow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1) translate(50px, -30px);
        opacity: 0.9;
    }
    100% {
        transform: scale(0.95) translate(-40px, 40px);
        opacity: 0.6;
    }
}



/* Навигация */
.navbar {
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logotype {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo-icon img {
    height: 36px;
    width: auto;
}

.header-logo-text .robozvon {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #6236ff 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-phone-base {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.header-phone-base:hover {
    opacity: 0.7;
}

.header-callback {
    color: #1a1a2e;
    text-decoration: none;
    padding: 10px;
    border: 2px solid rgba(98, 54, 255, 0.3);
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.header-callback:hover {
    background: rgba(98, 54, 255, 0.1);
    border-color: rgba(98, 54, 255, 0.5);
}

/* Кнопка "Как это работает" справа вверху (как на lpt.bz) */
.how-works-btn {
    position: absolute;
    top: 140px;
    right: 160px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #6236ff;
    z-index: 100;
    padding: 8px;
    background: transparent;
    transition: all 0.3s ease;
}

.how-works-btn:hover {
    opacity: 0.8;
}

.curved-arrow {
    width: 80px;
    height: 50px;
    color: currentColor;
    animation: arrowWiggle 3s infinite ease-in-out;
}

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

.play-circle-icon {
    width: 36px;
    height: 36px;
    color: currentColor;
    flex-shrink: 0;
    animation: playPulse 2.5s infinite ease-in-out;
}

@keyframes playPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.how-works-text {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-align: left;
}

/* Основной контент Hero */
.hero-content {
    position: relative;
    z-index: 10;
    width: 68%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

/* Бейджи */
.badges-container {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(98, 54, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(98, 54, 255, 0.2);
    color: #1a1a2e;
    text-decoration: none;
    transition: all 0.3s ease;
}



.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.badge-outline {
    background: transparent;
    border: 1px solid rgba(98, 54, 255, 0.3);
}

.badge-icon {
    font-size: 16px;
}

/* Заголовок Hero */
.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #6236ff 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Подзаголовок Hero */
.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 32px;
    max-width: 800px;
}

/* Кнопки действий */
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Manrope', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #6236ff 0%, #ff6b9d 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(98, 54, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(98, 54, 255, 0.5);
}

.btn-white {
    background: #fff;
    color: #1a1a2e;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.phone-icon-btn,
.arrow-icon {
    width: 20px;
    height: 20px;
}

.btn-white .arrow-icon {
    stroke: #1a1a2e;
}

.btn-primary .phone-icon-btn {
    stroke: #fff;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 0 15px 30px;
    }

    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .header-info {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .header-callback {
        width: 100%;
        text-align: center;
        margin-top: -35px;
    }

    /* На мобилках кнопка слева вверху вертикально */
    .how-works-btn {
        display: none;
        position: static;
        flex-direction: column;
        gap: 6px;
        margin: 0 0 20px 0;
        padding: 0;
        align-items: center;
    }
    
    .curved-arrow {
        display: none; /* Скрываем изогнутую стрелку */
    }
    
    .how-works-btn::after {
        content: '';
        display: block;
        width: 35px;
        height: 50px;
        background-image: url('data:image/svg+xml,<svg viewBox="0 0 40 60" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 5 Q 32 30 20 50" stroke="%236236ff" stroke-width="3" stroke-linecap="round" fill="none"/><path d="M14 42 L 20 50 L 26 44" stroke="%236236ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>');
        background-repeat: no-repeat;
        background-size: contain;
        animation: arrowBounceDown 2.5s infinite ease-in-out;
    }
    
    @keyframes arrowBounceDown {
        0%, 100% { 
            transform: translateY(0) rotate(0deg); 
        }
        50% { 
            transform: translateY(8px) rotate(-2deg); 
        }
    }
    
    .play-circle-icon {
        width: 42px;
        height: 42px;
    }
    
    .how-works-text {
        font-size: 14px;
    }

    .hero-content {
        padding: 0;
        width: 90%;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

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

    .btn-primary,
    .btn-white {
        width: 100%;
        justify-content: center;
    }

    .shape {
        filter: blur(60px);
    }
}

@media (max-width: 480px) {
    .hide-mob{
        display: none;
    }
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .btn-primary,
    .btn-white {
        padding: 14px 24px;
        font-size: 14px;
    }

    .header-logo-text .robozvon {
        font-size: 20px;
    }
}

/* Совместимость со старыми классами */
.main-button.js-open-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Подчеркивание текста (как на lpt.bz) */
.drawn-underline-wrapper {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.drawn-underline-svg {
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 20px;
    pointer-events: none;
}

/* Старые стили удалены - кнопка теперь badge */

/* Модальное окно для звонка с ботом */
.phone-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.phone-modal-container {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

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

.phone-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.phone-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.phone-modal-body {
    text-align: center;
    color: #fff;
}

.phone-modal-body h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.phone-modal-body h2 span {
    background: linear-gradient(135deg, #6236ff 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.phone-modal-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.phone-modal-body > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.phone-number {
    margin: 30px 0;
}

.phone-number a {
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    background: linear-gradient(135deg, #6236ff 0%, #ff6b9d 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(98, 54, 255, 0.4);
}

.phone-number a:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(98, 54, 255, 0.5);
}

.modal-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.modal-divider::before {
    left: 0;
}

.modal-divider::after {
    right: 0;
}

.modal-divider span {
    display: inline-block;
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.callback-form input[type="tel"] {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.callback-form input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.callback-form input[type="tel"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #6236ff;
}

.callback-submit-btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(135deg, #6236ff 0%, #ff6b9d 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(98, 54, 255, 0.4);
}

.callback-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(98, 54, 255, 0.5);
}

.callback-success-msg {
    margin-top: 20px;
    padding: 15px;
    background: rgba(74, 222, 128, 0.2);
    border: 2px solid rgba(74, 222, 128, 0.5);
    border-radius: 10px;
    color: #4ade80;
    font-weight: 600;
}

/* Мобильная версия модального окна */
@media (max-width: 768px) {
    .phone-modal-container {
        padding: 30px 20px;
    }

    .phone-modal-body h2 {
        font-size: 24px;
    }

    .phone-number a {
        font-size: 24px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .phone-number a {
        font-size: 20px;
    }
}
