/* ===== СЕКЦИЯ КАЛЬКУЛЯТОРА ===== */
.calculator-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #06b3b3 100%);
}

.calculator-header {
    text-align: center;
    margin-bottom: 60px;
}

.calculator-header h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.calculator-header h2 i {
    color: #4a6cf7;
    margin-right: 15px;
}

.calculator-subtitle {
    color: #666;
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== КОНТЕНТ С ТРЕМЯ КАРТОЧКАМИ ===== */
.calculator-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== ОБЩИЕ СТИЛИ КАРТОЧЕК ===== */
.benefits-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.benefits-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4a6cf7, #3a5ce5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefits-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(74, 108, 247, 0.1);
}

.benefits-card:hover::before {
    opacity: 1;
}

/* ===== ИКОНКИ КАРТОЧЕК ===== */
.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.benefits-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Разные цвета для каждой карточки */
.calculator-left .card-icon {
    background: linear-gradient(135deg, #4a6cf7 0%, #3a5ce5 100%);
}

.calculator-center .card-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
}

.calculator-right .card-icon {
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
}

/* ===== ЗАГОЛОВКИ КАРТОЧЕК ===== */
.benefits-card h2 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.benefits-card h2 i {
    margin-right: 10px;
}

/* ===== ОПИСАНИЯ КАРТОЧЕК ===== */
.card-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* ===== КНОПКИ ===== */
.card-btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 180px;
}

/* Разные стили кнопок для каждой карточки */
.calculator-left .card-btn {
    background: linear-gradient(135deg, #4a6cf7 0%, #3a5ce5 100%);
    color: white;
}

.calculator-left .card-btn:hover {
    background: white;
    color: #4a6cf7;
    border-color: #4a6cf7;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 108, 247, 0.2);
}

.calculator-center .card-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
}

.calculator-center .card-btn:hover {
    background: white;
    color: #ff6b6b;
    border-color: #ff6b6b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}

.calculator-right .card-btn {
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    color: white;
}

.calculator-right .card-btn:hover {
    background: white;
    color: #25D366;
    border-color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ДЕТАЛИ ===== */
.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(74, 108, 247, 0.1);
    color: #4a6cf7;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .calculator-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 20px;
    }
    
    .calculator-right {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .calculator-section {
        padding: 70px 0;
    }
    
    .calculator-header h2 {
        font-size: 2.2rem;
    }
    
    .calculator-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .calculator-right {
        grid-column: span 1;
    }
    
    .benefits-card {
        padding: 30px 20px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .benefits-card h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .calculator-header h2 {
        font-size: 1.8rem;
    }
    
    .calculator-subtitle {
        font-size: 1rem;
    }
    
    .card-btn {
        padding: 12px 25px;
        min-width: 160px;
    }
}