/**
 * Servo Motor Bulucu - Premium SaaS Edition
 * Design: Modern, High-Tech, Professional (Stripe/Linear Inspired)
 * Color Palette: Clean Whites, Subtle Grays, Vibrant Accents
 */

/* Variables - Premium SaaS Palette */
:root {
    --mp-primary: #6366f1;           /* Vibrant Indigo */
    --mp-primary-dark: #4f46e5;      /* Deep Indigo */
    --mp-primary-light: #818cf8;     /* Light Indigo */
    --mp-accent: #f59e0b;            /* Amber Accent */
    --mp-success: #10b981;           /* Emerald */
    --mp-error: #ef4444;             /* Red */
    --mp-warning: #f59e0b;           /* Amber */
    
    --mp-gray-50: #f9fafb;
    --mp-gray-100: #f3f4f6;
    --mp-gray-200: #e5e7eb;
    --mp-gray-300: #d1d5db;
    --mp-gray-400: #9ca3af;
    --mp-gray-500: #6b7280;
    --mp-gray-600: #4b5563;
    --mp-gray-700: #374151;
    --mp-gray-800: #1f2937;
    --mp-gray-900: #111827;
    
    --mp-text: #111827;
    --mp-text-light: #6b7280;
    --mp-border: #e5e7eb;
    --mp-bg: #ffffff;
    
    --mp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --mp-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --mp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --mp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --mp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    --mp-radius: 12px;
    --mp-radius-lg: 16px;
    --mp-radius-xl: 20px;
    
    --mp-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
.motor-pro-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Container - Premium Card */
.motor-pro-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--mp-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header - Clean & Modern */
.mp-header {
    margin-bottom: 32px;
    text-align: center;
}

.mp-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--mp-gray-900);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mp-subtitle {
    font-size: 16px;
    color: var(--mp-text-light);
    margin: 0;
    font-weight: 400;
}

/* Control Panel - Premium Card */
.mp-control-panel {
    background: var(--mp-bg);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--mp-shadow-lg);
    transition: var(--mp-transition);
}

.mp-control-panel:hover {
    box-shadow: var(--mp-shadow-xl);
}

.mp-panel-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 28px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mp-border);
}

/* Form Grid - Spacious Layout */
.mp-form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

/* Field */
.mp-field {
    display: flex;
    flex-direction: column;
    position: relative;
}

.mp-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--mp-gray-700);
    margin-bottom: 8px;
    display: block;
    transition: var(--mp-transition);
}

/* Torque Group */
.mp-torque-group {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
}

.mp-torque-slider-wrap {
    flex: 1;
    min-width: 100px;
    display: flex;
    align-items: center;
}

.mp-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--mp-gray-200);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    position: relative;
}

.mp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-primary-light) 100%);
    border-radius: 50%;
    cursor: grab;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4), 0 0 0 0 rgba(99, 102, 241, 0.2);
    transition: var(--mp-transition);
}

.mp-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5), 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.mp-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.05);
}

.mp-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-primary-light) 100%);
    border-radius: 50%;
    cursor: grab;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.mp-torque-input {
    width: 70px !important;
    flex: 0 0 70px !important;
}

.mp-torque-unit {
    font-size: 12px;
    font-weight: 600;
    color: var(--mp-text-light);
    white-space: nowrap;
}

.mp-calc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 16px;
    background: transparent;
    border: 1.5px solid var(--mp-primary);
    border-radius: var(--mp-radius);
    color: var(--mp-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--mp-transition);
    white-space: nowrap;
}

.mp-calc-btn:hover {
    background: var(--mp-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.mp-calc-btn:active {
    transform: translateY(0);
}

.mp-calc-btn::before {
    content: '✨';
    font-size: 16px;
}

/* Input & Select - Modern Floating Style */
.mp-input,
.mp-select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: var(--mp-bg);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    font-size: 15px;
    font-weight: 400;
    color: var(--mp-text);
    transition: var(--mp-transition);
}

.mp-input:hover,
.mp-select:hover {
    border-color: var(--mp-gray-300);
}

.mp-input:focus,
.mp-select:focus {
    outline: none;
    border-color: var(--mp-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: var(--mp-bg);
}

.mp-input-error {
    border-color: var(--mp-error) !important;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.mp-select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* Input Group */
.mp-input-group {
    display: flex;
    height: 44px;
}

.mp-input-group .mp-input {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex: 1;
}

.mp-input-addon {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: var(--mp-gray-50);
    border: 1px solid var(--mp-border);
    border-left: none;
    border-radius: 0 var(--mp-radius) var(--mp-radius) 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--mp-gray-600);
    white-space: nowrap;
}

/* Segmented Control - Modern Pills */
.mp-segmented {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: var(--mp-gray-100);
    border-radius: var(--mp-radius);
    height: auto;
}

/* Search Mode Toggle (Tork / kW) */
.mp-search-toggle {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: var(--mp-gray-100);
    border-radius: var(--mp-radius);
    margin-bottom: 12px;
}

.mp-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mp-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mp-gray-700);
    cursor: pointer;
    border-radius: calc(var(--mp-radius) - 4px);
    transition: var(--mp-transition);
    background: transparent;
    white-space: nowrap;
}

.mp-toggle-label:hover {
    background: var(--mp-gray-200);
}

.mp-toggle-input:checked + .mp-toggle-label {
    background: var(--mp-bg);
    color: var(--mp-primary);
    font-weight: 600;
    box-shadow: var(--mp-shadow-sm);
}

.mp-seg-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mp-seg-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mp-gray-700);
    cursor: pointer;
    border-radius: calc(var(--mp-radius) - 4px);
    transition: var(--mp-transition);
    background: transparent;
}

.mp-seg-label:hover {
    background: var(--mp-gray-200);
}

.mp-seg-input:checked + .mp-seg-label {
    background: var(--mp-bg);
    color: var(--mp-primary);
    font-weight: 600;
    box-shadow: var(--mp-shadow-sm);
}

/* Submit Button - Premium CTA with Fixed Contrast */
.mp-submit-btn {
    height: 48px;
    padding: 0 32px;
    background: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-primary-dark) 100%);
    border: none;
    border-radius: var(--mp-radius);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: var(--mp-transition);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mp-submit-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.5s;
}

.mp-submit-btn:hover::before {
    left: 100%;
}

.mp-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.mp-submit-btn:active {
    transform: translateY(0);
}

.mp-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Results */
.mp-results {
    position: relative;
    min-height: 100px;
}

.mp-results.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Results Header */
.mp-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--mp-secondary);
    color: #fff;
    margin-bottom: 16px;
}

.mp-results-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.mp-results-count strong {
    font-size: 28px;
    font-weight: 700;
}

.mp-results-count span {
    font-size: 14px;
    opacity: 0.8;
}

.mp-results-power {
    text-align: right;
}

.mp-results-power-label {
    font-size: 11px;
    opacity: 0.7;
    text-transform: uppercase;
}

.mp-results-power-value {
    font-size: 18px;
    font-weight: 700;
}

/* Products Grid */
.mp-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Product Card */
.mp-product-card {
    background: #fff;
    border: 1px solid var(--mp-border);
}

.mp-product-card:hover {
    border-color: var(--mp-primary);
}

.mp-product-image {
    position: relative;
    height: 160px;
    background: #f8f9fa;
    border-bottom: 1px solid var(--mp-border);
    overflow: hidden;
}

.mp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.mp-stock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.mp-stock-in {
    background: #d5f4e6;
    color: var(--mp-success);
}

.mp-stock-out {
    background: #fadbd8;
    color: var(--mp-error);
}

.mp-product-content {
    padding: 16px;
}

.mp-product-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-text);
    margin: 0 0 12px 0;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
}

.mp-product-title a {
    color: inherit;
    text-decoration: none;
}

.mp-product-title a:hover {
    color: var(--mp-primary);
}

/* Specs Table */
.mp-specs-table {
    width: 100%;
    margin-bottom: 12px;
    border-collapse: collapse;
    font-size: 11px;
}

.mp-specs-table td {
    padding: 4px 8px;
    border: 1px solid #eee;
}

.mp-spec-label {
    background: #f8f9fa;
    color: var(--mp-text-light);
    font-weight: 600;
    text-transform: uppercase;
    width: 40%;
}

.mp-spec-value {
    font-weight: 600;
    color: var(--mp-text);
}

/* Price */
.mp-product-price {
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}

.mp-price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--mp-primary);
}

.mp-price-old {
    font-size: 13px;
    color: var(--mp-text-light);
    text-decoration: line-through;
    margin-left: 8px;
}

/* Product Actions */
.mp-product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--mp-radius);
    cursor: pointer;
    transition: var(--mp-transition);
    border: none;
}

.mp-btn-icon {
    font-size: 16px;
    line-height: 1;
}

.mp-btn-outline {
    background: var(--mp-bg);
    border: 1px solid var(--mp-border);
    color: var(--mp-gray-700);
}

.mp-btn-outline:hover {
    background: var(--mp-gray-50);
    border-color: var(--mp-gray-300);
}

.mp-btn-primary {
    background: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.mp-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.mp-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

/* Lead Card - Fixed Contrast */
.mp-lead-card {
    background: var(--mp-bg);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-lg);
    overflow: hidden;
    box-shadow: var(--mp-shadow-lg);
}

.mp-lead-header {
    padding: 32px 24px;
    background: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-primary-dark) 100%);
    color: #ffffff;
    text-align: center;
}

.mp-lead-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 1;
}

.mp-lead-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.mp-lead-subtitle {
    font-size: 15px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.mp-lead-criteria {
    padding: 20px 24px;
    background: var(--mp-gray-50);
    border-bottom: 1px solid var(--mp-border);
}

.mp-lead-criteria-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--mp-gray-700);
    text-transform: uppercase;
    margin: 0 0 12px 0;
    letter-spacing: 0.05em;
}

.mp-lead-criteria-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mp-criteria-badge {
    padding: 6px 12px;
    background: var(--mp-bg);
    border: 1px solid var(--mp-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mp-gray-700);
}

.mp-lead-form-wrap {
    padding: 28px;
    background: var(--mp-bg);
}

.mp-lead-form-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--mp-gray-900);
    margin: 0 0 20px 0;
}

.mp-lead-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mp-lead-field {
    display: flex;
    flex-direction: column;
}

.mp-lead-field-full {
    grid-column: 1 / -1;
}

.mp-lead-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--mp-gray-700);
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.mp-lead-field input,
.mp-lead-field textarea {
    padding: 12px 14px;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    font-size: 15px;
    color: var(--mp-text);
    background: var(--mp-bg);
    transition: var(--mp-transition);
}

.mp-lead-field input:focus,
.mp-lead-field textarea:focus {
    outline: none;
    border-color: var(--mp-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.mp-lead-submit {
    grid-column: 1 / -1;
    height: 44px;
    margin-top: 8px;
}

.mp-lead-success {
    text-align: center;
    padding: 32px;
}

.mp-lead-success-icon {
    font-size: 48px;
    color: var(--mp-success);
}

.mp-lead-success h4 {
    font-size: 18px;
    color: var(--mp-success);
    margin: 8px 0;
}

.mp-lead-success p {
    color: var(--mp-text-light);
    margin: 0;
}

.mp-lead-footer {
    padding: 16px 24px;
    background: var(--mp-gray-50);
    text-align: center;
    border-top: 1px solid var(--mp-border);
}

.mp-lead-footer p {
    font-size: 12px;
    color: var(--mp-gray-600);
    margin: 0;
    line-height: 1.5;
}

/* Modal - Premium Calculator */
.mp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.75);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.mp-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mp-modal {
    background: var(--mp-bg);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-xl);
    width: 100%;
    max-width: 520px;
    box-shadow: var(--mp-shadow-xl);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mp-modal-overlay.active .mp-modal {
    transform: scale(1) translateY(0);
}

.mp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--mp-border);
}

.mp-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--mp-gray-900);
    letter-spacing: -0.01em;
}

.mp-modal-close {
    background: transparent;
    border: none;
    border-radius: var(--mp-radius);
    color: var(--mp-gray-400);
    font-size: 24px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--mp-transition);
}

.mp-modal-close:hover {
    background: var(--mp-gray-100);
    color: var(--mp-gray-700);
}

.mp-modal-body {
    padding: 28px;
}

.mp-modal-subtitle {
    font-size: 14px;
    color: var(--mp-text-light);
    margin: 0 0 24px 0;
    padding: 12px 16px;
    background: var(--mp-gray-50);
    border-left: 3px solid var(--mp-primary);
    border-radius: var(--mp-radius);
}

.mp-modal-field {
    margin-bottom: 16px;
}

.mp-modal-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--mp-gray-700);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.mp-modal-result {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: var(--mp-radius-lg);
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.mp-result-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-align: center;
}

.mp-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mp-result-item {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: var(--mp-radius);
    box-shadow: var(--mp-shadow-sm);
}

.mp-result-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.mp-result-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--mp-success);
    line-height: 1;
    margin-bottom: 4px;
}

.mp-result-unit {
    font-size: 16px;
    font-weight: 500;
    color: var(--mp-gray-500);
}

.mp-result-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--mp-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
}

.mp-modal-info {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: var(--mp-gray-50);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    font-size: 13px;
    color: var(--mp-text-light);
    align-items: flex-start;
}

.mp-modal-info strong {
    color: var(--mp-primary);
    font-size: 16px;
    flex-shrink: 0;
    font-weight: 600;
}

.mp-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 28px;
    background: var(--mp-gray-50);
    border-top: 1px solid var(--mp-border);
    border-radius: 0 0 var(--mp-radius-xl) var(--mp-radius-xl);
}

.mp-modal-btn {
    flex: 1;
    height: 48px;
}

/* Tooltip - Premium Style */
.mp-tooltip-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
    color: var(--mp-primary);
    transition: var(--mp-transition);
}

.mp-tooltip-trigger:hover {
    color: var(--mp-primary-dark);
}

.mp-tooltip-trigger svg {
    transition: var(--mp-transition);
}

.mp-tooltip-trigger:hover svg {
    transform: scale(1.1);
}

.mp-tooltip-trigger:hover::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--mp-gray-900);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--mp-radius);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10000;
    box-shadow: var(--mp-shadow-xl);
    pointer-events: none;
    animation: tooltipFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.mp-tooltip-trigger:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--mp-gray-900);
    z-index: 10000;
    pointer-events: none;
    animation: tooltipFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Loading */
.mp-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.mp-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: var(--mp-primary);
    border-radius: 50%;
    animation: mp-spin 0.8s linear infinite;
    margin: 0 auto 10px;
}

@keyframes mp-spin {
    to { transform: rotate(360deg); }
}

.mp-loading-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--mp-text-light);
    text-transform: uppercase;
}

/* Product Cards - Horizontal Layout with Pill Badges */
.mp-products-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mp-product-card {
    display: flex;
    background: var(--mp-bg);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-lg);
    overflow: hidden;
    transition: var(--mp-transition);
    box-shadow: var(--mp-shadow);
}

.mp-product-card:hover {
    box-shadow: var(--mp-shadow-lg);
    transform: translateY(-2px);
}

.mp-product-image {
    width: 200px;
    flex-shrink: 0;
    background: var(--mp-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.mp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mp-stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

.mp-stock-in {
    background: #d1fae5;
    color: var(--mp-success);
}

.mp-stock-out {
    background: #fee2e2;
    color: var(--mp-error);
}

/* Exact Match Badge - Tam Eşleşen */
.mp-exact-match-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 999px;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
    animation: exactMatchPulse 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes exactMatchPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 4px 16px rgba(99, 102, 241, 0.6); }
}

/* Exact Match Card Styling */
.mp-exact-match-card {
    border: 2px solid var(--mp-primary) !important;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2) !important;
    position: relative;
}

.mp-exact-match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-primary-light) 100%);
    border-radius: var(--mp-radius-lg) var(--mp-radius-lg) 0 0;
}

.mp-exact-match-card:hover {
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3) !important;
    transform: translateY(-4px);
}

.mp-product-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.mp-product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--mp-gray-900);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.mp-product-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--mp-transition);
}

.mp-product-title a:hover {
    color: var(--mp-primary);
}

/* Specs as Pill Badges */
.mp-specs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.mp-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--mp-gray-100);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mp-gray-700);
}

.mp-spec-pill-icon {
    font-size: 14px;
}

.mp-product-price {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--mp-border);
    margin-bottom: 16px;
}

.mp-price-current {
    font-size: 24px;
    font-weight: 700;
    color: var(--mp-primary);
}

.mp-price-old {
    font-size: 16px;
    color: var(--mp-gray-400);
    text-decoration: line-through;
    margin-left: 8px;
}

.mp-product-actions {
    display: flex;
    gap: 12px;
}

.mp-product-actions .mp-btn {
    flex: 1;
}

/* Results Header */
.mp-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-primary-dark) 100%);
    color: white;
    border-radius: var(--mp-radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--mp-shadow-lg);
}

.mp-results-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.mp-results-count strong {
    font-size: 32px;
    font-weight: 700;
}

.mp-results-count span {
    font-size: 16px;
    opacity: 0.9;
}

.mp-exact-match-indicator {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    opacity: 1;
}

/* Fallback Notice - RPM Uyarısı */
.mp-fallback-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-left: 4px solid #f59e0b;
    border-radius: var(--mp-radius);
    margin-bottom: 20px;
    box-shadow: var(--mp-shadow);
}

.mp-fallback-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.mp-fallback-text {
    font-size: 14px;
    font-weight: 500;
    color: #92400e;
    line-height: 1.5;
}

.mp-results-power {
    text-align: right;
}

.mp-results-power-label {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mp-results-power-value {
    font-size: 20px;
    font-weight: 700;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .mp-form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .mp-field:nth-child(1) {
        grid-column: 1 / -1;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .motor-pro-wrapper {
        padding: 20px;
    }
    
    .mp-title {
        font-size: 24px;
    }
    
    .mp-subtitle {
        font-size: 14px;
    }
    
    .mp-control-panel {
        padding: 20px;
    }
    
    .mp-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .mp-field:nth-child(1) {
        grid-column: 1;
    }
    
    .mp-torque-group {
        flex-wrap: wrap;
        height: auto;
    }
    
    .mp-torque-slider-wrap {
        width: 100%;
        order: -1;
        margin-bottom: 12px;
    }
    
    .mp-segmented {
        width: 100%;
    }
    
    .mp-submit-btn {
        width: 100%;
    }
    
    .mp-calc-btn {
        width: 100%;
        justify-content: center;
    }
    
    .mp-product-card {
        flex-direction: column;
    }
    
    .mp-product-image {
        width: 100%;
        height: 200px;
    }
    
    .mp-results-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .mp-results-power {
        text-align: center;
    }
    
    .mp-result-grid {
        grid-template-columns: 1fr;
    }
    
    .mp-lead-form {
        grid-template-columns: 1fr;
    }
    
    .mp-lead-field-full {
        grid-column: 1;
    }
    
    .mp-modal {
        max-width: 100%;
        margin: 0 12px;
    }
    
    .mp-product-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .mp-modal-footer {
        flex-direction: column;
    }
    
    .mp-modal-btn {
        width: 100%;
    }
}
