/* =================================================================== */
/* FILE: newbuilder.css (Component-Based Organization)                 */
/* =================================================================== */

/* =================================================================== */
/* == 1. GLOBAL KEYFRAME ANIMATIONS                                 == */
/* =================================================================== */

@keyframes floatParticleBuilder {
    0% { transform: translateY(100%) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100%) translateX(50px) scale(1.2); opacity: 0; }
}

@keyframes pulse-opacity {
  0%   { opacity: 0.6; transform: translateX(-50%) scale(.9); box-shadow: 0 0 10px rgba(51, 194, 219, 0.2); }
  50%  { opacity: .8;  transform: translateX(-50%) scale(.9); box-shadow: 0 0 25px rgba(51, 194, 219, 0.5); }
  100% { opacity: 0.6; transform: translateX(-50%) scale(.9); box-shadow: 0 0 10px rgba(51, 194, 219, 0.2); }
}

@keyframes celebration-glow {
    0%, 100% { border-color: hsl(0, 100%, 75%); box-shadow: 0 0 10px white, 0 0 20px hsl(0, 100%, 75%), 0 0 35px hsl(0, 100%, 75%); }
    25% { border-color: hsl(120, 100%, 75%); box-shadow: 0 0 15px white, 0 0 30px hsl(120, 100%, 75%), 0 0 45px hsl(120, 100%, 75%); }
    50% { border-color: hsl(180, 100%, 75%); box-shadow: 0 0 10px white, 0 0 20px hsl(180, 100%, 75%), 0 0 35px hsl(180, 100%, 75%); }
    75% { border-color: hsl(270, 100%, 75%); box-shadow: 0 0 15px white, 0 0 30px hsl(270, 100%, 75%), 0 0 45px hsl(270, 100%, 75%); }
}

@keyframes selected-pulse {
    0%, 100% { box-shadow: 0 0 45px var(--theme-glow), inset 0 0 20px var(--theme-alpha), 0 8px 30px var(--shadow-heavy); }
    50% { box-shadow: 0 0 55px var(--theme-glow), inset 0 0 25px var(--theme-alpha), 0 10px 35px var(--shadow-heavy); }
}

@keyframes engageSelectedPulse {
    0%, 100% { box-shadow: var(--glow-lg) var(--theme-glow), inset 0 0 25px var(--theme-alpha), 0 6px 25px var(--shadow-medium); }
    50% { box-shadow: 0 0 45px var(--theme-glow), inset 0 0 30px var(--theme-alpha), 0 8px 30px var(--shadow-heavy); }
}

@keyframes session-selected-pulse {
    0%, 100% { box-shadow: 0 0 30px var(--theme-glow), inset 0 0 25px var(--theme-alpha), 0 10px 35px var(--shadow-heavy); }
    50% { box-shadow: 0 0 45px var(--theme-glow), inset 0 0 35px var(--theme-alpha), 0 15px 45px var(--shadow-heavy); }
}

@keyframes checkmark-bounce {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(-10deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slideInUp { to { opacity: 1; transform: translateY(0); } }

@keyframes slow-pan {
    from { background-position: 200% 50%; }
    to   { background-position: 0% 50%; }
}

@keyframes blinkCursor { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

@keyframes breathing-line-glow {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2)); }
    50% { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4)); }
}

/* =================================================================== */
/* == 2. CORE LAYOUT & STRUCTURE                                    == */
/* =================================================================== */

.builder-section {
    position: relative;
    z-index: 20;
    background: transparent;
    color: #ffffff;
    padding: 10px 0;
    overflow: clip;
    min-height: 100vh;
}

#builder-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: transparent;
    z-index: 1;
    opacity: 0; /* JS will animate this */
}

.menu-container {
    position: relative;
    z-index: 21;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-xl) 20px var(--space-xl);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: var(--space-xl) 0;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-section:nth-child(2) { animation-delay: 0.1s; }
.menu-section:nth-child(3) { animation-delay: 0.2s; }
.menu-section:nth-child(4) { animation-delay: 0.3s; }

.section-glass {
    border-radius: var(--radius-3xl);
    padding: var(--space-3xl);
    height: auto !important;
}

/* =================================================================== */
/* == 3. COMPONENTS                                                 == */
/* =================================================================== */

/* --- 3.1 Builder Logo --- */
.builder-section .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 1rem auto 10px auto;
    padding: 20px;
    z-index: 20;
    aspect-ratio: 720 / 520;
    height: auto;
}

.builder-section .logo-container > svg,
.builder-section .logo-svg {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    image-rendering: optimizeQuality;
}

/* --- 3.2 Floating Dashboard & Counter --- */
.floating-dashboard {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%; height: 280px;
    z-index: 1000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 20px;
}

.floating-dashboard .cubes-canvas {
    width: 100%; height: 100%;
    filter: drop-shadow(0 -5px 25px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

.dashboard-counter {
    position: absolute;
    bottom: 15px; left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(51, 194, 219, 0.4);
    border-radius: 20px;
    padding: 8px 16px;
    backdrop-filter: var(--blur-heavy);
    z-index: 1001;
    animation: pulse-opacity 3s infinite ease-in-out;
}

.dashboard-counter.celebrating {
    animation: celebration-glow 2s infinite linear,
               pulse-opacity 3s ease-in-out infinite;
}

.counter-text {
    font-size: 14px;
    font-weight: 600;
    color: #33C2DB;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 3.3 Glass Containers & Menu Titles --- */
.glass-container {
    background: linear-gradient(135deg, var(--glass-light) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--blur-heavy);
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
}
.glass-container::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--theme-alpha) 50%, transparent 100%);
    transition: left 0.8s ease;
}
.glass-container:hover::before { left: 100%; }

.glass-heavy {
    background: linear-gradient(135deg, var(--glass-medium) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.03) 100%);
    border-color: var(--glass-heavy);
    box-shadow: 0 12px 40px var(--shadow-medium), inset 0 2px 0 var(--glass-heavy), var(--glow-md) var(--theme-alpha);
}
.glass-heavy:hover {
    transform: translateY(-5px);
    border-color: var(--theme-color);
    box-shadow: 0 16px 50px var(--shadow-heavy), var(--glow-lg) var(--theme-glow), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.menu-title {
    margin-bottom: var(--space-3xl);
    margin-top: var(--space-xl);
}
.title-glass {
    border-radius: 24px;
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: 0 8px 32px var(--shadow-light), inset 0 1px 0 rgba(255, 255, 255, 0.2), var(--glow-md) var(--theme-alpha);
}
.title-glass h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 var(--space-md) 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-primary) 25%, var(--white) 50%, var(--accent-secondary) 75%, var(--white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(var(--glow-md) var(--theme-glow)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.title-glass p {
    font-size: 1.4rem;
    color: var(--glass-text);
    margin: 0;
    text-shadow: var(--glow-sm) var(--theme-alpha), 0 1px 2px var(--shadow-light);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* --- 3.4 Question Layout & Theming --- */
.question-section { margin-bottom: var(--space-2xl); }
.question-layout { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2xl); flex-wrap: wrap; }
#addons .question-layout, #sessionOptions .question-layout, .length-theme .question-layout, .package-theme .question-layout, .format-theme .question-layout { margin-bottom: var(--space-2xl); }
#skillLevel .question-layout, #sessionType .question-layout, #topics .question-layout { margin-bottom: var(--space-xl); }

.question-info { display: flex; align-items: center; gap: var(--space-lg); min-width: 300px; }
.question-content h3 {
    margin: 0 0 var(--space-sm) 0;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.question-content p { margin: 0; font-size: 1rem; color: rgba(255, 255, 255, 0.75); font-weight: 400; }

/* Theme Color Variables */
.format-theme  { --theme-color: var(--kinetic-teal);     --theme-glow: rgba(0, 245, 212, 0.6);   --theme-alpha: rgba(0, 245, 212, 0.15); }
.length-theme  { --theme-color: var(--neon-periwinkle);  --theme-glow: rgba(138, 43, 226, 0.6);  --theme-alpha: rgba(138, 43, 226, 0.15); }
.package-theme { --theme-color: var(--signal-green);     --theme-glow: rgba(0, 229, 91, 0.6);    --theme-alpha: rgba(0, 229, 91, 0.15); }
.addons-theme  { --theme-color: var(--ignition-orange);  --theme-glow: rgba(249, 115, 22, 0.6);  --theme-alpha: rgba(249, 115, 22, 0.15); }
.session-theme { --theme-color: var(--hyper-blue);       --theme-glow: rgba(77, 159, 255, 0.6);  --theme-alpha: rgba(77, 159, 255, 0.15); }
.skill-theme   { --theme-color: var(--neural-gold);      --theme-glow: rgba(249, 224, 118, 0.6); --theme-alpha: rgba(249, 224, 118, 0.15); }
.type-theme    { --theme-color: var(--fusion-coral);     --theme-glow: rgba(255, 92, 92, 0.6);   --theme-alpha: rgba(255, 92, 92, 0.15); }
.topics-theme  { --theme-color: var(--celestial-orchid); --theme-glow: rgba(196, 113, 237, 0.6); --theme-alpha: rgba(196, 113, 237, 0.15); }

/* --- 3.5 SVG Cube Icons --- */
.cube-icon-container {
    padding: 12px;
    background: rgba(58, 80, 107, 0.2);
    border: 1px solid rgba(226, 232, 240, 0.1);
    border-radius: var(--radius-md);
    transition: background 0.5s ease, border-color 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cube-icon-svg { width: 100%; height: 100%; overflow: visible; transition: filter 0.5s ease; }
.cube-icon-svg .face-top, .cube-icon-svg .face-left, .cube-icon-svg .face-right { stroke: none; fill-opacity: 0.1; transition: fill-opacity 0.5s ease; }
.cube-icon-svg .line-outline, .cube-icon-svg .line-internal {
    stroke-width: 5px; stroke-linecap: round; stroke-linejoin: round; fill: none;
    transition: stroke-opacity 0.5s ease; stroke-opacity: 0.4;
    animation: breathing-line-glow 6s ease-in-out infinite;
}
.cube-icon-container.activated { background: var(--theme-alpha); border-color: var(--theme-color); }
.cube-icon-container.activated .cube-icon-svg { animation: none; }
.cube-icon-container.activated .line-outline, .cube-icon-container.activated .line-internal { stroke-opacity: 1.0; filter: drop-shadow(0 0 10px var(--theme-color)); }
.cube-icon-container.activated .face-top, .cube-icon-container.activated .face-left, .cube-icon-container.activated .face-right { fill-opacity: 0.2; }

/* SVG Theme Colors by ID */
#formatCubeIcon .line-outline, #formatCubeIcon .line-internal { stroke: var(--kinetic-teal); } #formatCubeIcon polygon { fill: var(--kinetic-teal); }
#lengthCubeIcon .line-outline, #lengthCubeIcon .line-internal { stroke: var(--neon-periwinkle); } #lengthCubeIcon polygon { fill: var(--neon-periwinkle); }
#packageCubeIcon .line-outline, #packageCubeIcon .line-internal { stroke: var(--signal-green); } #packageCubeIcon polygon { fill: var(--signal-green); }
#addonsCubeIcon .line-outline, #addonsCubeIcon .line-internal { stroke: var(--ignition-orange); } #addonsCubeIcon polygon { fill: var(--ignition-orange); }
#sessionCubeIcon .line-outline, #sessionCubeIcon .line-internal { stroke: var(--hyper-blue); } #sessionCubeIcon polygon { fill: var(--hyper-blue); }
#skillCubeIcon .line-outline, #skillCubeIcon .line-internal { stroke: var(--neural-gold); } #skillCubeIcon polygon { fill: var(--neural-gold); }
#typeCubeIcon .line-outline, #typeCubeIcon .line-internal { stroke: var(--fusion-coral); } #typeCubeIcon polygon { fill: var(--fusion-coral); }
#topicsCubeIcon .line-outline, #topicsCubeIcon .line-internal { stroke: var(--celestial-orchid); } #topicsCubeIcon polygon { fill: var(--celestial-orchid); }
.cube-icon-svg .line-outline { fill: none !important; }

/* Activated Container Theme Colors by ID */
#formatCubeIcon.activated { background-color: rgba(0, 245, 212, 0.15); border-color: var(--kinetic-teal); } #formatCubeIcon.activated .cube-icon-svg { filter: drop-shadow(0 0 12px var(--kinetic-teal)); }
#lengthCubeIcon.activated { background-color: rgba(123, 104, 238, 0.15); border-color: var(--neon-periwinkle); } #lengthCubeIcon.activated .cube-icon-svg { filter: drop-shadow(0 0 12px var(--neon-periwinkle)); }
#packageCubeIcon.activated { background-color: rgba(0, 229, 91, 0.15); border-color: var(--signal-green); } #packageCubeIcon.activated .cube-icon-svg { filter: drop-shadow(0 0 12px var(--signal-green)); }
#addonsCubeIcon.activated { background-color: rgba(255, 122, 0, 0.15); border-color: var(--ignition-orange); } #addonsCubeIcon.activated .cube-icon-svg { filter: drop-shadow(0 0 12px var(--ignition-orange)); }
#sessionCubeIcon.activated { background-color: rgba(77, 159, 255, 0.15); border-color: var(--hyper-blue); } #sessionCubeIcon.activated .cube-icon-svg { filter: drop-shadow(0 0 12px var(--hyper-blue)); }
#skillCubeIcon.activated { background-color: rgba(249, 224, 118, 0.15); border-color: var(--neural-gold); } #skillCubeIcon.activated .cube-icon-svg { filter: drop-shadow(0 0 12px var(--neural-gold)); }
#typeCubeIcon.activated { background-color: rgba(255, 92, 92, 0.15); border-color: var(--fusion-coral); } #typeCubeIcon.activated .cube-icon-svg { filter: drop-shadow(0 0 12px var(--fusion-coral)); }
#topicsCubeIcon.activated { background-color: rgba(196, 113, 237, 0.15); border-color: var(--celestial-orchid); } #topicsCubeIcon.activated .cube-icon-svg { filter: drop-shadow(0 0 12px var(--celestial-orchid)); }


/* --- 3.6 Neo Buttons (General Purpose) --- */
.neo-button {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 85px; padding: var(--space-md) var(--space-lg); flex: 0 1 130px;
    font-family: inherit; font-weight: 600; text-align: center;
    color: var(--glass-text);
    background: linear-gradient(145deg, var(--glass-medium), rgba(255, 255, 255, 0.03));
    border: 2px solid var(--glass-heavy); border-radius: var(--radius-xl);
    backdrop-filter: var(--blur-heavy);
    box-shadow: 0 6px 25px var(--shadow-medium), inset 0 1px 0 var(--glass-heavy);
    transition: var(--transition-normal);
    overflow: hidden; cursor: pointer;
}
.button-content { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.button-label { font-size: 1rem; line-height: 1; font-weight: 600; }
.button-sublabel { font-size: 0.8rem; opacity: 0.8; font-weight: 400; }

/* Neo Button States */
.neo-button:hover:not(.selected) {
    transform: translateY(-4px) scale(1.03);
    border-color: var(--theme-color);
    box-shadow: 0 12px 35px var(--shadow-heavy), var(--glow-lg) var(--theme-glow), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}
.neo-button:active {
    transform: translateY(2px) scale(0.98) !important;
    box-shadow: 0 2px 8px var(--shadow-medium), var(--glow-sm) var(--theme-glow), inset 0 1px 3px rgba(0, 0, 0, 0.25) !important;
    transition-duration: 0.1s !important;
}
.neo-button.selected {
    background: linear-gradient(145deg, var(--theme-alpha), var(--theme-alpha)) !important;
    border-color: var(--theme-color) !important;
    color: var(--white) !important;
    box-shadow: 0 0 45px var(--theme-glow), inset 0 0 20px var(--theme-alpha), 0 8px 30px var(--shadow-heavy) !important;
    animation: selected-pulse 2s ease-in-out infinite;
}
.neo-button:disabled {
    cursor: not-allowed; pointer-events: none; color: rgba(255, 255, 255, 0.25);
}
.neo-button:disabled .button-label { color: rgba(255, 255, 255, 0.25); }
.neo-button:disabled .button-sublabel { color: rgba(255, 255, 255, 0.5); opacity: 1; }
.neo-button:disabled:hover {
    transform: none !important;
    border-color: var(--glass-heavy) !important;
    box-shadow: 0 6px 25px var(--shadow-medium), inset 0 1px 0 var(--glass-heavy) !important;
}

/* --- 3.7 Selection Grids --- */
.options-grid { display: flex; gap: 1.2rem; flex-wrap: wrap; flex: 1; justify-content: flex-end; margin: 0; }
.multi-select-options-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr); width: 100%; }
.package-grid { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: flex-end; width: auto; max-width: 600px; margin: 0; }
.package-grid .neo-button { flex: 1; min-width: 170px; max-width: 260px; }
.addons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; row-gap: var(--space-xl); }
.session-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-lg); }
.session-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }

/* --- 3.8 Format Toggle --- */
.format-toggle-container { display: flex; justify-content: flex-end; align-items: center; width: auto; max-width: 600px; margin: 0; }
.format-toggle {
    position: relative; width: 600px; height: 90px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.4) 0%, rgba(255, 255, 255, 0.02) 30%, rgba(255, 255, 255, 0.05) 70%, rgba(0, 0, 0, 0.3) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15); border-radius: 45px;
    padding: 6px; cursor: pointer;
    transition: var(--transition-slow);
    backdrop-filter: var(--blur-heavy);
    box-shadow: 0 8px 30px var(--shadow-medium), inset 0 3px 6px rgba(0, 0, 0, 0.3), inset 0 -1px 2px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}
.format-toggle::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent 0%, rgba(51, 194, 219, 0.1) 50%, transparent 100%); transition: left 0.8s ease; }
.toggle-slider {
    position: absolute; top: 6px; left: 6px; width: 294px; height: 74px;
    background: linear-gradient(145deg, var(--glass-medium), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--glass-heavy); border-radius: 37px;
    box-shadow: 0 4px 15px var(--shadow-medium), inset 0 1px 0 var(--glass-heavy);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: var(--blur-medium);
}
.toggle-slider::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 40%; background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.2) 100%); border-radius: 39px 39px 0 0; }
.toggle-option { position: absolute; top: 0; width: 300px; height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.6); font-weight: 600; font-size: 1.1rem; transition: var(--transition-slow); z-index: 2; pointer-events: none; }
.toggle-option.left { left: 0; }
.toggle-option.right { right: 0; }
.toggle-sublabel { font-size: 0.75rem; opacity: 0.7; margin-top: 0.2rem; font-weight: 400; }

/* Format Toggle States */
.format-toggle:hover {
    transform: translateY(-4px);
    border-color: var(--theme-color);
    box-shadow: 0 12px 35px var(--shadow-heavy), var(--glow-lg) var(--theme-glow), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}
.format-toggle:hover::before { left: 100%; }
.format-toggle:active { transform: translateY(1px) scale(0.98); box-shadow: 0 4px 15px var(--shadow-medium); transition-duration: 0.1s; }
.format-toggle.is-selected { background: linear-gradient(145deg, var(--theme-alpha), var(--theme-alpha)); border-color: var(--theme-color); box-shadow: 0 0 45px var(--theme-glow), inset 0 0 20px var(--theme-alpha), 0 8px 30px var(--shadow-heavy); }
.format-toggle.is-selected .toggle-slider { background: linear-gradient(145deg, rgba(51, 194, 219, 0.4) 0%, rgba(51, 194, 219, 0.25) 30%, rgba(51, 194, 219, 0.3) 70%, rgba(51, 194, 219, 0.5) 100%); border: 1px solid rgba(51, 194, 219, 0.6); box-shadow: 0 6px 20px rgba(51, 194, 219, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.2); }
.format-toggle.in-person .toggle-slider { left: 300px; background: linear-gradient(145deg, rgba(236, 58, 149, 0.4) 0%, rgba(236, 58, 149, 0.25) 30%, rgba(236, 58, 149, 0.3) 70%, rgba(236, 58, 149, 0.5) 100%); border-color: rgba(236, 58, 149, 0.6); box-shadow: 0 6px 20px rgba(236, 58, 149, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.2); }
.toggle-option.active { color: rgba(255, 255, 255, 1); text-shadow: var(--glow-sm) rgba(255, 255, 255, 0.6), 0 1px 2px var(--shadow-light); font-weight: 700; }
.toggle-option.disabled { color: rgba(255, 255, 255, 0.25); }


/* --- 3.9 Skill Slider --- */
.skill-slider-container { width: 100%; position: relative; }
.skill-slider { width: 100%; height: 16px; border-radius: var(--radius-sm); background: transparent; outline: none; margin: 0; -webkit-appearance: none; position: relative; z-index: 3; cursor: pointer; }
.slider-track-container { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); height: 16px; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.04) 50%, rgba(0, 0, 0, 0.6) 100%); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.7), inset 0 -1px 2px rgba(255, 255, 255, 0.03), 0 1px 3px var(--shadow-medium); overflow: hidden; }
.skill-theme .slider-fill { position: absolute; top: 0; left: 0; height: 100%; width: var(--fill-width, 7.5%); background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color) 80%, var(--white) 100%); border-radius: var(--radius-sm); box-shadow: var(--glow-md) var(--theme-glow), inset 0 1px 2px rgba(255, 255, 255, 0.4), inset 0 -1px 2px rgba(0, 0, 0, 0.2); }
.skill-theme .slider-fill::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 40%; background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.1) 70%, rgba(255, 255, 255, 0.4) 100%); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.skill-theme .skill-slider::-webkit-slider-thumb { appearance: none; width: 30px; height: 30px; border-radius: var(--radius-full); background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, var(--theme-color) 20%, var(--theme-color) 80%, var(--white) 100%); cursor: grab; border: 2px solid rgba(255, 255, 255, 0.4); box-shadow: var(--glow-md) var(--theme-glow), 0 4px 12px var(--shadow-heavy), inset 0 2px 4px rgba(255, 255, 255, 0.6), inset 0 -2px 4px var(--shadow-light), inset 0 0 0 1px rgba(255, 255, 255, 0.2); position: relative; z-index: 4; }
.skill-theme .skill-slider::-webkit-slider-thumb:hover { transform: scale(1.1); box-shadow: var(--glow-lg) var(--theme-glow), 0 6px 16px var(--shadow-heavy), inset 0 2px 4px rgba(255, 255, 255, 0.7), inset 0 -2px 4px var(--shadow-medium), inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.skill-theme .skill-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.05); }

/* Skill Slider Labels */
.skill-labels { display: flex; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-xl); }
.skill-label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); text-align: center; transition: var(--transition-normal); flex: 1; }
.skill-theme .skill-label.active { color: var(--theme-color); font-weight: 600; text-shadow: var(--glow-sm) var(--theme-glow); }
.mobile-labels { display: none; }


/* --- 3.10 Addon Cards --- */
.addon-card {
    position: relative; display: flex; align-items: center; padding: var(--space-lg);
    background: linear-gradient(145deg, var(--glass-light) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--glass-border); border-radius: var(--radius-xl);
    cursor: pointer; transition: var(--transition-slow); user-select: none; overflow: hidden;
}
.addon-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent 0%, var(--theme-alpha) 50%, transparent 100%); transition: left 0.6s ease; }
.addon-card input[type="checkbox"] { display: none; }
.addon-details { display: flex; justify-content: space-between; align-items: center; width: 100%; color: rgba(255, 255, 255, 0.85); transition: var(--transition-normal); }
.addon-name { font-weight: 500; font-size: 1rem; line-height: 1.3; }
.addon-price { font-weight: 600; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); background: var(--glass-medium); padding: 0.4rem var(--space-md); border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.2); }
.addon-price.free { background: linear-gradient(145deg, rgba(78, 205, 196, 0.25) 0%, rgba(78, 205, 196, 0.15) 100%); color: #4ECDC4; border-color: rgba(78, 205, 196, 0.4); font-weight: 700; box-shadow: var(--glow-sm) rgba(78, 205, 196, 0.3); }

/* Addon Toggle */
.addon-toggle { position: relative; width: 50px; height: 26px; background: linear-gradient(145deg, var(--glass-medium) 0%, rgba(255, 255, 255, 0.06) 100%); border: 1px solid var(--glass-heavy); border-radius: 13px; margin-right: var(--space-lg); transition: var(--transition-normal); box-shadow: inset 0 2px 4px var(--shadow-light); }
.toggle-orb { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%); border-radius: var(--radius-full); transition: var(--transition-normal); box-shadow: 0 3px 6px var(--shadow-light), inset 0 1px 0 rgba(255, 255, 255, 0.8); }

/* Addon Card States */
.addon-card:hover { background: linear-gradient(145deg, var(--glass-medium) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.03) 100%); border-color: var(--glass-heavy); transform: translateY(-3px); box-shadow: 0 10px 30px var(--shadow-light); }
.addon-card:hover::before { left: 100%; }
.addon-card:active { transform: translateY(1px) scale(0.995) !important; box-shadow: 0 5px 15px var(--shadow-light) !important; transition-duration: 0.1s !important; }
.addons-theme .addon-card.checked { background: linear-gradient(145deg, var(--theme-alpha), var(--theme-alpha)); border-color: var(--theme-color); box-shadow: var(--glow-md) var(--theme-glow), inset 0 0 20px var(--theme-alpha); }
.addons-theme .addon-card.checked .addon-details { color: rgba(255, 255, 255, 1); }
.addons-theme .addon-card input:checked + .addon-toggle { background: linear-gradient(145deg, var(--theme-color) 0%, var(--theme-color) 100%); border-color: var(--theme-color); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), var(--glow-md) var(--theme-glow); }
.addons-theme .addon-card input:checked + .addon-toggle .toggle-orb { left: 26px; background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%); box-shadow: 0 3px 8px var(--shadow-medium), inset 0 1px 0 rgba(255, 255, 255, 1), var(--glow-md) var(--theme-glow); }


/* --- 3.11 Package Description Console --- */
#packageDescription {
    display: flex; align-items: center; gap: 0.5em;
    width: 600px; height: 65px; padding: 0 25px;
    position: relative; overflow: hidden;
    font-family: 'Courier New', monospace; font-size: 0.95rem; font-weight: 600;
    color: #00ff41; text-shadow: 0 0 8px #00ff41, 0 0 16px #00ff41;
    background: linear-gradient(145deg, var(--glass-light) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 2px solid var(--glass-heavy); border-radius: var(--radius-xl);
    backdrop-filter: var(--blur-heavy);
    box-shadow: 0 6px 25px var(--shadow-medium), inset 0 1px 0 var(--glass-heavy);
    transition: var(--transition-normal); cursor: default;
}
#packageDescription::before { content: '>'; font-weight: bold; color: inherit; text-shadow: inherit; }
.text-wrapper { flex-grow: 1; height: 100%; display: flex; align-items: center; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; }
.text-content { font-family: 'Courier New', monospace; white-space: pre; }
.terminal-cursor { display: inline-block; width: 2px; height: 1.1em; background: #00ff41; margin-left: 4px; border-radius: 1px; animation: blinkCursor 1s infinite; transform: translateY(2px); }

/* Package Description States */
#packageDescription.interactive { cursor: text; background: rgba(0, 15, 10, 0.2) !important; }
#packageDescription.interactive:hover { border-color: rgba(0, 255, 65, 0.8); box-shadow: 0 8px 30px var(--shadow-heavy), 0 0 20px rgba(0, 255, 65, 0.4), inset 0 2px 4px rgba(0, 255, 65, 0.1); transform: translateY(-2px); }
#packageDescription:focus-within { outline: none; border-color: #00ff88; box-shadow: 0 8px 30px var(--shadow-heavy), 0 0 20px rgba(0, 255, 136, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.35); }
.package-theme #packageDescription.hover-sync { border-color: var(--signal-green); }
.package-theme #packageDescription.selected { background: linear-gradient(145deg, var(--theme-alpha), var(--theme-alpha)); border-color: var(--signal-green); color: var(--signal-green); text-shadow: 0 0 8px var(--theme-glow); box-shadow: 0 0 35px var(--theme-glow), inset 0 0 25px var(--theme-alpha), 0 6px 25px var(--shadow-medium); }
.package-theme #packageDescription.selected:hover { box-shadow: 0 0 60px 15px var(--theme-glow), inset 0 0 25px var(--theme-alpha), 0 8px 30px var(--shadow-medium); }
#packageDescription.error { border-color: #ef4444; background: linear-gradient(145deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%); box-shadow: 0 0 25px rgba(239, 68, 68, 0.4), inset 0 0 15px rgba(239, 68, 68, 0.1); }


/* --- 3.12 Session Cards --- */
.session-option-box {
    background: rgba(0, 0, 0, 0.2); border: 2px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-lg);
    padding: var(--space-lg); text-align: left;
    display: flex; flex-direction: column;
    cursor: pointer; position: relative; overflow: hidden;
    will-change: transform, box-shadow;
    /* CORRECTED: Transition is on the base class */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.session-option-box input[type="radio"] { display: none; }
.session-option-box::after { content: ''; position: absolute; width: 150px; height: 150px; background: radial-gradient(circle, var(--theme-alpha) 0%, transparent 70%); border-radius: var(--radius-full); opacity: 0; left: var(--glow-x, 50%); top: var(--glow-y, 50%); transform: translate(-50%, -50%); transition: opacity 0.3s ease; z-index: 2; }
.session-option-box .date-header { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; position: relative; z-index: 3; }
.session-option-box .details { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); line-height: 1.5; margin-bottom: 1rem; flex-grow: 1; position: relative; z-index: 3; }
.summary-details { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.9rem; line-height: 1.7; color: rgba(255, 255, 255, 0.9); position: relative; z-index: 3; }
.summary-details s { color: rgba(255, 255, 255, 0.5); font-weight: 400; }
.cost-details { font-size: 1rem; font-weight: 600; line-height: 1.6; margin-top: 1rem; position: relative; z-index: 3; }
.cost-details .original-price { font-size: 1rem; margin-right: 0.5rem; text-decoration: line-through; color: rgba(255, 255, 255, 0.5); }
.cost-details .final-price { color: #4ECDC4; font-size: 1.1rem; font-weight: 700; }
.early-bird-deadline { font-size: 0.85rem; font-style: italic; color: rgba(255, 255, 255, 0.7); margin-top: 0.25rem; position: relative; z-index: 3; }

/* Session Card States (Consolidated & Fixed) */
.session-theme .session-option-box:not(.selected):hover {
    border-color: var(--theme-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-light);
}
.session-theme .session-option-box:not(.selected):hover::after { opacity: 1; }
.session-theme .session-option-box:not(.selected):active {
    transform: translateY(1px) scale(0.995);
    box-shadow: 0 4px 15px var(--shadow-light), var(--glow-sm) var(--theme-glow);
    transition-duration: 0.1s;
}
.session-theme .session-option-box.selected {
    border-color: var(--theme-color) !important;
    background: var(--theme-alpha) !important;
    box-shadow: 0 0 30px var(--theme-glow), inset 0 0 25px var(--theme-alpha), 0 10px 35px var(--shadow-heavy) !important;
    transform: translateY(-8px) scale(1.03);
    animation: session-selected-pulse 2s ease-in-out infinite;
}
.session-theme .session-option-box.selected::before {
    content: '✓'; position: absolute; top: 15px; right: 20px;
    width: 35px; height: 35px; background: var(--theme-color); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 20px; z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    animation: checkmark-bounce 0.5s ease-out;
}
.session-theme .session-option-box.selected:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0 40px var(--theme-glow), inset 0 0 30px var(--theme-alpha), 0 12px 40px var(--shadow-heavy);
}

/* Disabled Session Card */
.session-option-box.disabled-session {
    position: relative; cursor: not-allowed; background: rgba(10, 20, 40, 0.4); overflow: hidden;
    display: flex; align-items: center; justify-content: center; text-align: center;
    border: 2px solid rgba(100, 116, 139, 0.4);
}
.session-option-box.disabled-session::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: inherit; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1; }
.disabled-overlay-text { position: relative; z-index: 2; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: rgba(255, 255, 255, 0.8); padding: 1rem; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.session-option-box.disabled-session:hover { transform: none; box-shadow: none; border-color: rgba(100, 116, 139, 0.4); }
.session-option-box.disabled-session .glow-effect { display: none; }


/* --- 3.13 Engage & Proceed Buttons (Footer) --- */
.engage-addons { text-align: center; margin-top: var(--space-xl); overflow: visible !important; padding: 2rem 0; transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.engage-button {
    background: linear-gradient(145deg, var(--glass-medium) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.03) 100%);
    border: 2px solid var(--glass-heavy); border-radius: var(--radius-2xl);
    padding: 1.2rem var(--space-2xl); color: var(--glass-text); font-weight: 600; font-size: 1.1rem;
    cursor: pointer; transition: var(--transition-normal); backdrop-filter: var(--blur-medium);
    box-shadow: 0 6px 25px var(--shadow-medium), inset 0 1px 0 var(--glass-heavy);
    position: relative; overflow: hidden;
}
.engage-button::after { content: ''; position: absolute; width: 120px; height: 120px; background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%); border-radius: var(--radius-full); opacity: 0; left: var(--glow-x, 50%); top: var(--glow-y, 50%); transform: translate(-50%, -50%); transition: opacity 0.2s ease, left 0.1s ease, top 0.1s ease; pointer-events: none; z-index: 2; }
.engage-text { display: block; position: relative; z-index: 3; }
.engage-subtext { display: block; font-size: 0.9rem; opacity: 0.8; margin-top: 0.3rem; position: relative; z-index: 3; }

/* Engage Button States */
.engage-button:hover { transform: translateY(-4px) scale(1.03); border-color: var(--theme-color); box-shadow: 0 12px 35px var(--shadow-heavy), var(--glow-lg) var(--theme-glow), inset 0 2px 0 rgba(255, 255, 255, 0.35); }
.engage-button:hover::after { opacity: 1; }
.engage-button:active { transform: translateY(-2px) scale(0.98); box-shadow: 0 8px 25px var(--shadow-heavy), var(--glow-sm) var(--theme-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.engage-button.selected { background: linear-gradient(145deg, var(--theme-alpha), var(--theme-alpha)); border-color: var(--theme-color); color: #ffffff; box-shadow: var(--glow-lg) var(--theme-glow), inset 0 0 25px var(--theme-alpha), 0 6px 25px var(--shadow-medium); animation: engageSelectedPulse 2s ease-in-out infinite; }

/* Proceed Button */
.glass-button-container { display: flex; justify-content: center; align-items: center; margin: 2rem auto; padding: 3rem; }
.proceed-button-wrapper { position: relative; display: inline-block; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 25px var(--kinetic-teal); transition: transform 0.2s ease-out, box-shadow 0.2s ease-out; }
.proceed-button-wrapper::after { content: ''; position: absolute; top: -3px; left: -3px; width: calc(100% + 6px); height: calc(100% + 6px); background: linear-gradient(90deg, #FFFFFF, #00F5D4, #3A506B, #0B132B, #3A506B, #00F5D4, #FFFFFF); background-size: 200% 100%; border-radius: 18px; z-index: -1; animation: slow-pan 6s linear infinite; transition: filter 0.3s ease; }
.proceed-button { position: relative; display: block; padding: 1.2rem 3rem; background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(10px); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), inset 0 -1px 1px rgba(0,0,0,0.3); border: none; border-radius: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.5px; color: white; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); text-transform: uppercase; cursor: pointer; user-select: none; overflow: hidden; }
.proceed-button .shine { position: absolute; top: 0; left: -150%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%); transform: skewX(-30deg); transition: left 0.6s ease-in-out; }

/* Proceed Button States */
.proceed-button-wrapper:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 35px rgba(0,0,0,0.4), 0 0 35px var(--kinetic-teal); }
.proceed-button-wrapper:hover::after { filter: brightness(1.2); }
.proceed-button:hover .shine { left: 150%; }
.proceed-button-wrapper:active { transform: translateY(1px) scale(0.98); box-shadow: 0 5px 15px rgba(0,0,0,0.4); }
.proceed-button:active { box-shadow: inset 0 2px 5px rgba(0,0,0,0.4); }


/* --- 3.14 Miscellaneous Components --- */
.wolf-chatbot { position: fixed; bottom: 20px; right: 20px; z-index: 30; opacity: 0.9; cursor: pointer; animation: bounce 3s infinite ease-in-out; }
.wolf-chatbot img { width: 100px; height: auto; background: transparent; filter: drop-shadow(0 0 5px rgba(236, 58, 149, 0.5)); }

.cursor { position: fixed; width: 24px; height: 24px; border: 1px solid var(--color-primary); border-radius: 50%; pointer-events: none; z-index: 9999; transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease; mix-blend-mode: difference; }
.cursor-dot { position: fixed; width: 4px; height: 4px; background-color: var(--color-primary); border-radius: 50%; pointer-events: none; z-index: 10000; }

.particle-dust { position: absolute; width: 4px; height: 4px; border-radius: 50%; pointer-events: none; opacity: 0; }
.proceed-hover-particle { position: fixed; border-radius: 50%; pointer-events: none; }

.cart-footer { text-align: center; padding: 40px 20px; background: rgba(0, 0, 0, 0); color: rgba(255, 255, 255, 0.7); border-top: 1px solid rgba(255, 255, 255, 0); }
.cart-footer a { color: var(--color-primary); text-decoration: none; margin: 0 5px; transition: color 0.3s ease, text-shadow 0.3s ease; }
.cart-footer a:hover { color: var(--color-secondary); text-shadow: 0 0 5px rgba(236, 58, 149, 0.5); }


/* =================================================================== */
/* == 4. VISIBILITY & UTILITY CLASSES                               == */
/* =================================================================== */

.hidden { display: none; }

.section-hidden {
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(20px) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-width: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

#sessionOptionsWrapper.section-hidden,
#modifiersContainerWrapper.section-hidden,
#proceedContainerWrapper.section-hidden {
    display: block !important;
    visibility: hidden !important; opacity: 0 !important; transform: translateY(20px) !important;
    max-height: 0 !important; overflow: hidden !important;
    padding-top: 0 !important; padding-bottom: 0 !important;
    margin-top: 0 !important; margin-bottom: 0 !important;
    border-width: 0 !important;
}

#sessionOptionsWrapper:not(.section-hidden),
#modifiersContainerWrapper:not(.section-hidden),
#proceedContainerWrapper:not(.section-hidden) {
    display: block !important;
    visibility: visible !important; opacity: 1 !important; transform: translateY(0) !important;
    max-height: none !important; overflow: visible !important;
}

/* Initial hidden states for JS animation */
#builder-background,
.builder-section .menu-container,
.builder-section .floating-dashboard {
    opacity: 0;
    visibility: hidden;
}

/* =================================================================== */
/* == 5. RESPONSIVE MEDIA QUERIES                                   == */
/* =================================================================== */

/* --- 5.1 Large Desktops (Up to 1200px) --- */
@media (max-width: 1200px) {
    .topics-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- 5.2 Tablets & Small Desktops (Up to 960px) --- */
@media (max-width: 960px) {
    .synthesis-grid { grid-template-columns: 1fr; gap: 2rem; }
    .synthesis-visual-wrapper { height: 500px; order: -1; margin-bottom: 2rem; }
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
    .roi-grid { display: block; }
    .roi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background-color: rgba(226, 232, 240, 0.1); }
    .roi-header { display: none; }
    .roi-cell { border: none !important; padding: 0.8rem; }
    .roi-cell.metric { grid-column: 1 / 3; text-align: center; font-weight: 700; background: rgba(58, 80, 107, 0.2); }
    .format-comparison { grid-template-columns: 1fr; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-cta { justify-content: center; }
    .modules-3d-container { display: none; }
}

/* --- 5.3 Mobile Devices (Up to 768px) --- */
@media (max-width: 768px) {
    .cursor, .cursor-dot { display: none !important; }
    body { cursor: auto !important; }

    .container { padding: 2rem 1rem; }
    .session-types-grid, .topics-grid { grid-template-columns: 1fr; }

    .builder-section .logo-container { max-width: 75%; }
    .menu-container { padding: var(--space-md); padding-bottom: 260px; }
    .section-glass { padding: var(--space-xl); }
    .title-glass { padding: var(--space-xl) var(--space-lg); }
    .title-glass h1 { font-size: 2.2rem; }
    .title-glass p { font-size: 1.1rem; }

    .question-layout { flex-direction: column; align-items: flex-start; gap: var(--space-lg); justify-content: flex-start; }
    .question-layout > * { width: 100% !important; flex-shrink: 0; }
    .question-info { min-width: auto; }
    .options-grid, .package-grid, .format-toggle-container { justify-content: flex-start; }

    .neo-button { min-width: 130px; height: 70px; padding: 0.8rem 1.2rem; flex-grow: 1; }
    .neo-button:not(.selected) { border: 2px solid rgba(255, 255, 255, 0.2); }
    .neo-button.selected { border-width: 3px !important; font-weight: 700 !important; }

    .multi-select-options-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .multi-select-options-grid .neo-button { min-height: 80px; padding: 1rem; font-size: 0.95rem; }

    .addons-grid, .session-options-grid { grid-template-columns: 1fr; }
    .package-grid { flex-direction: column; gap: 1rem; }
    .package-grid .neo-button { min-width: 100%; min-height: 80px; max-width: 100%; }

    .format-toggle-container { width: 100%; justify-content: center; }
    .format-toggle { width: 320px; height: 70px; padding: 5px; }
    .toggle-slider { top: 3px; left: 3px; width: 156px; height: 62px; }
    .format-toggle.in-person .toggle-slider { left: 160px; }
    .toggle-option { width: 160px; height: 70px; font-size: 0.9rem; line-height: 70px; padding: 0; }
    .toggle-option[data-value="inperson"] { line-height: 1.2; display: flex; flex-direction: column; justify-content: center; }

    .skill-labels.desktop-labels { display: none !important; }
    .mobile-labels { display: flex !important; justify-content: space-between; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); position: relative; height: 30px; }
    .skill-label-minmax { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); flex-shrink: 0; }
    .skill-label-active-wrapper { position: absolute; left: 0; right: 0; top: 0; text-align: center; pointer-events: none; }
    #activeSkillLabel { display: inline-block; padding: 0.3rem 0.8rem; border-radius: var(--radius-md); background: var(--theme-alpha); color: var(--theme-color); font-weight: 600; font-size: 0.9rem; text-shadow: 0 0 8px var(--theme-glow); transition: all 0.2s ease-out; opacity: 0; transform: translateY(10px); }
    #activeSkillLabel.visible { opacity: 1; transform: translateY(0); }

    .floating-dashboard { width: 100vw !important; height: 220px; padding-bottom: 10px; left: 0; right: 0; overflow: hidden; }
    .floating-dashboard .cubes-canvas { width: 100vw !important; max-width: none; }
    .dashboard-counter { bottom: 8px; padding: 4px 8px; }
    .counter-text { font-size: 11px; }

    .glass-button-container { padding: 2rem; border-radius: 20px; margin: 1.5rem auto; max-width: 100%; }
    .proceed-button { font-size: 1rem; padding: 1rem 2rem; }

    /* Package Description Marquee Animation */
    @keyframes scroll-out-initial { from { transform: translateX(0); } to { transform: translateX(-105%); } }
    @keyframes scroll-loop-repeat { from { transform: translateX(105%); } to { transform: translateX(-105%); } }

    #packageDescription { width: 100% !important; max-width: none !important; height: 65px; padding: 15px 20px; font-size: 0.85rem; position: relative; }
    #packageDescription::before { content: '>' !important; position: absolute !important; left: 20px !important; top: 50% !important; transform: translateY(-50%) !important; z-index: 10 !important; }
    #packageDescription .text-wrapper { position: absolute; left: 50px; right: 20px; top: 0; bottom: 0; }
    #packageDescription .marquee-content { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; }
    #packageDescription.is-scrolling:not(.is-looping) .marquee-content { animation-name: scroll-out-initial; animation-duration: var(--marquee-duration-first); animation-timing-function: linear; animation-fill-mode: forwards; }
    #packageDescription.is-looping .marquee-content { animation-name: scroll-loop-repeat; animation-duration: var(--marquee-duration-loop); animation-timing-function: linear; animation-iteration-count: infinite; }
    #packageDescription.is-scrolling .terminal-cursor { display: none !important; }
}