.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.feature-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.feature-card .card-body .tariff-content {
    flex-grow: 1;
}

.feature-card .card-body .tariff-button {
    margin-top: auto;
    padding-top: 1rem;
}

/* Стили для карточек тарифов */
.tariff-card {
    background: white;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tariff-card .card-body {
    padding: 1rem !important;
}

/* Компактные размеры для тарифных карточек */
.tariff-card .price .h2 {
    font-size: 1.5rem !important;
}

.tariff-card .price .text-muted {
    font-size: 0.85rem !important;
}

.tariff-card .text-muted {
    font-size: 0.9rem !important;
}

.tariff-card .list-unstyled li {
    font-size: 0.85rem !important;
    margin-bottom: 0.4rem !important;
}

.tariff-card .btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
}

.tariff-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem;
    text-align: center;
    margin: 0;
}

.tariff-header h5 {
    margin: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.recommended-badge {
    position: absolute;
    top: 2rem;
    right: -2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 2.5rem 0.3rem 1.5rem;
    border-radius: 0.25rem;
    font-size: 0.6rem;
    font-weight: bold;
    z-index: 10;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.gradient-button {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.gradient-button:hover {
    background: linear-gradient(135deg, #357abd 0%, #2c5aa0 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.stats-section {
    background: #f8f9fa;
    padding: 25px 0;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
}

/* Стили для блока "Примеры применения" */
.use-case-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.use-case-icon {
    text-align: center;
    margin-bottom: 20px;
}

.use-case-card h4 {
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.use-case-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    padding-left: 25px;
    color: #666;
    font-size: 0.95rem;
}

.use-case-card ul li:last-child {
    border-bottom: none;
}

.use-case-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

.use-case-card ul li:hover {
    color: #333;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding-left: 30px;
    margin-left: -5px;
    margin-right: -5px;
}

/* Стили для VIP бейджей */
.use-case-card .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

.use-case-card .badge.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%) !important;
    color: #000 !important;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

/* Адаптивность для карточек применения */
@media (max-width: 768px) {
    .use-case-card {
        padding: 20px;
        margin: 15px 0;
    }
    
    .use-case-card h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .use-case-card ul li {
        font-size: 0.9rem;
        padding: 6px 0;
    }
    
    .use-case-card .badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
}

.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

/* Улучшение контрастности для лучшей читаемости */
.hero-section h1 {
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.hero-section .lead {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

/* Улучшение видимости кнопок */
.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* Стили для кнопок с страницы менеджеров */
.btn-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.contact-info {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

/* VIP тариф стили */
.vip-tariff-container {
    display: flex;
    justify-content: center;
}

.vip-tariff {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 2px solid #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

/* Адаптивность для тарифов */
@media (min-width: 1200px) {
    .vip-tariff {
        transform: scale(1.02);
    }
    
    /* Для 5 тарифов в ряд на больших экранах */
    .col-xl {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .vip-tariff {
        transform: scale(1.01);
    }
    
    /* На планшетах возвращаем стандартное поведение */
    .col-xl {
        flex: 0 0 auto;
        max-width: none;
    }
}

.vip-tariff::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: vip-shine 3s infinite;
}

@keyframes vip-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.vip-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: vip-pulse 2s infinite;
}

@keyframes vip-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.vip-header {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    font-weight: bold;
}

.vip-header h5 {
    color: #1a1a2e;
    text-shadow: none;
}

.vip-price {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 2.5rem;
}

.text-gold {
    color: #ffd700 !important;
}

.vip-button {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: none;
    color: #1a1a2e;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.vip-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    color: #1a1a2e;
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

.vip-tariff .card-body {
    color: white;
}

.vip-tariff .text-muted {
    color: #b8b8b8 !important;
}

.vip-tariff .list-unstyled li {
    color: white;
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .vip-tariff-container {
        margin-top: 1rem;
    }
    
    .vip-tariff {
        transform: none;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .vip-tariff {
        transform: none;
        margin-bottom: 1rem;
        max-width: 100%;
    }
    
    .vip-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    
    .vip-price {
        font-size: 2rem;
    }
    
    .vip-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Стили для пояснений к тарифам */
.tariff-explanations {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px 30px;
    margin-top: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.tariff-explanations h4 {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.explanation-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
    position: relative;
    overflow: hidden;
}

.explanation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.explanation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.explanation-marker {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.explanation-content {
    flex: 1;
}

.explanation-content strong {
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.explanation-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Адаптивность для пояснений */
@media (max-width: 768px) {
    .tariff-explanations {
        padding: 25px 20px;
        margin-top: 20px;
        border-radius: 15px;
    }
    
    .tariff-explanations h4 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .explanation-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .explanation-item {
        padding: 20px;
        border-radius: 12px;
    }
    
    .explanation-marker {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        margin-right: 15px;
    }
    
    .explanation-content strong {
        font-size: 1rem;
    }
    
    .explanation-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .tariff-explanations {
        padding: 20px 15px;
    }
    
    .explanation-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .explanation-marker {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
}
