@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap');

:root {
    --brand-orange: #ff9900;
    --brand-orange-soft: #fff0d6;
    --brand-blue: #2c3e50;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

html, body {
    height: 100%;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    /* Фон: Сложный градиент (пятна) */
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 153, 0, 0.08) 0%, transparent 40%), radial-gradient(circle at 90% 60%, rgba(44, 62, 80, 0.05) 0%, transparent 40%), radial-gradient(circle at 50% 90%, rgba(255, 153, 0, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

/* Типографика */
h1, h2, h3, h4, h5 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(45deg, var(--brand-blue), var(--brand-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Стеклянная шапка (Glassmorphism) */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    /* Чуть больше воздуха сверху и снизу для крупного лого */
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.header-phone {
    font-weight: 700;
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1rem;
    line-height: 1.5;
}

    .header-phone:hover {
        color: var(--brand-orange);
    }

/* Герой-блок */
.hero-section {
    padding: 100px 0 60px;
    position: relative;
}

    /* УВЕЛИЧЕНИЕ ПЛАШКИ "15 ЛЕТ НА РЫНКЕ" */
    .hero-section .badge {
        font-size: 1.1rem !important;
        padding: 12px 25px !important;
        margin-bottom: 1.5rem !important;
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    }

/* Карточки преимуществ и товаров */
.feature-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(255, 153, 0, 0.15);
        border-color: var(--brand-orange);
    }

    /* Декоративное пятно в углу карточки */
    .feature-card::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 100px;
        height: 100px;
        background: var(--brand-orange-soft);
        border-radius: 50%;
        filter: blur(40px);
        z-index: 0;
    }

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    padding: 12px;
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

/* === СТИЛИ ДЛЯ КАРТИНОК ТОВАРОВ === */
.product-img-container {
    height: 280px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

    .product-img-container img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        /* Картинка вписывается целиком */
        object-fit: contain;
        /* Тень товару */
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
        transition: transform 0.4s ease;
        z-index: 1;
    }

        /* === ИНДИВИДУАЛЬНЫЕ РАЗМЕРЫ ТОВАРОВ === */

        /* Увеличение ПСУЛ */
        .product-img-container img[src*="psul"] {
            transform: scale(1.45);
        }

        /* Увеличение КЛ (сильнее, т.к. она мелкая) */
        .product-img-container img[src*="kl"] {
            transform: scale(1.65);
        }

        /* Увеличение НЛ (как ПСУЛ) */
        .product-img-container img[src*="nl"] {
            transform: scale(1.5);
        }

        /* Уменьшение ЛШ (шумоизоляция), чтобы не заполняла весь квадрат */
        .product-img-container img[src*="lsh"] {
            transform: scale(0.85);
        }

/* === ЭФФЕКТЫ НАВЕДЕНИЯ === */

/* Базовое увеличение для всех остальных */
.feature-card:hover .product-img-container img {
    transform: scale(1.08);
}

    /* Наведение на ПСУЛ */
    .feature-card:hover .product-img-container img[src*="psul"] {
        transform: scale(1.55);
    }

    /* Наведение на КЛ */
    .feature-card:hover .product-img-container img[src*="kl"] {
        transform: scale(1.75);
    }

    /* Наведение на НЛ */
    .feature-card:hover .product-img-container img[src*="nl"] {
        transform: scale(1.6);
    }

    /* Наведение на ЛШ (чуть увеличиваем, но всё равно меньше 100%) */
    .feature-card:hover .product-img-container img[src*="lsh"] {
        transform: scale(0.95);
    }


/* Кнопки */
.btn-primary-custom {
    background: var(--brand-blue);
    color: white;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    border: none;
    transition: transform 0.2s;
    text-decoration: none;
}

    .btn-primary-custom:hover {
        background: var(--brand-orange);
        color: white;
        transform: scale(1.05);
    }

.btn-outline-custom {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid #eee;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    transition: all 0.2s;
    text-decoration: none;
}

    .btn-outline-custom:hover {
        border-color: var(--brand-blue);
        background: var(--brand-blue);
        color: white;
    }

/* Детальная страница */
.call-to-action-box {
    background: linear-gradient(135deg, #fff8e1 0%, #fff 100%);
    border-left: 5px solid var(--brand-orange);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

/* Таблицы */
.specs-table {
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

    .specs-table th {
        width: 40%;
        background-color: #f8f9fa;
        font-weight: 600;
        color: #495057;
    }

/* Футер */
footer {
    background: #f9f9f9;
    border-top: 1px solid #eee;
    margin-top: auto;
}

/* Элементы списка (галочки) */
.custom-list-item {
    position: relative;
    padding-left: 2rem;
    border: none !important;
    background: transparent !important;
}

.check-icon {
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 20px;
    height: 20px;
    background-color: var(--brand-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .check-icon::after {
        content: '';
        display: block;
        width: 5px;
        height: 9px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
        margin-bottom: 2px;
    }

/* === АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ === */
@media (max-width: 991px) {
    /* Уменьшаем отступ сверху на телефонах */
    .hero-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* Немного уменьшаем заголовок H1 */
    h1.display-3 {
        font-size: 2.5rem;
    }

    /* Кнопка меню (бургер) */
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }

    /* Корректировка размера лого на мобильных - делаем крупно, как на картинке */
    .navbar-brand span:first-child {
        font-size: 1.8rem !important;
    }

    .navbar-brand span:last-child {
        font-size: 0.9rem !important;
    }
}

/* === БЕЙДЖ РАЗРАБОТЧИКА В ФУТЕРЕ === */
.legion-badge {
    text-decoration: none;
    color: #212529; /* Темно-серый (почти черный) цвет текста для контраста */
    font-size: 0.85rem;
    font-weight: 600; /* Сделали шрифт чуть жирнее */
    padding: 6px 14px;
    border-radius: 50px; /* Полностью круглые края */
    background-color: #ffffff; /* Чистый белый фон */
    border: 1px solid #ced4da; /* Более заметная серая рамка */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Легкая тень для объема */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .legion-badge:hover {
        color: var(--brand-orange); /* При наведении текст становится оранжевым */
        border-color: var(--brand-orange);
        box-shadow: 0 4px 8px rgba(255, 153, 0, 0.15);
        transform: translateY(-2px);
    }

    .legion-badge .heart {
        color: #dc3545; /* Насыщенный красный для сердца */
        font-size: 1.1rem;
        display: inline-block;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .legion-badge:hover .heart {
        transform: scale(1.4);
    }
