/* assets/css/blocks/hero.css — Премиум стили первого экрана (Hero-баннер) */

/* ====== ВНЕШНЯЯ СЕКЦИЯ: на всю ширину страницы ====== */
.hero-section-fullwidth {
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

/* ====== ОСНОВНОЙ БЛОК ====== */
.hero-block {
    position: relative;
    width: 100%;
    min-height: 520px;
    background-color: #070B14;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

/* Фоновая картинка */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-block:hover .hero-bg {
    transform: scale(1.03);
}

/* Оверлей затемнения */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Декоративное сияние */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 2;
}

.hero-glow-blue {
    width: 420px;
    height: 420px;
    top: -100px;
    left: 15%;
    background: radial-gradient(circle, rgba(0, 91, 255, 0.4) 0%, rgba(0, 91, 255, 0) 70%);
}

.hero-glow-magenta {
    display: none;
}

/* ====== ВНУТРЕННИЙ КОНТЕЙНЕР ====== */
.hero-inner-container {
    max-width: 80rem; /* 1280px */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5rem 1.25rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .hero-inner-container {
        padding: 3.5rem 2rem;
    }
}

@media (min-width: 1200px) {
    .hero-inner-container {
        padding: 4.25rem 2rem;
    }
}

/* ====== СЕТКА HERO ====== */
.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hero-grid.is-split {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .hero-grid.is-split {
        grid-template-columns: 1.22fr 0.98fr;
        gap: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .hero-grid.is-split {
        grid-template-columns: 1.25fr 0.95fr;
        gap: 3.5rem;
    }
}

.hero-grid.is-leadgen {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .hero-grid.is-leadgen {
        grid-template-columns: 1.2fr 0.9fr;
        gap: 3rem;
    }
}

/* ====== ЛЕВАЯ КОЛОНКА (CONTENT) ====== */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: #FFFFFF;
}

/* Бейдж УТП */
.hero-badge-wrapper {
    display: flex;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: fit-content;
}

.hero-badge i {
    color: #FBBF24;
    font-size: 0.95rem;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: heroDotBlink 2s infinite ease-in-out;
}

@keyframes heroDotBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Заголовок H1 */
.hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin: 0;
    text-wrap: balance;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.6rem;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.1rem;
        line-height: 1.12;
    }
}

.hero-title-gradient {
    color: #38BDF8;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: initial;
    display: inline;
    filter: none;
}

/* Описание */
.hero-desc {
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.85);
    line-height: 1.55;
    margin: 0;
    max-width: 44rem;
}

@media (min-width: 768px) {
    .hero-desc {
        font-size: 1.05rem;
    }
}

/* ====== КНОПКИ ДЕЙСТВИЙ ====== */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-top: 0.35rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.hero-btn i {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.hero-btn-arrow {
    font-size: 0.9rem !important;
    opacity: 0.8;
}

/* Главная кнопка */
.hero-btn-primary {
    background: #005BFF;
    color: #FFFFFF !important;
    border: 1px solid #005BFF;
    box-shadow: 0 4px 16px rgba(0, 91, 255, 0.35);
}

.hero-btn-primary:hover {
    background: #004ED6;
    border-color: #004ED6;
    box-shadow: 0 6px 20px rgba(0, 91, 255, 0.5);
    transform: translateY(-2px);
    color: #FFFFFF !important;
}

.hero-btn-primary:hover .hero-btn-arrow {
    transform: translateX(4px);
}

/* Стеклянная вторичная кнопка */
.hero-btn-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.hero-btn-glass:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    color: #FFFFFF !important;
}

/* ====== СЕТКА УТП ПРЕИМУЩЕСТВ ====== */
.hero-usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .hero-usp-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
}

.hero-usp-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.65rem 0.85rem;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-usp-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.hero-usp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: rgba(0, 91, 255, 0.15);
    color: #38BDF8;
    font-size: 1.15rem;
    flex-shrink: 0;
    border: 1px solid rgba(0, 91, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-usp-card:hover .hero-usp-icon {
    transform: scale(1.08);
    background: #005BFF;
    color: #FFFFFF;
    border-color: #005BFF;
    box-shadow: 0 4px 14px rgba(0, 91, 255, 0.35);
}

.hero-usp-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hero-usp-label {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-usp-desc {
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.7);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ====== ПРАВАЯ КОЛОНКА: ПРОМО-ВИТРИНА (SHOWCASE) ====== */
.hero-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-showcase-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #0F172A;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.hero-showcase-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Внутреннее свечение */
.hero-showcase-glow {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(0, 91, 255, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

/* 1. Верхний ряд чипов (Склад + Сертификат) */
.hero-showcase-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.hero-showcase-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
}

.chip-stock {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34D399;
}

.hero-stock-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 8px #34D399;
    display: inline-block;
}

.chip-cert {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #E2E8F0;
}

.chip-cert i {
    color: #38BDF8;
    font-size: 0.85rem;
}

/* 2. Центральная область с изображением товара */
.hero-showcase-img-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    max-height: 225px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 0.75rem;
    overflow: hidden;
}

.hero-showcase-img {
    max-width: 100%;
    height: auto;
    max-height: 195px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
    border-radius: 10px;
    transition: transform 0.45s ease;
}

.hero-showcase-card:hover .hero-showcase-img {
    transform: scale(1.04);
}

/* 3. Полоса преимуществ товара (Заправка / Доставка) */
.hero-showcase-badges-row {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.65rem;
}

.hero-mini-badge {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.hero-mini-badge.badge-amber {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #FBBF24;
}

.hero-mini-badge.badge-amber i {
    color: #F59E0B;
}

.hero-mini-badge.badge-blue {
    background: rgba(0, 91, 255, 0.12);
    border: 1px solid rgba(0, 91, 255, 0.3);
    color: #60A5FA;
}

.hero-mini-badge.badge-blue i {
    color: #38BDF8;
}

.hero-mini-badge:hover {
    transform: translateY(-1px);
}

/* 4. Нижняя плашка спецпредложения */
.hero-showcase-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    margin-top: 0.65rem;
}

.hero-showcase-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hero-showcase-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
}

.hero-showcase-discount {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-ozon-magenta);
}

.hero-showcase-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--color-ozon-blue);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 91, 255, 0.4);
}

.hero-showcase-btn:hover {
    background: #0043D6;
    transform: scale(1.1);
    color: #FFFFFF;
}

/* ====== LEADGEN КАРТОЧКА БЫСТРОГО ЗАКАЗА ====== */
.hero-leadgen-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-width: 440px;
    width: 100%;
}

.hero-leadgen-header {
    margin-bottom: 1.15rem;
}

.hero-leadgen-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #FBBF24;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    margin-bottom: 0.4rem;
}

.hero-leadgen-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 0.25rem 0;
}

.hero-leadgen-desc {
    font-size: 0.8rem;
    color: #94A3B8;
    margin: 0;
}

.hero-leadgen-secure {
    font-size: 10px;
    color: #94A3B8;
    text-align: center;
    margin-top: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.hero-leadgen-secure i {
    color: #10B981;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-block {
        min-height: auto;
    }
    .hero-inner-container {
        padding: 2rem 1rem;
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-showcase-card {
        max-width: 100%;
        padding: 1.15rem;
    }
    .hero-showcase-img-wrap {
        min-height: 170px;
        max-height: 200px;
    }
    .hero-showcase-img {
        max-height: 170px;
    }
    .hero-showcase-badges-row {
        flex-direction: column;
        gap: 0.35rem;
    }
    .hero-mini-badge {
        width: 100%;
    }
}
