/**
 * Özdemir Makine - Advanced WOW Features CSS
 * 3D Viewer, Machine Quiz, Chatbot, Notifications, Advanced Animations
 */

/* ==========================================
   1. 3D MACHINE VIEWER
   ========================================== */
.viewer-3d-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.viewer-3d-modal.active {
    opacity: 1;
    visibility: visible;
}

.viewer-3d-container {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.viewer-3d-modal.active .viewer-3d-container {
    transform: scale(1);
}

.viewer-3d-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
}

.viewer-3d-header h3 {
    font-size: var(--text-lg);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.viewer-3d-close {
    background: rgba(255,255,255,0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.viewer-3d-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.viewer-3d-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--space-4);
    padding: var(--space-4);
}

.viewer-3d-canvas {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: var(--radius-xl);
    min-height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-3d-loading {
    text-align: center;
    color: white;
}

.spinner-3d {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-4);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.viewer-3d-controls {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
    background: rgba(0,0,0,0.5);
    padding: var(--space-2);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.viewer-ctrl-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
}

.viewer-ctrl-btn:hover {
    background: var(--primary-500);
    transform: scale(1.1);
}

.viewer-3d-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.viewer-3d-specs {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
}

.viewer-3d-specs .spec {
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--border-light);
    font-size: var(--text-sm);
}

.viewer-3d-specs .spec:last-child {
    border-bottom: none;
}

/* 3D Cube Visualization */
.machine-3d-viz {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    transition: transform 0.3s ease;
}

.machine-3d-cube {
    width: 280px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(0deg);
    transition: transform 0.3s ease;
    cursor: grab;
}

.machine-3d-cube:active {
    cursor: grabbing;
}

.cube-face {
    position: absolute;
    width: 280px;
    height: 200px;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 180, 180, 0.3);
}

.cube-face.front { transform: translateZ(100px); }
.cube-face.back { transform: rotateY(180deg) translateZ(100px); background: linear-gradient(135deg, var(--primary-600), var(--primary-700)); }
.cube-face.left { transform: rotateY(-90deg) translateZ(140px); width: 200px; background: linear-gradient(135deg, #2d3748, #1a202c); }
.cube-face.right { transform: rotateY(90deg) translateZ(140px); width: 200px; background: linear-gradient(135deg, #2d3748, #1a202c); }
.cube-face.top { transform: rotateX(90deg) translateZ(100px); height: 200px; background: linear-gradient(135deg, #38a169, #2f855a); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); height: 200px; background: linear-gradient(135deg, #e53e3e, #c53030); }

.cube-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.face-content {
    text-align: center;
    color: white;
    padding: var(--space-4);
}

.face-content i {
    font-size: 2.5rem;
    margin-bottom: var(--space-2);
    opacity: 0.8;
}

.face-content h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
}

.face-content p {
    font-size: var(--text-sm);
    opacity: 0.7;
}

/* ==========================================
   2. MACHINE FINDER QUIZ
   ========================================== */
.machine-finder-widget {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 9990;
}

.finder-trigger {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    animation: pulse-finder 2s infinite;
}

@keyframes pulse-finder {
    0%, 100% { box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(99, 102, 241, 0.6); }
}

.finder-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.finder-trigger-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.finder-trigger-text {
    text-align: left;
}

.finder-trigger-title {
    display: block;
    font-weight: 600;
    font-size: var(--text-sm);
}

.finder-trigger-desc {
    display: block;
    font-size: var(--text-xs);
    opacity: 0.8;
}

/* Finder Modal */
.finder-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.finder-modal.active {
    opacity: 1;
    visibility: visible;
}

.finder-container {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    max-width: 600px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.finder-modal.active .finder-container {
    transform: translateY(0);
}

.finder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.finder-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    font-size: var(--text-lg);
}

.finder-logo i {
    font-size: 1.5rem;
}

.finder-close {
    background: rgba(255,255,255,0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.finder-close:hover {
    background: rgba(255,255,255,0.3);
}

.finder-progress {
    height: 4px;
    background: var(--bg-secondary);
    position: relative;
}

.finder-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
    width: 20%;
}

.finder-progress-text {
    position: absolute;
    right: var(--space-4);
    top: 10px;
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.finder-content {
    padding: var(--space-6);
    min-height: 350px;
}

.finder-question {
    text-align: center;
}

.question-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    font-size: 2rem;
    color: white;
}

.finder-question h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
}

.finder-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

.finder-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s;
    animation: fadeInUp 0.3s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.finder-option:hover {
    border-color: var(--primary-300);
    background: var(--bg-card);
}

.finder-option.selected {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.finder-option input {
    display: none;
}

.option-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-50);
    color: var(--primary-500);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-content {
    flex: 1;
    text-align: left;
}

.option-label {
    display: block;
    font-weight: 600;
    font-size: var(--text-sm);
}

.option-desc {
    display: block;
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-top: 2px;
}

.option-check {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s;
}

.finder-option.selected .option-check {
    opacity: 1;
    background: #6366f1;
    border-color: #6366f1;
    color: white;
}

.finder-footer {
    display: flex;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.finder-footer .btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* Finder Results */
.finder-results {
    text-align: center;
}

.results-header {
    margin-bottom: var(--space-6);
}

.results-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    font-size: 2rem;
    color: white;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.results-header h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.results-header p {
    color: var(--text-secondary);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.result-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.result-image {
    position: relative;
    aspect-ratio: 4/3;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 600;
}

.result-badge.new { background: var(--success-100); color: var(--success-700); }
.result-badge.used { background: var(--warning-100); color: var(--warning-700); }

.result-info {
    padding: var(--space-3);
    text-align: left;
}

.result-info h4 {
    font-size: var(--text-sm);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-info p {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.result-price {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-500);
}

.results-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   3. CHATBOT WIDGET
   ========================================== */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9995;
}

.chatbot-trigger {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00b4b4, #009999);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 180, 180, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 180, 180, 0.5);
}

.chatbot-trigger-icon {
    color: white;
    font-size: 1.5rem;
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* Chat Window */
.chatbot-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    max-height: 550px;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9996;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    background: linear-gradient(135deg, #00b4b4, #009999);
    color: white;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.chatbot-header-info img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
}

.chatbot-name {
    display: block;
    font-weight: 600;
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    opacity: 0.9;
}

.chatbot-status i {
    font-size: 8px;
    color: #4ade80;
}

.chatbot-close {
    background: rgba(255,255,255,0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.chatbot-close:hover {
    background: rgba(255,255,255,0.3);
}

.chatbot-messages {
    flex: 1;
    padding: var(--space-4);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-height: 300px;
}

.chat-message {
    display: flex;
    gap: var(--space-2);
    animation: fadeIn 0.3s ease;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar img {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
}

.message-content {
    max-width: 75%;
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
}

.chat-message.bot .message-content {
    background: var(--bg-secondary);
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, #00b4b4, #009999);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-time {
    display: block;
    font-size: 10px;
    opacity: 0.6;
    margin-top: 4px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--text-tertiary);
    border-radius: var(--radius-full);
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.chatbot-quick-replies {
    padding: 0 var(--space-4) var(--space-3);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.quick-reply {
    padding: var(--space-2) var(--space-3);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.quick-reply:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
    color: var(--primary-600);
}

.chatbot-input {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-4);
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.chatbot-input input {
    flex: 1;
    padding: var(--space-3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    background: var(--bg-card);
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary-500);
}

.chatbot-input button {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #00b4b4, #009999);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.chatbot-input button:hover {
    transform: scale(1.05);
}

/* Chatbot Notification */
.chatbot-notification {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9994;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.chatbot-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.chatbot-notification-content {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--bg-card);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 300px;
}

.chatbot-notification-content img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
}

.chatbot-notification-text {
    flex: 1;
}

.chatbot-notification-text strong {
    display: block;
    font-size: var(--text-sm);
}

.chatbot-notification-text p {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin: 0;
}

.chatbot-notification-content button {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: var(--space-1);
}

/* ==========================================
   4. SMART NOTIFICATIONS
   ========================================== */
.smart-notifications-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.smart-notification {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    background: var(--bg-card);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 350px;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--primary-500);
}

.smart-notification.show {
    transform: translateX(0);
}

.smart-notification.success { border-left-color: #10b981; }
.smart-notification.warning { border-left-color: #f59e0b; }
.smart-notification.info { border-left-color: #3b82f6; }

.smart-notification-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-50);
    color: var(--primary-500);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.smart-notification.success .smart-notification-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.smart-notification.warning .smart-notification-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.smart-notification-content {
    flex: 1;
}

.smart-notification-content strong {
    display: block;
    font-size: var(--text-sm);
    margin-bottom: 2px;
}

.smart-notification-content p {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin: 0 0 var(--space-2);
}

.smart-notification-action {
    display: inline-block;
    font-size: var(--text-xs);
    color: var(--primary-500);
    font-weight: 600;
    text-decoration: none;
}

.smart-notification-action:hover {
    text-decoration: underline;
}

.smart-notification-close {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: var(--space-1);
    transition: color 0.2s;
}

.smart-notification-close:hover {
    color: var(--text-primary);
}

/* ==========================================
   5. ADVANCED ANIMATIONS
   ========================================== */

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease;
}

.custom-cursor.hovering .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--primary-500);
}

.custom-cursor.hovering .cursor-dot {
    transform: translate(-50%, -50%) scale(2);
    background: var(--primary-500);
}

/* Animate on scroll helper */
.animate-fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 3D Card Hover */
.machine-card {
    transition: transform 0.3s ease;
}

/* View 3D Button */
.view-3d-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
}

.view-3d-btn:hover {
    transform: scale(1.1);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .viewer-3d-content {
        grid-template-columns: 1fr;
    }

    .finder-options {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .chatbot-window {
        width: calc(100% - 40px);
        max-height: 70vh;
        bottom: 80px;
    }

    .machine-finder-widget {
        bottom: auto;
        top: 50%;
        left: -60px;
        transform: translateY(-50%) rotate(-90deg);
    }

    .finder-trigger {
        padding: var(--space-2) var(--space-3);
    }

    .finder-trigger-text {
        display: none;
    }

    .smart-notifications-container {
        right: 10px;
        left: 10px;
    }

    .smart-notification {
        max-width: 100%;
    }

    .custom-cursor {
        display: none;
    }

    .machine-3d-cube {
        width: 220px;
        height: 160px;
    }

    .cube-face {
        width: 220px;
        height: 160px;
    }

    .cube-face.left,
    .cube-face.right {
        width: 160px;
    }
}

