/* Fixed light theme */
.section{background:#f9fafb;color:#1f2937}
.section--gray{background:#f3f4f6;color:#1f2937}
.section__title{color:#111827}
.mes-narrative{color:#374151}
.mes-hero{background:linear-gradient(135deg,#1f2937 0%,#374151 50%,#2563eb 100%);color:white;padding:4rem 0;position:relative;overflow:hidden}
.mes-hero::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.mes-hero__content{position:relative;z-index:1}
.mes-hero__badge{display:inline-flex;align-items:center;gap:0.5rem;background:rgba(255,255,255,0.15);padding:0.5rem 1rem;border-radius:9999px;font-size:0.875rem;margin-bottom:1.5rem}
.mes-hero__badge::before{content:'';width:8px;height:8px;background:#22c55e;border-radius:50%;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.4}}
.mes-hero__title{font-size:clamp(2rem,5vw,3.5rem);font-weight:700;line-height:1.2;margin-bottom:1.5rem}
.mes-hero__subtitle{font-size:1.25rem;opacity:0.9;max-width:600px;margin-bottom:2rem}
.mes-hero__quote{background:rgba(0,0,0,0.3);border-left:4px solid #2563eb;padding:1.5rem;border-radius:0 8px 8px 0;font-style:italic;max-width:700px}
.mes-hero__quote-author{margin-top:1rem;font-style:normal;font-size:0.875rem;opacity:0.8}
.mes-hero__cta{margin-top:1.5rem}
.mes-problem{background:#fef3c7;border-left:4px solid #f59e0b;padding:2rem;border-radius:0 12px 12px 0;margin:2rem 0}
.mes-problem__title{color:#92400e;font-size:1.25rem;font-weight:600;margin-bottom:1rem;display:flex;align-items:center;gap:0.5rem}
.mes-problem__list{list-style:none;padding:0;margin:0}
.mes-problem__list li{padding:0.75rem 0;padding-left:2rem;position:relative;border-bottom:1px dashed #fcd34d}
.mes-problem__list li:last-child{border-bottom:none}
.mes-problem__list li::before{content:'✕';position:absolute;left:0;color:#ef4444;font-weight:bold}
.mes-flow{background:white;border-radius:16px;padding:2rem;margin:2rem 0;color:#1f2937;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1)}
.mes-flow__title{font-size:1.5rem;font-weight:600;text-align:center;margin-bottom:2rem}
.mes-flow__steps{display:flex;flex-wrap:wrap;justify-content:center;gap:0.75rem;position:relative}
.mes-flow__step{background:white;padding:1rem 1.5rem;border-radius:8px;text-align:center;font-size:0.875rem;position:relative;min-width:140px;cursor:pointer;transition:all 0.2s;border:2px solid #e5e7eb;color:#1f2937}
.mes-flow__step:hover{background:#f9fafb;border-color:#2563eb;transform:translateY(-2px)}
.mes-flow__step--active{background:#2563eb;border-color:#2563eb;color:white}
.mes-flow__group{display:flex;flex-wrap:wrap;justify-content:center;gap:0.5rem;position:relative;padding:1rem;background:#f3f4f6;border-radius:12px;margin:0.5rem;border:1px solid #e5e7eb}
.mes-flow__group-label{width:100%;text-align:center;font-size:0.625rem;color:#6b7280;text-transform:uppercase;letter-spacing:0.1em;margin-bottom:0.75rem;font-weight:500}
.mes-flow__step--highlight{font-weight:600}
.mes-flow__group .mes-flow__step:last-child::after{display:none}
.mes-flow__group+.mes-flow__group::before{content:'→';position:absolute;left:-1.5rem;top:50%;transform:translateY(-50%);color:#6b7280;font-size:1.5rem;font-weight:bold}
@media(max-width:1200px){.mes-flow__group+.mes-flow__group::before{content:'↓';left:50%;top:-0.75rem;transform:translateX(-50%)}}
.mes-flow__step::after{content:'→';position:absolute;right:-1.25rem;top:50%;transform:translateY(-50%);color:#6b7280;font-size:0.875rem;font-weight:bold}
.mes-flow__step:last-child::after{display:none}
@media(max-width:768px){.mes-flow__step::after{content:'↓';right:50%;top:100%;transform:translateX(50%)}}
.mes-flow__detail{background:#f3f4f6;border-radius:12px;padding:1.5rem;margin-top:1.5rem;min-height:200px}
.mes-flow__detail-header{display:flex;align-items:center;gap:0.75rem;margin-bottom:1rem}
.mes-flow__detail-num{width:32px;height:32px;background:#2563eb;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:0.875rem;color:white}
.mes-flow__detail-title{font-size:1.25rem;font-weight:600;color:#1f2937}
.mes-flow__detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}
.mes-flow__detail-card{background:white;border-radius:8px;padding:1rem;border-left:3px solid #6b7280;box-shadow:0 1px 3px rgba(0,0,0,0.1)}
.mes-flow__detail-card--complexity{border-left-color:#ef4444}
.mes-flow__detail-card--before{border-left-color:#9ca3af}
.mes-flow__detail-card--idea{border-left-color:#f59e0b}
.mes-flow__detail-card--after{border-left-color:#22c55e}
.mes-flow__detail-label{font-size:0.75rem;text-transform:uppercase;letter-spacing:0.05em;color:#6b7280;margin-bottom:0.25rem}
.mes-flow__detail-value{font-size:0.875rem;line-height:1.5;color:#1f2937}
.mes-flow__detail-hint{text-align:center;color:#6b7280;font-size:0.875rem;margin-top:1rem}
.mes-qr-demo{background:linear-gradient(135deg,#ecfdf5 0%,#d1fae5 100%);border-radius:16px;padding:2rem;margin:2rem 0;border:2px solid #6ee7b7}
.mes-qr-demo__title{font-size:1.5rem;font-weight:600;color:#065f46;margin-bottom:1.5rem;text-align:center}
.mes-qr-demo__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}
.mes-qr-demo__card{background:white;border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1);text-align:center}
.mes-qr-demo__qr{width:120px;height:120px;background:white;border:2px solid #374151;border-radius:8px;margin:0 auto 1rem;display:flex;align-items:center;justify-content:center;font-family:monospace;font-size:0.625rem;overflow:hidden;position:relative}
.mes-qr-demo__label{font-weight:600;color:#1f2937;margin-bottom:0.5rem}
.mes-qr-demo__desc{font-size:0.875rem;color:#6b7280}
.mes-story{background:white;border-radius:16px;padding:2rem;margin:2rem 0;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1)}
.mes-story__chapter{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e5e7eb}
.mes-story__chapter:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.mes-story__title{font-size:1.25rem;font-weight:600;color:#1f2937;margin-bottom:1rem;display:flex;align-items:center;gap:0.75rem}
.mes-story__title-number{width:32px;height:32px;background:#2563eb;color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:0.875rem;font-weight:700}
.mes-story__highlight{background:#f59e0b;color:#1f2937;padding:0.25rem 0.5rem;border-radius:4px;font-weight:500}
.mes-report-demo{background:white;border-radius:16px;padding:2rem;margin:2rem 0;color:#1f2937;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1)}
.mes-report-demo__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}
.mes-report-demo__title{font-size:1.25rem;font-weight:600}
.mes-report-demo__controls{display:flex;gap:0.5rem;flex-wrap:wrap}
.mes-report-demo__btn{padding:0.5rem 1rem;border-radius:6px;border:none;cursor:pointer;font-size:0.875rem;transition:all 0.2s}
.mes-report-demo__btn--active{background:#2563eb;color:white}
.mes-report-demo__btn--inactive{background:#f3f4f6;color:#6b7280}
.mes-report-demo__table{width:100%;border-collapse:collapse;font-size:0.875rem}
.mes-report-demo__table th,.mes-report-demo__table td{padding:0.75rem;text-align:left;border-bottom:1px solid #e5e7eb}
.mes-report-demo__table th{color:#6b7280;font-weight:500}
.mes-report-demo__table tr:hover{background:#f3f4f6}
.mes-report-demo__total{background:#f3f4f6;padding:1rem;border-radius:8px;margin-top:1rem;display:flex;justify-content:space-between;font-weight:600;color:#1f2937}
.mes-evolution{position:relative;padding:2rem 0;margin-left:16px}
.mes-evolution::before{content:'';position:absolute;left:11px;top:12px;bottom:12px;width:2px;background:linear-gradient(to bottom,#2563eb,#22c55e);border-radius:1px}
.mes-evolution__item{position:relative;padding-left:48px;margin-bottom:1.5rem;min-height:24px}
.mes-evolution__dot{position:absolute;left:0;top:0;width:22px;height:22px;background:white;border:2px solid #2563eb;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:0.625rem;z-index:1}
.mes-evolution__dot--complete{background:#22c55e;border-color:#22c55e;color:white}
.mes-evolution__content{background:white;padding:1.5rem;border-radius:12px;box-shadow:0 2px 4px rgba(0,0,0,0.1);color:#1f2937}
.mes-evolution__title{font-weight:600;margin-bottom:0.5rem}
.mes-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin:2rem 0}
.mes-metric{background:white;border-radius:12px;padding:1.5rem;text-align:center;box-shadow:0 2px 4px rgba(0,0,0,0.1);border-top:4px solid #2563eb}
.mes-metric__value{font-size:2.5rem;font-weight:700;color:#2563eb;line-height:1;margin-bottom:0.5rem}
.mes-metric__label{color:#6b7280;font-size:0.875rem}
.mes-cta{background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);color:white;border-radius:16px;padding:3rem 2rem;text-align:center;margin:3rem 0}
.mes-cta__title{font-size:1.75rem;font-weight:600;margin-bottom:1rem}
.mes-cta__desc{opacity:0.9;max-width:600px;margin:0 auto 2rem}
.mes-cta .btn{background:#fff;color:#2563eb;border:none;box-shadow:0 4px 12px rgba(0,0,0,0.15)}
.mes-cta .btn:hover{background:#f8fafc;color:#1d4ed8;box-shadow:0 6px 16px rgba(0,0,0,0.2)}
.mes-philosophy{background:white;border-left:4px solid #2563eb;padding:2rem;border-radius:0 12px 12px 0;margin:2rem 0;box-shadow:0 2px 4px rgba(0,0,0,0.1)}
/* Production Dashboard */
.mes-production{background:white;border-radius:16px;padding:2rem;color:#1f2937;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1)}
.mes-production__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}
.mes-production__stats{display:flex;gap:2rem}
.mes-production__stat{text-align:center}
.mes-production__stat-value{font-size:2rem;font-weight:700;color:#22c55e;line-height:1}
.mes-production__stat-label{font-size:0.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:0.05em;margin-top:0.25rem}
.mes-production__filters{display:flex;gap:0.75rem}
.mes-production__select{background:#f3f4f6;border:1px solid #d1d5db;color:#1f2937;padding:0.5rem 1rem;border-radius:6px;font-size:0.875rem;cursor:pointer}
.mes-production__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}
.mes-production__stage{background:#f3f4f6;border-radius:12px;padding:1.25rem;border-left:4px solid #6b7280}
.mes-production__stage--cutting{border-left-color:#fbbf24}
.mes-production__stage--prep{border-left-color:#60a5fa}
.mes-production__stage--assembly{border-left-color:#34d399}
.mes-production__stage--welding{border-left-color:#f87171}
.mes-production__stage--painting{border-left-color:#a78bfa}
.mes-production__stage-title{font-weight:600;font-size:1rem;margin-bottom:0.75rem;display:flex;align-items:center;gap:0.5rem}
.mes-production__stage-count{font-size:0.75rem;background:#e5e7eb;padding:0.25rem 0.5rem;border-radius:4px;color:#4b5563}
.mes-production__items{display:flex;flex-direction:column;gap:0.5rem}
.mes-production__item{background:#f3f4f6;border-radius:8px;padding:0.75rem;display:flex;justify-content:space-between;align-items:center}
.mes-production__item-info{flex:1}
.mes-production__item-mark{font-weight:600;color:#059669}
.mes-production__item-name{font-size:0.75rem;color:#9ca3af}
.mes-production__item-meta{font-size:0.75rem;color:#6b7280}
.mes-production__item-status{font-size:0.625rem;padding:0.25rem 0.5rem;border-radius:4px;text-transform:uppercase;font-weight:600}
.mes-production__item-status--working{background:#fbbf24;color:#1f2937}
.mes-production__item-status--ready{background:#22c55e;color:white}
.mes-production__progress{height:4px;background:#e5e7eb;border-radius:2px;margin-top:1rem;overflow:hidden}
.mes-production__progress-bar{height:100%;background:linear-gradient(to right,#2563eb,#22c55e);border-radius:2px;transition:width 0.3s}
.mes-philosophy__title{font-size:1.25rem;font-weight:600;margin-bottom:1rem;color:#1f2937}
/* Gantt Chart */
.mes-gantt{background:white;border-radius:16px;padding:2rem;color:#1f2937;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1)}
.mes-gantt__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}
.mes-gantt__legend{display:flex;gap:1.5rem;flex-wrap:wrap}
.mes-gantt__legend-item{display:flex;align-items:center;gap:0.5rem;font-size:0.875rem}
.mes-gantt__legend-color{width:16px;height:16px;border-radius:4px}
.mes-gantt__scroll-container{overflow:auto;cursor:grab;user-select:none;max-height:500px}
.mes-gantt__scroll-container:active{cursor:grabbing}
.mes-gantt__chart{display:flex;min-width:fit-content;flex-direction: column;}
.mes-gantt__row{display:flex;border-bottom:1px solid #e5e7eb;min-height:80px}
.mes-gantt__row:last-child{border-bottom:none}
.mes-gantt__order{width:180px;flex-shrink:0;padding:1rem;background:#f9fafb;border-right:1px solid #e5e7eb;display:flex;align-items:center;font-weight:600;font-size:0.875rem}
.mes-gantt__timeline{position:relative;width:2400px}
.mes-gantt__days{display:flex;height:40px;border-bottom:1px solid #e5e7eb;background:#f9fafb}
.mes-gantt__day{width:40px;flex-shrink:0;text-align:center;font-size:0.75rem;padding:0.5rem 0.25rem;color:#6b7280;border-right:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;transition:background 0.2s}
.mes-gantt__day:hover{background:#e5e7eb}
.mes-gantt__day--today{background:#fee2e2;font-weight:600;color:#dc2626}
.mes-gantt__day-month{font-size:0.625rem;color:#9ca3af;text-transform:uppercase}
.mes-gantt__stages{position:relative;min-height:76px;padding-top:4px}
.mes-gantt__stage{position:absolute;height:10px;border-radius:3px;transition:all 0.2s;font-size:0;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,0.15)}
.mes-gantt__stage:hover{height:16px;z-index:10;box-shadow:0 2px 6px rgba(0,0,0,0.3);font-size:0.625rem;color:white;font-weight:600;display:flex;align-items:center;justify-content:center}
.mes-gantt__stage--cutting{background:#f59e0b}
.mes-gantt__stage--prep{background:#3b82f6}
.mes-gantt__stage--assembly{background:#22c55e}
.mes-gantt__stage--welding{background:#ef4444}
.mes-gantt__stage--painting{background:#8b5cf6}
.mes-gantt__stage--shipping{background:#6b7280}
.mes-gantt__day--selected{background:#dbeafe!important;color:#1e40af!important;transition:background 0.2s ease}
.mes-gantt__detail{background:#f9fafb;border-radius:12px;padding:1.5rem;margin-top:1rem}
.mes-gantt__detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
.mes-gantt__detail-date{font-weight:600;color:#1f2937}
.mes-gantt__detail-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#6b7280;transition:color 0.2s}
.mes-gantt__detail-close:hover{color:#1f2937}
.mes-gantt__detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.mes-gantt__detail-card{background:white;border-radius:8px;padding:1rem;box-shadow:0 1px 3px rgba(0,0,0,0.1)}
.mes-gantt__detail-title{font-size:0.75rem;color:#6b7280;text-transform:uppercase;margin-bottom:0.5rem}
.mes-gantt__detail-value{font-size:1.25rem;font-weight:700;color:#1f2937}
.mes-gantt__detail-value--plan{color:#2563eb}
.mes-gantt__detail-value--fact{color:#22c55e}
.mes-gantt__detail-value--ai{color:#f59e0b}
.mes-gantt__detail-reason{font-size:0.875rem;color:#6b7280;margin-top:0.5rem;padding-top:0.5rem;border-top:1px solid #e5e7eb}
/* Joints Section */
.mes-joints{background:white;border-radius:16px;padding:2rem;margin:2rem 0;color:#1f2937;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1)}
.mes-joints__title{font-size:1.5rem;font-weight:600;margin-bottom:1.5rem;text-align:center}
.mes-joints__flow{display:flex;justify-content:center;align-items:center;gap:1rem;flex-wrap:wrap;margin:2rem 0}
.mes-joints__step{background:#f3f4f6;border-radius:12px;padding:1.25rem;text-align:center;min-width:150px;position:relative;border-left:4px solid #f59e0b}
.mes-joints__step::after{content:'';position:absolute;right:-1rem;top:50%;transform:translateY(-50%);width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center}
.mes-joints__step:last-child::after{display:none}
.mes-joints__icon{width:48px;height:48px;background:#f59e0b;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 0.75rem}
.mes-joints__icon svg{width:24px;height:24px;color:#1f2937}
.mes-joints__label{font-weight:600;color:#1f2937;font-size:0.875rem}
.mes-joints__desc{font-size:0.75rem;color:#9ca3af;margin-top:0.25rem}
.mes-joints__alert{background:#fef2f2;border:1px solid #ef4444;border-radius:8px;padding:1rem;display:flex;align-items:center;gap:0.75rem;margin-top:1.5rem}
.mes-joints__alert-icon{width:32px;height:32px;background:#f59e0b;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.mes-joints__alert-icon svg{width:20px;height:20px;color:white}
/* Subcontractors Section */
.mes-subs{background:white;border-radius:16px;padding:2rem;margin:2rem 0;color:#1f2937;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1)}
.mes-subs__title{font-size:1.5rem;font-weight:600;margin-bottom:1.5rem;text-align:center}
.mes-subs__visual{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin:2rem 0}
.mes-subs__card{background:#f3f4f6;border-radius:12px;padding:1.5rem;border-left:4px solid #22c55e}
.mes-subs__card--main{border-left-color:#2563eb;background:#eff6ff}
.mes-subs__card--sub{border-left-color:#f59e0b}
.mes-subs__card-title{font-weight:600;margin-bottom:0.75rem}
.mes-subs__card-desc{font-size:0.875rem;color:#9ca3af}
.mes-subs__arrow{display:flex;align-items:center;justify-content:center;color:#22c55e}
.mes-subs__arrow svg{width:32px;height:32px}
.mes-subs__icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:0.75rem}
.mes-subs__icon svg{width:24px;height:24px}
.mes-subs__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.5rem}
.mes-subs__stat{background:#f3f4f6;border-radius:8px;padding:1rem;text-align:center}
.mes-subs__stat-value{font-size:1.5rem;font-weight:700;color:#22c55e}
.mes-subs__stat-label{font-size:0.75rem;color:#9ca3af}
/* AI Future Section */
.mes-future{background:linear-gradient(135deg,#1e1b4b 0%,#312e81 50%,#4c1d95 100%);border-radius:16px;padding:3rem 2rem;margin:2rem 0;color:white;position:relative;overflow:hidden}
.mes-future::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.mes-future__content{position:relative;z-index:1}
.mes-future__badge{display:inline-flex;align-items:center;gap:0.5rem;background:rgba(255,255,255,0.1);padding:0.5rem 1rem;border-radius:9999px;font-size:0.875rem;margin-bottom:1.5rem;color:#a78bfa}
.mes-future__badge::before{content:'';width:8px;height:8px;background:#a78bfa;border-radius:50%;animation:pulse 2s infinite}
.mes-future__title{font-size:2rem;font-weight:700;margin-bottom:1rem}
.mes-future__desc{font-size:1.125rem;opacity:0.9;max-width:700px;margin-bottom:2rem}
.mes-future__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}
.mes-future__card{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:12px;padding:1.5rem}
.mes-future__card-icon{width:48px;height:48px;background:linear-gradient(135deg,#a78bfa,#7c3aed);border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
.mes-future__card-icon svg{width:28px;height:28px}
.mes-future__card-title{font-weight:600;margin-bottom:0.5rem}
.mes-future__card-desc{font-size:0.875rem;opacity:0.8}
.mes-future__timeline{background:rgba(255,255,255,0.05);border-radius:12px;padding:1.5rem;margin-top:2rem}
.mes-future__timeline-title{font-weight:600;margin-bottom:1rem;color:#a78bfa}
.mes-future__timeline-item{display:flex;gap:1rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,0.1)}
.mes-future__timeline-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.mes-future__timeline-date{width:100px;flex-shrink:0;font-weight:600;color:#22c55e}
.mes-future__timeline-text{opacity:0.9}
/* Equipment Maintenance Section */
.mes-equipment{background:white;border-radius:16px;padding:2rem;margin:2rem 0;color:#1f2937;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1)}
.mes-equipment__title{font-size:1.5rem;font-weight:600;margin-bottom:1.5rem;text-align:center}
.mes-equipment__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1.5rem;margin-bottom:2rem}
.mes-equipment__stat{background:#f3f4f6;border-radius:12px;padding:1.5rem;text-align:center}
.mes-equipment__stat-value{font-size:2rem;font-weight:700;color:#22c55e;line-height:1}
.mes-equipment__stat-label{font-size:0.75rem;color:#9ca3af;text-transform:uppercase;letter-spacing:0.05em;margin-top:0.5rem}
.mes-equipment__workflow{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin:2rem 0}
.mes-equipment__step{background:#f3f4f6;border-radius:12px;padding:1.25rem;border-left:4px solid #2563eb}
.mes-equipment__step--alert{border-left-color:#ef4444}
.mes-equipment__step--success{border-left-color:#22c55e}
.mes-equipment__step-icon{width:40px;height:40px;background:#2563eb;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:0.75rem}
.mes-equipment__step-icon svg{width:24px;height:24px}
.mes-equipment__step-icon--alert{background:#ef4444}
.mes-equipment__step-icon--success{background:#22c55e}
.mes-equipment__step-title{font-weight:600;margin-bottom:0.5rem;color:#1f2937}
.mes-equipment__step-desc{font-size:0.875rem;color:#9ca3af}
.mes-equipment__map{background:#f3f4f6;border-radius:12px;padding:1.5rem;margin-top:1.5rem}
.mes-equipment__map-header{display:flex;align-items:center;gap:0.75rem;margin-bottom:1rem}
.mes-equipment__map-icon{width:32px;height:32px;background:#2563eb;border-radius:6px;display:flex;align-items:center;justify-content:center}
.mes-equipment__map-icon svg{width:20px;height:20px}
.mes-equipment__map-title{font-weight:600;color:#1f2937}
.mes-equipment__map-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:0.75rem}
.mes-equipment__map-item{background:white;border-radius:8px;padding:0.75rem;text-align:center;font-size:0.75rem;box-shadow:0 1px 2px rgba(0,0,0,0.1)}
.mes-equipment__map-item--ok{border-left:3px solid #22c55e}
.mes-equipment__map-item--repair{border-left:3px solid #f59e0b}
.mes-equipment__map-item--broken{border-left:3px solid #ef4444}
.mes-equipment__status{display:flex;gap:1rem;justify-content:center;margin-top:1rem;font-size:0.75rem}
.mes-equipment__status-item{display:flex;align-items:center;gap:0.25rem}
.mes-equipment__status-dot{width:8px;height:8px;border-radius:50%}
.mes-equipment__status-dot--ok{background:#22c55e}
.mes-equipment__status-dot--repair{background:#f59e0b}
.mes-equipment__status-dot--broken{background:#ef4444}
/* Label Preview Styles */
.mes-label-preview{background:white;border-radius:16px;padding:2rem;margin-top:1rem;margin-bottom:2rem;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1)}
.mes-label-preview__title{font-size:1.25rem;font-weight:600;text-align:center;margin-bottom:1.5rem;color:#1f2937}
.mes-label-preview__wrap{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap;align-items:flex-start}
.mes-label-preview__item{text-align:center}
.mes-label-preview__caption{font-size:0.875rem;color:#6b7280;margin-top:1rem}
.mes-label{display:inline-block;border:2px solid #1f2937;border-radius:8px;padding:16px;background:white;box-shadow:0 4px 12px rgba(0,0,0,0.15)}
.mes-label__table{width:280px;height:392px;border-collapse:collapse;font-family:Arial,sans-serif;font-size:12px}
.mes-label__cell{border:1px solid #1f2937;padding:3px;text-align:center;vertical-align:middle}
.mes-label__qr{background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-size:14px}
.mes-label__logo{height:24px}
.mes-label__marka{font-size:22px;font-weight:bold}
.mes-label__mass{font-size:16px;writing-mode:vertical-rl;transform:rotate(180deg)}
.mes-label__order{font-size:18px;font-weight:bold;writing-mode:vertical-rl;transform:rotate(180deg)}
.mes-label__kmd{font-size:9px;writing-mode:vertical-rl;transform:rotate(180deg)}
/* Scroll Progress Bar */
.mes-progress{position:fixed;top:0;left:0;right:0;height:4px;background:#374151;z-index:1000}
.mes-progress__bar{height:100%;background:linear-gradient(90deg,#2563eb,#60a5fa);width:0%;transition:width 0.1s}
/* Scroll Spy Navigation */
.mes-nav{position:fixed;right:2rem;top:50%;transform:translateY(-50%);z-index:999;display:flex;flex-direction:column;gap:0.75rem}
.mes-nav__dot{width:12px;height:12px;border-radius:50%;background:#9ca3af;border:2px solid transparent;cursor:pointer;transition:all 0.2s;position:relative}
.mes-nav__dot:hover{background:#6b7280;transform:scale(1.2)}
.mes-nav__dot--active{background:#2563eb;border-color:#60a5fa;transform:scale(1.3)}
.mes-nav__tooltip{position:absolute;right:24px;top:50%;transform:translateY(-50%);background:#1f2937;color:white;padding:0.5rem 0.75rem;border-radius:6px;font-size:0.75rem;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity 0.2s}
.mes-nav__dot:hover .mes-nav__tooltip{opacity:1}
@media(max-width:1200px){.mes-nav{display:none}}
/* Section styling with IDs for scroll spy */
.mes-section{scroll-margin-top:80px}
/* Case Study Narrative Styles */
.mes-narrative{max-width:800px;margin:0 auto;line-height:1.8}
.mes-narrative p{margin-bottom:1.5rem}
.mes-quote{background:white;border-left:4px solid #2563eb;padding:1.5rem 2rem;margin:2rem 0;border-radius:0 12px 12px 0;font-style:italic;color:#374151;box-shadow:0 2px 4px rgba(0,0,0,0.1)}
.mes-quote__author{margin-top:1rem;font-size:0.875rem;color:#9ca3af;font-style:normal}
.mes-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin:2rem 0}
.mes-stat-card{background:white;border-radius:12px;padding:1.5rem;text-align:center;color:#1f2937;box-shadow:0 2px 4px rgba(0,0,0,0.1)}
.mes-stat-card__value{font-size:2.5rem;font-weight:700;color:#22c55e;line-height:1}
.mes-stat-card__label{margin-top:0.5rem;color:#9ca3af;font-size:0.875rem}
.mes-before-after{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin:2rem 0}
.mes-before-after__card{background:white;border-radius:12px;padding:1.5rem;border-left:4px solid #ef4444;box-shadow:0 2px 4px rgba(0,0,0,0.1)}
.mes-before-after__card--after{border-left-color:#22c55e}
.mes-before-after__title{font-weight:600;margin-bottom:0.75rem;color:#1f2937}
.mes-before-after__text{font-size:0.875rem;color:#6b7280}
/* Interactive Timeline */
.mes-timeline{position:relative;padding-left:2rem}
.mes-timeline::before{content:'';position:absolute;left:0.5rem;top:0;bottom:0;width:2px;background:linear-gradient(180deg,#2563eb,#22c55e)}
.mes-timeline__item{position:relative;margin-bottom:2rem;padding-left:1.5rem}
.mes-timeline__item::before{content:'';position:absolute;left:-1.75rem;top:0.25rem;width:12px;height:12px;border-radius:50%;background:#2563eb;border:3px solid #1f2937}
.mes-timeline__item--success::before{background:#22c55e}
.mes-timeline__item--warning::before{background:#f59e0b}
.mes-timeline__date{font-size:0.75rem;color:#9ca3af;text-transform:uppercase;letter-spacing:0.05em;margin-bottom:0.25rem}
.mes-timeline__title{font-weight:600;margin-bottom:0.5rem}
.mes-timeline__desc{color:#d1d5db;font-size:0.875rem}
/* Story Section */
.mes-story{background:white;border-radius:16px;padding:2rem;margin:2rem 0;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1)}
.mes-story__phase{display:flex;gap:1.5rem;margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e5e7eb}
.mes-story__phase:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.mes-story__icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.mes-story__icon svg{width:24px;height:24px}
.mes-story__icon--resistance{background:#ef4444}
.mes-story__icon--motivation{background:#f59e0b}
.mes-story__icon--acceptance{background:#22c55e}
.mes-story__content{flex:1}
.mes-story__title{font-weight:600;font-size:1.125rem;margin-bottom:0.5rem}
.mes-story__text{color:#6b7280;line-height:1.6}
/* Interactive Demo Block */
.mes-demo-block{background:#f3f4f6;border-radius:12px;padding:1.5rem;margin:1.5rem 0}
.mes-demo-block__header{display:flex;align-items:center;gap:0.75rem;margin-bottom:1rem}
.mes-demo-block__badge{display:inline-flex;align-items:center;gap:0.5rem;background:#2563eb;color:white;padding:0.25rem 0.75rem;border-radius:9999px;font-size:0.75rem}
.mes-demo-block__badge::before{content:'';width:6px;height:6px;background:#22c55e;border-radius:50%;animation:pulse 2s infinite}
