/* FFoA LMS - Lesson Interactive Component Styles */
/* Adapted from GrandBrands LMS pattern with FFoA brand colors */
/*
 * Brand Colors:
 *   Primary Navy:   #3F4F6E
 *   Secondary Gold: #C2B97F
 *   Dark Gold:      #A89F6A
 *   Tan Accent:     #B5A070
 *   Success Green:  #059669
 *   Info Blue:      #3b82f6
 */

/* ============================================================
   SHARED ANIMATIONS
   ============================================================ */

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

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

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

@keyframes celebrate {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(63, 79, 110, 0.3); }
    50%      { box-shadow: 0 0 0 10px rgba(63, 79, 110, 0); }
}

@keyframes unlockReveal {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* ============================================================
   1. FLIP CARDS
   ============================================================ */

.flip-card-container {
    perspective: 1000px;
    margin: 40px auto 60px auto;
    max-width: 500px;
    min-height: 340px;
}

.flip-card {
    width: 100%;
    height: 320px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
}

.flip-card.flipped {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.flip-card-front {
    background: linear-gradient(135deg, #3F4F6E 0%, #2d3a52 100%);
    color: white;
}

.flip-card-front h2 {
    font-size: 2.5em;
    margin: 0 0 15px 0;
    text-align: center;
    color: white;
}

.flip-card-front .hint {
    font-size: 0.85em;
    opacity: 0.9;
    font-style: italic;
}

.flip-card-back {
    background: white;
    color: #333;
    transform: rotateY(180deg);
    border: 3px solid #3F4F6E;
    text-align: left;
    overflow-y: auto;
    justify-content: flex-start;
}

.flip-card-back h3 {
    color: #3F4F6E;
    margin-top: 0;
    font-size: 1.1em;
}

.flip-card-back p {
    font-size: 0.9em;
    line-height: 1.5;
    margin: 5px 0;
}

.flip-card-back .example {
    background: #f5f3eb;
    padding: 15px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 0.85em;
    border-left: 3px solid #C2B97F;
}

.flip-card-back .formula {
    background: #f9f7f0;
    padding: 15px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 0.85em;
    font-family: 'Courier New', monospace;
    border: 1px solid #C2B97F;
}

@media (max-width: 768px) {
    .flip-card-container {
        max-width: 100%;
        min-height: 280px;
    }

    .flip-card {
        height: 280px;
    }

    .flip-card-front h2 {
        font-size: 1.8em;
    }
}

/* ============================================================
   2. INTERACTIVE CALCULATOR
   ============================================================ */

.interactive-calculator {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.interactive-calculator h3 {
    color: #3F4F6E;
    margin-top: 0;
}

.calculator-inputs {
    display: grid;
    gap: 20px;
    margin: 25px 0;
}

.calculator-inputs label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: #555;
}

.calculator-inputs input,
.calculator-inputs select {
    margin-top: 8px;
    padding: 12px;
    font-size: 1.1em;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    box-sizing: border-box;
}

.calculator-inputs input:focus,
.calculator-inputs select:focus {
    outline: none;
    border-color: #3F4F6E;
}

.calc-button {
    background: #059669;
    color: white;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.calc-button:hover {
    background: #047857;
}

.calculator-result {
    background: white;
    border-left: 4px solid #059669;
    padding: 25px;
    margin-top: 25px;
    border-radius: 6px;
}

.calculator-result h4 {
    margin-top: 0;
    color: #059669;
}

.result-highlight {
    font-size: 2.5em;
    font-weight: bold;
    color: #059669;
    margin: 15px 0;
}

.result-detail {
    font-size: 1.1em;
    color: #666;
}

@media (max-width: 768px) {
    .interactive-calculator {
        padding: 20px;
    }

    .calculator-inputs {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   3. SCENARIO SIMULATOR
   ============================================================ */

.scenario-simulator {
    background: #f9f7f0;
    border: 3px solid #C2B97F;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.scenario-simulator h3 {
    color: #3F4F6E;
    margin-top: 0;
}

.scenario-setup {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.scenario-choice {
    background: #f0f4f8;
    border: 2px solid #3F4F6E;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.scenario-choice:hover {
    background: #e2e8f0;
    border-color: #2d3a52;
    transform: translateX(5px);
}

.scenario-choice.selected {
    border-color: #059669;
    background: #d1fae5;
}

.scenario-outcome {
    background: white;
    border-left: 4px solid #3F4F6E;
    padding: 25px;
    margin-top: 25px;
    border-radius: 6px;
    display: none;
}

.scenario-outcome.visible {
    display: block;
    animation: fadeIn 0.5s;
}

.outcome-good {
    border-left-color: #059669;
    background: #f0fdf4;
}

.outcome-good h4 {
    color: #059669;
    margin-top: 0;
}

.outcome-bad {
    border-left-color: #dc2626;
    background: #fef2f2;
}

.outcome-bad h4 {
    color: #dc2626;
    margin-top: 0;
}

/* ============================================================
   4. DRAG-AND-DROP EXERCISE
   ============================================================ */

.drag-drop-exercise {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.drag-drop-exercise h3 {
    color: #3F4F6E;
    margin-top: 0;
}

.drop-zones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.drop-zone {
    min-height: 120px;
    border: 3px dashed #b0bec5;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s;
    background: #fafafa;
}

.drop-zone h4 {
    color: #3F4F6E;
    margin: 0 0 10px 0;
}

.drop-zone p {
    color: #999;
    font-style: italic;
    font-size: 0.9em;
    margin: 5px 0;
}

.drop-zone.drag-over {
    border-color: #3F4F6E;
    background: #eef1f6;
    box-shadow: 0 0 0 4px rgba(63, 79, 110, 0.15);
}

.drop-zone.correct {
    border-color: #059669;
    border-style: solid;
    background: #f0fdf4;
}

.drop-zone.correct h4 {
    color: #059669;
}

.drop-zone.incorrect {
    border-color: #dc2626;
    border-style: solid;
    background: #fef2f2;
}

.drop-zone.incorrect h4 {
    color: #dc2626;
}

.draggable-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
    justify-content: center;
}

.draggable {
    background: white;
    border: 2px solid #3F4F6E;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: grab;
    font-weight: 600;
    color: #3F4F6E;
    transition: all 0.3s;
    user-select: none;
}

.draggable:hover {
    background: #eef1f6;
    box-shadow: 0 4px 8px rgba(63, 79, 110, 0.2);
    transform: translateY(-2px);
}

.draggable:active {
    cursor: grabbing;
    transform: scale(1.05);
}

.draggable.placed {
    opacity: 0.5;
    cursor: default;
    border-style: dashed;
}

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

    .draggable-items {
        flex-direction: column;
        align-items: stretch;
    }

    .draggable {
        text-align: center;
    }
}

/* ============================================================
   5. CATEGORIZATION GAME
   ============================================================ */

.categorize-game {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.categorize-game h3 {
    color: #3F4F6E;
    margin-top: 0;
    text-align: center;
}

.category-buckets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 25px 0;
}

.category-bucket {
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    min-height: 200px;
    transition: all 0.3s;
}

.category-bucket h3 {
    color: white;
    background: #3F4F6E;
    margin: -20px -20px 20px -20px;
    padding: 15px 20px;
    border-radius: 9px 9px 0 0;
    font-size: 1.1em;
    text-align: center;
}

.category-bucket.drag-over {
    border-color: #C2B97F;
    box-shadow: 0 0 0 4px rgba(194, 185, 127, 0.2);
}

.category-bucket.correct {
    border-color: #059669;
}

.category-bucket.incorrect {
    border-color: #dc2626;
}

.categorize-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
    justify-content: center;
}

.categorize-item {
    background: white;
    border: 2px solid #C2B97F;
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 500;
    color: #3F4F6E;
    transition: all 0.3s;
    user-select: none;
}

.categorize-item:hover {
    background: #f9f7f0;
    border-color: #A89F6A;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(168, 159, 106, 0.2);
}

.categorize-item.selected {
    background: #3F4F6E;
    color: white;
    border-color: #3F4F6E;
}

.categorize-item.correct {
    background: #d1fae5;
    border-color: #059669;
    color: #059669;
}

.categorize-item.incorrect {
    background: #fee2e2;
    border-color: #dc2626;
    color: #dc2626;
}

.categorize-item.placed {
    opacity: 0.5;
    cursor: default;
}

.score-display {
    display: flex;
    justify-content: center;
    gap: 40px;
    background: #f0f4f8;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.score-display .stat {
    text-align: center;
}

.score-display .stat .number {
    font-size: 2.5em;
    font-weight: bold;
    color: #3F4F6E;
}

.score-display .stat .label {
    font-size: 0.9em;
    color: #64748b;
    text-transform: uppercase;
}

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

    .categorize-items {
        flex-direction: column;
        align-items: stretch;
    }

    .categorize-item {
        text-align: center;
    }
}

/* ============================================================
   6. CLICKABLE REVEAL CARDS
   ============================================================ */

.reveal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.reveal-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.reveal-card:hover {
    border-color: #C2B97F;
    box-shadow: 0 8px 16px rgba(194, 185, 127, 0.2);
    transform: translateY(-3px);
}

.reveal-card.revealed {
    border-color: #3F4F6E;
    box-shadow: 0 4px 12px rgba(63, 79, 110, 0.15);
    cursor: default;
}

.reveal-card-front {
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
}

.reveal-card-front .icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.reveal-card-front h4 {
    color: #3F4F6E;
    margin: 10px 0 5px 0;
    font-size: 1.05em;
}

.reveal-card-front p {
    color: #999;
    font-size: 0.85em;
    font-style: italic;
    margin: 0;
}

.reveal-card-content {
    display: none;
    padding: 20px 25px;
    border-top: 2px solid #3F4F6E;
    background: white;
    animation: fadeIn 0.4s;
}

.reveal-card.revealed .reveal-card-content {
    display: block;
}

.reveal-card-content h4 {
    color: #3F4F6E;
    margin: 0 0 10px 0;
}

.reveal-card-content p {
    font-size: 0.9em;
    line-height: 1.6;
    color: #555;
    margin: 5px 0;
}

.reveal-card-content .self-check {
    background: #f9f7f0;
    border-left: 3px solid #C2B97F;
    padding: 12px 15px;
    border-radius: 4px;
    margin-top: 12px;
    font-size: 0.85em;
    font-style: italic;
    color: #666;
}

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

/* ============================================================
   7. COMMITMENT / ACTION PLAN FORM
   ============================================================ */

.commitment-section {
    background: #f9f7f0;
    border: 2px solid #C2B97F;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.commitment-section h3 {
    color: #3F4F6E;
    margin-top: 0;
}

.commitment-box {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}

.commitment-box label {
    display: block;
    font-weight: 600;
    color: #3F4F6E;
    margin-bottom: 8px;
}

.commitment-box textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    font-size: 1em;
    font-family: inherit;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    box-sizing: border-box;
    resize: vertical;
    transition: border-color 0.3s;
}

.commitment-box textarea:focus {
    outline: none;
    border-color: #3F4F6E;
}

.commitment-box input[type="text"],
.commitment-box input[type="date"],
.commitment-box input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    font-family: inherit;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.commitment-box input:focus {
    outline: none;
    border-color: #3F4F6E;
}

.print-plan-btn {
    background: #3F4F6E;
    color: white;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    margin: 25px auto 0 auto;
    transition: background 0.3s;
}

.print-plan-btn:hover {
    background: #2d3a52;
}

@media print {
    .commitment-section {
        border: 1px solid #ccc;
        box-shadow: none;
    }

    .print-plan-btn {
        display: none;
    }
}

/* ============================================================
   8. COMPARISON CHART (BAR CHART)
   ============================================================ */

.comparison-chart {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comparison-chart h3 {
    color: #3F4F6E;
    margin-top: 0;
}

.bar-container {
    margin: 20px 0;
    padding: 10px 0;
}

.bar-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.bar {
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    transition: width 1s ease-out;
    position: relative;
    min-width: 60px;
}

.bar.high {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.bar.low {
    background: linear-gradient(135deg, #C2B97F 0%, #A89F6A 100%);
    color: white;
}

.bar.medium {
    background: linear-gradient(135deg, #3F4F6E 0%, #2d3a52 100%);
    color: white;
}

.bar-value {
    font-weight: bold;
    font-size: 1em;
    white-space: nowrap;
}

.difference {
    background: #f0f4f8;
    border: 2px solid #3F4F6E;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
}

.difference h4 {
    color: #3F4F6E;
    margin-top: 0;
}

.difference .big-number {
    font-size: 3em;
    font-weight: bold;
    color: #059669;
    margin: 15px 0;
}

.difference p {
    color: #666;
    font-size: 1em;
}

@media (max-width: 768px) {
    .comparison-chart {
        padding: 20px;
    }
}

/* ============================================================
   9. MODULE PREVIEW CARDS
   ============================================================ */

.module-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.module-preview-card {
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0.7;
}

.module-preview-card::before {
    content: '\1F512';
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.2em;
    opacity: 0.5;
}

.module-preview-card h4 {
    color: #999;
    margin: 10px 0;
    font-size: 1.05em;
}

.module-preview-card p {
    color: #bbb;
    font-size: 0.9em;
    line-height: 1.4;
}

.module-preview-card .icon {
    font-size: 2em;
    margin-bottom: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.module-preview-card:hover {
    border-color: #C2B97F;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(194, 185, 127, 0.2);
}

/* Unlocked state */
.module-preview-card.unlocked {
    opacity: 1;
    border-color: #3F4F6E;
    animation: unlockReveal 0.5s ease-out;
}

.module-preview-card.unlocked::before {
    content: '\1F513';
    opacity: 1;
}

.module-preview-card.unlocked h4 {
    color: #3F4F6E;
}

.module-preview-card.unlocked p {
    color: #555;
}

.module-preview-card.unlocked .icon {
    filter: none;
}

.module-preview-card.unlocked:hover {
    border-color: #C2B97F;
    box-shadow: 0 8px 16px rgba(63, 79, 110, 0.2);
}

/* Completed state */
.module-preview-card.completed {
    opacity: 1;
    border-color: #059669;
}

.module-preview-card.completed::before {
    content: '\2705';
    opacity: 1;
}

.module-preview-card.completed h4 {
    color: #059669;
}

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

/* ============================================================
   SUPPLEMENTARY: CALLOUT BOXES
   ============================================================ */

.key-insight,
.stat-callout,
.objectives {
    background: #f9f7f0;
    border-left: 4px solid #C2B97F;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.key-insight h3,
.stat-callout h4,
.objectives h3 {
    margin-top: 0;
    color: #3F4F6E;
}

/* ============================================================
   SUPPLEMENTARY: WARNING & SUCCESS BOXES
   ============================================================ */

.warning-box {
    background: #fef2f2;
    border: 2px solid #dc2626;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.warning-box h4 {
    color: #991b1b;
    margin-top: 0;
}

.success-box {
    background: #f0fdf4;
    border: 2px solid #16a34a;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.success-box h4 {
    color: #166534;
    margin-top: 0;
}

/* ============================================================
   SUPPLEMENTARY: REVEAL SECTION & BUTTON
   ============================================================ */

.reveal-section {
    background: #f0f4f8;
    border: 2px solid #3F4F6E;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    display: none;
}

.reveal-section.visible {
    display: block;
    animation: fadeIn 0.5s;
}

.reveal-button {
    background: #3b82f6;
    color: white;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    display: block;
    margin: 30px auto;
}

.reveal-button:hover {
    background: #2563eb;
}

/* ============================================================
   SUPPLEMENTARY: COMPARISON GRID & CARDS
   ============================================================ */

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.comparison-card {
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.comparison-card:hover {
    border-color: #3F4F6E;
    box-shadow: 0 8px 16px rgba(63, 79, 110, 0.2);
    transform: translateY(-5px);
}

.comparison-card h3 {
    color: #3F4F6E;
    margin-top: 0;
    font-size: 1.1em;
}

.comparison-card .big-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #059669;
    margin: 15px 0;
}

.comparison-card .detail {
    font-size: 0.9em;
    color: #666;
    margin: 12px 0;
    line-height: 1.4;
}

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

/* ============================================================
   SUPPLEMENTARY: TIMELINE
   ============================================================ */

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 20px;
}

.timeline-step:not(:last-child)::after {
    content: '\2192';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: #3F4F6E;
}

.timeline-step .step-number {
    background: #3F4F6E;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
    }

    .timeline-step:not(:last-child)::after {
        content: '\2193';
        right: auto;
        bottom: -15px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ============================================================
   SUPPLEMENTARY: COMPLETION STATES
   ============================================================ */

.completion-message {
    background: #d1fae5;
    border: 3px solid #059669;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
    display: none;
}

.completion-message.visible {
    display: block;
    animation: fadeIn 0.5s;
}

.completion-message h3 {
    color: #059669;
    font-size: 2em;
    margin: 0 0 15px 0;
}

.completion-banner {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 3px solid #059669;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 30px 0;
    display: none;
}

.completion-banner.visible {
    display: block;
    animation: celebrate 0.6s;
}

.completion-banner h2 {
    margin-top: 0;
    font-size: 2.5em;
    color: #059669;
}

/* ============================================================
   SUPPLEMENTARY: GENERIC BUTTONS
   ============================================================ */

.btn {
    background: #3F4F6E;
    color: white;
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 0 10px;
    transition: background 0.3s;
}

.btn:hover {
    background: #2d3a52;
}

.btn.secondary {
    background: #64748b;
}

.btn.secondary:hover {
    background: #475569;
}

.btn.gold {
    background: #C2B97F;
    color: #3F4F6E;
}

.btn.gold:hover {
    background: #A89F6A;
}

.reset-button {
    background: #64748b;
    color: white;
    padding: 12px 30px;
    font-size: 1em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    margin: 20px auto;
}

.reset-button:hover {
    background: #475569;
}

.check-answers-btn {
    background: linear-gradient(135deg, #3F4F6E 0%, #2d3a52 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    margin: 30px auto;
    transition: all 0.3s;
}

.check-answers-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(63, 79, 110, 0.4);
}

/* ============================================================
   SUPPLEMENTARY: BENEFITS GRID
   ============================================================ */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.benefit-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: #C2B97F;
    box-shadow: 0 8px 16px rgba(194, 185, 127, 0.2);
    transform: translateY(-3px);
}

.benefit-card .icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.benefit-card h4 {
    color: #3F4F6E;
    margin: 10px 0;
}

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

/* ============================================================
   SUPPLEMENTARY: SLIDER / PAYMENT SIMULATOR
   ============================================================ */

.payment-simulator {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.payment-simulator h3 {
    color: #3F4F6E;
    margin-top: 0;
}

.slider-container {
    margin: 30px 0;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

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

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #3F4F6E;
    cursor: pointer;
}

.slider-input::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #3F4F6E;
    cursor: pointer;
    border: none;
}

/* ============================================================
   SUPPLEMENTARY: COMPARISON TABLE
   ============================================================ */

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: #3F4F6E;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: #f9fafb;
}

.comparison-table .feature {
    font-weight: 600;
    color: #374151;
}

.comparison-table .good {
    color: #059669;
    font-weight: 600;
}

.comparison-table .bad {
    color: #dc2626;
    font-weight: 600;
}

/* ============================================================
   SUPPLEMENTARY: PROS & CONS
   ============================================================ */

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 40px 0;
}

.pros-card,
.cons-card {
    border-radius: 12px;
    padding: 30px;
    color: white;
}

.pros-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.cons-card {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.pros-card h3,
.cons-card h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: white;
}

.pros-card ul,
.cons-card ul {
    margin: 15px 0;
    padding-left: 25px;
}

.pros-card li,
.cons-card li {
    margin: 12px 0;
    line-height: 1.5;
}

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