/**
 * SaaS Valuation Calculator Styles
 * Modern, responsive design matching WeBuildSaaS brand
 */

/* Calculator Wrapper */
.calculator-wrapper {
    background: var(--color-white);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(1, 12, 24, 0.1);
    padding: 3rem;
    margin: 0 auto;
    max-width: 900px;
    position: relative;
}

@media screen and (max-width: 768px) {
    .calculator-wrapper {
        padding: 2rem;
        margin: 0 1rem;
    }
}

.calculator-wrapper h2 {
    color: var(--color-black);
    text-align: center;
    margin-bottom: 1rem;
}

.calculator-intro {
    text-align: center;
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

/* Form Structure */
.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    background: var(--color-blue-light);
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: var(--color-blue);
    background: rgba(224, 238, 255, 0.7);
}

.form-section h3 {
    color: var(--color-blue);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

/* Form Rows and Fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media screen and (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-weight: 600;
    color: var(--color-black);
    font-size: 1rem;
}

.form-field small {
    color: var(--color-gray);
    font-size: 0.875rem;
    font-style: italic;
}

/* Input Styling */
.form-field input,
.form-field select {
    background: var(--color-white);
    border: 2px solid #e0e7ff;
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 1.125rem;
    color: var(--color-black);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--color-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 153, 255, 0.1);
}

.form-field input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Input with Prefix/Suffix - Bootstrap Style */
.input-with-prefix,
.input-with-suffix {
    display: flex;
    align-items: stretch;
    width: 100%;
    position: relative;
}

.prefix,
.suffix {
    display: flex;
    align-items: center;
    padding: 1.25rem 1rem;
    font-weight: 600;
    color: var(--color-blue);
    font-size: 1.125rem;
    background-color: rgba(67, 153, 255, 0.08);
    border: 2px solid var(--color-blue-light);
    white-space: nowrap;
    min-width: auto;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.input-with-prefix .prefix {
    border-right: none;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-with-suffix .suffix {
    border-left: none;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-with-prefix input {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-left: none;
    position: relative;
    z-index: 2;
}

.input-with-suffix input {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-right: none;
    position: relative;
    z-index: 2;
}

.input-with-prefix:focus-within,
.input-with-suffix:focus-within {
    box-shadow: 0 0 0 4px rgba(67, 153, 255, 0.1);
    border-radius: 1rem;
}

.input-with-prefix input:focus,
.input-with-suffix input:focus {
    outline: none !important;
    box-shadow: none !important;
    z-index: 3;
    border-color: var(--color-blue);
}

/* Override other focus styles for input groups */
.form-field-large .input-with-prefix input:focus,
.form-field-large .input-with-suffix input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.wizard-step .input-with-prefix input:focus,
.wizard-step .input-with-suffix input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.input-with-prefix input:focus + .prefix,
.input-with-suffix input:focus ~ .suffix,
.input-with-prefix:focus-within .prefix,
.input-with-suffix:focus-within .suffix {
    border-color: var(--color-blue);
    background-color: rgba(67, 153, 255, 0.12);
    color: var(--color-blue-dark);
    z-index: 1;
}

/* Calculator Actions */
.calculator-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-link {
    background: none;
    border: none;
    color: var(--color-blue);
    text-decoration: underline;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--color-blue-dark);
}

/* Results Section */
.results-section {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-top: 2rem;
    color: var(--color-white);
    text-align: center;
    animation: slideIn 0.5s ease;
}

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

.results-header h3 {
    color: var(--color-white);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.valuation-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    .valuation-display {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.current-valuation,
.future-valuation {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.future-valuation {
    border-color: var(--color-highlight);
    background: rgba(255, 255, 255, 0.15);
}

.valuation-display .label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.valuation-display .value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
}

.valuation-display .value.highlight {
    color: var(--color-highlight);
    text-shadow: 0 0 20px rgba(88, 218, 242, 0.3);
}

@media screen and (max-width: 768px) {
    .valuation-display .value {
        font-size: 1.75rem;
    }
}

/* Results Breakdown */
.results-breakdown {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.results-breakdown h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
    text-align: center;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item span:last-child {
    font-weight: 600;
    color: var(--color-highlight);
}

/* Results Actions */
.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Terms Grid */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.term-item {
    background: var(--color-white);
    border: 2px solid var(--color-blue-light);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.term-item:hover {
    border-color: var(--color-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(67, 153, 255, 0.1);
}

.term-item h4 {
    color: var(--color-blue);
    margin-bottom: 1rem;
}

/* Scenarios Grid */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.scenario-card {
    background: var(--color-white);
    border: 2px solid var(--color-blue-light);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.scenario-card:hover {
    border-color: var(--color-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(67, 153, 255, 0.1);
}

.scenario-card h4 {
    color: var(--color-blue);
    margin-bottom: 1.5rem;
}

.scenario-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-blue-light);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span:first-child {
    color: var(--color-gray);
}

.detail-row span:last-child {
    font-weight: 600;
    color: var(--color-black);
}

.scenario-valuation {
    background: var(--color-blue-light);
    border-radius: 0.75rem;
    padding: 1rem;
}

.valuation-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-bottom: 0.5rem;
}

.valuation-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-blue);
}

.scenarios-disclaimer {
    text-align: center;
    margin-top: 2rem;
    color: var(--color-gray);
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-item {
    background: var(--color-white);
    border: 2px solid var(--color-blue-light);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tip-item:hover {
    border-color: var(--color-blue);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(67, 153, 255, 0.1);
}

.tip-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-white);
    font-size: 1.5rem;
}

.tip-item h3 {
    color: var(--color-blue);
    margin-bottom: 1rem;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media screen and (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: var(--color-white);
    border: 2px solid var(--color-blue-light);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-blue);
    box-shadow: 0 8px 25px rgba(67, 153, 255, 0.1);
}

.faq-item h4 {
    color: var(--color-blue);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* Error Styling */
.error-message {
    background: #fef2f2;
    color: #dc2626;
    border: 2px solid #fecaca;
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    font-weight: 500;
}

/* Tooltips */
.calculator-tooltip {
    position: absolute;
    background: var(--color-black);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    max-width: 200px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.calculator-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--color-black) transparent transparent transparent;
}

/* Loading State */
.calculator-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.calculator-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--color-blue-light);
    border-top-color: var(--color-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .results-section {
        animation: none;
    }

    .calculator-loading::after {
        animation: none;
    }

    * {
        transition: none !important;
    }
}

/* Focus styles for accessibility */
.form-field input:focus,
.form-field select:focus,
.btn:focus,
.btn-link:focus {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .calculator-wrapper {
        border: 2px solid var(--color-black);
    }

    .form-section {
        border-color: var(--color-black);
    }

    .results-section {
        border: 2px solid var(--color-white);
    }
}

/**
 * SaaS Valuation Calculator Wizard Styles
 * Modern, responsive design for pre-revenue founder experience
 */

/* Wizard Progress Indicator */
.wizard-progress {
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: var(--color-blue-light);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-blue), var(--color-highlight));
    border-radius: 2px;
    transition: width 0.5s ease;
    width: 25%;
}

/* Desktop Progress Steps */
.desktop-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 0.8;
    color: var(--color-blue);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-blue-light);
    color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.step.active .step-number {
    background-color: var(--color-blue);
    color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(67, 153, 255, 0.2);
}

.step.completed .step-number {
    background-color: var(--color-blue);
    color: var(--color-white);
}

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray);
    text-align: center;
    transition: color 0.3s ease;
}

.step.active .step-label {
    color: var(--color-blue);
    font-weight: 600;
}

/* Mobile Progress Indicator */
.mobile-progress {
    display: none;
}

.step-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-blue-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: var(--color-blue);
    transform: scale(1.25);
}

.dot.completed {
    background-color: var(--color-blue);
}

.current-step-info {
    text-align: center;
}

.step-counter {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.current-step-name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-blue);
}

@media screen and (max-width: 768px) {
    .wizard-progress {
        padding: 0 1rem;
    }

    .desktop-steps {
        display: none;
    }

    .mobile-progress {
        display: block;
    }
}

/* Wizard Container and Steps */
.wizard-container {
    margin-bottom: 2rem;
}

.wizard-step {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.wizard-step.active {
    display: block;
}

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

.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-header h2 {
    color: var(--color-black);
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.step-header p {
    color: var(--color-gray);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.step-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Enhanced Form Fields */
.form-field-large {
    margin-bottom: 2.5rem;
    position: relative;
}

.form-field-large label {
    display: block;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--color-black);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.field-hint {
    display: block;
    color: var(--color-gray);
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.75rem;
    line-height: 1.4;
}

.form-field-large input,
.form-field-large .large-select {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.125rem;
    border: 2px solid var(--color-blue-light);
    border-radius: 1rem;
    background: var(--color-white);
    transition: all 0.3s ease;
    color: var(--color-black);
}

.form-field-large input:focus,
.form-field-large .large-select:focus {
    border-color: var(--color-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(67, 153, 255, 0.1);
}

.form-field-large.error input,
.form-field-large.error .large-select {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Radio Button Groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.radio-option {
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-option label {
    display: block;
    background: var(--color-white);
    border: 2px solid var(--color-blue-light);
    border-radius: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.radio-option label:hover {
    border-color: var(--color-blue);
    box-shadow: 0 4px 12px rgba(67, 153, 255, 0.1);
}

.radio-option input[type="radio"]:checked + label {
    border-color: var(--color-blue);
    background: rgba(67, 153, 255, 0.15);
    box-shadow: 0 4px 20px rgba(67, 153, 255, 0.2);
}

.radio-option.selected label {
    border-color: var(--color-blue);
    background: rgba(67, 153, 255, 0.15);
    box-shadow: 0 4px 12px rgba(67, 153, 255, 0.15);
}

.radio-content h4 {
    color: var(--color-black);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.radio-content p {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.radio-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.radio-badge {
    background: var(--color-blue-light);
    color: var(--color-blue);
}

.radio-badge.good {
    background: #dcfce7;
    color: #166534;
}

.radio-badge.neutral {
    background: var(--color-blue-light);
    color: var(--color-blue);
}

.radio-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

/* Results Display - Enhanced */
.results-display {
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
    border-radius: 1.5rem;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.valuation-timeline {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media screen and (max-width: 768px) {
    .valuation-timeline {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.valuation-year {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    flex: 1;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.valuation-year.featured {
    border-color: var(--color-highlight);
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.year-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.valuation-amount {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-highlight);
    text-shadow: 0 0 20px rgba(88, 218, 242, 0.3);
}

.arr-amount {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-highlight);
    color: var(--color-black);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

@media screen and (max-width: 768px) {
    .valuation-amount {
        font-size: 1.75rem;
    }

    .valuation-year.featured {
        transform: none;
    }
}

.valuation-breakdown {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.valuation-breakdown h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.125rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item.total {
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-weight: 600;
}

.breakdown-item span:last-child {
    font-weight: 600;
    color: var(--color-highlight);
}

.reality-check {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    border-left: 4px solid var(--color-highlight);
}

.reality-check h4 {
    color: var(--color-white);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.reality-check p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

/* Navigation */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-blue-light);
}

@media screen and (max-width: 768px) {
    .wizard-navigation {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .wizard-navigation .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Path to Success Styling */
.path-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.path-step {
    text-align: center;
    background: var(--color-white);
    border: 2px solid var(--color-blue-light);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.path-step:hover {
    border-color: var(--color-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(67, 153, 255, 0.1);
}

.path-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-white);
    font-size: 1.5rem;
}

.path-step h3 {
    color: var(--color-blue);
    margin-bottom: 1rem;
}

/* Enhanced animations and interactions */
.form-field-large input[data-formatted="M"]::after {
    content: " (Millions)";
    color: var(--color-gray);
}

.form-field-large input[data-formatted="K"]::after {
    content: " (Thousands)";
    color: var(--color-gray);
}



/* Loading states */
.wizard-step.loading {
    pointer-events: none;
    opacity: 0.7;
}

.wizard-step.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid var(--color-blue-light);
    border-top-color: var(--color-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .wizard-step {
        animation: none;
    }

    .progress-fill {
        transition: none;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}

/* Focus management */
.wizard-step input:focus,
.wizard-step select:focus,
.wizard-step label:focus {
    outline: 3px solid var(--color-blue);
    outline-offset: 2px;
}

/* Button states */
.wizard-navigation .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: var(--color-gray);
}

.wizard-navigation .btn:disabled:hover {
    background-color: var(--color-gray);
    transform: none;
}

/* SEO Content Sections */
.methodology-steps {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.methodology-steps li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.methodology-note {
    background: rgba(67, 153, 255, 0.05);
    border-left: 4px solid var(--color-blue);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.methodology-note h3 {
    color: var(--color-blue);
    margin-bottom: 1rem;
}

.valuation-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-category {
    background: var(--color-white);
    border: 2px solid var(--color-blue-light);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.tip-category:hover {
    border-color: var(--color-blue);
    box-shadow: 0 8px 25px rgba(67, 153, 255, 0.1);
}

.tip-category h3 {
    color: var(--color-blue);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.tip-category h3 i {
    margin-right: 0.5rem;
}

.tip-category ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.tip-category li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}