footer .footer-msg {
    display: none;
}
.container {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.header {
    background: linear-gradient(147deg, #0d51d9, #3e95ed);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}
.hero-section h1 {
    margin-top: 24px;
}
.header h2 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: #fff;
}
.paragraph-1 {
    margin-bottom: 58px;
}
.download_report {
    cursor: pointer;
}

.calculator-wrapper {
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    overflow: hidden;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.main-content {
    /* display: grid;
    grid-template-columns: 1fr 1fr; */
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
    padding: 40px;
}

.main-content>div {
    width: calc(100% - 20px);
    overflow: hidden;
}


.steps-inner-wrapper {
    display: flex;
    align-items: start;
    width: 300%;
    transition: all 0.5s;
}

.input-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.input-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(147deg, #0d51d9, #3e95ed);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.form-group {
    margin-bottom: 40px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.calculate-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(147deg, #0d51d9, #3e95ed);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
}

.results-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.results-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    text-align: center;
}

.results-placeholder .icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(147deg, #0d51d9, #3e95ed);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.result-card {
    background: linear-gradient(135deg, #f8f9ff, #e8ecff);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #0d51d9;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.result-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
}

.roi-highlight {
    background: linear-gradient(135deg, #00c851, #007e33);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 10px 25px rgba(0, 200, 81, 0.3);
}

.roi-highlight h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.roi-highlight .roi-value {
    font-size: 2.5rem;
    font-weight: 800;
}

.narrative {
    background: url('./images/bottom-bg.svg') no-repeat bottom right, url('./images/top-bg.svg') no-repeat top left, linear-gradient(135deg, #1a1a2e, #28365c);
    color: white;
    padding: 40px;
    text-align: center;
}

.narrative h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.narrative-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    width: 100%;
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.step.active, .narrative-steps .step {
    opacity: 1;
    visibility: visible;
}

.narrative-steps .step {
    padding: 25px;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    background: linear-gradient(147deg, #0d51d9, #3e95ed);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.cta-section {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 40px;
    text-align: center;
}

.cta-btn {
    background: white;
    color: #ff6b35;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .narrative-steps {
        grid-template-columns: 1fr;
    }
}

.hidden {
    display: none;
}

.show {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}



@media (min-width: 300px) {
    .result-value {
        flex-wrap: wrap;
        gap: 0;
        line-height: 120%;
    }
    .hero-section .primary-button {
        margin-right: 0;
    }
    .header {
        padding: 30px;
    }
    .header p {
        margin-bottom: 0;
        text-align: left;
    }
    .main-content {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    .narrative h2, .narrative p {
        text-align: left;
    }
    .narrative button {
        width: 100%;
    }
    .footer-msg button {
        margin-right: 0;
        padding: 14px 14px!important;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .header p {
        text-align: center;
    }
    .result-value {
        gap: 8px;
    }
}
@media (min-width: 1024px) {
    .narrative-steps {
        grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    }
    .narrative h2, .narrative p {
        text-align: center;
    }
    .narrative button {
        width: fit-content;
    }
    .footer-msg button {
        width: fit-content;
    }
}