:root {
    --primary-color: #D32F2F; /* Red from screenshots */
    --primary-hover: #b71c1c;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --font-family: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.app-container {
    width: 100%;
    max-width: 600px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

/* Header & Progress */
.wizard-header {
    background: var(--card-bg);
    padding: 0;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.4s ease-in-out;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.btn-back {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
}

.steps-indicator {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-left: auto;
}

/* Step Content */
main {
    flex: 1;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step {
    display: none; /* Hidden by default */
    width: 100%;
    animation: fadeIn 0.4s ease;
}

.step.active {
    display: block;
}

/* Typography */
.headline {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.highlight {
    color: var(--primary-color);
}

.subheadline {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.question {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 40px;
    color: #333;
}

/* Inputs & Cards */
.options-grid {
    display: grid;
    gap: 15px;
}

.options-grid-sm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.option-card-lg, .option-card-sm {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.option-card-lg:hover, .option-card-sm:hover {
    border-color: var(--primary-color);
    background-color: #fff9f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.icon-lg {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.option-card-lg span, .option-card-sm span {
    font-weight: 600;
    font-size: 1rem;
}

.fa-building, .fa-house, .fa-building-user, .fa-city {
    font-size: 2rem;
    color: #444;
}

/* Slider Controls */
.slider-container {
    margin: 20px 0 40px;
}

.value-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    border: 2px solid #eee;
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
    min-width: 200px;
}

.ltv-display {
    font-weight: 600;
    margin-top: 10px;
    font-size: 1.1rem;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    transition: background 0.2s;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Form Fields */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.row {
    display: flex;
    gap: 15px;
}

.row input {
    width: 50%;
}

input[type="text"], input[type="email"], input[type="tel"], select {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
    width: 100%;
}

input:focus, select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Buttons */
.btn-next {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s;
    min-width: 200px;
}

.btn-next:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* Results / DNQ */
.result-card {
    text-align: center;
}

.icon-xl {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success .icon-xl { color: #4CAF50; }
.dnq .icon-xl { color: #f44336; }

.result-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.result-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

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

/* Mobile Tweaks */
@media (max-width: 500px) {
    .options-grid-sm {
        grid-template-columns: 1fr;
    }
    .headline {
        font-size: 1.5rem;
    }
    .value-display {
        font-size: 2rem;
    }
}
