/* Calculator Section Styles */
.calculator {
    padding: 60px 0;
    background-color: #f8fafc;
}

.calculator-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.calc-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.calc-group {
    position: relative;
}

.calc-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
}

.calc-group input,
.calc-group select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.calc-group input:focus,
.calc-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.calc-group i {
    position: absolute;
    right: 16px;
    bottom: 14px;
    color: #64748b;
}

.calculator-form button[type="submit"] {
    display: block;
    width: 100%;
    margin: 30px 0 0;
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 600;
}

.calc-result {
    display: none;
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.calc-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(147, 51, 234, 0.01));
    pointer-events: none;
}

.calc-result.show {
    display: block;
}

.calc-result h3 {
    margin-bottom: 30px;
    color: #1e293b;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.result-info {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.result-item {
    text-align: center;
    flex: 1;
}

.result-item span {
    display: block;
    color: #64748b;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
}

.result-item strong {
    display: block;
    font-size: 32px;
    color: #3b82f6;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.calc-note {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
    position: relative;
    z-index: 1;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .calculator-form {
        padding: 20px;
    }
    
    .calc-row {
        grid-template-columns: 1fr;
    }
    
    .result-info {
        flex-direction: column;
        gap: 15px;
    }
}