/* =============================================
   ROAS SIMULATOR SECTION V2 - MODERN
============================================= */

.roas-simulator-section {
    padding: 100px 0;
    background-color: #FFFFFF;
    text-align: center;
}

.page-homepage .roas-simulator-section {
    background-color: #F0EEFF;
    padding: 150px 0;
}

.roas-simulator-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.simulator-header h2 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #000B10;
    margin-bottom: 15px;
    line-height: 1.2;
}

.simulator-header .title-highlight {
    display: inline-block;
    padding: 0px 15px;
    border-radius: 30px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: rotate(-2deg);
    margin: 0 5px;
    position: relative;
    z-index: 2;
    line-height: 1;
}

.logo-in-title {
    height: 45px; /* Adjust as needed */
    vertical-align: middle;
    position: relative;
    top: -4px;
}

.simulator-header p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.roas-calculator {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(124, 137, 255, 0.1);
    box-shadow: 0 8px 32px rgba(124, 137, 255, 0.12);
    text-align: left;
}

.calculator-inputs {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 25px;
}

.operator-icon {
    padding-bottom: 15px; /* Re-adjusted for alignment */
    color: #cccccc; /* Lighter grey for discretion */
}

.operator-icon svg {
    width: 22px; /* Smaller size */
    height: 22px;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin: 0 10px;
}

.input-group label {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #000B10;
    margin-bottom: 10px;
}

.input-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    background-color: #f9fafb;
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #7C89FF;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(124, 137, 255, 0.15);
}

.current-gain-wrapper {
    text-align: center;
    margin: 0 0 35px 0;
}

.current-gain-display {
    display: inline-block;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    padding: 10px 20px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #495057;
    transition: all 0.2s ease-in-out;
}

.current-gain-display strong {
    font-weight: 700;
    color: #212529;
    margin-left: 8px;
    font-size: 1.05rem;
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.result-card {
    padding: 30px;
    border-radius: 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



.scenario-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.cpa-reduction {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.roas-result {
    text-align: center;
    margin-top: auto;
}

.gain-value {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-weight: 800;
    font-size: 3.2rem;
    line-height: 1;
}

.gain-label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.future-gain-details {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    opacity: 0.7;
}

/* Scenarios styling */
.scenario-pessimistic {
    background: linear-gradient(135deg, #d11d50, #b81946);
}

.scenario-medium {
    background: linear-gradient(135deg, #6a77e6, #8a96f5);
}

.scenario-optimistic {
    background: linear-gradient(135deg, #50E6D4, #3ccfbe);
}

.simulator-disclaimer {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #9ca3af;
    font-style: italic;
}

/* Responsive */
@media (max-width: 992px) {
    .calculator-inputs, .calculator-results {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .roas-calculator {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .roas-simulator-section {
        padding: 80px 0;
    }
    .simulator-header h2 {
        font-size: 2.5rem;
    }
    .gain-value {
        font-size: 3rem;
    }
}
