/* UX Design Page Specific Styles */

/* Frustration Section Styling */
.frustration-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-md);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.frustration-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--margin-lg);
    padding: var(--spacing-lg);
    background: var(--overlay-light);
    border-radius: 8px;
    border-left: 4px solid var(--acc);
}

.frustration-content {
    flex: 1;
}

.frustration-content strong {
    color: var(--acc);
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.frustration-content p {
    margin: 0;
    color: var(--text-semi);
    line-height: 1.5;
}

/* UX Types Section */
.ux-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: var(--margin-xl) auto;
}

.ux-type-card {
    background: var(--overlay-light);
    border: 2px solid var(--secondary-light);
    border-radius: 12px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.ux-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(241, 196, 15, 0.1), transparent);
    transition: left 0.6s ease;
}

.ux-type-card:hover {
    border-color: var(--acc);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--accent-medium);
}

.ux-type-card:hover::before {
    left: 100%;
}

.ux-type-icon {
    font-size: 3rem;
    margin-bottom: var(--margin-md);
    display: block;
}

.ux-type-card h3 {
    color: var(--acc);
    margin-bottom: var(--margin-md);
    font-size: 1.5rem;
}

.ux-type-card p {
    margin-bottom: var(--margin-lg);
    line-height: 1.6;
}

.ux-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.ux-highlights span {
    background: var(--accent-light);
    color: var(--acc);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* UX Specializations */
.ux-specializations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--margin-xl);
}

.specialization-card {
    background: var(--overlay-subtle);
    border: 1px solid var(--secondary-light);
    border-radius: 8px;
    padding: var(--spacing-lg);
    border-left: 4px solid var(--sec);
}

.specialization-card h4 {
    color: var(--sec);
    margin-bottom: var(--margin-sm);
    font-size: 1.1rem;
}

.specialization-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Interactive Tools */
.interactive-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--margin-xl) 0;
}

.tool-card {
    background: var(--overlay-light);
    border: 2px solid var(--secondary-light);
    border-radius: 12px;
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
}

.tool-card:hover {
    border-color: var(--acc);
    box-shadow: 0 8px 25px var(--accent-medium);
}

.tool-card h3 {
    color: var(--acc);
    margin-bottom: var(--margin-md);
    font-size: 1.3rem;
}

.audit-tool {
    display: flex;
    gap: var(--spacing-sm);
    margin: var(--margin-md) 0;
}

.audit-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--secondary-light);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
}

.audit-input:focus {
    outline: none;
    border-color: var(--acc);
}

.audit-btn {
    background: var(--acc);
    color: var(--bg);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.audit-btn:hover {
    background: var(--sec);
    transform: translateY(-2px);
}

.audit-results {
    margin-top: var(--margin-md);
    padding: var(--spacing-md);
    background: var(--overlay-subtle);
    border-radius: 6px;
    border-left: 4px solid var(--acc);
    display: none;
}

.audit-results.show {
    display: block;
}

.audit-score {
    font-size: 2rem;
    font-weight: bold;
    color: var(--acc);
    margin-bottom: var(--margin-sm);
}

.audit-recommendations {
    list-style: none;
    padding: 0;
}

.audit-recommendations li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--overlay-medium);
}

.audit-recommendations li:last-child {
    border-bottom: none;
}

/* Prototype Styles */
.prototype-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.phone-mockup {
    width: 320px;
    height: 600px;
    background: #333;
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 10px 30px var(--overlay-heavy);
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg);
    border-radius: 15px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.phone-screen::-webkit-scrollbar {
    width: 6px;
}

.phone-screen::-webkit-scrollbar-track {
    background: var(--overlay-light);
    border-radius: 3px;
}

.phone-screen::-webkit-scrollbar-thumb {
    background: var(--acc);
    border-radius: 3px;
}

.phone-screen::-webkit-scrollbar-thumb:hover {
    background: var(--sec);
}

.prototype-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--overlay-light);
}

.app-header h4 {
    color: var(--acc);
    margin: 0;
    font-size: 18px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--sec);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    font-weight: bold;
    font-size: 14px;
}

.progress-section {
    margin-bottom: 25px;
}

.progress-label {
    font-size: 14px;
    color: var(--text-semi);
    margin-bottom: 8px;
}

.progress-bar-demo {
    height: 10px;
    background: var(--overlay-light);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill-demo {
    height: 100%;
    background: linear-gradient(90deg, var(--sec), var(--acc));
    border-radius: 5px;
    transition: width 0.8s ease;
}

.prototype-content .progress-text {
    position: static;
    transform: none;
    font-size: 12px;
    color: var(--text-semi);
    text-align: left;
    font-family: inherit;
    font-weight: normal;
    text-shadow: none;
}

.course-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    flex: 0 1 auto;
}

.course-card {
    background: var(--overlay-light);
    border: 2px solid var(--overlay-medium);
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 60px;
}

.course-card:hover {
    border-color: var(--acc);
    transform: translateY(-2px);
}

.course-card.active {
    border-color: var(--acc);
    background: var(--accent-light);
}

.course-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.course-title {
    font-weight: bold;
    color: var(--text);
    flex: 1;
    font-size: 16px;
}

.course-progress {
    font-size: 12px;
    color: var(--text-semi);
    flex-shrink: 0;
}

.continue-btn {
    background: var(--acc);
    color: var(--bg);
    border: none;
    padding: 16px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-normal);
    width: 100%;
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    min-height: 50px;
    flex-shrink: 0;
}

.continue-btn:hover {
    background: var(--sec);
    transform: translateY(-2px);
}

.prototype-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.control-btn {
    background: var(--overlay-medium);
    color: var(--text);
    border: 1px solid var(--secondary-light);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.control-btn:hover {
    background: var(--overlay-light);
    border-color: var(--acc);
}

.control-hint {
    font-size: 0.8rem;
    color: var(--text-semi);
    font-style: italic;
}

/* Tools Section */
.tools-section {
    background: var(--overlay-subtle);
    padding: var(--spacing-xl);
    border-radius: 12px;
    margin-top: var(--margin-xl);
    text-align: center;
}

.tools-section h3 {
    color: var(--acc);
    margin-bottom: var(--margin-sm);
}

.tools-section p {
    margin-bottom: var(--margin-lg);
    color: var(--text-semi);
}

.tools-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: var(--overlay-light);
    border-radius: 8px;
    transition: all var(--transition-normal);
    min-width: 80px;
}



.tool-icon {
    font-size: 1.5rem;
}

.tool-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

/* Comparison Tabs */
.comparison-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--margin-xl);
}

.tab-btn {
    background: var(--overlay-light);
    border: 2px solid var(--secondary-light);
    color: var(--text);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 500;
}

.tab-btn:hover {
    border-color: var(--acc);
    background: var(--accent-light);
}

.tab-btn.active {
    background: var(--acc);
    border-color: var(--acc);
    color: var(--bg);
}

/* VR Interface Styles */
.vr-viewport {
    width: 100%;
    height: 600px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.before-vr {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8)), url('../media/graphics/ux/vr_ui_before.jpeg');
    background-size: cover;
    background-position: center;
}

.after-vr {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.6), rgba(22, 83, 126, 0.6)), url('../media/graphics/ux/vr_ui_after.jpeg');
    background-size: cover;
    background-position: center;
}

.vr-hud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hud-corner {
    position: absolute;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #00ff00;
    font-family: monospace;
}

.hud-corner.top-left {
    top: 10px;
    left: 10px;
}

.hud-corner.top-right {
    top: 10px;
    right: 10px;
}

.hud-corner.bottom-left {
    bottom: 10px;
    left: 10px;
    width: 200px;
}

.hud-corner.bottom-right {
    bottom: 10px;
    right: 10px;
    width: 180px;
}

.hud-text.tiny {
    font-size: 10px;
    color: #00ff00;
    margin-bottom: 2px;
}

.hud-text.micro {
    font-size: 8px;
    color: #00ff00;
    margin-bottom: 1px;
}

.tool-grid.cramped {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 5px;
}

.tool-grid .tool-item {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    padding: 2px;
    font-size: 7px;
    text-align: center;
}

.vr-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.traditional-menu {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff00;
    padding: 20px;
    min-width: 300px;
}

.menu-header {
    color: #00ff00;
    font-family: monospace;
    font-size: 12px;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #00ff00;
    padding-bottom: 5px;
}

.menu-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-item {
    color: #00ff00;
    font-family: monospace;
    font-size: 10px;
    padding: 5px;
    border: 1px solid transparent;
    cursor: pointer;
}

.menu-item:hover {
    border-color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
}

.vr-notification-spam {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.notification {
    background: rgba(255, 255, 0, 0.9);
    color: black;
    padding: 5px 10px;
    font-size: 10px;
    border-radius: 3px;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* VR After Styles */
.spatial-ui {
    position: relative;
    width: 100%;
    height: 100%;
}

.wrist-interface {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 120px;
    height: 80px;
    background: linear-gradient(145deg, rgba(45, 55, 72, 0.95), rgba(26, 32, 44, 0.95));
    border: 2px solid #00d4ff;
    border-radius: 10px;
    padding: 10px;
    transform: perspective(100px) rotateX(15deg);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.wrist-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mission-progress {
    position: relative;
}

.progress-ring {
    position: relative;
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

.progress-ring svg {
    transform: rotate(-90deg);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 600;
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
    font-family: 'Courier New', monospace;
}

.current-objective {
    display: flex;
    align-items: center;
    gap: 5px;
}

.obj-icon {
    font-size: 16px;
}

.obj-text {
    font-size: 10px;
    color: white;
}

.tool-holster {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.holster-slot {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, rgba(74, 85, 104, 0.8), rgba(45, 55, 72, 0.8));
    border: 2px solid rgba(160, 174, 192, 0.4);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.holster-slot.active {
    border-color: #00d4ff;
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.3), rgba(0, 150, 200, 0.3));
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tool-preview {
    font-size: 24px;
    margin-bottom: 5px;
}

.tool-label {
    font-size: 10px;
    color: white;
    text-align: center;
}

.grab-hint {
    font-size: 8px;
    color: #00d4ff;
    text-align: center;
    margin-top: 2px;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.spatial-hint {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.hint-arrow {
    font-size: 20px;
    animation: float 2s ease-in-out infinite;
}

.hint-text {
    font-size: 12px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.gesture-feedback {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hand-tracking {
    display: flex;
    gap: 10px;
}

.hand-icon {
    font-size: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.hand-icon.right {
    animation-delay: 0.3s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.gesture-status {
    font-size: 10px;
    color: var(--success);
}

.ambient-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.info-bubble {
    position: absolute;
    background: linear-gradient(145deg, rgba(45, 55, 72, 0.9), rgba(26, 32, 44, 0.9));
    border: 1px solid #00d4ff;
    border-radius: 20px;
    padding: 8px 12px;
    animation: breathe 3s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.bubble-content {
    font-size: 11px;
    color: #e2e8f0;
    white-space: nowrap;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.4);
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

.ux-comparison {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-legend {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-top: var(--margin-lg);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.legend-label {
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
}

.legend-label.before {
    background: var(--error-light);
    color: var(--error);
}

.legend-label.after {
    background: var(--success-light);
    color: var(--success);
}

.legend-text {
    color: var(--text);
}

/* Custom Comparison Slider */
.comparison-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--overlay-medium);
}

.comparison-before, .comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.comparison-before {
    background: #f8f9fa;
}

.comparison-after {
    background: #ffffff;
    clip-path: inset(0 0 0 50%);
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--acc);
    cursor: ew-resize;
    z-index: 10;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: -20px;
    width: 44px;
    height: 44px;
    background: var(--acc);
    border: 3px solid white;
    border-radius: 50%;
    transform: translateY(-50%);
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-handle::before {
    content: '⟷';
    color: white;
    font-size: 16px;
    font-weight: bold;
}

/* Before Styles - Cluttered */
.portal-header.cluttered {
    height: 80px;
    background: #e9ecef;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-text {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.urgent-btn {
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 10px;
}

.logout-btn {
    background: #6c757d;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 10px;
}

.portal-body {
    display: flex;
    height: 520px;
}

.sidebar.cluttered {
    width: 200px;
    background: #dee2e6;
    padding: 10px;
}

.sidebar h4 {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    font-size: 10px;
    color: #666;
    margin-bottom: 5px;
}

.main-content.cluttered {
    flex: 1;
    background: white;
    padding: 10px;
}

.alert-bar {
    background: #f8d7da;
    border: 1px solid #dc3545;
    padding: 8px;
    font-size: 11px;
    color: #721c24;
    margin-bottom: 10px;
}

.widget-grid.cramped {
    display: grid;
    grid-template-columns: 180px 180px 190px;
    gap: 10px;
    margin-bottom: 10px;
}

.widget {
    background: #e9ecef;
    border: 1px solid #adb5bd;
    padding: 10px;
    height: 120px;
}

.widget h5 {
    font-size: 10px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
}

.tiny-text {
    font-size: 9px;
    color: #666;
    line-height: 1.3;
}

.micro-text {
    font-size: 8px;
    color: #666;
    line-height: 1.3;
}

.data-table.dense {
    background: #f8f9fa;
    border: 1px solid #adb5bd;
    padding: 10px;
    margin-bottom: 10px;
    height: 150px;
}

.footer-links.overwhelming {
    background: #e9ecef;
    padding: 15px;
    height: 100px;
}

.footer-links div {
    font-size: 9px;
    color: #666;
    margin-bottom: 5px;
}

.session-info {
    font-size: 8px !important;
    color: #999 !important;
}

/* After Styles - Clean */
.portal-header.clean {
    height: 70px;
    background: #2c5aa0;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand h2 {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.brand span {
    color: #a8c5f0;
    font-size: 12px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-details div:first-child {
    color: white;
    font-size: 12px;
}

.last-visit {
    color: #a8c5f0;
    font-size: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.portal-body.clean {
    padding: 20px 15px;
}

.priority-alert {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    height: 28px;
    width: 100%;
    grid-column: 1 / -1;
}

.alert-icon {
    width: 12px;
    height: 12px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 8px;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
    display: flex;
    gap: 4px;
    font-size: 9px;
    color: #856404;
}

.alert-title {
    font-weight: bold;
}

.alert-text {
    font-weight: normal;
}

.alert-action {
    background: #ffc107;
    color: white;
    border: none;
    padding: 3px 8px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 8px;
    flex-shrink: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
}

.nav-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 8px;
    height: 85px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    font-size: 11px;
}

.card-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.appointments .card-icon {
    background: #28a745;
}

.messages .card-icon {
    background: #007bff;
}

.results .card-icon {
    background: #dc3545;
}

.card-content h3 {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin: 0 0 3px 0;
    line-height: 1.2;
}

.card-content div {
    font-size: 9px;
    color: #666;
    margin-bottom: 1px;
    line-height: 1.1;
}

.card-action {
    background: #28a745;
    color: white;
    border: none;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: bold;
    margin-top: auto;
    align-self: flex-end;
}

.messages .card-action {
    background: #007bff;
}

.results .card-action {
    background: #dc3545;
}

.summary-grid {
    display: block !important;
    margin-bottom: 30px;
    max-width: 100%;
    clear: both;
    width: 100%;
}

.summary-grid .health-summary,
.summary-grid .quick-actions {
    display: inline-block;
    width: calc(50% - 8px);
    vertical-align: top;
    margin-right: 8px;
}

.summary-grid .quick-actions {
    margin-right: 0;
}

.health-summary, .quick-actions {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 8px;
    height: 140px;
    min-width: 0;
    overflow: hidden;
    font-size: 10px;
}

.health-summary h3, .quick-actions h3 {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
}

.vital-cards {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.vital-card {
    background: white;
    border-radius: 6px;
    padding: 6px;
    flex: 1;
    min-width: 60px;
    height: 45px;
}

.vital-label {
    font-size: 12px;
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
}

.vital-value {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 2px;
}

.vital-value.good {
    color: #28a745;
}

.vital-value.warning {
    color: #ffc107;
}

.vital-date {
    font-size: 10px;
    color: #666;
}

.medication-summary {
    background: white;
    border-radius: 8px;
    padding: 12px;
    height: 55px;
    max-width: 100%;
    overflow: hidden;
}

.med-label {
    font-size: 12px;
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
}

.med-list {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
}

.med-link {
    font-size: 10px;
    color: #007bff;
    text-decoration: underline;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.action-btn {
    border: none;
    padding: 6px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: bold;
    color: white;
    height: 28px;
}

.action-btn.primary {
    background: #007bff;
}

.action-btn.success {
    background: #28a745;
}

.action-btn.secondary {
    background: #6c757d;
}

.action-btn.info {
    background: #17a2b8;
}

.clean-footer {
    background: #f8f9fa;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-links {
    font-size: 10px;
}

.help-links span {
    color: #666;
    margin-right: 10px;
}

.help-links a {
    color: #007bff;
    text-decoration: underline;
    margin-right: 15px;
}

.security-info {
    font-size: 10px;
    color: #666;
}

/* Process Flow Styles */
.process-flow {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin: var(--margin-xl) 0;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 150px;
    min-height: 280px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--overlay-light);
    border: 1px solid var(--secondary-light);
    border-radius: 8px;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.process-step:hover {
    background: var(--overlay-medium);
    border-color: var(--acc);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--accent-medium);
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--margin-md);
    background: linear-gradient(135deg, var(--sec), var(--acc));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bg);
    flex-shrink: 0;
}

.process-step h3 {
    text-align: center;
    margin-bottom: var(--margin-sm);
    flex-shrink: 0;
}

.process-step p {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0;
    line-height: 1.5;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.process-arrow {
    font-size: 2rem;
    color: var(--acc);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: auto;
    min-height: 280px;
}

/* Responsive adjustments for process flow */
@media (max-width: 1200px) {
    .process-flow {
        gap: var(--spacing-sm);
    }
    
    .process-step {
        min-width: 140px;
        padding: var(--spacing-md);
    }
    
    .process-step p {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .process-flow {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .process-step {
        flex: 1 1 calc(50% - var(--spacing-md));
        max-width: 300px;
        min-height: 240px;
    }
    
    .process-arrow {
        display: none;
    }
}

.process-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
}

.modal-content-process {
    position: relative;
    background: linear-gradient(135deg, rgba(79, 140, 139, 0.1), rgba(26, 26, 46, 0.95));
    border: 2px solid var(--acc);
    border-radius: 12px;
    padding: var(--spacing-xl);
    width: 800px;
    height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px var(--overlay-heavy);
    margin: 0 80px;
}

.modal-content-process::-webkit-scrollbar {
    width: 12px;
}

.modal-content-process::-webkit-scrollbar-track {
    background: var(--overlay-medium);
    border-radius: 6px;
}

.modal-content-process::-webkit-scrollbar-thumb {
    background: var(--sec);
    border-radius: 6px;
    border: 2px solid var(--overlay-medium);
}

.modal-content-process::-webkit-scrollbar-thumb:hover {
    background: var(--acc);
}

.modal-close {
    position: fixed;
    top: calc(7.5vh + 15px);
    right: calc(50% - 400px - 20px);
    background: var(--overlay-dark);
    border: 2px solid var(--acc);
    color: var(--acc);
    font-size: 36px;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 2001;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.modal-close:hover {
    color: var(--text);
    background: var(--accent-medium);
    transform: rotate(90deg);
}

.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-light);
    border: 2px solid var(--acc);
    color: var(--acc);
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
}

.modal-nav:hover {
    background: var(--accent-medium);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: calc(50% - 530px);
}

.modal-next {
    right: calc(50% - 530px);
}

.modal-body-process {
    color: var(--text);
    min-height: 600px;
}

.phase-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sec);
    font-weight: bold;
    margin-bottom: var(--margin-sm);
    text-align: left;
}

.deliverable-header {
    border-bottom: 2px solid var(--acc);
    padding-bottom: var(--margin-md);
    margin-bottom: var(--margin-lg);
}

.deliverable-header h3 {
    color: var(--acc);
    margin-bottom: var(--margin-sm);
    text-align: left;
}

.deliverable-meta {
    color: var(--text-semi);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0;
    text-align: left;
}

/* Audio Player Styles */
.audio-player {
    background: var(--overlay-subtle);
    border: 2px solid var(--acc);
    border-radius: 8px;
    padding: var(--spacing-md);
    margin-bottom: var(--margin-lg);
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--margin-sm);
}

.play-btn {
    background: var(--acc);
    border: none;
    color: var(--bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-display {
    color: var(--text-semi);
    font-family: monospace;
}

.speed-btn {
    background: var(--overlay-medium);
    border: 1px solid var(--sec);
    color: var(--text);
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.waveform {
    margin: var(--margin-sm) 0;
}

.transcript-preview {
    background: var(--overlay-light);
    padding: var(--spacing-sm);
    border-radius: 4px;
    font-style: italic;
    color: var(--text-semi);
}

.key-quotes {
    margin-top: var(--margin-md);
}

.quote-item {
    background: var(--overlay-light);
    padding: var(--spacing-sm);
    margin: var(--margin-xs) 0;
    border-radius: 4px;
    border-left: 3px solid var(--acc);
}

/* Video Player Styles */
.video-player {
    background: var(--overlay-subtle);
    border: 2px solid var(--acc);
    border-radius: 8px;
    padding: var(--spacing-md);
    margin-bottom: var(--margin-lg);
}

.video-screen {
    background: #000;
    border-radius: 6px;
    margin-bottom: var(--margin-sm);
    position: relative;
    overflow: hidden;
}

.browser-mockup {
    background: #f5f5f5;
    min-height: 300px;
}

.browser-bar {
    background: #e0e0e0;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.browser-dots {
    display: flex;
    gap: 4px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #27ca3f;
}

.browser-url {
    background: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #666;
}

.screen-content {
    padding: 20px;
    position: relative;
    min-height: 250px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.click-indicator {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--acc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    font-size: 0.8rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.interface-overlay {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: 60px 1fr;
    gap: 10px;
    height: 100%;
}

.nav-section {
    background: var(--overlay-medium);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-semi);
    font-size: 0.8rem;
}

.content-section {
    background: var(--overlay-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-semi);
    font-size: 0.8rem;
}

.search-highlight {
    grid-column: 1 / -1;
    background: rgba(241, 196, 15, 0.3);
    border: 2px solid var(--acc);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: bold;
}

.video-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--margin-sm);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--overlay-medium);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: var(--acc);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-marker {
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
    font-size: 0.7rem;
}

.task-marker {
    position: absolute;
    top: -15px;
    transform: translateX(-50%);
    background: var(--sec);
    color: var(--bg);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
}

.issue-marker {
    position: absolute;
    top: -15px;
    transform: translateX(-50%);
    font-size: 0.8rem;
}

.observation-notes, .live-transcript {
    background: var(--overlay-light);
    padding: var(--spacing-sm);
    border-radius: 4px;
    font-style: italic;
    color: var(--text-semi);
    font-size: 0.9rem;
}

.behavior-insights, .test-results {
    margin-top: var(--margin-md);
}

.insight-item {
    background: var(--overlay-light);
    padding: var(--spacing-sm);
    margin: var(--margin-xs) 0;
    border-radius: 4px;
    border-left: 3px solid var(--sec);
}

/* Usability Test Specific Styles */
.usability-test {
    background: #1a1a1a;
}

.participant-view {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 10px;
    padding: 10px;
    min-height: 300px;
}

.webcam-feed {
    background: #2a2a2a;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.participant-avatar {
    width: 80px;
    height: 80px;
    background: var(--acc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.speaking-indicator {
    width: 60px;
    height: 4px;
    background: var(--success);
    border-radius: 2px;
    animation: speaking 1.5s ease-in-out infinite;
}

@keyframes speaking {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.screen-share {
    background: #f0f0f0;
    border-radius: 6px;
    position: relative;
}

.task-overlay {
    padding: 15px;
    height: 100%;
}

.task-banner {
    background: var(--acc);
    color: var(--bg);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.mouse-cursor {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #333;
    z-index: 10;
    animation: cursor-move 3s ease-in-out infinite;
}

@keyframes cursor-move {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-20px, 10px); }
    50% { transform: translate(30px, -15px); }
    75% { transform: translate(-10px, 20px); }
}

.click-ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--acc);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.interface-mockup {
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-template-rows: 40px 1fr;
    gap: 8px;
    height: 200px;
    margin-top: 10px;
}

.header-section {
    grid-column: 1 / -1;
    background: var(--overlay-medium);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-semi);
}

.content-area {
    background: var(--overlay-light);
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-semi);
}

.report-section {
    background: rgba(241, 196, 15, 0.2);
    border: 1px solid var(--acc);
    border-radius: 4px;
    padding: 20px;
    margin: 10px;
}

.share-btn-hidden {
    position: absolute;
    background: var(--sec);
    color: var(--bg);
    padding: 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.task-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--overlay-light);
    padding: var(--spacing-sm);
    margin: var(--margin-xs) 0;
    border-radius: 4px;
}

.task-result.success {
    border-left: 3px solid var(--success);
}

.task-result.warning {
    border-left: 3px solid var(--warning);
}

.task-name {
    font-weight: bold;
}

.task-time {
    font-family: monospace;
    color: var(--text-semi);
}

.task-status {
    font-size: 0.9rem;
}

.wireframe-container {
    position: relative;
    width: 100%;
    margin-bottom: var(--margin-lg);
}

.wireframe-image {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid var(--acc);
    border-radius: 6px;
}

.hotspot {
    position: absolute;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.hotspot:hover {
    background: rgba(241, 196, 15, 0.2);
    border: 2px solid var(--acc);
}

.hotspot.active {
    background: rgba(241, 196, 15, 0.3);
    border: 2px solid var(--acc);
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.5);
}

.annotation-panel {
    background: var(--overlay-subtle);
    padding: var(--spacing-md);
    border-radius: 6px;
    border-left: 3px solid var(--sec);
    min-height: 150px;
}

.analytics-dashboard {
    margin-bottom: var(--margin-lg);
}

.analytics-image {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid var(--acc);
    border-radius: 6px;
}

.annotation-hint {
    color: var(--text-semi);
    font-style: italic;
    text-align: center;
    margin: 0;
}

.interview-section, .notes-section, .wireframe-annotation, .test-section, .analytics-section {
    background: var(--overlay-subtle);
    padding: var(--spacing-md);
    border-radius: 6px;
    margin-bottom: var(--margin-md);
    border-left: 3px solid var(--sec);
}

.interviewer, .interviewee, .note-label, .annotation-title, .task-label, .metric-header {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--margin-sm);
    text-align: left;
}

.annotation-title, .task-label, .metric-header {
    color: var(--acc);
    font-weight: bold;
    font-size: 1rem;
}

.quote, .observation, .insight, .participant-quote, .feedback-quote {
    font-style: italic;
    color: var(--text);
    padding-left: var(--spacing-md);
    border-left: 3px solid var(--acc);
    margin: var(--margin-sm) 0;
    font-size: 0.95rem;
    text-align: left;
}

.annotation-detail, .annotation-note, .timestamp, .note, .critical-finding, .interviewer-q, .metric-line, .behavior-note, .issue-item, .action-item {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--margin-xs);
    text-align: left;
}

.critical-finding {
    color: var(--error);
    font-weight: bold;
}

.modal-body-process strong {
    color: var(--acc);
}

.modal-body-process p {
    text-align: left;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .ux-types {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .interactive-tools {
        grid-template-columns: 1fr;
    }
    
    .comparison-wrapper {
        height: 500px;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .process-flow {
        flex-direction: column;
        gap: var(--spacing-sm);
        margin: var(--margin-lg) var(--spacing-sm);
        align-items: stretch;
    }
    
    .process-step {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        min-height: 200px;
        height: auto;
        padding: var(--spacing-md);
        margin: 0;
        box-sizing: border-box;
        flex: none;
    }
    
    /* Story-First Integration Framework Mobile Optimization */
    img[src*="strategy-framework-diagram.svg"] {
        display: none !important;
    }
    
    /* Process Timeline Mobile Optimization */
    img[src*="process-timeline-visualization.svg"] {
        display: none !important;
    }
    
    /* Navy Platform Mobile Optimization */
    img[src*="navy-rate-training-platform.svg"] {
        display: none !important;
    }
    
    /* SVG Responsive Scaling */
    #webComparison .comparison-wrapper {
        margin: 0;
        overflow-x: hidden;
        height: 400px;
    }
    
    .comparison-before,
    .comparison-after {
        overflow: hidden;
        transform: scale(0.55);
        transform-origin: top left;
        width: 181.82%;
        height: 181.82%;
    }
    
    .nav-card.appointments {
        grid-row: 13 / 18 !important;
    }
    
    .nav-card.messages {
        grid-row: 13 / 18 !important;
    }
    
    .nav-card.results {
        grid-row: 13 / 18 !important;
    }
    
    .card-action {
        padding: 4px 12px !important;
        font-size: 9px !important;
    }
    
    #vrComparison .comparison-wrapper {
        height: 250px !important;
    }
    

    

    
    .portal-body.clean {
        grid-template-columns: repeat(24, 1fr) !important;
        width: 100% !important;
        transform: scale(0.95) !important;
        transform-origin: top left !important;
    }
    
    .comparison-before svg,
    .comparison-after svg,
    .portal-body svg,
    .nav-card svg,
    .card-icon svg {
        max-width: 100%;
        height: auto;
        width: auto;
        
    }
    
    .process-arrow {
        display: none;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: var(--margin-sm);
    }
    
    .process-step h3 {
        font-size: 1.2rem;
        margin-bottom: var(--margin-xs);
    }
    
    .process-step p {
        font-size: 0.9rem;
    }
    
    .comparison-legend {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .processModal {
        left: 0;
        width: 100%;
    }
    
    .modal-content-process {
        padding: var(--spacing-sm);
        width: 75%;
        height: 80vh;
        margin: 0;
        left: -5%;
        margin-left: -2%;
        transform: none;
    }
    
    .modal-nav {
        position: relative;
        display: inline-block;
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: auto;
        left: auto;
        right: auto;
        transform: none !important;
        margin: 10px;
        box-sizing: border-box;
    }
    
    .modal-nav:hover {
        transform: none !important;
    }
    
    .modal-prev {
        left: auto;
    }
    
    .modal-next {
        right: auto;
    }
    
    .modal-close {
        position: absolute;
        font-size: 20px;
        width: 25px;
        height: 25px;
        top: 10px;
        right: 10px;
    }
    
    .participant-view {
        grid-template-columns: 1fr;
        grid-template-rows: 120px 1fr;
    }
    
    .interface-overlay {
        grid-template-columns: 1fr;
        grid-template-rows: 40px 100px 1fr;
    }
    
    .search-highlight {
        grid-column: 1;
    }
    
    .ux-types {
        grid-template-columns: 1fr;
    }
    
    .ux-specializations {
        grid-template-columns: 1fr;
    }
    
    .interactive-tools {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .tool-card {
        padding: var(--spacing-md);
        min-width: 0;
        overflow-wrap: break-word;
    }
    
    .audit-tool {
        flex-direction: column;
    }
    
    .tools-grid {
        gap: var(--spacing-md);
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }
    
    .tool-item {
        min-width: 60px;
    }
    
    .phone-mockup {
        width: 260px;
        height: 480px;
        padding: 12px;
    }
    
    .prototype-content {
        padding: 12px;
        font-size: 12px;
    }
    
    .app-header h4 {
        font-size: 14px;
    }
    
    .course-title {
        font-size: 13px;
    }
    
    .continue-btn {
        padding: 12px 18px;
        font-size: 13px;
        min-height: 40px;
        margin-bottom: 15px;
    }
    
    /* UX Design page specific slider handle fix */
    .comparison-slider .slider-handle {
        left: -25px !important;
        margin-left: 0 !important;
    }
    
    /* Usability test mobile scaling */
    .usability-test {
        transform: scale(0.8);
        transform-origin: top left;
        width: 125%;
    }
    
    /* Browser URL mobile fix */
    .browser-url {
        font-size: 0.6rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.mobile-framework {
    display: none;
    background-image: repeating-linear-gradient(0deg, rgba(229, 231, 235, 0.3) 0px, rgba(229, 231, 235, 0.3) 1px, transparent 1px, transparent 40px), repeating-linear-gradient(90deg, rgba(229, 231, 235, 0.3) 0px, rgba(229, 231, 235, 0.3) 1px, transparent 1px, transparent 40px);
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid #6B7280;
}

/* Hide mobile framework on desktop */
@media (min-width: 769px) {
    .mobile-framework {
        display: none !important;
    }
}

.mobile-framework-title {
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.5rem;
}

.mobile-framework-subtitle {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .mobile-framework {
        display: block;
    }
    
    .framework-section:nth-child(3) {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.2));
        border: 2px solid #3B82F6;
    }
    
    .framework-section:nth-child(4) {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
        border: 2px solid #10B981;
    }
    
    .framework-section:nth-child(5) {
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2));
        border: 2px solid #F59E0B;
    }
}

.framework-section {
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.framework-section h3 {
    color: var(--text);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-top: 3rem;
}

.framework-section h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.framework-section:nth-child(3) h3::before {
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
}

.framework-section:nth-child(4) h3::before {
    background: linear-gradient(135deg, #10B981, #059669);
}

.framework-section:nth-child(5) h3::before {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.framework-icon {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
}

.framework-items {
    display: grid;
    gap: 1rem;
}

.framework-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.framework-item h4 {
    color: #000000;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.framework-item ul {
    margin: 0;
    padding-left: 1rem;
}

.framework-item li {
    color: #000000;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.mobile-process {
    display: none;
}

/* Hide mobile process on desktop */
@media (min-width: 769px) {
    .mobile-process {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-process {
        display: block;
        margin: 2rem 0;
    }
    
    .process-highlights {
        display: none;
    }
}

.process-step-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    margin: 1rem 0;
    background: var(--overlay-light);
    border-radius: 12px;
    border: 2px solid var(--acc);
    text-align: center;
}

.process-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.process-content h3 {
    color: var(--acc);
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.process-sub-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.sub-icon {
    width: 32px;
    height: 32px;
    background: var(--overlay-subtle);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--acc);
}

.mobile-platform {
    display: none;
}

/* Hide mobile platform on desktop */
@media (min-width: 769px) {
    .mobile-platform {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-platform {
        display: block;
        margin: 2rem 0;
    }
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.platform-card {
    background: var(--overlay-light);
    border: 2px solid var(--acc);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.platform-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--acc), #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.platform-card h4 {
    color: var(--acc);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
}

.platform-features {
    background: var(--overlay-light);
    border: 2px solid var(--sec);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.platform-features h3 {
    color: var(--sec);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--sec);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item span {
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

.platform-section {
    padding: 1rem 0;
    margin: 1rem 0;
}

/* Hide platform sections on desktop */
@media (min-width: 769px) {
    .platform-section {
        display: none !important;
    }
}

.platform-section h4 {
    color: var(--acc);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.platform-section:has(.mockup-slideshow) {
    background: var(--overlay-light);
    border: 2px solid var(--acc);
    border-radius: 12px;
    padding: 1rem;
}

.section-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.mockup-slideshow {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg);
}

.mockup-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-slide.active {
    opacity: 1;
}

.mockup-device {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-semi);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--acc);
}


/* Platform Mockups Grid */
.platform-mockups-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .platform-mockups-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .platform-mockup {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Mobile Case Study Enhancements */
@media (max-width: 768px) {
    .toggle-controls {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .toggle-btn {
        position: relative;
        overflow: hidden;
    }
    
    .toggle-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.6s ease;
    }
    
    .toggle-btn.active::before {
        left: 100%;
    }
    

}



/* Strategy Grid Base Styles */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .strategy-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.strategy-item {
    background: var(--overlay-light);
    border: 1px solid var(--acc);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.strategy-item:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .strategy-item {
        border-left: 4px solid var(--acc);
        padding-left: 1rem;
    }
    
    .strategy-item:nth-child(even) {
        border-left-color: var(--sec);
    }
}

.strategy-item h3 {
    color: var(--acc);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.strategy-item p {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

/* SCORM Integration Compact */
.scorm-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin: 1rem 0;
}

.scorm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    text-align: center;
}

.scorm-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.scorm-item span {
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .scorm-compact {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .scorm-item {
        flex-direction: row;
        text-align: left;
        gap: 0.8rem;
    }
}
/* Assessment Tools Distinct Layout */
.assessment-tools {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.assessment-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 0.8rem;
    text-align: center;
}

.assessment-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.assessment-item span {
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .assessment-tools {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .assessment-item {
        flex-direction: row;
        text-align: left;
        padding: 1rem;
    }
    
    /* Three.js Canvas Text Elements - Mobile Styling */
    #immersive-journey-3d div[style*="position: absolute"][style*="top: 15px"],
    #strategy-framework-3d div[style*="position: absolute"][style*="top: 15px"],
    #process-timeline-3d div[style*="position: absolute"][style*="top: 15px"] {
        left: 1rem !important;
        right: 1rem !important;
        transform: none !important;
        max-width: calc(100% - 4rem) !important;
        width: calc(100% - 4rem) !important;
        padding: 10px 15px !important;
    }
    
    #immersive-journey-3d div[style*="position: absolute"][style*="bottom: 20px"],
    #strategy-framework-3d div[style*="position: absolute"][style*="bottom: 20px"],
    #process-timeline-3d div[style*="position: absolute"][style*="bottom: 20px"] {
        left: 1rem !important;
        right: 1rem !important;
        transform: none !important;
        max-width: calc(100% - 4rem) !important;
        width: calc(100% - 4rem) !important;
        padding: 15px !important;
    }
}


/* Process Highlights Styling */
.process-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.process-item {
    background: var(--overlay-light);
    border: 1px solid var(--acc);
    border-radius: 8px;
    padding: 1.5rem;
}

.process-item h3 {
    color: var(--acc);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.process-item p {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .process-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .process-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-item {
        padding: 1rem;
    }
    
    .process-item h3 {
        font-size: 1rem;
    }
}
