/* Funnel Conversion Optimizer Calculator Styles */

/* Calculator Container Styles */
.calculator-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-bottom: 80px;
}

.calculator-wrapper {
    background: #fff;
    padding: 40px;
    border: 1px solid var(--pinstripe);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.calculator-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shaddow);
}

.calculator-info {
    padding-top: 20px;
}

.info-card {
    background: #fff;
    padding: 32px;
    border: 1px solid var(--pinstripe);
    border-radius: 2px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shaddow);
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--black);
}

.info-card p {
    color: var(--body-display);
    margin-bottom: 24px;
    line-height: 1.6;
}

.feature-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    color: var(--body-display);
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange-red);
    font-weight: bold;
}

.service-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-badge.popular {
    background: linear-gradient(135deg, var(--orange-red) 0%, #FF8E53 90%);
    color: white;
    box-shadow: 0 2px 12px rgba(255, 75, 39, 0.15);
}

@media (max-width: 991px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .calculator-info {
        padding-top: 0;
    }
}

/* Form Section Styles */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--pinstripe);
}

.form-section h3 {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    color: var(--black);
    font-weight: 500;
}

/* Funnel Stage Styles */
.funnel-stage {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background-color: var(--grey);
    border-radius: 2px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.funnel-stage:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--orange-red) 0%, #FF8E53 90%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.funnel-stage:hover:after {
    opacity: 1;
}

.funnel-stage:hover {
    box-shadow: 0 8px 16px var(--shaddow);
    transform: translateY(-2px);
    border-color: var(--pinstripe);
    padding-left: 1.5rem;
}

.stage-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.stage-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--orange-red) 0%, #FF8E53 90%);
    box-shadow: 0 2px 12px rgba(255, 75, 39, 0.15);
    color: black !important;
    border-radius: 50%;
    font-weight: 600;
    margin-right: 0.75rem;
}

.stage-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
}

/* Form Group Styles - Aligned with other calculators */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1rem;
    position: relative;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 1px solid var(--pinstripe);
    border-radius: 2px;
    font-size: 15px;
    color: var(--black) !important;
    background-color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange-red);
    box-shadow: 0 0 0 3px rgba(255, 75, 39, 0.1);
}

.form-group input::placeholder {
    color: #a0a8b9;
}

.input-hint {
    font-size: 12px;
    color: var(--body-display);
    margin-top: 4px;
    transition: color 0.3s ease;
}

.form-group.error input,
.form-group.error select {
    border-color: var(--orange-red);
}

.form-group.error .input-hint {
    color: var(--orange-red);
}

.validation-error {
    color: var(--orange-red);
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

/* Button Styles - Aligned with other calculators */
.form-buttons {
    display: flex;
    gap: 16px;
    margin-top: 2rem;
}

.calculate-button,
.secondary-button {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-radius: 2px;
    transition: all 0.3s ease;
    padding: 14px 24px;
    cursor: pointer;
    border: 1px solid transparent;
}

.calculate-button {
    background-color: var(--orange-red);
    color: white;
    border: none;
}

.calculate-button:hover {
    background-color: #e63e1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 39, 0.2);
}

.secondary-button {
    background-color: transparent;
    color: var(--black);
    border: 1px solid var(--pinstripe);
}

.secondary-button:hover {
    background-color: var(--grey);
    transform: translateY(-2px);
}

/* Results Container Styles */
.results-container {
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
    display: block;
    padding-top: 20px;
    position: relative;
    margin-top: 40px;
}

.results-container.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.results-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--pinstripe) 0%, transparent 100%);
}

.results-container h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--black);
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.results-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-red) 0%, #FF8E53 100%);
    border-radius: 2px;
}

.results-container h4 {
    margin: 2rem 0 1.25rem;
    font-size: 1.25rem;
    color: var(--black);
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
}

.results-container h4::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    background: linear-gradient(135deg, var(--orange-red) 0%, #FF8E53 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Funnel Visualization */
.funnel-visualization {
    height: 300px;
    margin-bottom: 2rem;
    position: relative;
    background-color: var(--grey);
    border-radius: 2px;
    padding: 24px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}

.funnel-visualization:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shaddow);
}

.funnel-visualization::before {
    content: 'Funnel Visualization';
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--body-display);
    opacity: 0.7;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.result-card {
    padding: 1.25rem;
    background-color: var(--grey);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shaddow);
}

.result-label {
    font-size: 14px;
    color: var(--body-display);
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
}

/* Stage Metrics */
.stage-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

.stage-metric-card {
    padding: 1.25rem;
    background-color: var(--grey);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stage-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shaddow);
}

.stage-metric-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stage-metric-card:hover:before {
    opacity: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stage-metric-weak {
    border-left: 3px solid #f87171;
}

.stage-metric-average {
    border-left: 3px solid #fbbf24;
}

.stage-metric-strong {
    border-left: 3px solid #34d399;
}

.stage-metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.stage-metric-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}

.stage-metric-rate {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
}

.stage-metric-benchmark {
    font-size: 12px;
    color: var(--body-display);
    margin-bottom: 0.75rem;
}

.stage-metric-bar {
    height: 8px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.stage-metric-progress {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.stage-metric-weak .stage-metric-progress {
    background-color: #f87171;
}

.stage-metric-average .stage-metric-progress {
    background-color: #fbbf24;
}

.stage-metric-strong .stage-metric-progress {
    background-color: #34d399;
}

/* Recommendations */
.recommendations-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.recommendation-item {
    padding: 1.25rem;
    background-color: var(--grey);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.recommendation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shaddow);
}

.recommendation-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.recommendation-description {
    font-size: 14px;
    color: var(--body-display);
    line-height: 1.5;
}

/* What-If Analysis Section */
.what-if-section {
    background-color: var(--grey);
    border-radius: 2px;
    padding: 30px;
    margin: 40px 0 30px;
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid rgba(255, 159, 64, 0.8);
    box-shadow: 0 2px 8px var(--shaddow);
}

.what-if-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--shaddow);
}

.what-if-section::before {
    content: 'Simulation';
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--body-display);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.what-if-section p {
    color: var(--body-display);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.5;
}

/* What-If Controls */
.what-if-controls {
    margin: 30px 0;
    position: relative;
    padding: 0 20px;
    user-select: none; /* Prevent text selection */
}

/* Slider Track Base */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #e0e0e0;
    outline: none;
    margin: 30px 0;
    cursor: pointer;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #d0d0d0;
    user-select: none; /* Prevent text selection */
}

/* Slider Track Fill */
input[type="range"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--value-percent, 20%);
    height: 100%;
    background: linear-gradient(to right, rgba(255, 159, 64, 0.6), rgba(255, 159, 64, 0.9));
    border-radius: 5px 0 0 5px;
    z-index: 1;
}

/* Slider Track Styling */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    border-radius: 5px;
    border: none;
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    border-radius: 5px;
    border: none;
}

/* Slider Thumb Styling */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 159, 64, 0.8) 0%, rgba(255, 159, 64, 1) 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: grab;
    border: 2px solid white;
    transition: all 0.2s ease;
    margin-top: -10px; /* Center the thumb on the track */
    position: relative;
    z-index: 2;
}

input[type="range"]::-webkit-slider-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

/* Add grip lines to the thumb */
input[type="range"]::-webkit-slider-thumb {
    background-image: 
        linear-gradient(to right, transparent 10px, white 10px, white 12px, transparent 12px),
        linear-gradient(to right, transparent 18px, white 18px, white 20px, transparent 20px);
    background-repeat: no-repeat;
    background-position: center center;
}

input[type="range"]::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 159, 64, 0.8) 0%, rgba(255, 159, 64, 1) 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: grab;
    border: 2px solid white;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
    background-image: 
        linear-gradient(to right, transparent 10px, white 10px, white 12px, transparent 12px),
        linear-gradient(to right, transparent 18px, white 18px, white 20px, transparent 20px);
    background-repeat: no-repeat;
    background-position: center center;
}

/* Slider Thumb Hover and Active States */
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

input[type="range"]:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.05);
}

input[type="range"]:active::-moz-range-thumb {
    cursor: grabbing;
    transform: scale(1.05);
}

/* Add visual indicators to the scale */
.what-if-improvement-scale {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--body-display);
    margin-top: 8px;
    padding: 0 10px;
    position: relative;
}

.what-if-improvement-scale span {
    position: relative;
    padding-top: 10px;
}

.what-if-improvement-scale span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Add drag instructions */
.what-if-controls::before {
    content: 'Drag to adjust';
    position: absolute;
    top: -20px;
    right: 20px;
    left: auto;
    transform: none;
    font-size: 12px;
    color: var(--body-display);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    background: white;
    padding: 2px 8px;
    border-radius: 10px;
    z-index: 5;
}

/* Current Value Indicator */
#whatIfValue {
    text-align: center;
    font-weight: 700;
    color: rgba(255, 159, 64, 1);
    margin: 20px 0 30px;
    font-size: 18px;
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(255, 159, 64, 0.1);
    border-radius: 20px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#whatIfValue::before {
    content: '🚀';
    margin-right: 8px;
    font-size: 16px;
}

#whatIfValue::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(255, 159, 64, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .what-if-controls {
        padding: 0 15px;
        margin: 25px 0;
    }
    
    input[type="range"] {
        margin: 25px 0;
    }
    
    .what-if-controls::before {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .what-if-controls {
        padding: 0 10px;
        margin: 20px 0;
    }
    
    input[type="range"] {
        height: 8px;
        margin: 20px 0;
    }
    
    input[type="range"]::-webkit-slider-thumb {
        width: 26px;
        height: 26px;
        margin-top: -9px;
    }
    
    input[type="range"]::-moz-range-thumb {
        width: 26px;
        height: 26px;
    }
    
    .what-if-controls::before {
        display: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .results-grid,
    .stage-metrics-grid,
    .recommendations-container,
    .what-if-results {
        grid-template-columns: 1fr;
    }
    
    .what-if-controls {
        grid-template-columns: 1fr;
    }
    
    .funnel-visualization {
        height: 250px;
        padding: 20px;
    }
}

/* Form input styles to ensure text is visible */
.form-group input,
.form-group select {
    color: var(--black) !important; /* Force black text color */
    background-color: white !important; /* Force white background */
}

/* Enhanced Stage Metrics */
.stage-metrics h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.stage-metrics h4::before {
    background: linear-gradient(135deg, rgba(54, 162, 235, 0.8) 0%, rgba(54, 162, 235, 1) 100%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

/* Enhanced Optimization Section */
.optimization-section h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.optimization-section h4::before {
    background: linear-gradient(135deg, rgba(153, 102, 255, 0.8) 0%, rgba(153, 102, 255, 1) 100%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

/* Enhanced What-If Section */
.what-if-section h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.what-if-section h4::before {
    background: linear-gradient(135deg, rgba(255, 159, 64, 0.8) 0%, rgba(255, 159, 64, 1) 100%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

/* Improved Range Slider */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--grey);
    outline: none;
    margin: 10px 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--orange-red);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--orange-red);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: none;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(255, 75, 39, 0.2);
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(255, 75, 39, 0.2);
}

/* Improved What-If Value Display */
#whatIfValue {
    display: inline-block;
    padding: 4px 8px;
    background: var(--grey);
    border-radius: 4px;
    font-weight: 500;
    color: var(--black);
    min-width: 50px;
    text-align: center;
}

/* Loading State for Calculate Button */
.calculate-button.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.calculate-button.loading:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Improved CTA Section */
.cta-section {
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(255, 75, 39, 0.05) 0%, rgba(255, 142, 83, 0.05) 100%);
    border-radius: 2px;
    padding: 40px;
    border: 1px solid var(--pinstripe);
    transition: all 0.3s ease;
}

.cta-section:hover {
    box-shadow: 0 8px 24px var(--shaddow);
    transform: translateY(-2px);
}

.cta-content h2 {
    font-size: 24px;
    color: var(--black);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--body-display);
    margin-bottom: 24px;
}

.link-arrow {
    color: var(--orange-red);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.link-arrow:hover {
    transform: translateX(4px);
}

/* Make CTA section link more visible */
.cta-section .link-arrow {
    color: var(--orange-red);
    font-weight: 600;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-section .link-arrow:hover {
    background-color: #fff;
    transform: translateX(4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Print Styles */
@media print {
    .calculator-section {
        padding: 0;
    }
    
    .calculator-wrapper {
        box-shadow: none !important;
        border: none !important;
        transform: none !important;
    }
    
    .form-buttons, 
    .calculator-info,
    .cta-section,
    .footer-section,
    .breadcrumb {
        display: none !important;
    }
    
    .results-container {
        break-inside: avoid;
        border: none !important;
        box-shadow: none !important;
    }
    
    .funnel-visualization {
        height: 400px;
        break-inside: avoid;
    }
}

/* Weak Stage Highlight */
.funnel-stage.weak-stage {
    border-color: rgba(255, 75, 39, 0.3);
    background-color: rgba(255, 75, 39, 0.05);
}

.funnel-stage.weak-stage:after {
    opacity: 1;
    width: 4px;
}

.funnel-stage.weak-stage .stage-header h4 {
    color: var(--orange-red);
}

.funnel-stage.weak-stage:hover {
    background-color: rgba(255, 75, 39, 0.08);
    border-color: rgba(255, 75, 39, 0.4);
}

/* Tooltip Styles */
.tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

.tooltip-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--body-display);
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tooltip-icon:hover {
    background-color: var(--orange-red);
    transform: scale(1.1);
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border: 1px solid var(--pinstripe);
    border-radius: 2px;
    padding: 12px;
    width: 220px;
    box-shadow: 0 4px 12px var(--shaddow);
    font-size: 12px;
    color: var(--body-display);
    line-height: 1.5;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

.tooltip-container:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

.tooltip-content:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

/* Chart Legend */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--body-display);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    margin-right: 8px;
}

/* Responsive styles for chart legend */
@media (max-width: 480px) {
    .chart-legend {
        gap: 12px;
    }
    
    .legend-item {
        font-size: 12px;
    }
    
    .legend-color {
        width: 12px;
        height: 12px;
    }
}

/* Funnel Diagram */
.funnel-diagram {
    position: relative;
    margin: 40px 0;
    padding: 30px;
    background-color: var(--grey);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shaddow);
}

.funnel-diagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--shaddow);
}

.funnel-diagram::before {
    content: 'Funnel Flow';
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--body-display);
    opacity: 0.7;
}

.funnel-level {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.funnel-level:last-child {
    margin-bottom: 0;
}

.funnel-level::before {
    content: '';
    position: absolute;
    left: 0;
    top: -10px;
    bottom: -10px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--pinstripe), transparent);
    z-index: 0;
}

.funnel-level:first-child::before {
    top: 50%;
}

.funnel-level:last-child::before {
    bottom: 50%;
}

.funnel-level::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--grey);
    border: 1px solid var(--pinstripe);
    z-index: 1;
}

.funnel-level:nth-child(1)::after {
    background-color: rgba(54, 162, 235, 0.8);
    border-color: rgba(54, 162, 235, 1);
}

.funnel-level:nth-child(2)::after {
    background-color: rgba(75, 192, 192, 0.8);
    border-color: rgba(75, 192, 192, 1);
}

.funnel-level:nth-child(3)::after {
    background-color: rgba(153, 102, 255, 0.8);
    border-color: rgba(153, 102, 255, 1);
}

.funnel-level:nth-child(4)::after {
    background-color: rgba(255, 159, 64, 0.8);
    border-color: rgba(255, 159, 64, 1);
}

.funnel-level:nth-child(5)::after {
    background-color: rgba(255, 99, 132, 0.8);
    border-color: rgba(255, 99, 132, 1);
}

/* Responsive styles for funnel diagram */
@media (max-width: 768px) {
    .funnel-level {
        width: 90px;
        font-size: 14px;
    }
    
    .funnel-value {
        margin-left: 12px;
        font-size: 14px;
        min-width: 60px;
    }
    
    .funnel-bar {
        height: 28px;
    }
}

@media (max-width: 480px) {
    .funnel-diagram {
        padding: 16px;
    }
    
    .funnel-level {
        margin-bottom: 16px;
    }
    
    .funnel-level {
        width: 80px;
        font-size: 13px;
    }
    
    .funnel-value {
        font-size: 13px;
        min-width: 50px;
    }
    
    .funnel-bar {
        height: 24px;
    }
}

/* Export and Share Buttons */
.export-options {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
}

.export-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: white;
    border: 1px solid var(--pinstripe);
    border-radius: 2px;
    font-size: 14px;
    color: var(--black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.export-button:hover {
    background-color: var(--grey);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shaddow);
}

.export-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.keyboard-focus:focus {
    outline: 2px solid var(--orange-red);
    outline-offset: 2px;
}

/* Focus states for interactive elements */
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: 2px solid var(--orange-red);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (forced-colors: active) {
    .stage-number,
    .funnel-bar,
    .service-badge.popular,
    .calculate-button {
        forced-color-adjust: none;
    }
}

/* Funnel Visualization Enhancements */
.funnel-visualization {
    position: relative;
}

.funnel-visualization::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f1f5f9' fill-opacity='0.4' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

/* Results Summary */
.results-summary {
    margin: 24px 0;
    padding: 16px;
    background-color: rgba(255, 75, 39, 0.05);
    border-left: 4px solid var(--orange-red);
    border-radius: 2px;
}

.summary-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
}

.summary-text {
    font-size: 14px;
    color: var(--body-display);
    line-height: 1.5;
}

.summary-highlight {
    color: var(--orange-red);
    font-weight: 500;
}

/* Progress Indicator */
.progress-steps {
    display: flex;
    margin: 24px 0;
    position: relative;
}

.progress-steps::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--pinstripe);
    z-index: 1;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--pinstripe);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 500;
    color: var(--body-display);
    transition: all 0.3s ease;
}

.progress-step.active .step-indicator {
    background-color: var(--orange-red);
    border-color: var(--orange-red);
    color: white;
}

.progress-step.completed .step-indicator {
    background-color: white;
    border-color: var(--orange-red);
    color: var(--orange-red);
}

.step-label {
    font-size: 12px;
    color: var(--body-display);
    transition: all 0.3s ease;
}

.progress-step.active .step-label {
    color: var(--black);
    font-weight: 500;
}

/* Form Success State */
.form-group.success input,
.form-group.success select {
    border-color: #34d399;
}

.form-group.success:after {
    content: "✓";
    position: absolute;
    right: 12px;
    top: 38px;
    color: #34d399;
    font-size: 14px;
}

/* Funnel Bar Animation */
@keyframes growWidth {
    from { width: 0; }
    to { width: var(--final-width); }
}

.funnel-bar {
    animation: growWidth 1s ease-out forwards;
}

/* Funnel Diagram Enhancements */
.funnel-diagram {
    position: relative;
    padding: 20px;
    background-color: white;
    border: 1px solid var(--pinstripe);
    border-radius: 2px;
    margin: 24px 0;
    box-shadow: 0 2px 8px var(--shaddow);
}

.funnel-diagram::before {
    content: "Funnel Flow";
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: white;
    padding: 0 8px;
    font-size: 12px;
    color: var(--body-display);
    font-weight: 500;
}

/* Responsive Adjustments for Small Screens */
@media (max-width: 480px) {
    .export-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .progress-step .step-label {
        font-size: 10px;
    }
    
    .funnel-level {
        width: 70px;
        font-size: 11px;
    }
}

/* FAQ Section Styles */
.faq-section {
    margin: 60px 0;
    padding: 40px 0;
    border-top: 1px solid var(--pinstripe);
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.faq-header p {
    font-size: 16px;
    color: var(--body-display);
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.faq-item {
    background-color: white;
    border: 1px solid var(--pinstripe);
    border-radius: 2px;
    padding: 24px;
    box-shadow: 0 2px 8px var(--shaddow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px var(--shaddow);
}

.faq-question {
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 16px;
    position: relative;
    padding-left: 28px;
}

.faq-question::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--orange-red);
}

.faq-answer {
    color: var(--body-display);
    font-size: 15px;
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-list {
    margin: 12px 0;
    padding-left: 20px;
    list-style-type: none;
}

.faq-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.faq-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--orange-red);
    font-weight: bold;
}

/* FAQ Responsive Styles */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-question {
        font-size: 16px;
    }
}

/* Accordion behavior for mobile */
@media (max-width: 480px) {
    .faq-question {
        cursor: pointer;
    }
    
    .faq-question::after {
        content: "+";
        position: absolute;
        right: 0;
        top: 0;
        font-size: 18px;
        font-weight: 600;
        color: var(--orange-red);
        transition: transform 0.3s ease;
    }
    
    .faq-item.active .faq-question::after {
        content: "−";
        transform: rotate(180deg);
    }
    
    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .faq-item.active .faq-answer {
        max-height: 1000px;
    }
}

/* Results CTA */
.results-cta {
    margin: 40px 0 20px;
    padding: 24px;
    background-color: rgba(255, 75, 39, 0.05);
    border-radius: 2px;
    border-left: 4px solid var(--orange-red);
    text-align: center;
}

.results-cta h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
}

.results-cta p {
    font-size: 15px;
    color: var(--body-display);
    margin-bottom: 16px;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--orange-red);
    color: white;
    font-weight: 500;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #e03e2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Contact Form Section */
.contact-section {
    margin: 60px 0;
    padding: 40px;
    background-color: white;
    border: 1px solid var(--pinstripe);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-red), #ff9f40);
}

.contact-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.contact-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.contact-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--orange-red);
    border-radius: 2px;
}

.contact-header p {
    font-size: 16px;
    color: var(--body-display);
    max-width: 600px;
    margin: 20px auto 0;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.form-row .form-group {
    flex: 1;
}

.full-width {
    width: 100%;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-note {
    margin-bottom: 20px;
    color: var(--body-display);
    font-style: italic;
    text-align: center;
}

.form-note p {
    margin: 0;
}

.form-status {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 4px;
    display: none;
}

.form-status.error {
    display: block;
    background-color: rgba(255, 0, 0, 0.1);
    color: #d32f2f;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.form-status.success {
    display: block;
    background-color: rgba(76, 175, 80, 0.1);
    color: #388e3c;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.form-buttons button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--pinstripe);
    border-radius: 2px;
    background-color: white;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
}

/* Form field focus and hover effects */
.contact-form .form-group input:hover,
.contact-form .form-group textarea:hover,
.contact-form .form-group select:hover {
    border-color: #ccc;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
    border-color: var(--orange-red);
    box-shadow: 0 0 0 3px rgba(255, 75, 39, 0.1);
}

/* Submit button styling */
.contact-form .form-buttons {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.contact-form .calculate-button {
    min-width: 180px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-form .calculate-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.contact-form .calculate-button:hover::before {
    left: 100%;
}

/* Footer Styles */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-nav-link {
    color: var(--body-display);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav-link:hover {
    color: var(--orange-red);
}

/* Responsive Styles for Contact Form */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-section {
        padding: 30px 20px;
    }
}

/* Contact Form Success State */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success h3 {
    font-size: 24px;
    color: var(--black);
    margin-bottom: 16px;
}

.form-success p {
    font-size: 16px;
    color: var(--body-display);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: #34d399;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Form Validation Message */
.form-validation-message {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 12px 16px;
    border-radius: 4px;
    margin: 16px 0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border-left: 4px solid #d32f2f;
    animation: fadeIn 0.3s ease-in-out;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-validation-message::before {
    content: "⚠️";
    margin-right: 8px;
    font-size: 16px;
}

.form-validation-message.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

/* Section transitions */
.funnel-visualization,
.funnel-diagram,
.results-grid,
.stage-metrics-grid,
.recommendation-item,
.what-if-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.funnel-visualization {
    animation-delay: 0.1s;
}

.funnel-diagram {
    animation-delay: 0.2s;
}

.results-grid {
    animation-delay: 0.3s;
}

.stage-metrics-grid {
    animation-delay: 0.4s;
}

.recommendation-item:nth-child(1) {
    animation-delay: 0.5s;
}

.recommendation-item:nth-child(2) {
    animation-delay: 0.55s;
}

.recommendation-item:nth-child(3) {
    animation-delay: 0.6s;
}

.what-if-section {
    animation-delay: 0.7s;
}

/* Funnel Flow Connections */
.funnel-flow-container {
    position: relative;
}

.funnel-flow-connection {
    position: absolute;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--pinstripe), transparent);
    z-index: 0;
}

.funnel-visualization::after,
.funnel-diagram::after,
.results-grid::after,
.stage-metrics::after,
.optimization-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--grey);
    border: 1px solid var(--pinstripe);
    border-radius: 50%;
    z-index: 1;
}

/* Funnel Diagram Enhancements */
.funnel-diagram {
    position: relative;
    margin: 40px 0;
    padding: 30px;
    background-color: var(--grey);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.funnel-level {
    position: relative;
}

.funnel-level::before {
    content: '';
    position: absolute;
    left: 120px;
    top: -10px;
    bottom: -10px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--pinstripe), transparent);
    z-index: 0;
}

.funnel-level:first-child::before {
    top: 50%;
}

.funnel-level:last-child::before {
    bottom: 50%;
}

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

/* Funnel Elements */
.funnel-label {
    width: 120px;
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    flex-shrink: 0;
}

.funnel-bar {
    height: 32px;
    background: linear-gradient(90deg, var(--orange-red) 0%, #FF8E53 90%);
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(255, 75, 39, 0.15);
}

.funnel-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.1) 100%);
    animation: shimmer 2s infinite;
}

.funnel-value {
    margin-left: 16px;
    font-weight: 600;
    font-size: 16px;
    color: var(--black);
    flex-shrink: 0;
    min-width: 80px;
    text-align: right;
}

.funnel-dropoff {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 13px;
    color: #ef4444;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.funnel-dropoff::before {
    content: '↓';
    margin-right: 4px;
    font-size: 14px;
}

/* Funnel stage colors */
.funnel-level:nth-child(1) .funnel-bar {
    background: linear-gradient(90deg, rgba(54, 162, 235, 0.8) 0%, rgba(54, 162, 235, 0.6) 100%);
    box-shadow: 0 2px 8px rgba(54, 162, 235, 0.15);
}

.funnel-level:nth-child(2) .funnel-bar {
    background: linear-gradient(90deg, rgba(75, 192, 192, 0.8) 0%, rgba(75, 192, 192, 0.6) 100%);
    box-shadow: 0 2px 8px rgba(75, 192, 192, 0.15);
}

.funnel-level:nth-child(3) .funnel-bar {
    background: linear-gradient(90deg, rgba(153, 102, 255, 0.8) 0%, rgba(153, 102, 255, 0.6) 100%);
    box-shadow: 0 2px 8px rgba(153, 102, 255, 0.15);
}

.funnel-level:nth-child(4) .funnel-bar {
    background: linear-gradient(90deg, rgba(255, 159, 64, 0.8) 0%, rgba(255, 159, 64, 0.6) 100%);
    box-shadow: 0 2px 8px rgba(255, 159, 64, 0.15);
}

.funnel-level:nth-child(5) .funnel-bar {
    background: linear-gradient(90deg, rgba(255, 99, 132, 0.8) 0%, rgba(255, 99, 132, 0.6) 100%);
    box-shadow: 0 2px 8px rgba(255, 99, 132, 0.15);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* What-If Results */
.what-if-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.what-if-result-item {
    padding: 20px;
    background-color: white;
    border-radius: 2px;
    border: 1px solid var(--pinstripe);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.what-if-result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px var(--shaddow);
}

.what-if-result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 159, 64, 0.6), rgba(255, 159, 64, 0.9));
}

.what-if-label {
    font-size: 14px;
    color: var(--body-display);
    margin-bottom: 10px;
    display: block;
}

.what-if-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    display: flex;
    align-items: center;
}

/* Result Item Icons */
.what-if-result-item:nth-child(1) .what-if-value::before {
    content: '🎯';
    margin-right: 8px;
    font-size: 18px;
}

.what-if-result-item:nth-child(2) .what-if-value::before {
    content: '👥';
    margin-right: 8px;
    font-size: 18px;
}

.what-if-result-item:nth-child(3) .what-if-value::before {
    content: '💰';
    margin-right: 8px;
    font-size: 18px;
}

/* Responsive styles for what-if results */
@media (max-width: 768px) {
    .what-if-section {
        padding: 25px 20px;
        margin: 30px 0 25px;
    }
    
    .what-if-results {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .what-if-result-item {
        padding: 16px;
    }
    
    .what-if-value {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .what-if-section {
        padding: 20px 16px;
        margin: 25px 0 20px;
    }
    
    .what-if-section::before {
        display: none;
    }
    
    .what-if-label {
        font-size: 13px;
    }
    
    .what-if-value {
        font-size: 18px;
    }
}

/* Enhanced form field styling for contact form */
.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    padding: 14px 16px;
    border: 1px solid var(--pinstripe);
    border-radius: 4px;
    font-size: 15px;
    color: var(--black);
    background-color: white;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.contact-form .form-group:focus-within label {
    color: var(--orange-red);
}

.contact-form .input-hint {
    font-size: 12px;
    color: var(--body-display);
    margin-top: 6px;
    opacity: 0.8;
}

/* Add subtle animation to the form */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form .form-row:nth-child(1) {
    animation: fadeInUp 0.4s ease-out;
}

.contact-form .form-row:nth-child(2) {
    animation: fadeInUp 0.4s ease-out 0.1s;
    animation-fill-mode: both;
}

.contact-form .form-group.full-width {
    animation: fadeInUp 0.4s ease-out 0.2s;
    animation-fill-mode: both;
}

.contact-form .form-buttons {
    animation: fadeInUp 0.4s ease-out 0.3s;
    animation-fill-mode: both;
} 