/**
 * Pygmalion Workshop - Enterprise CSS
 * Professional color scheme with excellent readability
 * Colors: White BG, Orange Accent, Navy Blue, Purple, Black/Gray Text
 */

/* ===== ENTERPRISE COLOR VARIABLES ===== */
:root {
    --bg-primary: #FFFFFF;           /* Clean White Background */
    --bg-secondary: #F8FAFC;         /* Light Gray Background */
    --bg-tertiary: #F1F5F9;          /* Lighter Gray */
    
    --orange-primary: #FF6B35;       /* Professional Orange */
    --orange-light: #FF8A65;         /* Light Orange */
    --orange-dark: #E55D2E;          /* Dark Orange */
    
    --navy-primary: #1E3A5F;         /* Professional Navy */
    --navy-light: #2D4A73;           /* Light Navy */
    --navy-dark: #152B47;            /* Dark Navy */
    
    --purple-primary: #6B46C1;       /* Professional Purple */
    --purple-light: #8B5FD6;         /* Light Purple */
    --purple-dark: #553C9A;          /* Dark Purple */
    
    --text-primary: #1A1A1A;         /* Almost Black */
    --text-secondary: #4A4A4A;       /* Dark Gray */
    --text-light: #6B7280;           /* Medium Gray */
    --text-muted: #9CA3AF;           /* Light Gray */
    
    --border-light: #E5E7EB;         /* Light Border */
    --border-medium: #D1D5DB;        /* Medium Border */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

/* ===== GLOBAL STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ===== ENTERPRISE BUTTONS ===== */
.pygmalion-btn-primary {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 8px 20px -4px rgba(255, 107, 53, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border: 2px solid transparent;
}

.pygmalion-btn-primary:hover {
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -4px rgba(255, 107, 53, 0.5);
    border-color: var(--orange-light);
}

.pygmalion-btn-primary:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

.pygmalion-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    background: var(--text-muted);
}

.pygmalion-btn-secondary {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px -4px rgba(30, 58, 95, 0.4);
}

.pygmalion-btn-secondary:hover {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -4px rgba(30, 58, 95, 0.5);
}

.pygmalion-btn-success {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pygmalion-btn-success:hover {
    background: var(--bg-tertiary);
    border-color: var(--orange-primary);
    color: var(--orange-primary);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px var(--shadow-medium);
}

.pygmalion-btn-purple {
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px -4px rgba(107, 70, 193, 0.4);
}

.pygmalion-btn-purple:hover {
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -4px rgba(107, 70, 193, 0.5);
}

/* ===== CARDS & CONTAINERS ===== */
.pygmalion-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pygmalion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
}

.pygmalion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
}

.dark-glass {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== OPTION CARDS (Workshop) ===== */
.option-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #E2E8F0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.option-card:hover {
    border-color: #3B82F6;
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.2);
}

.option-card:hover::before {
    left: 100%;
}

.option-card.selected {
    border-color: #1D4ED8;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(29, 78, 216, 0.1) 100%);
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
}

.option-card.selected .option-circle {
    background: #1D4ED8;
    border-color: #1D4ED8;
    color: white;
}

.option-circle {
    transition: all 0.3s ease;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== MESSAGE STYLES ===== */
.message-positive {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.message-positive::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

.message-neutral {
    background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
    color: white;
    border-radius: 1rem;
}

.message-negative {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    border-radius: 1rem;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ===== PROGRESS BARS ===== */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    border-radius: 1rem;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateX(400px);
    transition: all 0.3s ease;
    border-left: 4px solid #3B82F6;
    max-width: 400px;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: #10B981;
}

.toast.warning {
    border-left-color: #F59E0B;
}

.toast.error {
    border-left-color: #EF4444;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== FORM ENHANCEMENTS ===== */
.form-input {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #E2E8F0;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: #3B82F6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input:focus::placeholder {
    color: transparent;
}

/* ===== WORKSHOP SPECIFIC STYLES ===== */
.workshop-page {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    min-height: 100vh;
}

.workshop-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
}

.phase-indicator {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.phase-1 {
    background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
}

.phase-2 {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.phase-3 {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-animation {
    opacity: 0;
    transform: translateY(30px);
    animation: revealAnimation 1s ease-out 0.5s forwards;
}

.reveal-animation.delay-1 {
    animation-delay: 1s;
}

.reveal-animation.delay-2 {
    animation-delay: 1.5s;
}

.reveal-animation.delay-3 {
    animation-delay: 2s;
}

@keyframes revealAnimation {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .pygmalion-btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .option-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .toast {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    body {
        font-size: 14px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    .pygmalion-card {
        background: rgba(17, 24, 39, 0.95);
        border-color: rgba(55, 65, 81, 0.5);
    }
    
    .form-input {
        background: rgba(17, 24, 39, 0.9);
        border-color: rgba(55, 65, 81, 0.7);
        color: white;
    }
    
    .form-input::placeholder {
        color: rgba(156, 163, 175, 0.8);
    }
}

/* ===== UTILITY CLASSES ===== */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur-strong {
    backdrop-filter: blur(40px);
}

.border-gradient {
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #667eea, #764ba2) border-box;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== FOCUS STYLES ===== */
.pygmalion-btn-primary:focus,
.option-card:focus {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .pygmalion-btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .option-card {
        border: 3px solid #000;
    }
    
    .option-card.selected {
        background: #000;
        color: #fff;
    }
}

/* ===== LOTTIE ANIMATIONS & ENHANCED VISUALS ===== */

/* Lottie Container Styles */
.lottie-container {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.lottie-loading {
    width: 80px;
    height: 80px;
    margin: 1rem auto;
}

.lottie-success {
    width: 120px;
    height: 120px;
    margin: 1rem auto;
}

.lottie-countdown {
    width: 200px;
    height: 200px;
    margin: 2rem auto;
}

.lottie-reaction {
    width: 60px;
    height: 60px;
    display: inline-block;
}

.lottie-progress {
    width: 100px;
    height: 100px;
}

/* ===== ANIMATED COUNTERS ===== */
.animated-counter {
    font-family: 'Inter', monospace;
    font-weight: 800;
    font-size: 3rem;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
    animation: counterGlow 3s ease-in-out infinite;
}

.animated-counter.counting {
    animation: counterPulse 0.3s ease-out;
}

.animated-counter.large {
    font-size: 6rem;
    line-height: 1;
}

.animated-counter.xl {
    font-size: 8rem;
    line-height: 0.9;
}

@keyframes counterPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes counterGlow {
    0%, 100% { filter: brightness(1) saturate(1); }
    50% { filter: brightness(1.2) saturate(1.5); }
}

/* ===== MORPHING ICONS ===== */
.morphing-icon {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.morphing-icon:hover {
    animation: iconMorph 0.6s ease-in-out;
}

.morphing-icon.success {
    animation: successMorph 0.8s ease-out;
}

.morphing-icon.error {
    animation: errorMorph 0.6s ease-out;
}

@keyframes iconMorph {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.2); }
    50% { transform: rotate(180deg) scale(0.8); }
    75% { transform: rotate(270deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes successMorph {
    0% { transform: scale(1) rotate(0deg); opacity: 1; }
    30% { transform: scale(1.3) rotate(45deg); opacity: 0.7; }
    60% { transform: scale(0.8) rotate(180deg); opacity: 0.9; }
    100% { transform: scale(1) rotate(360deg); opacity: 1; }
}

@keyframes errorMorph {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px) rotate(-5deg); }
    20%, 40%, 60%, 80% { transform: translateX(4px) rotate(5deg); }
}

/* ===== MICRO-INTERACTIONS ===== */
.micro-bounce:hover {
    animation: microBounce 0.6s ease-in-out;
}

.micro-wiggle:hover {
    animation: microWiggle 0.5s ease-in-out;
}

.micro-glow:hover {
    animation: microGlow 2s ease-in-out infinite;
}

.micro-float {
    animation: microFloat 6s ease-in-out infinite;
}

@keyframes microBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes microWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

@keyframes microGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 30px rgba(59, 130, 246, 0.4); }
}

@keyframes microFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== DARK/LIGHT MODE TOGGLE ===== */
.theme-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.theme-toggle.dark {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-toggle.dark::before {
    transform: translateX(30px);
    background: #F3F4F6;
}

.theme-toggle::after {
    content: '☀️';
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    font-size: 12px;
    transition: opacity 0.3s ease;
}

.theme-toggle.dark::after {
    content: '🌙';
    left: auto;
    right: 8px;
}

/* Dark mode styles */
body.dark-mode {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #F1F5F9;
}

.dark-mode .pygmalion-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(71, 85, 105, 0.3);
    color: #F1F5F9;
}

.dark-mode .option-card {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(71, 85, 105, 0.5);
    color: #F1F5F9;
}

.dark-mode .option-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3B82F6;
}

/* ===== ENHANCED DATA VISUALIZATION ===== */
.chart-container {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1rem 0;
}

.chart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    flex-direction: column;
}

.chart-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    pointer-events: none;
    z-index: 1000;
    transform: translate(-50%, -100%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.chart-tooltip.show {
    opacity: 1;
}

.chart-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.slide-left {
    transform: translateX(-30px);
}

.scroll-reveal.slide-left.revealed {
    transform: translateX(0);
}

.scroll-reveal.slide-right {
    transform: translateX(30px);
}

.scroll-reveal.slide-right.revealed {
    transform: translateX(0);
}

.scroll-reveal.scale-up {
    transform: scale(0.8);
}

.scroll-reveal.scale-up.revealed {
    transform: scale(1);
}

/* ===== PARTICLE EFFECTS ===== */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #3B82F6, transparent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 3s ease-in-out;
}

.particle.success {
    background: radial-gradient(circle, #10B981, transparent);
}

.particle.warning {
    background: radial-gradient(circle, #F59E0B, transparent);
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-200px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-220px) scale(0);
    }
}

/* ===== ENHANCED MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .lottie-countdown {
        width: 150px;
        height: 150px;
    }
    
    .animated-counter {
        font-size: 2rem;
    }
    
    .animated-counter.large {
        font-size: 3rem;
    }
    
    .animated-counter.xl {
        font-size: 4rem;
    }
    
    .theme-toggle {
        width: 50px;
        height: 25px;
    }
    
    .theme-toggle::before {
        width: 20px;
        height: 20px;
        top: 2.5px;
        left: 2.5px;
    }
    
    .theme-toggle.dark::before {
        transform: translateX(25px);
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ===== PRINT STYLES ===== */
@media print {
    .pygmalion-btn-primary,
    .toast,
    nav,
    .lottie-container,
    .animated-counter,
    .morphing-icon,
    .theme-toggle {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .pygmalion-card {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}
