
/* --- Quiz Container --- */
.quiz-container {
    width: 100%;
    max-width: 600px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 auto;
    padding: 10px; 
    scroll-behavior: smooth; 
}

/* --- Typography --- */
.quiz-container h1 {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    color: #1B3A57;
    margin-bottom: 10px;
    line-height: 1.2;
}

.quiz-container h2 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: #1B3A57;
    margin-top: 10px;
    margin-bottom: 25px;
}

.quiz-container p {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.quiz-container ul {
    list-style-type: none;
    padding-left: 0;
}

.helper-text {
    font-size: 0.9rem;
    color: #888;
    display: block;
    margin-bottom: 12px;
    text-align: left;
    font-weight: 600;
}

/* --- Cards --- */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px; 
}

.quiz-card {
    display: block;
    background-color: #FFF9F5;
    border-radius: 12px;
    padding: 20px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    text-align: left;
}

.quiz-card:hover {
    background-color: #FFF0E0;
    transform: translateY(-2px);
}

.quiz-card.selected {
    background-color: #FFFFFF;
    border-color: #D97D54;
    box-shadow: 0 4px 12px rgba(217, 125, 84, 0.15);
}

.quiz-card input { display: none; }

.card-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1B3A57;
}

/* --- Progress --- */
.progress-area {
    width: 100%;
    height: 6px;
    background-color: #F1F5F9;
    border-radius: 100px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #D97D54;
    width: 10%;
    transition: width 0.3s ease;
}

/* --- Navigation --- */
.nav-area {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background-color: #D97D54;
    color: white;
    border: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(217, 125, 84, 0.2);
    display: flex; 
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn-primary:hover { background-color: #c26d45; }

.btn-secondary {
    width: 100%;
    padding: 14px;
    background-color: #F8F9FA; 
    color: #4a5568;
    border: 1px solid #E2E8F0;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.btn-secondary:hover {
    background-color: #EDF2F7;
    color: #1B3A57;
    border-color: #CBD5E0;
}

/* --- NEW RESULT CARDS --- */
.result-cards {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.result-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #D97D54;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
}

.res-title {
    font-size: 18px;
    font-weight: 800;
    color: #1B3A57;
    margin-bottom: 8px;
}

.res-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
}

.btn-primary.small {
    padding: 10px 20px;
    font-size: 14px;
}

.nurture-box {
    background: #F0F9FF;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #BAE6FD;
}

.downsell-box {
    text-align: center;
    margin-top: 20px;
}

/* --- Calculating Loader --- */
.calculating-box {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.3s ease;
}

.spinner-large {
    width: 60px;
    height: 60px;
    border: 5px solid #F1F5F9;
    border-top-color: #D97D54;
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}

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

.calc-text {
    font-size: 20px;
    font-weight: 700;
    color: #1B3A57;
    margin-bottom: 8px;
}

.calc-sub {
    font-size: 15px;
    color: #64748b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* --- Trust Badge --- */
.trust-badge {
    text-align: center;
    margin-bottom: 16px;
}

.trust-text {
    display: inline-block;
    background: #F0FDF4;
    color: #15803D;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #BBF7D0;
}

/* --- Inputs --- */
.quiz-container input[type="text"], 
.quiz-container input[type="tel"], 
.quiz-container input[type="email"],
.quiz-container textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    font-family: inherit;
}

/* Screen visibility */
.screen { display: none; animation: fadeIn 0.3s ease; }
.screen.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
