.mecanika-page{min-height:100vh;background:var(--bg-primary);color:var(--text-primary);padding:2rem 1rem}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideInLeft{0%{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:translateX(0)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@keyframes arrowFlow{0%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes scaleIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.arch-box,.credential-card,.feature-card,.mecanika-section,.role-card,.tech-card{opacity:0;transform:translateY(30px);transition:opacity .6s ease-out,transform .6s ease-out}.arch-box.animate-in,.credential-card.animate-in,.feature-card.animate-in,.mecanika-section.animate-in,.role-card.animate-in,.tech-card.animate-in{opacity:1;transform:translateY(0)}.tech-grid .tech-card:first-child.animate-in{transition-delay:.1s}.tech-grid .tech-card:nth-child(2).animate-in{transition-delay:.2s}.tech-grid .tech-card:nth-child(3).animate-in{transition-delay:.3s}.features-grid .feature-card:first-child.animate-in{transition-delay:.1s}.features-grid .feature-card:nth-child(2).animate-in{transition-delay:.15s}.features-grid .feature-card:nth-child(3).animate-in{transition-delay:.2s}.features-grid .feature-card:nth-child(4).animate-in{transition-delay:.25s}.features-grid .feature-card:nth-child(5).animate-in{transition-delay:.3s}.features-grid .feature-card:nth-child(6).animate-in{transition-delay:.35s}.features-grid .feature-card:nth-child(7).animate-in{transition-delay:.4s}.features-grid .feature-card:nth-child(8).animate-in{transition-delay:.45s}.architecture-diagram .arch-box:first-child.animate-in{transition-delay:.1s}.architecture-diagram .arch-box:nth-child(2).animate-in{transition-delay:.2s}.architecture-diagram .arch-box:nth-child(3).animate-in{transition-delay:.3s}.architecture-diagram .arch-box:nth-child(4).animate-in{transition-delay:.4s}.credentials-grid .credential-card:first-child.animate-in{transition-delay:.1s}.credentials-grid .credential-card:nth-child(2).animate-in{transition-delay:.2s}.credentials-grid .credential-card:nth-child(3).animate-in{transition-delay:.3s}.mecanika-header{max-width:1200px;margin:0 auto 3rem;text-align:center;animation:fadeInUp .6s ease-out}.back-link{display:inline-flex;align-items:center;gap:.5rem;color:var(--accent);text-decoration:none;font-size:.95rem;margin-bottom:2rem;transition:opacity .2s}.back-link:hover{opacity:.7}.mecanika-title{display:flex;flex-direction:column;align-items:center;gap:1rem}.mecanika-logo{width:auto;height:54px;filter:drop-shadow(0 2px 8px rgba(0,0,0,.2))}.mecanika-title h1{font-size:2rem;font-weight:600;margin:0;background:linear-gradient(135deg,var(--accent) 0,#7c3aed 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.mecanika-container{max-width:1200px;margin:0 auto}.mecanika-section{background:var(--bg-secondary);border-radius:12px;padding:2.5rem;margin-bottom:2rem;box-shadow:0 4px 12px rgba(0,0,0,.1)}.mecanika-section h2{font-size:1.75rem;margin-bottom:1.5rem;color:var(--text-primary);border-bottom:2px solid var(--accent);padding-bottom:.5rem}.mecanika-section p{line-height:1.7;color:var(--text-secondary);margin-bottom:1rem}.action-buttons{display:flex;gap:1rem;margin-top:1.5rem;flex-wrap:wrap;width:100%}.action-buttons .btn-primary{display:inline-block;background:var(--accent);color:white;padding:.875rem 2rem;border-radius:8px;text-decoration:none;font-weight:600;transition:all .3s ease;box-shadow:0 4px 12px rgba(168,85,247,.3);text-align:center;width:100%;box-sizing:border-box}.action-buttons .btn-primary:hover{background:#7c3aed;transform:translateY(-2px);box-shadow:0 6px 20px rgba(168,85,247,.4)}.tech-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-top:1.5rem}.tech-card{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;padding:1.5rem;transition:transform .3s ease,box-shadow .3s ease}.tech-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px rgba(168,85,247,.15)}.tech-card h3{font-size:1.25rem;margin-bottom:1rem;color:var(--accent)}.tech-card ul{list-style:none;padding:0;margin:0}.tech-card li{padding:.5rem 0;color:var(--text-secondary);line-height:1.6}.tech-card li strong{color:var(--text-primary)}.architecture{margin-top:2rem;padding-top:2rem;border-top:1px solid var(--border-color)}.architecture h3{font-size:1.35rem;margin-bottom:2rem;color:var(--text-primary);text-align:center}.architecture-diagram{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin:2rem 0;padding:2rem;background:var(--bg-primary);border-radius:12px;position:relative}.architecture-diagram .arch-box:first-child:after,.architecture-diagram .arch-box:nth-child(2):after,.architecture-diagram .arch-box:nth-child(3):after{content:"→";position:absolute;right:-1.25rem;top:50%;transform:translateY(-50%);font-size:2rem;color:var(--accent);font-weight:700;animation:arrowFlow 2s ease-in-out infinite;z-index:1}.arch-box{background:linear-gradient(135deg,var(--accent) 0,#7c3aed 100%);padding:1.5rem;border-radius:12px;text-align:center;color:white;box-shadow:0 4px 12px rgba(168,85,247,.2);transition:transform .3s,box-shadow .3s;position:relative}.arch-box:hover{transform:translateY(-5px);box-shadow:0 8px 20px rgba(168,85,247,.3);animation:pulse 1s ease-in-out infinite}.arch-icon{font-size:2.5rem;margin-bottom:.75rem;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}.arch-title{font-size:1.2rem;font-weight:600;margin-bottom:.5rem}.arch-subtitle{font-size:.95rem;opacity:.9;margin-bottom:.25rem}.arch-details{font-size:.85rem;opacity:.75;font-style:italic}.architecture-features{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:.75rem;margin-top:2rem}.architecture-features li{padding:1rem;background:var(--bg-primary);border-radius:8px;color:var(--text-secondary);border-left:3px solid var(--accent);font-size:.95rem;transition:transform .2s,border-color .2s}.architecture-features li:hover{transform:translateX(5px);border-color:#7c3aed}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-top:1.5rem}.feature-card{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;padding:1.5rem;transition:transform .2s,box-shadow .2s}.feature-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px rgba(168,85,247,.15)}.feature-icon{animation:fadeIn .6s ease-out;font-size:2.5rem;display:block;margin-bottom:1rem}.feature-card h3{font-size:1.15rem;margin-bottom:.75rem;color:var(--text-primary)}.feature-card p{color:var(--text-secondary);font-size:.95rem;line-height:1.6;margin:0}.ui-showcase{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem;margin-top:1.25rem}.ui-card{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:10px;padding:1.25rem;transition:transform .2s,box-shadow .2s}.ui-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px rgba(168,85,247,.15)}.ui-icon{font-size:2rem;margin-bottom:.5rem}.badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.badge{display:inline-block;padding:.25rem .5rem;border-radius:999px;font-size:.8rem;background:rgba(162,119,255,.12);color:var(--accent);border:1px solid rgba(162,119,255,.35)}.code-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.25rem;margin-top:1.5rem}.code-card{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:10px;padding:1rem}.code-title{font-size:.95rem;color:var(--text-secondary);margin-bottom:.5rem}.code-block{margin:0;padding:1rem;background:#0f0d18;color:#eae9ef;border-radius:8px;overflow-x:auto;font-size:.9rem;line-height:1.5;border:1px solid var(--border-color)}.code-block code{font-family:SFMono-Regular,Consolas,Monaco,Menlo,monospace}.ui-steps{margin-top:1.75rem}.ui-steps h3{margin:0 0 .75rem}.ui-steps ol{margin:0;padding-left:1.25rem;color:var(--text-secondary)}.ui-steps li{margin:.25rem 0}.roles-intro{background:var(--bg-primary);padding:1rem;border-radius:8px;border-left:4px solid var(--accent);margin-bottom:2rem}.roles-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:1rem}.role-card{margin-bottom:1rem;border-radius:8px;overflow:hidden;border:1px solid var(--border-color)}.role-header{padding:1rem 1.25rem;color:white;font-weight:600}.cliente-role{background:linear-gradient(135deg,#3b82f6,#2563eb)}.empleado-role{background:linear-gradient(135deg,#10b981,#059669)}.gerente-role{background:linear-gradient(135deg,#a855f7,#7c3aed)}.role-header h3{margin:0;font-size:1.1rem}.role-content{padding:1rem 1.25rem;background:var(--bg-primary)}.role-content h4{font-size:1rem;margin:.75rem 0 .5rem;color:var(--text-primary)}.role-content h4:first-child{margin-top:0}.role-content ul{list-style:none;padding:0;margin:0 0 1.5rem}.role-content ul:last-child{margin-bottom:0}.role-content li{padding:.35rem 0 .35rem 1.25rem;position:relative;color:var(--text-secondary);line-height:1.6}.role-content li:before{content:"";position:absolute;left:0;top:.7rem;width:5px;height:5px;background:var(--accent);border-radius:50%}.role-content li strong{color:var(--text-primary)}.credentials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-top:1.5rem}.flow-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:1rem;margin-top:1rem}.flow-card{border-radius:10px;padding:1.25rem;color:white}.flow-card h3{margin:0 0 .75rem;font-size:1.1rem}.flow-card ol{margin:0;padding-left:1.25rem}.flow-card li{margin:.25rem 0}.credential-card{border-radius:8px;padding:1.5rem;color:white}.cliente-bg{background:linear-gradient(135deg,#3b82f6,#2563eb)}.empleado-bg{background:linear-gradient(135deg,#10b981,#059669)}.gerente-bg{background:linear-gradient(135deg,#a855f7,#7c3aed)}.credential-card h3{margin:0 0 1.25rem;font-size:1.35rem}.credential-item{margin-bottom:1rem;display:flex;flex-direction:column;gap:.5rem}.credential-item:last-child{margin-bottom:0}.credential-item .label{font-size:.9rem;opacity:.9;font-weight:500}.credential-item code{background:rgba(0,0,0,.2);padding:.75rem 1rem;border-radius:6px;font-family:Courier New,monospace;font-size:1.05rem;letter-spacing:.5px;user-select:all;cursor:pointer;transition:background .2s}.credential-item code:hover{background:rgba(0,0,0,.3)}.mecanika-footer{text-align:center;margin-top:3rem;padding-top:2rem;border-top:1px solid var(--border-color)}.back-link-footer{display:inline-flex;align-items:center;gap:.5rem;color:var(--accent);text-decoration:none;font-size:1rem;transition:opacity .2s}.back-link-footer:hover{opacity:.7}@media (max-width:1024px){.architecture-diagram{grid-template-columns:repeat(2,1fr);gap:2rem 1rem}.architecture-diagram .arch-box:after{display:none}.features-grid,.tech-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.mecanika-page{padding:1rem .75rem}.mecanika-header{margin-bottom:2rem}.mecanika-title h1{font-size:1.5rem;line-height:1.3}.mecanika-logo{height:42px}.mecanika-section{padding:1.5rem;border-radius:8px}.mecanika-section h2{font-size:1.4rem}.architecture-diagram,.credentials-grid,.features-grid,.flow-grid,.roles-grid,.tech-grid{grid-template-columns:1fr;gap:1rem}.architecture-diagram{padding:1rem}.arch-box{padding:1.25rem}.arch-icon{font-size:2rem}.arch-title{font-size:1.1rem}.architecture-features{grid-template-columns:1fr}.feature-icon{font-size:2rem}.role-card{margin-bottom:1rem}.role-header{padding:1rem 1.25rem}.role-header h3{font-size:1.2rem}.role-content{padding:1.25rem}.role-content h4{font-size:1rem}.credential-card{padding:1.25rem}.credential-card h3{font-size:1.2rem}.credential-item code{font-size:.95rem;padding:.6rem .8rem;word-break:break-all}.action-buttons{flex-direction:column;width:100%}.action-buttons .btn-primary{width:100%;min-width:100%;text-align:center}}@media (max-width:480px){.mecanika-title h1{font-size:1.25rem}.mecanika-logo{height:36px}.mecanika-section h2{font-size:1.25rem}.feature-card,.mecanika-section,.tech-card{padding:1.25rem}.arch-box{padding:1rem}.role-header{padding:.875rem 1rem}.credential-card,.role-content{padding:1rem}.action-buttons .btn-primary{padding:.75rem 1.5rem;font-size:.95rem}}