/* Scoped Quiz Styles */
:root {
    --quiz-accent: var(--color-primary);
    --quiz-bg: rgba(246, 218, 197, 0.15);
    /* Match Transformations Page Tint */
    --quiz-card-bg: rgba(255, 255, 255, 0.65);
    --quiz-text: var(--color-text-main);
}

body {
    background-color: var(--quiz-bg) !important;
}

.quiz-wrapper {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    background-color: var(--quiz-bg) !important;
    position: relative;
    overflow: hidden;
}

/* Progress Bar */
.quiz-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(37, 70, 54, 0.1);
    margin-bottom: 24px;
    border-radius: 4px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--quiz-accent);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Steps */
.question-step,
.email-gate,
.hero,
.results-container {
    display: none;
    width: 100%;
    max-width: 1200px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.question-step.active,
.email-gate.active,
.hero.active,
.results-container.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero */
.hero {
    text-align: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--quiz-accent);
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--quiz-text);
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.option-card {
    background: var(--quiz-card-bg);
    border: 1px solid rgba(37, 70, 54, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.option-card:hover {
    transform: translateY(-5px);
    border-color: var(--quiz-accent);
    background: #fff;
    box-shadow: 0 10px 30px rgba(37, 70, 54, 0.1);
}

.option-icon,
.option-card svg {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 1.5rem;
    fill: var(--quiz-accent);
    transition: transform 0.3s ease;
    display: block;
}

.option-card:hover .option-icon,
.option-card:hover svg {
    transform: scale(1.1);
}

.option-label {
    display: block;
    font-weight: 600;
    color: var(--quiz-accent);
    font-family: var(--font-body);
    font-size: 1.1rem;
}

.step-count {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--quiz-accent);
    opacity: 0.6;
    margin-bottom: 1rem;
    text-align: center;
}

.question-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: var(--quiz-accent);
    margin-bottom: 2rem;
}

/* Email Gate */
.email-gate {
    text-align: center;
    max-width: 600px;
}

.email-input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 2px solid var(--quiz-accent);
    background: transparent;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    outline: none;
    color: var(--quiz-accent);
}

.email-input::placeholder {
    color: rgba(37, 70, 54, 0.4);
}

.reveal-label {
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--quiz-accent);
}

.reveal-title {
    text-align: center;
    font-size: clamp(3rem, 6vw, 5rem);
    font-family: var(--font-signature);
    /* Or heading depending on look */
    color: var(--quiz-accent);
    margin-bottom: 2rem;
    line-height: 1;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    text-align: left;
}

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

    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Button Override */
.btn-quiz {
    background: var(--quiz-accent);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border: 1px solid var(--quiz-accent);
    transition: all 0.3s ease;
}

.btn-quiz:hover {
    background: #fff;
    color: var(--quiz-accent);
}

/* Restored styles from inline */
.email-gate h2,
.quiz-wrapper h2 {
    font-family: var(--font-heading);
    color: var(--quiz-accent);
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 2.5rem);
    /* Responsive clamp */
}

/* Specific override for the intro h2 to match original size intent */
.quiz-wrapper .col-lg-10 h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}





