/* =============================================================================
   PTRFF Quiz Application - Custom Utility Classes
   =============================================================================
   Purpose: Replace inline style="" attributes to enable strict CSP
   Generated: December 24, 2025
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Line Height Utilities
   ----------------------------------------------------------------------------- */
.lh-tight { line-height: 1.1; }
.lh-snug { line-height: 1.2; }
.lh-normal { line-height: 1.3; }
.lh-relaxed { line-height: 1.6; }
.lh-loose { line-height: 1.7; }

/* Combined line-height + letter-spacing */
.lh-tight-tight { line-height: 1.1; letter-spacing: -0.03em; }
.lh-snug-tight { line-height: 1.2; letter-spacing: -0.02em; }

/* -----------------------------------------------------------------------------
   Animation Delay Utilities
   ----------------------------------------------------------------------------- */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* -----------------------------------------------------------------------------
   Gap Utilities (for flex/grid)
   ----------------------------------------------------------------------------- */
.gap-xs { gap: 0.25rem; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 0.75rem; }
.gap-base { gap: 1rem; }
.gap-lg { gap: 1.5rem; }
.gap-xl { gap: 2rem; }

/* -----------------------------------------------------------------------------
   Background Gradients
   ----------------------------------------------------------------------------- */
/* Header gradient - indigo */
.bg-gradient-header {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 50%, #3730a3 100%);
}

/* Footer gradient - slate dark */
.bg-gradient-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Primary brand gradient */
.bg-gradient-primary {
    background: linear-gradient(135deg, #3e57da 0%, #2d46b5 100%);
}

/* Purple accent */
.bg-gradient-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* Green success */
.bg-gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Amber warning */
.bg-gradient-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Pink accent */
.bg-gradient-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

/* White text gradient effect */
.text-gradient-white {
    background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Primary text gradient effect */
.text-gradient-primary {
    background: linear-gradient(135deg, #3e57da 0%, #2d46b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient divider line */
.bg-gradient-divider {
    background: linear-gradient(90deg, #3e57da, #8b5cf6);
}

/* -----------------------------------------------------------------------------
   Semi-transparent Backgrounds
   ----------------------------------------------------------------------------- */
.bg-white-10 { background: rgba(255, 255, 255, 0.1); }
.bg-white-15 { background: rgba(255, 255, 255, 0.15); }
.bg-white-20 { background: rgba(255, 255, 255, 0.2); }

/* Language menu dark background */
.bg-menu-dark {
    background: rgba(30, 41, 91, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile menu glass */
.bg-glass-light {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* -----------------------------------------------------------------------------
   Display & Flexbox Utilities
   ----------------------------------------------------------------------------- */
.inline-flex-center {
    display: inline-flex;
    align-items: center;
}

.flex-center {
    display: flex;
    align-items: center;
}

/* -----------------------------------------------------------------------------
   Stroke Utilities (for SVG)
   ----------------------------------------------------------------------------- */
.stroke-primary {
    stroke: #3e57da;
    stroke-width: 2;
}

.stroke-white-2 {
    stroke: white;
    stroke-width: 2;
}

.stroke-white-bold {
    stroke: white;
    stroke-width: 2.5;
}

/* -----------------------------------------------------------------------------
   Color Utilities
   ----------------------------------------------------------------------------- */
.text-white-70 { color: rgba(255, 255, 255, 0.7); }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-600 { color: #475569; }
.text-green-accent { color: #10b981; }
.text-purple-accent { color: #8b5cf6; }

/* Border colors */
.border-white-10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white-20 { border-color: rgba(255, 255, 255, 0.2); }

/* -----------------------------------------------------------------------------
   Spacing Combinations
   ----------------------------------------------------------------------------- */
.mb-snug { margin-bottom: 0.75rem; }
.mx-auto-prose { max-width: 42rem; margin-left: auto; margin-right: auto; }

/* Fixed icon width for alignment */
.icon-w-fixed { width: 24px; text-align: center; }

/* Letter spacing */
.tracking-wide-custom { letter-spacing: 0.05em; }

/* -----------------------------------------------------------------------------
   List Styles
   ----------------------------------------------------------------------------- */
.list-disc-relaxed {
    line-height: 1.7;
    list-style-type: disc;
}

/* -----------------------------------------------------------------------------
   Cookie Consent Banner
   ----------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d3748;
    color: white;
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* -----------------------------------------------------------------------------
   Background Patterns
   ----------------------------------------------------------------------------- */
.bg-pattern-plus {
    background-image: url('data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%23ffffff\' fill-opacity=\'1\'%3E%3Cpath d=\'M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.bg-pattern-primary {
    background-image: url('data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%233e57da\' fill-opacity=\'1\'%3E%3Cpath d=\'M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* -----------------------------------------------------------------------------
   Navigation Link Styles
   ----------------------------------------------------------------------------- */
.nav-flex-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* -----------------------------------------------------------------------------
   Animation
   ----------------------------------------------------------------------------- */
.animate-slide-down {
    animation: slideDown 0.2s ease-out;
}

/* z-index utilities */
.z-dropdown { z-index: 50; }
.z-modal { z-index: 100; }
.z-toast { z-index: 9999; }

/* Dot separator */
.dot-separator {
    color: #475569;
    margin: 0 0.25rem;
}

/* =============================================================================
   Intro Page Specific Styles
   ============================================================================= */

/* Hero section background pattern (white 40% opacity) */
.bg-pattern-white-40 {
    background-image: url('data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%23ffffff\' fill-opacity=\'0.4\'%3E%3Cpath d=\'M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Beta badge */
.beta-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25) 0%, rgba(252, 211, 77, 0.2) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(251, 191, 36, 0.6);
    gap: 0.375rem;
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.3), 0 0 20px rgba(251, 191, 36, 0.2);
    padding: 0.5rem 1rem;
    margin-top: 2rem;
}

.beta-icon-glow {
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.8));
}

.text-gradient-gold {
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
    font-weight: 800;
    letter-spacing: 0.05em;
}

.text-gradient-gold-light {
    display: block;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 20px rgba(252, 211, 77, 0.3);
    font-weight: 900;
}

.text-gradient-white-blue {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #bfdbfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.2);
    font-weight: 900;
}

/* Hero subtitle styling */
.hero-subtitle {
    line-height: 1.65;
    font-weight: 500;
}

.text-sky-100 { color: #e0f2fe; }
.text-gray-300 { color: #d1d5db; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }

.text-gold-highlight {
    font-weight: 800;
    color: #fbbf24;
    text-decoration: underline;
    text-decoration-color: #fcd34d;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.text-gradient-green-glow {
    font-weight: 800;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    font-style: italic;
}

.text-gold-stroke {
    font-weight: 800;
    color: #fbbf24;
    text-shadow: -1px -1px 0 #2d46b5, 1px -1px 0 #2d46b5, -1px 1px 0 #2d46b5, 1px 1px 0 #2d46b5, 0 0 15px rgba(251, 191, 36, 0.5);
    font-style: italic;
}

/* CTA Button */
.btn-cta-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 0.875rem;
    box-shadow: 0 20px 50px -12px rgba(16, 185, 129, 0.5);
}

.btn-shimmer {
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

/* Stats bar */
.stat-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
}

.stat-label {
    opacity: 0.95;
    font-weight: 600;
}

/* Wave divider */
.wave-container {
    margin-bottom: -1px;
}

.wave-svg {
    width: 100%;
    height: 80px;
}

/* Section backgrounds */
.bg-gradient-gray {
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

/* Text emphasis */
.text-primary-bold {
    font-weight: 600;
    color: #3e57da;
}

.text-purple-bold {
    font-weight: 600;
    color: #8b5cf6;
}

.text-gradient-rainbow {
    background: linear-gradient(135deg, #3e57da 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(62, 87, 218, 0.3);
    font-style: italic;
    position: relative;
    display: inline-block;
}

.text-gradient-pink {
    font-weight: 700;
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Underline decoration */
.underline-gradient {
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #3e57da 20%, #8b5cf6 50%, #ec4899 80%, transparent 100%);
    border-radius: 2px;
}

/* Feature card styles */
.feature-card-border-primary {
    border-top: 4px solid #3e57da;
    padding: 1.25rem;
}

.feature-card-border-purple {
    border-top: 4px solid #8b5cf6;
    padding: 1.25rem;
}

.feature-card-border-green {
    border-top: 4px solid #10b981;
    padding: 1.25rem;
}

.text-gradient-primary-purple {
    background: linear-gradient(135deg, #3e57da 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.text-gradient-purple-violet {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.text-gradient-green-emerald {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

/* Flex shrink */
.flex-shrink-0 { flex-shrink: 0; }

/* Additional colors */
.text-primary { color: #3e57da; }
.text-purple { color: #8b5cf6; }
.text-green { color: #10b981; }
.text-amber { color: #f59e0b; }
.text-indigo-underline {
    font-weight: 600;
    color: #4f46e5;
    text-decoration: underline;
    text-decoration-color: #818cf8;
    text-underline-offset: 2px;
}
.text-green-underline {
    font-weight: 600;
    color: #059669;
    text-decoration: underline;
    text-decoration-color: #34d399;
    text-underline-offset: 2px;
}
.text-amber-underline {
    font-weight: 600;
    color: #d97706;
    text-decoration: underline;
    text-decoration-color: #fbbf24;
    text-underline-offset: 2px;
}

/* Feature card border - amber */
.feature-card-border-amber {
    border-top: 4px solid #f59e0b;
    padding: 1.25rem;
}

/* Amber text gradients */
.text-gradient-amber-yellow {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

/* Icon container gradients */
.icon-container-primary {
    background: linear-gradient(135deg, #3e57da 0%, #2d46b5 100%);
    margin-bottom: 1.25rem;
}

.icon-container-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    margin-bottom: 1.25rem;
}

.icon-container-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    margin-bottom: 1.25rem;
}

/* Step number circles */
.step-circle-primary {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b6edb 0%, #3e57da 50%, #2d46b5 100%);
    box-shadow: 0 8px 24px rgba(62, 87, 218, 0.4), 0 4px 12px rgba(62, 87, 218, 0.3), inset 0 -2px 8px rgba(0, 0, 0, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    letter-spacing: -0.02em;
}

.step-circle-green {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(16, 185, 129, 0.3), inset 0 -2px 8px rgba(0, 0, 0, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    letter-spacing: -0.02em;
}

.step-circle-amber {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4), 0 4px 12px rgba(245, 158, 11, 0.3), inset 0 -2px 8px rgba(0, 0, 0, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    letter-spacing: -0.02em;
}

/* Mobile step connector */
.step-connector-mobile {
    width: 2px;
    height: 16px;
    background: linear-gradient(180deg, rgba(156, 163, 175, 0.3) 0%, rgba(156, 163, 175, 0.8) 50%, rgba(156, 163, 175, 0.3) 100%);
}

/* Arrow margin for steps */
.arrow-margin { margin: 0 0.25rem; }

/* Gradient orbs for decorative backgrounds */
.gradient-orb-top-right {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.3) 0%, transparent 70%);
    filter: blur(40px);
}

.gradient-orb-bottom-left {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.3) 0%, transparent 70%);
    filter: blur(40px);
}

/* Secondary CTA button */
.btn-cta-white {
    background: white;
    color: #7c3aed;
    gap: 0.5rem;
}

/* Pattern backgrounds with different opacities */
.bg-pattern-white-60 {
    background-image: url('data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%23ffffff\' fill-opacity=\'0.6\'%3E%3Cpath d=\'M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Additional text utilities */
.text-fw-700 { font-weight: 700; }
.text-fw-600 { font-weight: 600; }
.text-italic { font-style: italic; }

/* =============================================================================
   Quiz Page Specific Styles
   ============================================================================= */

/* Quiz layout spacing */
.quiz-row-gap { gap: 16px; margin-bottom: 20px; }
.quiz-box { box-shadow: 0 4px 20px rgba(0,0,0,0.06); padding: 12px 16px; }
.quiz-item-gap { gap: 8px; }
.quiz-timer-gap { gap: 10px; }

/* Quiz icon boxes */
.quiz-icon-box-indigo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(79, 70, 229, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-icon-box-green {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Quiz SVG icons */
.quiz-icon-indigo {
    width: 16px;
    height: 16px;
    stroke: #6366f1;
    stroke-width: 2;
}

.quiz-icon-green {
    width: 16px;
    height: 16px;
    stroke: #10b981;
    stroke-width: 2;
}

/* Quiz text styles */
.quiz-label {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quiz-counter-num {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quiz-counter-slash {
    font-size: 16px;
    color: #9ca3af;
    font-weight: 500;
}

.quiz-counter-total {
    font-size: 16px;
    color: #4b5563;
    font-weight: 600;
}

.quiz-counter-gap { gap: 4px; }

.quiz-timer {
    font-size: 22px;
    color: #10b981;
    transition: color 0.3s ease;
}

.quiz-timer-label {
    font-size: 10px;
    color: #6b7280;
    font-weight: 500;
}

/* Quiz card */
.quiz-card {
    border-radius: 1.25rem;
    padding: 24px 20px 28px 20px;
}

.quiz-question-mb { margin-bottom: 24px; padding: 0 4px; }
.quiz-options-padding { padding: 0 4px; }
.quiz-nav-padding { padding: 0 8px; }

/* Quiz button arrow */
.quiz-btn-arrow {
    stroke: white;
    stroke-width: 2.5;
    width: 20px;
    height: 20px;
}

/* Consistent arrow style for all CTA buttons */
.cta-arrow {
    stroke-width: 2.5;
    width: 22px;
    height: 22px;
}

/* Default stroke color if not specified inline */
.cta-arrow:not([stroke]) {
    stroke: currentColor;
}

/* Quiz modal */
.quiz-modal-bg {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.quiz-modal-card {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

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

.quiz-modal-icon-bg {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
}

.quiz-modal-tip-bg {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
}

.quiz-modal-tip-icon {
    stroke: #6366f1;
    stroke-width: 2;
}

/* Margin bottom zero */
.mb-0 { margin-bottom: 0; }

/* Text colors */
.text-indigo-600 { color: #4f46e5; }
.text-emerald-600 { color: #059669; }
.text-amber-700 { color: #b45309; }

/* =============================================================================
   Thank You Page Specific Styles
   ============================================================================= */

/* Status icon circles */
.status-icon-error {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
}

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

/* Back to home button */
.btn-back-home {
    background: linear-gradient(135deg, #3e57da 0%, #2d46b5 100%);
    color: white;
    gap: 0.75rem;
    text-decoration: none;
}

/* Stroke current color */
.stroke-current-bold {
    stroke: currentColor;
    stroke-width: 2.5;
}

/* Progress bar widths (for CSP-compliant initial states) */
.progress-20 { width: 20%; }

/* =============================================================================
   Quiz Timer Warning States (for CSP-compliant JS class toggling)
   ============================================================================= */

/* Timer colors */
.timer-red { color: #ef4444 !important; }
.timer-amber { color: #f59e0b !important; }
.timer-yellow { color: #eab308 !important; }
.timer-green { color: #10b981 !important; }

/* SVG stroke colors for timer icon */
.stroke-red { stroke: #ef4444 !important; }
.stroke-amber { stroke: #f59e0b !important; }
.stroke-yellow { stroke: #eab308 !important; }
.stroke-green { stroke: #10b981 !important; }

/* Warning box states */
.warning-critical {
    display: block !important;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-color: #f87171;
}

.warning-urgent {
    display: block !important;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: #fbbf24;
}

.warning-hidden {
    display: none !important;
}

/* Modal display states */
.modal-visible {
    display: flex !important;
}

.modal-hidden {
    display: none !important;
}

/* =============================================================================
   Button Cursor Fix (using !important to override Tailwind's @layer)
   ============================================================================= */

/* Ensure all buttons show pointer cursor */
button,
[role="button"],
.btn,
input[type="button"],
input[type="submit"] {
    cursor: pointer !important;
}

button:disabled,
[disabled] {
    cursor: not-allowed !important;
}

/* Complete page specific button styles */
#retakeQuizBtn,
#nextStepBtn,
#shareBtn,
#startQuizBtn,
#secondaryStartQuizBtn {
    cursor: pointer !important;
}

#retakeQuizBtn:hover,
#nextStepBtn:hover,
#startQuizBtn:hover,
#secondaryStartQuizBtn:hover {
    opacity: 0.9;
}

/* =============================================================================
   Complete Page Specific Styles
   ============================================================================= */

/* Page background gradient */
.bg-complete-page {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Main card shadow */
.complete-card-shadow {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Success icon gradient */
.complete-success-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Badge box and leaderboard opt-in background */
.bg-gray-50-solid {
    background: #f9fafb;
}

/* XP pill styling */
.xp-pill {
    background: #d1fae5;
    color: #059669;
}

/* Border top divider */
.border-top-divider {
    border-top: 1px solid #e5e7eb;
}

/* Gap 12px utility */
.gap-3-custom {
    gap: 12px;
}

/* Primary action button (retake quiz) */
.btn-primary-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

/* Secondary action button (what's next) */
.btn-secondary-outline {
    background: white;
    color: #4f46e5;
    border: 2px solid #e0e7ff;
}

/* No text decoration (for button-styled links) */
.no-underline {
    text-decoration: none;
}

/* =============================================================================
   Contact/About/Support Page Styles
   ============================================================================= */

/* Icon container backgrounds */
.icon-bg-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

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

.icon-bg-primary {
    background: linear-gradient(135deg, #3e57da 0%, #2d46b5 100%);
}

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

.icon-bg-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.icon-bg-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

/* CTA section background */
.cta-bg-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* CTA button white */
.cta-btn-white {
    background: white;
    color: #7c3aed;
    gap: 0.75rem;
    text-decoration: none;
}

/* Text colors for links */
.text-link-primary {
    color: #3e57da;
}

.text-link-green {
    color: #10b981;
}

.text-link-purple {
    color: #8b5cf6;
}

/* Gap utilities */
.gap-2rem {
    gap: 2rem;
}

/* CTA section background - primary blue */
.cta-bg-primary {
    background: linear-gradient(135deg, #3e57da 0%, #2d46b5 100%);
}

/* CTA button white with primary color */
.cta-btn-white-primary {
    background: white;
    color: #3e57da;
    gap: 0.75rem;
    text-decoration: none;
}

/* Stats number gradient */
.stats-number {
    background: linear-gradient(135deg, #3e57da 0%, #2d46b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pink icon background */
.icon-bg-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

/* CTA section background - green */
.cta-bg-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* CTA button white with green color */
.cta-btn-white-green {
    background: white;
    color: #059669;
    gap: 0.75rem;
    text-decoration: none;
}
