/**
 * VIDEO & MODULE VISUAL ENHANCEMENTS
 * Genspark Training Platform v3.0
 * Premium styling for video section, modules, and quiz elements
 */

:root {
    --video-aspect-ratio: 56.25%; /* 16:9 */
}

/* ===========================
   VIDEO SECTION ENHANCEMENTS
   =========================== */

/* Fix video container layout */
.video-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Enhanced video wrapper with proper visibility */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: var(--video-aspect-ratio);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

/* Ensure iframe is always visible */
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    z-index: 1;
}

/* Video timestamps sidebar */
.video-timestamps {
    position: sticky;
    top: 24px;
    width: 280px;
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.video-timestamps h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--apple-gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.timestamp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timestamp-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--apple-gray-50);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.timestamp-btn:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(88, 86, 214, 0.08) 100%);
    border-color: var(--apple-blue);
    transform: translateX(4px);
}

.timestamp-btn .time {
    font-weight: 600;
    color: var(--apple-blue);
    font-size: 0.9375rem;
    font-variant-numeric: tabular-nums;
}

.timestamp-btn .desc {
    font-size: 0.875rem;
    color: var(--apple-gray-700);
    flex: 1;
    text-align: right;
}

/* Pro tip styling */
.video-container > div[style*="background: var(--apple-blue)"] {
    grid-column: 1 / -1;
    margin-top: 0 !important;
    padding: 20px 24px !important;
    background: linear-gradient(135deg, var(--apple-blue) 0%, var(--apple-purple) 100%) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-container > div[style*="background: var(--apple-blue)"] i {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Responsive video layout */
@media (max-width: 1024px) {
    .video-container {
        grid-template-columns: 1fr;
    }
    
    .video-timestamps {
        position: static;
        width: 100%;
    }
}

/* ===========================
   MODULE SECTION ENHANCEMENTS
   =========================== */

.module-section {
    padding: 80px 0;
    position: relative;
}

.module-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

/* Module header */
.module-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.module-badge {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    color: white;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
    margin-bottom: 16px;
}

.module-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.module-header .video-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    border: 2px solid var(--apple-blue);
    color: var(--apple-blue);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

.module-header .video-link:hover {
    background: var(--apple-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.module-header .video-link i {
    font-size: 1.25rem;
}

/* Module content cards */
.module-content {
    display: grid;
    gap: 32px;
}

.content-block {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.content-block:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.content-block h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-block h3 i {
    color: var(--apple-blue);
    font-size: 1.5rem;
}

.content-block p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--apple-gray-700);
    margin-bottom: 16px;
}

.content-block ul,
.content-block ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.content-block li {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--apple-gray-700);
}

/* Callout boxes in modules */
.callout-box {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(88, 86, 214, 0.08) 100%);
    border-left: 4px solid var(--apple-blue);
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
}

.callout-box.success {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.08) 0%, rgba(48, 209, 88, 0.08) 100%);
    border-left-color: var(--apple-green);
}

.callout-box.warning {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.08) 0%, rgba(255, 149, 0, 0.08) 100%);
    border-left-color: var(--apple-yellow);
}

.callout-box h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--apple-gray-900);
    display: flex;
    align-items: center;
    gap: 10px;
}

.callout-box h4 i {
    font-size: 1.25rem;
}

.callout-box p {
    margin-bottom: 8px;
    color: var(--apple-gray-700);
}

/* Visual guides in modules */
.visual-guide {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(249, 250, 251, 1) 100%);
    border-radius: 24px;
    padding: 40px;
    margin: 32px 0;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.visual-guide::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.visual-guide h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--apple-gray-900);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.visual-guide h4::before {
    content: "";
    width: 4px;
    height: 32px;
    background: linear-gradient(180deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    border-radius: 2px;
}

.visual-guide h4 i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.visual-guide .guide-steps {
    display: grid;
    gap: 16px;
}

.guide-step {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.guide-step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.guide-step-content {
    flex: 1;
}

.guide-step-content strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--apple-gray-900);
    margin-bottom: 4px;
}

.guide-step-content p {
    font-size: 0.9375rem;
    color: var(--apple-gray-700);
    margin: 0;
}

/* ===========================
   QUIZ ENHANCEMENTS
   =========================== */

/* Quiz container */
.quiz-container {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    max-width: 900px;
    margin: 0 auto;
}

/* Quiz progress bar */
.quiz-progress {
    width: 100%;
    height: 8px;
    background: var(--apple-gray-200);
    border-radius: 4px;
    margin-bottom: 32px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    border-radius: 4px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.5);
}

/* Quiz question */
.quiz-question {
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(249, 250, 251, 1) 100%);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quiz-question::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quiz-question:hover::before {
    opacity: 1;
}

.quiz-question:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.quiz-question h3 {
    font-size: 1.625rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.question-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--apple-gray-500);
}

.question-number {
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    color: white;
    border-radius: 24px;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
}

.question-type {
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(88, 86, 214, 0.08) 100%);
    color: var(--apple-blue);
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(0, 122, 255, 0.2);
}

/* Quiz options */
.quiz-options {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}

.quiz-option {
    padding: 20px 24px;
    border: 2px solid var(--apple-gray-200);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.quiz-option::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.quiz-option:hover {
    border-color: var(--apple-blue);
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.04) 0%, rgba(88, 86, 214, 0.04) 100%);
    transform: translateX(4px);
}

.quiz-option:hover::before {
    transform: scaleY(1);
}

.quiz-option.selected {
    border-color: var(--apple-blue);
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(88, 86, 214, 0.1) 100%);
}

.quiz-option.selected::before {
    transform: scaleY(1);
}

.quiz-option.correct {
    border-color: var(--apple-green);
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, rgba(48, 209, 88, 0.1) 100%);
}

.quiz-option.incorrect {
    border-color: var(--apple-red);
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.1) 0%, rgba(255, 69, 58, 0.1) 100%);
}

.option-letter {
    width: 40px;
    height: 40px;
    background: var(--apple-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--apple-gray-700);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.quiz-option:hover .option-letter,
.quiz-option.selected .option-letter {
    background: linear-gradient(135deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    color: white;
}

.quiz-option.correct .option-letter {
    background: var(--apple-green);
    color: white;
}

.quiz-option.incorrect .option-letter {
    background: var(--apple-red);
    color: white;
}

.option-text {
    flex: 1;
    font-size: 1rem;
    color: var(--apple-gray-900);
    line-height: 1.5;
}

/* Quiz feedback */
.quiz-feedback {
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: start;
    gap: 16px;
}

.quiz-feedback.correct {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, rgba(48, 209, 88, 0.1) 100%);
    border-left: 4px solid var(--apple-green);
}

.quiz-feedback.incorrect {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.1) 0%, rgba(255, 69, 58, 0.1) 100%);
    border-left: 4px solid var(--apple-red);
}

.quiz-feedback i {
    font-size: 1.5rem;
    margin-top: 2px;
}

.quiz-feedback.correct i {
    color: var(--apple-green);
}

.quiz-feedback.incorrect i {
    color: var(--apple-red);
}

.feedback-text {
    flex: 1;
}

.feedback-text strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--apple-gray-900);
}

.feedback-text p {
    font-size: 0.9375rem;
    color: var(--apple-gray-700);
    line-height: 1.6;
    margin: 0;
}

/* Quiz actions */
.quiz-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.quiz-btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.quiz-btn-primary {
    background: linear-gradient(135deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
}

.quiz-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.4);
}

.quiz-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quiz-btn-secondary {
    background: white;
    color: var(--apple-gray-700);
    border: 2px solid var(--apple-gray-300);
}

.quiz-btn-secondary:hover {
    border-color: var(--apple-blue);
    color: var(--apple-blue);
    transform: translateY(-2px);
}

/* Quiz results */
.quiz-results {
    text-align: center;
    padding: 48px 32px;
}

.results-score {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.results-message {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 32px;
}

.results-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.result-stat {
    padding: 24px;
    background: var(--apple-gray-50);
    border-radius: 16px;
}

.result-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--apple-blue);
    margin-bottom: 8px;
}

.result-stat-label {
    font-size: 0.875rem;
    color: var(--apple-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===========================
   ADDITIONAL MODULE ENHANCEMENTS
   =========================== */

/* Narrative boxes */
.narrative-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(249, 250, 251, 1) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.narrative-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
}

.narrative-box h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--apple-gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.narrative-box p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--apple-gray-700);
    margin-bottom: 16px;
}

/* Callout grid */
.callout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

/* Enhanced callout boxes */
.callout-box {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.callout-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: transform 0.3s ease;
}

.callout-box.why-matters::before {
    background: linear-gradient(90deg, var(--apple-yellow) 0%, var(--apple-orange) 100%);
}

.callout-box.smb-help::before {
    background: linear-gradient(90deg, var(--apple-green) 0%, #30D158 100%);
}

.callout-box.community-impact::before {
    background: linear-gradient(90deg, var(--apple-purple) 0%, #BF5AF2 100%);
}

.callout-box.business-benefits::before {
    background: linear-gradient(90deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
}

.callout-box.role-specific::before {
    background: linear-gradient(90deg, var(--apple-orange) 0%, #FF9F0A 100%);
}

.callout-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.callout-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(88, 86, 214, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.75rem;
    color: var(--apple-blue);
}

.callout-box.why-matters .callout-icon {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15) 0%, rgba(255, 149, 0, 0.15) 100%);
    color: var(--apple-yellow);
}

.callout-box.smb-help .callout-icon {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.15) 0%, rgba(48, 209, 88, 0.15) 100%);
    color: var(--apple-green);
}

.callout-box.community-impact .callout-icon {
    background: linear-gradient(135deg, rgba(175, 82, 222, 0.15) 0%, rgba(191, 90, 242, 0.15) 100%);
    color: var(--apple-purple);
}

.callout-box h4 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--apple-gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.callout-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.callout-box li {
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--apple-gray-700);
}

.callout-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--apple-green);
    font-weight: 700;
    font-size: 1.125rem;
}

/* Step indicators */
.step-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 28px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--apple-blue);
}

.step-item.active {
    border-color: var(--apple-blue);
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(88, 86, 214, 0.08) 100%);
    box-shadow: 0 10px 32px rgba(0, 122, 255, 0.25);
}

.step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.35);
    transition: all 0.3s ease;
}

.step-item:hover .step-num {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 28px rgba(0, 122, 255, 0.45);
}

.step-item.active .step-num {
    animation: pulse-step 1.5s ease-in-out infinite;
}

@keyframes pulse-step {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.step-item p {
    transition: color 0.3s ease;
}

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

/* Step detail box */
.step-detail {
    transition: all 0.3s ease;
}

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

.step-item p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--apple-gray-900);
    margin: 0;
    line-height: 1.4;
}

.step-arrow {
    font-size: 1.75rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--apple-blue) 0%, var(--apple-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

/* ROI Insight boxes */
.roi-insight {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.08) 0%, rgba(48, 209, 88, 0.08) 100%);
    border-left: 4px solid var(--apple-green);
    border-radius: 20px;
    padding: 32px;
    margin-top: 32px;
}

.roi-insight h4 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--apple-gray-900);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.roi-insight h4 i {
    color: var(--apple-green);
    font-size: 1.5rem;
}

.roi-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--apple-gray-700);
    margin: 0;
}

/* Guide images */
.guide-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quiz-container {
        padding: 32px 24px;
    }
    
    .quiz-question h3 {
        font-size: 1.25rem;
    }
    
    .quiz-option {
        padding: 16px 20px;
    }
    
    .results-details {
        grid-template-columns: 1fr;
    }
    
    .module-header h2 {
        font-size: 2rem;
    }
    
    .callout-grid {
        grid-template-columns: 1fr;
    }
    
    .step-indicators {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .narrative-box {
        padding: 28px 24px;
    }
}
