/* Footer CTA Section */
.automation-cost-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 80px 20px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.automation-cost-section.fade-out {
    opacity: 0;
}

.automation-cost-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    background: transparent;
    border-radius: 24px;
    border: none;
    padding: 32px 40px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.footer-cloud {
    position: absolute;
    opacity: 0.15;
    filter: hue-rotate(260deg) saturate(1.5) brightness(0.9);
    pointer-events: none;
}

.footer-cloud-1 {
    width: 450px;
    top: 5%;
    left: -120px;
    animation: cloudFloat1 25s ease-in-out infinite;
}

.footer-cloud-2 {
    width: 500px;
    bottom: 5%;
    right: -150px;
    animation: cloudFloat2 30s ease-in-out infinite;
}

@keyframes cloudFloat1 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(200px) translateY(-20px);
    }
}

@keyframes cloudFloat2 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-180px) translateY(30px);
    }
}

.automation-cost-title {
    font-family: "Satoshi-Bold", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    max-width: 900px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.calculator-box {
    background: rgba(139, 92, 246, 0.4);
    border: 2px solid #a78bfa;
    border-radius: 16px;
    padding: 20px 28px;
    margin-bottom: 20px;
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.calculator-label {
    font-family: "Satoshi-Regular", sans-serif;
    font-size: 15px;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.calculator-result {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.calculator-currency {
    font-family: "Satoshi-Medium", sans-serif;
    font-size: 20px;
    color: #1a1a1a;
}

.calculator-amount {
    font-family: "Satoshi-Bold", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #6b21a8;
    line-height: 1;
}

.calculator-period {
    font-family: "Satoshi-Medium", sans-serif;
    font-size: 18px;
    color: #1a1a1a;
}

.calculator-note {
    font-family: "Satoshi-Regular", sans-serif;
    font-size: 13px;
    color: #4a5568;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

.slider-container {
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 1;
    padding-top: 25px;
    padding-bottom: 25px;
}

.input-container {
    max-width: 900px;
    width: 100%;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.input-label {
    display: block;
    font-family: "Satoshi-Medium", sans-serif;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: center;
}

.hourly-rate-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hourly-rate-btn {
    font-family: "Satoshi-Bold", sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid #c4b5fd;
    background: #e9d5ff;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hourly-rate-btn:hover {
    border-color: #a78bfa;
    background: #ddd6fe;
}

.hourly-rate-btn.active {
    background: #c4b5fd;
    color: #1a1a1a;
    border-color: #a78bfa;
}

.hourly-rate-btn.active:hover {
    background: #a78bfa;
    border-color: #8b5cf6;
}

.slider-label {
    display: block;
    font-family: "Satoshi-Medium", sans-serif;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.slider-value-centered {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Satoshi-Bold", sans-serif;
    font-size: 180px;
    color: #8b5cf6;
    font-weight: 700;
    text-align: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.slider-wrapper {
    position: relative;
    z-index: 2;
}

.hours-slider {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #5b21b6 0%, #7c3aed 50%, #a78bfa 100%);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.hours-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    background: #e5e7eb;
    border: 3px solid #9ca3af;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hours-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
}

.hours-slider::-moz-range-thumb {
    width: 32px;
    height: 32px;
    background: #e5e7eb;
    border: 3px solid #9ca3af;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hours-slider::-moz-range-thumb:active {
    cursor: grabbing;
}

.slider-value {
    position: absolute;
    top: 0;
    left: 25%;
    transform: translateX(-50%);
    font-family: "Satoshi-Bold", sans-serif;
    font-size: 32px;
    color: #bef264;
    font-weight: 700;
    transition: left 0.1s ease;
}

.automation-cost-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.automation-cost-primary-btn {
    background: #6b46c1;
    color: #ffffff;
    border-radius: 50px;
    padding: 16px 40px;
    font-family: "Satoshi-Medium", sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.3);
    transition: all 0.3s ease;
}

.automation-cost-primary-btn:hover {
    background: #5a3aa3;
    box-shadow: 0 15px 35px rgba(107, 70, 193, 0.4);
    transform: translateY(-2px);
}

.automation-cost-secondary-btn {
    background: #4a2c7a;
    color: #ffffff;
    border-radius: 50px;
    padding: 16px 40px;
    font-family: "Satoshi-Medium", sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(74, 44, 122, 0.3);
    transition: all 0.3s ease;
}

.automation-cost-secondary-btn:hover {
    background: #3a2261;
    box-shadow: 0 15px 35px rgba(74, 44, 122, 0.4);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .automation-cost-section {
        padding: 60px 20px;
    }
    
    .automation-cost-container {
        padding: 48px 24px 56px;
    }
    
    .automation-cost-title {
        font-size: 28px;
    }
    
    .calculator-amount {
        font-size: 32px;
    }
    
    .hidden-mobile {
        display: none;
    }
}

@media (max-width: 640px) {
    .automation-cost-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .automation-cost-primary-btn,
    .automation-cost-secondary-btn {
        width: 100%;
        justify-content: center;
    }
}
